[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Tony Reix
Tony Reix added the comment: I forgot to say that this behavior was not present in stable version 3.8.5 . Sorry. On 2 machines AIX 7.2, testing Python 3.8.5 with: + cd /opt/freeware/src/packages/BUILD/Python-3.8.5 + ulimit -d unlimited + ulimit -m unlimited + ulimit -s unlimited + export

[issue40994] Very confusing documenation for abc.Collections

2020-08-13 Thread Georg Brandl
Georg Brandl added the comment: FWIW, I think Sydney's right. Shared entries should only be used for closely related, or interdependent, APIs, which those here are not. -- nosy: +georg.brandl ___ Python tracker

[issue41547] Expose default __getstate__ and __setstate__

2020-08-13 Thread youkaichao
New submission from youkaichao : According to the doc ( https://docs.python.org/3/library/pickle.html#object.__getstate__ ), an object may not have a __getstate__ method. During pickling and unpickling, python first finds __getstate__ and __setstate__, which may invoke a customed

[issue40275] test.support has way too many imports

2020-08-13 Thread hai shi
hai shi added the comment: oh, sorry, missing a word: I suggest this bpo.->I suggest close this bpo. -- ___ Python tracker ___ ___

[issue40275] test.support has way too many imports

2020-08-13 Thread hai shi
hai shi added the comment: If someone wants to continue the effort in libregrtest, I suggest to open a new issue. +1. And if there have any other test cases blocked by test.support, I suggest this bpo. -- ___ Python tracker

[issue41541] Make pty.spawn set window size

2020-08-13 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: OS: Linux 4.19.0-9-amd64 Debian 10 GNU/Linux -- ___ Python tracker ___ ___ Python-bugs-list

[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-13 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset 87d8287865e5c9f137f6b5cf8c34c2c509eb5e9d by Paul Ganssle in branch 'master': bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965) https://github.com/python/cpython/commit/87d8287865e5c9f137f6b5cf8c34c2c509eb5e9d --

[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +21001 pull_request: https://github.com/python/cpython/pull/21876 ___ Python tracker

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-13 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The current implementation calls object.__new__(cls), where cls is the child class type, from within a class method (@classmethod). This is fine for Path.__new__() and PurePath.__new__(), which are called by the child class's __new__(), because we don't

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-13 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-13 Thread miss-islington
miss-islington added the comment: New changeset 7c288413db8c2b84dd476b0c8a19f85110d99a2f by Miss Islington (bot) in branch '3.9': bpo-41410: Fix outdated info in mkstemp docs (GH-21701) https://github.com/python/cpython/commit/7c288413db8c2b84dd476b0c8a19f85110d99a2f --

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-13 Thread miss-islington
miss-islington added the comment: New changeset 2a9f709ba23c8f6aa2bed821aacc4e7baecde383 by Miss Islington (bot) in branch '3.8': bpo-41410: Fix outdated info in mkstemp docs (GH-21701) https://github.com/python/cpython/commit/2a9f709ba23c8f6aa2bed821aacc4e7baecde383 --

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +21000 pull_request: https://github.com/python/cpython/pull/21875 ___ Python tracker ___

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +20998 pull_request: https://github.com/python/cpython/pull/21873 ___ Python tracker ___

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +20999 pull_request: https://github.com/python/cpython/pull/21874 ___ Python tracker ___

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-13 Thread miss-islington
miss-islington added the comment: New changeset e55de68be3e5b977a17d3c0ac9805b0feff8fedc by Rishav Kundu in branch 'master': bpo-41410: Fix outdated info in mkstemp docs (GH-21701) https://github.com/python/cpython/commit/e55de68be3e5b977a17d3c0ac9805b0feff8fedc -- nosy:

[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-13 Thread Steven D'Aprano
Steven D'Aprano added the comment: > I wrap a function's logic with `gc.disable()` to prevent GC from triggering > some race condition. If this race condition is a bug in gc, then we should fix that. If it is a bug in your code, surely you should fix that rather than disable gc. Either

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-13 Thread Steve Dower
Steve Dower added the comment: Fixes merged, just need Łukasz to confirm it'll be in 3.9.0 and we can resolve this. -- nosy: +lukasz.langa ___ Python tracker ___

[issue41546] pprint() gives exception when ran from pythonw

2020-08-13 Thread Luiz
New submission from Luiz : If you use the pprint function when running on windowed mode (either by using the .pyw extension or running the file with pythonw) a "AttributeError" exception occurs, saying that "'NoneType' object has no attribute 'write'". Looking at the source code

[issue41543] contextlib.nullcontext doesn't work with async context managers

2020-08-13 Thread Nathaniel Smith
Nathaniel Smith added the comment: It does seem pretty harmless in this case. -- ___ Python tracker ___ ___ Python-bugs-list

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-13 Thread miss-islington
miss-islington added the comment: New changeset 75c2281762932c4e5f0bd7deae40ef014f704de2 by Miss Islington (bot) in branch '3.9': bpo-41526: Fixed layout of final page of the installer (GH-21871) https://github.com/python/cpython/commit/75c2281762932c4e5f0bd7deae40ef014f704de2 --

[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-13 Thread Yonatan Goldschmidt
New submission from Yonatan Goldschmidt : I have a construct in my code where I wrap a function's logic with `gc.disable()` to prevent GC from triggering some race condition. Today this construct got a bit more complicated, and another function had to use this "trick". Now there are 2 flows:

[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-13 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Seth, Surely you aren't relying on the behaviour that names in `__all__` *aren't* normalised but others are? Rather than a warning, I think the right solution here is to normalise the names in `__all__`. -- nosy: +steven.daprano

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +20997 pull_request: https://github.com/python/cpython/pull/21872 ___ Python tracker

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-13 Thread Steve Dower
Steve Dower added the comment: New changeset 6444ca946984c638c67a72aac22fd6d3cc650c16 by Steve Dower in branch 'master': bpo-41526: Fixed layout of final page of the installer (GH-21871) https://github.com/python/cpython/commit/6444ca946984c638c67a72aac22fd6d3cc650c16 --

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-13 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +20996 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21871 ___ Python tracker ___

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-13 Thread Steve Dower
Steve Dower added the comment: Thanks, Mark. We shall not hold you solely responsible for the port any longer ;) -- ___ Python tracker ___

[issue41543] contextlib.nullcontext doesn't work with async context managers

2020-08-13 Thread Yury Selivanov
Yury Selivanov added the comment: I typically don't like objects that support both `with` and `async with`, but in this case I think that's appropriate. Nathaniel, Andrew, what do you think? -- nosy: +njs ___ Python tracker

[issue41539] print blocks with multiprocessing and buffered output

2020-08-13 Thread Martin
Martin added the comment: While I appreciate your suggestion, it does not help me much. The problem that people usually have is that the output is scrambled. That is not the problem I'm dealing with. I'm experiencing a deadlock caused by the print statement which seems like a python bug to

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-13 Thread Mark Hammond
Mark Hammond added the comment: Yes, while I appreciate the gesture, I am somewhat embarrassed these days - as you say, many others deserve this more than me these days. So please remove it. -- ___ Python tracker

[issue41543] contextlib.nullcontext doesn't work with async context managers

2020-08-13 Thread Tom Gringauz
Change by Tom Gringauz : -- keywords: +patch pull_requests: +20995 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21870 ___ Python tracker ___

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lukasz, please cherry-pick the 3.9 commits for this issue 90eff4ed4445a0fa9d8cdf74c0f86c50ed510dad f24430f1542ea2768793b48704ae2d4e241892ae into 3.9.0rc2 before release. They fix a regression introduced by a bug fix last June. -- resolution: -> fixed

[issue41544] multiprocessing.dummy.Process lacks daemon parameter

2020-08-13 Thread Martin
Change by Martin : -- keywords: +patch pull_requests: +20993 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21869 ___ Python tracker ___

[issue41544] multiprocessing.dummy.Process lacks daemon parameter

2020-08-13 Thread Martin
New submission from Martin : Although multiprocessing.Process has a `daemon` parameter, multiprocessing.dummy.Process doesn't. As multiprocessing.dummy is meant to replicate the API of multiprocessing and the daemon parameter is readily available in threading.Thread, it should also be

[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-13 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41543] contextlib.nullcontext doesn't work with async context managers

2020-08-13 Thread Tom Gringauz
New submission from Tom Gringauz : `contextlib.nullcontext` cannot be used with async conetext managers, because it implements only `__enter__` and `__exit__`, and doesn't implement `__aenter__` and `__aexit__`. -- components: Library (Lib), asyncio messages: 375346 nosy: asvetlov,

[issue41526] Python 3.9.0rc1 "setup successful" dialog box overflow

2020-08-13 Thread Steve Dower
Steve Dower added the comment: So it'll take a bit more rearranging to get everything to fit - I've attached one proposal that shuffles the thanks to Mark Hammond down below the "enable long path names" button. (It's grey text in the screenshot, but I've switched it to black already.)

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: With PR 21865, there are only two remaining warnings: Doc/library/string.rst:311: WARNING: duplicate token description of sf:format_spec, other instance in library/string Doc/reference/introduction.rst:96: WARNING: duplicate token description of *:name,

[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-13 Thread Seth Woodworth
Seth Woodworth added the comment: I don't think it is worth throwing a warning. This might be the desired, or at least allowed, behavior. I'm relying on the behavior in a toy library I'm working on. -- ___ Python tracker

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20992 pull_request: https://github.com/python/cpython/pull/21865 ___ Python tracker ___

[issue41536] pathlib's Path("NUL:").resolve() throws an error on windows

2020-08-13 Thread Steve Dower
Steve Dower added the comment: The trailing colon is unnecessary, and likely to cause more issues, but the same thing occurs for Path('NUL').resolve() This is probably best handled as issue37517, where you'll find more background on the error messages. But I believe that

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 474652fe9346382dbf793f20b671eb74668bebde by Victor Stinner in branch 'master': bpo-40204, doc: Fix syntax of C variables (GH-21846) https://github.com/python/cpython/commit/474652fe9346382dbf793f20b671eb74668bebde --

[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-13 Thread Tianrui Luo
Tianrui Luo added the comment: Thanks! I am closing this bug. I wonder if it worth prompting warnings when unnormalized unicode characters are used. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue41066] Update documentation for Pathlib

2020-08-13 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41066] Update documentation for Pathlib

2020-08-13 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41066] Update documentation for Pathlib

2020-08-13 Thread miss-islington
miss-islington added the comment: New changeset 43b3e4c32976bf069241ad8bb174929a816ee7ba by Antoine Pitrou in branch '3.8': [3.8] bpo-41066: Update the comparison section for os vs pathlib (GH-21261) (GH-21864)

[issue40994] Very confusing documenation for abc.Collections

2020-08-13 Thread Sydney Pemberton
Sydney Pemberton added the comment: Nothing to do with Jupyter itself. When I'm reading the documentation I don't necessarily think that a sibling "node" in the document structure is going to have anything to do with my current section. So it was weird to see the section entirely empty. Also,

[issue41066] Update documentation for Pathlib

2020-08-13 Thread miss-islington
miss-islington added the comment: New changeset 3dd1153b9963cc7fc74ba2fa5bf2be46f154c613 by Miss Islington (bot) in branch '3.9': bpo-41066: Update the comparison section for os vs pathlib (GH-21261) https://github.com/python/cpython/commit/3dd1153b9963cc7fc74ba2fa5bf2be46f154c613

[issue41066] Update documentation for Pathlib

2020-08-13 Thread Antoine Pitrou
Change by Antoine Pitrou : -- pull_requests: +20991 pull_request: https://github.com/python/cpython/pull/21864 ___ Python tracker ___

[issue41066] Update documentation for Pathlib

2020-08-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +20990 pull_request: https://github.com/python/cpython/pull/21863 ___ Python tracker

[issue41066] Update documentation for Pathlib

2020-08-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece by Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) in branch 'master': bpo-41066: Update the comparison section for os vs pathlib (GH-21261)

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset d3ded080482beae578faa704b13534a62d066f9f by Victor Stinner in branch 'master': bpo-40204: Add :noindex: in the documentation (GH-21859) https://github.com/python/cpython/commit/d3ded080482beae578faa704b13534a62d066f9f --

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-13 Thread Louis-Vincent Boudreault
Louis-Vincent Boudreault added the comment: This is not true, because the classmethod used the library shortcuts the class mro order, this is to prevent infinite loop inthe __new__. However, If it was using __init__ before hand, we would Not have this issue Le jeu. 13 août 2020 à 15:31,

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-13 Thread Louis-Vincent Boudreault
Louis-Vincent Boudreault added the comment: This is not true, because the classmethod use the library shortcuts the class mro order, to prevent infinite loop inthe __new__. However, it was using __init__ before hand, we would Not have this issue Le jeu. 13 août 2020 à 15:27, Jeffrey Kintscher

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-13 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Adding __init__() to PurePath complicates things and doesn't provide any benefit. A subclass that calls super.__init__() ends up invoking object.__init__(), which is perfectly fine. I was able to find a solution by calling type(self)() instead of

[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-13 Thread Seth Woodworth
Seth Woodworth added the comment: As described in PEP3131, unicode identifiers are normalized via NFKC before being added to the globals, and presumably __all__ as in your example. You can see what python _did_ add via unicodedata.normalize('NFKC', 'ϕ') which returns 'φ' [ins] In [8]:

[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-13 Thread Tianrui Luo
New submission from Tianrui Luo : Fairly easy to reproduce. `__all__` in a module seems unable to track name with `φ`. The following minimal reproducing example also fails for function name of `aφ` or `φb`. ```python3 Python 3.7.7 (default, May 7 2020, 21:25:33) [GCC 7.3.0] :: Anaconda, Inc.

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread miss-islington
miss-islington added the comment: New changeset a3416c13b51af25675e175d4ffe07d8b925e7dbf by Miss Islington (bot) in branch '3.8': [3.9] bpo-41520: Fix second codeop regression (GH-21848) https://github.com/python/cpython/commit/a3416c13b51af25675e175d4ffe07d8b925e7dbf --

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f24430f1542ea2768793b48704ae2d4e241892ae by Terry Jan Reedy in branch '3.9': [3.9] bpo-41520: Fix second codeop regression (GH-21848) https://github.com/python/cpython/commit/f24430f1542ea2768793b48704ae2d4e241892ae --

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +20989 pull_request: https://github.com/python/cpython/pull/21862 ___ Python tracker ___

[issue40994] Very confusing documenation for abc.Collections

2020-08-13 Thread Irit Katriel
Irit Katriel added the comment: Sydney, is the issue related to how Jupyter notebook displays the documentation? -- ___ Python tracker ___

[issue41541] Make pty.spawn set window size

2020-08-13 Thread Soumendra Ganguly
Change by Soumendra Ganguly : -- pull_requests: +20988 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21861 ___ Python tracker ___

[issue41541] Make pty.spawn set window size

2020-08-13 Thread Soumendra Ganguly
Change by Soumendra Ganguly : -- title: Make pty.spawn set window size, make code more readable -> Make pty.spawn set window size ___ Python tracker ___

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +20987 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21860 ___ Python tracker ___

[issue41541] Make pty.spawn set window size, make code more readable

2020-08-13 Thread Soumendra Ganguly
New submission from Soumendra Ganguly : The example in https://docs.python.org/3/library/pty.html that mimics script(1) can be used to reproduce the problem: since window size is not set by pty.spawn, output of "ls" becomes scattered and hard to visually parse if xterm window is not in

[issue40994] Very confusing documenation for abc.Collections

2020-08-13 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) added the comment: English is my second language and I am familiar with the expression “respectively” since it is used very often in high school mathematics. -- nosy: +thatiparthy ___ Python

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: > New changeset c818b15fa59039de67022c29085d439fa5d3ef95 by Terry Jan Reedy in > branch 'master': > bpo-41520: Fix second codeop regression (GH-21848) https://github.com/python/cpython/commit/c818b15fa59039de67022c29085d439fa5d3ef95 I confirm that this

[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 20ae565bd2d79425d5567c001ed8f89848d7d907 by Victor Stinner in branch 'master': bpo-41521: Replace denylist with blocklist is http.cookiejar doc (GH-21826) https://github.com/python/cpython/commit/20ae565bd2d79425d5567c001ed8f89848d7d907

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c818b15fa59039de67022c29085d439fa5d3ef95 by Terry Jan Reedy in branch 'master': bpo-41520: Fix second codeop regression (GH-21848) https://github.com/python/cpython/commit/c818b15fa59039de67022c29085d439fa5d3ef95 --

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 46d10b1237c67ff8347f533eda6a5468d098f7eb by Victor Stinner in branch 'master': bpo-40204: Fix duplicates in the documentation (GH-21857) https://github.com/python/cpython/commit/46d10b1237c67ff8347f533eda6a5468d098f7eb --

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 43577c01a2ab49122db696e9eaec6cb31d11cc81 by Victor Stinner in branch 'master': bpo-40204: Fix Sphinx sytanx in howto/instrumentation.rst (GH-21858) https://github.com/python/cpython/commit/43577c01a2ab49122db696e9eaec6cb31d11cc81 --

[issue41537] {Save, Save As, Save Copy As} not Working from version 3.8.3

2020-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: A copy of what I wrote elsewhere. There are two possible reasons in 3.8.4 and 3.9.0b4 - non-ascii characters and files created outside of IDLE. Non-ascii chars was fixed in 3.8.5 and 3.9.0b5. Files created outside of IDLE work in 3.8.6, due in September and

[issue41537] {Save, Save As, Save Copy As} not Working from version 3.8.3

2020-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The first save fix is in 3.8.5. The second fix is in 3.9.0rc1, released 2 days ago. In the absence of specific information otherwise, I am assuming that this is a duplicate of one of the two no-save causes. -- resolution: -> duplicate stage: ->

[issue41525] Python '--help' has corrupted text.

2020-08-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread David Edelsohn
David Edelsohn added the comment: Core developers have full access to AIX system for the asking. Back to you, Stefan. -- ___ Python tracker ___

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Stefan Krah
Stefan Krah added the comment: The test (size > (size_t)PY_SSIZE_T_MAX)) has nothing to do with it. Within Python, most sizes are ssize_t, so a value larger than SSIZE_MAX is suspicious. AIX is an unsupported platform. Realistically, if people want AIX to be supported, someone has to give

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20986 pull_request: https://github.com/python/cpython/pull/21859 ___ Python tracker ___

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20985 pull_request: https://github.com/python/cpython/pull/21858 ___ Python tracker ___

[issue40275] test.support has way too many imports

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: > About https://bugs.python.org/issue40275#msg369214, shall we continue to > improve the libregretest? If someone wants to continue the effort in libregrtest, I suggest to open a new issue. This one already has a long list of commits and messages about

[issue41494] Adds window resizing support to Lib/pty.py [ SIGWINCH ]

2020-08-13 Thread Soumendra Ganguly
Change by Soumendra Ganguly : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue41494] Adds window resizing support to Lib/pty.py [ SIGWINCH ]

2020-08-13 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Closing because registering SIGWINCH handler from within library function is impractical. -- ___ Python tracker ___

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20984 pull_request: https://github.com/python/cpython/pull/21857 ___ Python tracker ___

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Tony Reix
Tony Reix added the comment: Is it a 64bit AIX ? Yes, AIX is 64bit by default and only since ages, but it manages 32bit applications as well as 64bit applications. The experiments were done with 64bit Python executables on both AIX and Linux. The AIX machine has 16GB Memory and 16GB Paging

[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: > The commit 369a1cbdee14d9f27356fb3a8bb21e4fde289d25 introduces a change in > environment. (...) Right. It's fixed by PR 21848. -- ___ Python tracker

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset e087f7cd43dfa4223c55a8ecd71f4a7d685178e4 by Mohamed Koubaa in branch 'master': bpo-1635741: Port _winapi ext to multi-stage init (GH-21371) https://github.com/python/cpython/commit/e087f7cd43dfa4223c55a8ecd71f4a7d685178e4 --

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Stefan Krah
Stefan Krah added the comment: Also, perhaps build Python with -bmaxdata? https://www.enterprisedb.com/edb-docs/d/postgresql/reference/manual/11.1/installation-platform-notes.html -- ___ Python tracker

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Stefan Krah
Stefan Krah added the comment: We need more information. Is this 64-bit AIX? How much physical memory does the machine have? Linux also has over-allocation and the default for ulimit is unlimited. But it does not attempt to over-allocate such an outrageous amount of memory. Neither do

[issue41537] {Save, Save As, Save Copy As} not Working from version 3.8.3

2020-08-13 Thread E. Paine
E. Paine added the comment: Would you mind please checking if #41373 is the problem you describe? (apologies about this issue, we are having relatively lots of reports about it but the fix won't be distributed until 3.9.0/3.8.6) -- nosy: +epaine

[issue14905] zipimport needs to support namespace packages when no 'directory' entry exists

2020-08-13 Thread Phil Connell
Phil Connell added the comment: One version of the bug described here (and fixed in the old implementation under issue17633) exists in the Python implementation of zipimport: $ unzip -l namespace1.zip Archive: namespace1.zip Length DateTimeName - -- -

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Sanket Rathi
Change by Sanket Rathi : -- nosy: +sanket ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Tony Reix
Tony Reix added the comment: Hi Pablo, I'm only surprised that the maximum size generated in the test is always lower than the PY_SSIZE_T_MAX. And this appears both on AIX and on Linux, which both compute the same values. On AIX, it appears (I've just discovered this now) that malloc() does

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Tony Reix
Tony Reix added the comment: Some more explanations. On AIX, the memory is controlled by the ulimit command. "Global memory" comprises the physical memory and the paging space, associated with the Data Segment. By default, both Memory and Data Segment are limited: # ulimit -a data seg size

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, I do not understand why you conclude that the problem is in PyMem_RawMalloc. That code seems correct. Could you provide evidence that the value of PY_SSIZE_T_MAX is miscalculated in AIX? Alternatively, could you elaborate on what makes

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Could be a duplicate/related to the problem described in https://bugs.python.org/issue39576 -- nosy: +pablogsal ___ Python tracker

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +facundobatista, mark.dickinson, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-08-13 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20982 pull_request: https://github.com/python/cpython/pull/21855 ___ Python tracker ___

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-08-13 Thread mohamed koubaa
Change by mohamed koubaa : -- pull_requests: +20983 pull_request: https://github.com/python/cpython/pull/21856 ___ Python tracker ___

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-13 Thread Tony Reix
New submission from Tony Reix : Python master of 2020/08/11 Test test_maxcontext_exact_arith (test.test_decimal.CWhitebox) checks that Python correctly handles a case where an object of size 421052631578947376 is created. maxcontext = Context(prec=C.MAX_PREC, Emin=C.MIN_EMIN,

[issue41538] Allow customizing python interpreter in venv.EnvBuilder

2020-08-13 Thread Albert Cervin
Change by Albert Cervin : -- keywords: +patch pull_requests: +20981 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21854 ___ Python tracker ___

  1   2   >