[issue41533] Bugfix: va_build_stack leaks the stack if do_mkstack fails

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21189 pull_request: https://github.com/python/cpython/pull/22103 ___ Python tracker ___ __

[issue40486] pathlib's iterdir doesn't specify what happens if directory content change

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset bd078df28322f840afd363b6ba097b5506ea5098 by Miss Islington (bot) in branch '3.9': [3.9] bpo-40486: Specify what happens if directory content change diring iteration (GH-22025) (GH-22093) https://github.com/python/cpython/commit/bd078df28322f840

[issue38787] PEP 573: Module State Access from C Extension Methods

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset fbb9ee0a903fb9b7b4b807f85aed1de754da09e6 by Miss Islington (bot) in branch '3.9': [3.9] bpo-38787: Clarify docs for PyType_GetModule and warn against common mistake (GH-20215) (GH-21984) https://github.com/python/cpython/commit/fbb9ee0a903fb9b7

[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21190 pull_request: https://github.com/python/cpython/pull/22105 ___ Python tracker ___ __

[issue29590] Incorrect stack traces when re-entering a generator/coroutine stack via .throw()

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21191 pull_request: https://github.com/python/cpython/pull/22106 ___ Python tracker ___ __

[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21192 pull_request: https://github.com/python/cpython/pull/22107 ___ Python tracker ___ __

[issue41659] PEG discrepancy on 'if {x} {a}: pass'

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Minimal example >>> a{ # or >>> a { In 3.8, this is immediately flagged as a SyntaxError. In 3.9 and master, a continuation prompt is issued. This strikes me as a parsing buglet that should preferably be fixed, as it implies that something valid *could* fol

[issue41663] Support Windows pseudoterminals in pty and termios modules

2020-09-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Library (Lib) stage: -> test needed type: -> enhancement versions: +Python 3.10 ___ Python tracker ___

[issue41533] Bugfix: va_build_stack leaks the stack if do_mkstack fails

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset 106c1df736d38f5b411a8571b97275d0ecf1d0a9 by Miss Islington (bot) in branch '3.9': closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) https://github.com/python/cpython/commit/106c1df736d38f5b411a8571b97275d0ecf1d0a9

[issue41671] inspect.getdoc/.cleandoc doesn't always remove trailing blank lines

2020-09-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov stage: -> needs patch versions: +Python 3.10 -Python 3.7 ___ Python tracker ___ ___

[issue41687] sendfile implementation is not compatible with Solaris

2020-09-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue29590] Incorrect stack traces when re-entering a generator/coroutine stack via .throw()

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset e92219d8f864a1a8eb381d98d5df4f1aa767dacb by Miss Islington (bot) in branch '3.9': bpo-29590: fix stack trace for gen.throw() with yield from (GH-19896) https://github.com/python/cpython/commit/e92219d8f864a1a8eb381d98d5df4f1aa767dacb -

[issue41722] multiprocess error on large dataset

2020-09-04 Thread vishal rao
New submission from vishal rao : I am processing a large pandas dataframe using pathos framework which internally uses Python multiprocess package. I get the following error when i run the code with a large dataset. The issue doesn't occur on smaller datasets. /opt/conda/lib/python3.7/site-pac

[issue41719] Why does not range() support decimals?

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: The original title was "Why does not range() support decimals?". In general, such questions should be directed to question forums, such as https://mail.python.org/mailman/listinfo/python-list or stackoverflow.com. This question has been answered on both, wi

[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-09-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d64d78be20ced6ac9de58e91e69eaba184e36e9b by Miss Islington (bot) in branch '3.9': bpo-41531: Fix compilation of dict literals with more than 0x elements (GH-21850) (GH-22107) https://github.com/python/cpython/commit/d64d78be20ced6ac9

[issue41531] Python 3.9 regression: Literal dict with > 65535 items are one item shorter

2020-09-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41218] PyCF_ALLOW_TOP_LEVEL_AWAIT + list comprehension set .CO_COROUTINE falg.

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21193 pull_request: https://github.com/python/cpython/pull/22109 ___ Python tracker ___ __

[issue41627] Relocate user site packages on Windows 32-bit

2020-09-04 Thread Steve Dower
Steve Dower added the comment: New changeset dd18001c308fb3bb65006c91d95f6639583a3420 by Steve Dower in branch 'master': bpo-41627: Distinguish 32 and 64-bit user site packages on Windows (GH-22098) https://github.com/python/cpython/commit/dd18001c308fb3bb65006c91d95f6639583a3420 --

[issue41627] Relocate user site packages on Windows 32-bit

2020-09-04 Thread Steve Dower
Steve Dower added the comment: > With the change in PR 22098, the 32-bit interpreter will install to a > different location. To clarify this, I meant the 32-bit interpreter will install *packages* to a different location (when using the user scheme). -- assignee: -> steve.dower res

[issue41718] test.regrtest has way too many imports

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows with current master, the baseline for running anything with 1 import (">>> import sys; len(sys.modules)") is 35 imported modules. Adding "import unittest" increases this to 80. What slightly puzzles me is that running --- import unittest import

[issue41719] Why does not range() support decimals?

2020-09-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: Generating a range of equally-spaced floats is tricky and the range builtin is not the right solution for this. For numerical work, we often need to specify the number of steps, not the step size. For instance, in numeric integration, we often like to doubl

[issue41719] Why does not range() support decimals?

2020-09-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the usual approach to the OP's problem is: >>> [x*0.5 for x in range(10)] [0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5] This technique generalizes to other sequences as well: >>> [x**2 for x in range(10)] [0, 1, 4, 9, 16, 25, 36

[issue39883] Use BSD0 license for code in docs

2020-09-04 Thread Todd Jennings
Todd Jennings added the comment: The pull request is https://github.com/python/python-docs-theme/pull/36 It doesn't seem to went let me add it to linked pull requests. -- ___ Python tracker ___

[issue41722] multiprocess error on large dataset

2020-09-04 Thread vishal rao
Change by vishal rao : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue41723] doc: issue in a sentence in py_compile

2020-09-04 Thread Sean Chao
New submission from Sean Chao : I think in https://docs.python.org/3.10/library/py_compile.html#py_compile.compile the sentence: > If dfile is specified, it is used as the name of the source file in error > messages when instead of file. should not have the 'when'. -- assignee: docs@p

[issue41724] SQLite returns instead of with aggregate queries.

2020-09-04 Thread Ravi Misra
New submission from Ravi Misra : I tested the timestamp column in SQLite with MAX/MIN queries. They return string values instead of datetime.datetime. -- components: C API messages: 376425 nosy: ravi-misra priority: normal severity: normal status: open title: SQLite returns instead of

<    1   2