Skip to content
#

python2

python logo

Python is a dynamically typed programming language designed by Guido van Rossum. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.

Here are 2,160 public repositories matching this topic...

zachriggle
zachriggle commented Apr 22, 2020

The constgrep tool could probably be a bit faster. I'm not sure what's making it so slow at the moment. It shouldn't take ~2 seconds to look up a value.

$ time constgrep EPERM
#define EPERM 1
constgrep EPERM  1.12s user 0.43s system 88% cpu 1.751 total
AndrewOwenMartin
AndrewOwenMartin commented Apr 26, 2019

The documentation says that the "message" attribute of a question can be a string or a function that takes the current answers and returns a string. That doesn't appear to be accurate documentation as any function, or lambda, I use as a questions "message" gets evaluated as a string in the prompt.

e.g. This question definition;

def my_message(answers):
    return "Hello {x}".format(x=len
dezmaeth
dezmaeth commented Apr 22, 2020

Summary:

No module named 'celery.utils.time'

  • Celery Version: 3.3.1
  • Celery-Beat Version: 2.0.0

Exact steps to reproduce the issue:

  1. create virtualenv , pip install following packages
django==3.0.5
six==1.13.0
celery==3.1.25
django-celery>=3.3.1
django-celery-beat==2.0.0
  1. start django with manage command

Detailed information

 File "/home/maeth/

Created by Guido van Rossum

Released February 20, 1991

Organization
python
Website
www.python.org
Wikipedia
Wikipedia

Related Topics

language ruby
You can’t perform that action at this time.