[issue41698] io.[Text]IOBase.seek doesn't take keyword parameter - revisited

2021-10-20 Thread Tomer Vromen
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

[issue43713] sorted() signature is not accurate in the documentation

2021-04-03 Thread Tomer Kalish
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

[issue37831] bool(~True) == True

2019-08-12 Thread Tomer Vromen
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

[issue36913] Missing documentation for decorators

2019-05-14 Thread Tomer Vromen
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

[issue36913] Missing documentation for decorators

2019-05-14 Thread Tomer Vromen
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

[issue34439] Expose venv --prompt value to an environment value

2018-08-20 Thread Tomer Keren
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

[issue24160] Pdb sometimes crashes when trying to remove a breakpoint defined in a different debugger sessoon

2017-04-18 Thread Tomer Chachamu
Changes by Tomer Chachamu : -- nosy: +Tomer Chachamu ___ Python tracker <http://bugs.python.org/issue24160> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25656] multiprocessing.dummy: pool.map hangs on empty list

2015-11-21 Thread Tomer
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

[issue25656] multiprocessing.dummy: pool.map hangs on empty list

2015-11-19 Thread Tomer
Changes by Tomer : -- nosy: +jnoller, sbt ___ Python tracker <http://bugs.python.org/issue25656> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25656] multiprocessing.dummy: pool.map hangs on empty list

2015-11-18 Thread Tomer
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

[issue18225] ctypes Structure data size is incorrect

2013-06-15 Thread Tomer Levi
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