Tomer Vromen added the comment:
Just wanted to add that I encountered this today, went to file a ticket, and
found this one. I'm fine with either style of documentation.
--
nosy: +tomerv
___
Python tracker
<https://bugs.python.org/is
New submission from Tomer Kalish :
According to the docs, the sorted function's signature is:
sorted(iterable, *, key=None, reverse=False)
But when printing its help interactively, the signature is:
sorted(iterable, /, *, key=None, reverse=False)
The latter seems to be the correct on
New submission from Tomer Vromen :
Bitwise operators have inconsistent behavior when acting on bool values:
(Python 3.7.4)
# "&" works like "and"
>>> True & True
True
>>> True & False
False
>>> False & False
False
# "|&q
Tomer Vromen added the comment:
Thank you for the quick response.
Are PEPs considered de-facto documentation for language features? For example,
string formatting was described in PEP 3101, but still has sections in the
documentation dedicated to it. I believe that decorators should get a
New submission from Tomer Vromen :
The documentation for decorators (for methods and classes) is pretty lacking.
Searching for "decorator" ( https://docs.python.org/3/search.html?q=decorator )
brings up a lot of libraries that use decorators, but no documentation
explaining what th
New submission from Tomer Keren :
In the same way the $VIRTUAL_ENV variable tells the virtual environment
directory, A variable such as $VENV_NAME or $VENV_PROMPT should tell the value
given to the venv `--prompt` option (Introduced in Issue22829).
An individual could override the EnvBuilder
Changes by Tomer Chachamu :
--
nosy: +Tomer Chachamu
___
Python tracker
<http://bugs.python.org/issue24160>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tomer added the comment:
Thanks for the reply,
So first thing I found that I wasn’t working with python 2.7.10 – I updated to
2.7.10 and it fixed the problem.
If you are still curious about reproducing the behavior I’m working on windows
7 64 bit and as I said I worked with python 2.7
Changes by Tomer :
--
nosy: +jnoller, sbt
___
Python tracker
<http://bugs.python.org/issue25656>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Tomer:
Hi,
In multiprocessing.dummy module I noticed when you send a zero-length iterator
to pool.map it hang forever,
Code example:
import urllib2
from multiprocessing.dummy import Pool as ThreadPool
def start_multithreading_urlopen(threads_num):
pool = ThreadPool
New submission from Tomer Levi:
Whenever you create a ctypes.Structure with mixed ctypes, the size of all
components is calculated by the size of largest one. This is especially
irritating when trying to use Structure on bytearray.
The problem repeated for me in Python2.6 and 2.7 (both 32bit
11 matches
Mail list logo