Document Entire Apps

2019-09-14 Thread Sinardy Gmail
Hi Python Gurus, I am in earlier stage in my apps development, What tools or how is the Python community standard good practice in documenting the apps especially the packages that import another packages. I understand that we can use pydoc to document procedures how about the relationship

[issue21023] PyTypeObject tp_name is char* instead of const char*

2019-09-14 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: This is nolonger an issue. All references to tp_name are as below. const char *tp_name; -- nosy: +nanjekyejoannah ___ Python tracker ___

[issue19692] Rename Py_SAFE_DOWNCAST

2019-09-14 Thread hai shi
hai shi added the comment: Looks we have a fast version rhythm. IMHO, If user would be affected and reported, reversing the PR is ok. -- ___ Python tracker ___

[issue26360] Deadlock in thread.join on Python 2.7/macOS

2019-09-14 Thread Kyle Stanley
Kyle Stanley added the comment: > FWIW, I've confirmed again that the exact same script on the same machine > seems fine under Python 3.x. Given the imminent demise of Python 2, perhaps > this issue is just destined to be an unsolved historical oddity. Since it doesn't seem to be occurring

[issue10108] ExpatError not property wrapped

2019-09-14 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: What about idea of making a "Pythonic Lisp"...i.e. a Lisp that more closely resembles the syntax of Python?

2019-09-14 Thread Louis Valence
Christian Seberino writes: > Python is my goto main language. However, sometimes I'm tempted to > play with a Lisp like language just for fun. > > Clojure looks pretty solid but its syntax is different than Python's. > > Since Lisp's make it so easy to modify the language, what about the idea >

What about idea of making a "Pythonic Lisp"...i.e. a Lisp that more closely resembles the syntax of Python?

2019-09-14 Thread Christian Seberino
Python is my goto main language. However, sometimes I'm tempted to play with a Lisp like language just for fun. Clojure looks pretty solid but its syntax is different than Python's. Since Lisp's make it so easy to modify the language, what about the idea of developing a few macros to make a

[issue38155] Add __all__ to the datetime module

2019-09-14 Thread Tahia K
Tahia K added the comment: I'll definitely add that test @Paul. Speaking of, what do you guys think of this test: def test_c_all(self): """Test that __all__ symbols between the c datetime module and the python datetime library are equivalent.""" c_datetime =

[issue29988] with statements are not ensuring that __exit__ is called if __enter__ succeeds

2019-09-14 Thread Nick Coghlan
Nick Coghlan added the comment: It's also not unique to with statements - it applies to all finally clauses. The longstanding workaround when deterministic cleanup is absolutely critical has been to run the "real" application in a subthread, and devote the main thread to gracefully

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36274] http.client cannot send non-ASCII request lines

2019-09-14 Thread Sviatoslav Sydorenko
Change by Sviatoslav Sydorenko : -- nosy: +webknjaz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread Kyle Stanley
Kyle Stanley added the comment: > Thanks you Kyle! No problem, thanks for merging it Antoine! What do you think of the followup PR to make use of the SEEK_* constants listed in the documentation? I think it would be useful to at least mention them in the tutorial, or even make use of them

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks you Kyle! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread miss-islington
miss-islington added the comment: New changeset 4a71df88cdba77c409ee70146dd6445b19267df4 by Miss Islington (bot) in branch '3.8': bpo-37635: Update arg name for seek() in IO tutorial (GH-16147) https://github.com/python/cpython/commit/4a71df88cdba77c409ee70146dd6445b19267df4 --

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread miss-islington
miss-islington added the comment: New changeset b9f932f9e2a170a8d39b3c17f5fabb0967839d85 by Miss Islington (bot) in branch '3.7': bpo-37635: Update arg name for seek() in IO tutorial (GH-16147) https://github.com/python/cpython/commit/b9f932f9e2a170a8d39b3c17f5fabb0967839d85 --

[issue36274] http.client cannot send non-ASCII request lines

2019-09-14 Thread Jason R. Coombs
Jason R. Coombs added the comment: As I considered a patch for this, I realized there are actually two issues, the one in the title "http.client cannot send non-ASCII request lines" but also "the protection for invalid requests prevents usage to generate invalid requests". The former issue

[issue30458] [security][CVE-2019-9740][CVE-2019-9947] HTTP Header Injection (follow-up of CVE-2016-5699)

2019-09-14 Thread Jason R. Coombs
Jason R. Coombs added the comment: This change caused a regression or two captured in issue36274. Essentially, by blocking invalid requests, it's now not possible for a system intentionally to generate invalid requests for testing purposes. As these point releases of Python start making it

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +15761 pull_request: https://github.com/python/cpython/pull/16150 ___ Python tracker ___

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +15762 pull_request: https://github.com/python/cpython/pull/16151 ___ Python tracker ___

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread miss-islington
miss-islington added the comment: New changeset ff603f6c3d3dc0e9ea8c1c51ce907c4821f42c54 by Miss Islington (bot) (Kyle Stanley) in branch 'master': bpo-37635: Update arg name for seek() in IO tutorial (GH-16147)

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-09-14 Thread Uche Ogbuji
New submission from Uche Ogbuji : cpython bundles expat in Modules/expat/ and needs to be updated to expat-2.2.8 to security vulnerability CVE-2019-15903. >From Sebastian Pipping on XML-DEV ML: Expat 2.2.8 [1] has been released yesterday. This release fixes a security issue — a heap buffer

[issue24363] httplib fails to handle semivalid HTTP headers

2019-09-14 Thread Abhilash Raj
Abhilash Raj added the comment: Martin: Can you please create a PR for the added patch? If you are busy, I can do that for you, just wanted to ask before I do :) I am going to remove "easy" label from this issue, which IMO it clearly isn't given 4 years of history to catch up on and a few

[issue12178] csv writer doesn't escape escapechar

2019-09-14 Thread Tal Einat
Tal Einat added the comment: FWIW, though this is arguably fixing a bug, IMO this shouldn't be back-ported to 2.7 or 3.7, but only be in 3.8+, to avoid breaking backwards-compatibility. That being said, it would be great to get this into 3.8.0! -- nosy: +taleinat

[issue29353] Incorrect handling of HTTP response with "Content-Type: message/rfc822" header

2019-09-14 Thread Christian Schmidbauer
Change by Christian Schmidbauer : -- pull_requests: +15760 stage: -> patch review pull_request: https://github.com/python/cpython/pull/12214 ___ Python tracker ___

[issue37798] Add C fastpath for statistics.NormalDist.inv_cdf()

2019-09-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +15759 pull_request: https://github.com/python/cpython/pull/16149 ___ Python tracker ___

[issue38164] polishing asyncio Streams API

2019-09-14 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +15758 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16148 ___ Python tracker

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread Kyle Stanley
Kyle Stanley added the comment: Created GH-16147 for replacing the *from_what* argument with *whence* in the IO tutorial. I would like to consider following up on this with another PR that adds the IO constants `SEEK_SET`, `SEEK_CUR`, and `SEEK_END` to the tutorial. Those constants would

[issue37635] Using constant for whence arg in seek()

2019-09-14 Thread Kyle Stanley
Change by Kyle Stanley : -- keywords: +patch pull_requests: +15757 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16147 ___ Python tracker ___

[issue34155] [CVE-2019-16056] email.utils.parseaddr mistakenly parse an email

2019-09-14 Thread Abhilash Raj
Abhilash Raj added the comment: Merged in 2.7, closing this one finally! Thanks to everyone who helped with this :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35696] remove unnecessary operation in long_compare()

2019-09-14 Thread hongweipeng
Change by hongweipeng : -- pull_requests: +15756 pull_request: https://github.com/python/cpython/pull/16146 ___ Python tracker ___

[issue34155] [CVE-2019-16056] email.utils.parseaddr mistakenly parse an email

2019-09-14 Thread miss-islington
miss-islington added the comment: New changeset 4cbcd2f8c4e12b912e4d21fd892eedf7a3813d8e by Miss Islington (bot) (Roberto C. Sánchez) in branch '2.7': [2.7] bpo-34155: Dont parse domains containing @ (GH-13079) (GH-16006)

[issue38152] AST change introduced tons of reference leaks

2019-09-14 Thread Ammar Askar
Change by Ammar Askar : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38005] Coercing strings and non-integer numbers to interpreter ID and channel ID

2019-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I would remove also converting a string to InterpreterID. The code would be simpler without it. I left it because there was explicit tests for it, but what is a use case for InterpreterID(string)? -- resolution: -> fixed stage: patch review ->

[issue38005] Coercing strings and non-integer numbers to interpreter ID and channel ID

2019-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f37a9831027ecfe948697cdb5e35b417805d94e5 by Serhiy Storchaka in branch '3.8': [3.8] bpo-38005: Fixed comparing and creating of InterpreterID and ChannelID. (GH-15652) (GH-16145)

[issue38152] AST change introduced tons of reference leaks

2019-09-14 Thread Eddie Elizondo
Eddie Elizondo added the comment: The PR has been merged so the issue can be closed now -- ___ Python tracker ___ ___

[issue38005] Coercing strings and non-integer numbers to interpreter ID and channel ID

2019-09-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15755 pull_request: https://github.com/python/cpython/pull/16145 ___ Python tracker ___

Re: TechRepublicDEVELOPERCXO JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time

2019-09-14 Thread Gene Heskett
On Saturday 14 September 2019 11:46:50 Terry Reedy wrote: > On 9/14/2019 4:37 AM, Larry Martell wrote: > > On Fri, Sep 13, 2019 at 1:37 PM Skip Montanaro > > > > > > wrote: > >> https://www.techrepublic.com/google-amp/article/jpmorgans-athena-ha >

[issue38173] [EASY] tkinter.filedialog.askopenfilenames should follow PEP8

2019-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We usually do not accept pure cosmetic changes. >From PEP 8: Some other good reasons to ignore a particular guideline: 3. Because the code in question predates the introduction of the guideline and there is no other reason to be modifying that code.

[issue26360] Deadlock in thread.join on Python 2.7/macOS

2019-09-14 Thread Mark Dickinson
Mark Dickinson added the comment: FWIW, I've confirmed again that the exact same script on the same machine seems fine under Python 3.x. Given the imminent demise of Python 2, perhaps this issue is just destined to be an unsolved historical oddity. --

Re: TechRepublicDEVELOPERCXO JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time

2019-09-14 Thread Terry Reedy
On 9/14/2019 4:37 AM, Larry Martell wrote: On Fri, Sep 13, 2019 at 1:37 PM Skip Montanaro wrote: https://www.techrepublic.com/google-amp/article/jpmorgans-athena-has-35-million-lines-of-python-code-and-wont-be-updated-to-python-3-in-time/ I doubt this is unusual, and presume JP Morgan is big

[issue38171] super() is passing wrong parameters while handling diamond inheritance

2019-09-14 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38173] [EASY] tkinter.filedialog.askopenfilenames should follow PEP8

2019-09-14 Thread Dong-hee Na
New submission from Dong-hee Na : https://github.com/python/cpython/blob/39d87b54715197ca9dcb6902bb43461c0ed701a2/Lib/tkinter/filedialog.py#L397 This should be options["multiple"]=1 -> options["multiple"] = 1 -- components: Tkinter messages: 352438 nosy: corona10, taleinat priority:

[issue38173] [EASY] tkinter.filedialog.askopenfilenames should follow PEP8

2019-09-14 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +newcomer friendly ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38171] super() is passing wrong parameters while handling diamond inheritance

2019-09-14 Thread Mark Dickinson
Mark Dickinson added the comment: This isn't a bug: super is behaving as designed and as intended here, and indeed with a diamond inheritance structure you'll see super calling "across" from one class to its sibling. That's part of how it works. There's lots of thoughtful writing out there

[issue38153] Normalize hashing algorithm names

2019-09-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset eb2b0c694aef6122fdf95015abb24e0d095b6401 by Christian Heimes in branch 'master': bpo-38153: detect shake independently from sha3 (GH-16143) https://github.com/python/cpython/commit/eb2b0c694aef6122fdf95015abb24e0d095b6401 --

[issue38170] imghdr: Support detecting heif

2019-09-14 Thread Dong-hee Na
Dong-hee Na added the comment: Oh.. but PEP 594 is planning to remove imghdr. (https://www.python.org/dev/peps/pep-0594) It looks like that adding a new feature is not proper. I close this issue because of PEP 594 -- resolution: -> wont fix stage: -> resolved status: open -> closed

[issue38172] Python 3.8 Segfult with Bandersnatch pytest Suite

2019-09-14 Thread Cooper Lees
Cooper Lees added the comment: Adding in Nightly Passed: https://travis-ci.org/pypa/bandersnatch/jobs/584977510 Current 3.8 beta still failing: https://travis-ci.org/pypa/bandersnatch/builds/584977503 So please just close if the bug was known etc. and I'll just live with the failing test

[issue38172] Python 3.8 Segfult with Bandersnatch pytest Suite

2019-09-14 Thread Cooper Lees
Cooper Lees added the comment: Seems to be with coverage actually. ``` ERROR: InvocationError for command /home/travis/build/pypa/bandersnatch/.tox/py38/bin/coverage run -m pytest (exited with code -11) ``` -- ___ Python tracker

[issue38172] Python 3.8 Segfult with Bandersnatch pytest Suite

2019-09-14 Thread Cooper Lees
New submission from Cooper Lees : Haven't done research but bandersnatch's (https://github.com/pypa/bandersnatch) Unit tests pass in 3.7 and cause Python to Segmentation Fault in Python 3.8.0b4+. ``` py38 run-test: commands[0] | coverage run -m pytest = test

[issue38116] Make select module PEP-384 compatible

2019-09-14 Thread Dino Viehland
Dino Viehland added the comment: New changeset f919054e539a5c1afde1b31c9fd7a8f5b2313311 by Dino Viehland in branch 'master': bpo-38116: Convert select module to PEP-384 (#15971) https://github.com/python/cpython/commit/f919054e539a5c1afde1b31c9fd7a8f5b2313311 --

[issue38153] Normalize hashing algorithm names

2019-09-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +15754 pull_request: https://github.com/python/cpython/pull/16144 ___ Python tracker ___

[issue38153] Normalize hashing algorithm names

2019-09-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +15753 pull_request: https://github.com/python/cpython/pull/16143 ___ Python tracker ___

[issue38171] super() is passing wrong parameters while handling diamond inheritance

2019-09-14 Thread Steven D'Aprano
Change by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38170] imghdr: Support detecting heif

2019-09-14 Thread Dong-hee Na
Dong-hee Na added the comment: https://mpeg.chiariglione.org/standards/mpeg-h/image-file-format -- ___ Python tracker ___ ___

[issue38140] Py_tp_dictoffset / Py_tp_finalize are unsettable in stable API

2019-09-14 Thread Dino Viehland
Change by Dino Viehland : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38171] super() is passing wrong parameters while handling diamond inheritance

2019-09-14 Thread Patrick Monnerat
New submission from Patrick Monnerat : Running the attached program outputs: top.__init__(<__main__.top object at 0x7fc1dea24048>,) called i1.__init__(<__main__.top object at 0x7fc1dea24048>, 'arg from top') called i2.__init__(<__main__.top object at 0x7fc1dea24048>, 'arg from i1')

[issue38170] imghdr: Support detecting heif

2019-09-14 Thread Dong-hee Na
New submission from Dong-hee Na : I've found that imghdr does not detect HEIF type yet. I'd like to propose adding to detect HEIF type. There's already real-life usage within HEIF (https://help.dropbox.com/en-es/installs-integrations/mobile/ios-formats) And also we can find a bunch of HEIF

Re: TechRepublicDEVELOPERCXO JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time

2019-09-14 Thread Gene Heskett
On Saturday 14 September 2019 04:37:14 Larry Martell wrote: > On Fri, Sep 13, 2019 at 1:37 PM Skip Montanaro > > > wrote: > > https://www.techrepublic.com/google-amp/article/jpmorgans-athena-has > >-35-million-lines-of-python-code-and-wont-be-updated-to-python-3-in-t > >ime/ > > > > I doubt this

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-14 Thread Tal Einat
Tal Einat added the comment: I've also seen these occasionally, but I haven't yet found a way to reproduce consistently. Regardless, IMO the shutdown close() and _close() should be the places handling shutdown-related exceptions if possible. In all of the tracebacks posted here, as well

Re: TechRepublicDEVELOPERCXO JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time

2019-09-14 Thread o1bigtenor
On Sat, Sep 14, 2019 at 3:39 AM Larry Martell wrote: > > On Fri, Sep 13, 2019 at 1:37 PM Skip Montanaro > wrote: > > > > > > https://www.techrepublic.com/google-amp/article/jpmorgans-athena-has-35-million-lines-of-python-code-and-wont-be-updated-to-python-3-in-time/ > > > > I doubt this is

[issue38158] PyType_Spec docs list non-existant field "doc"

2019-09-14 Thread Tahia K
Tahia K added the comment: Awesome - just posted the PR. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38158] PyType_Spec docs list non-existant field "doc"

2019-09-14 Thread Tahia K
Change by Tahia K : -- keywords: +patch pull_requests: +15752 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16142 ___ Python tracker

[issue37206] Incorrect application of Argument Clinic to dict.pop()

2019-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d322abbb83eb751045246a70f39d040d13a6108b by Serhiy Storchaka in branch '3.8': [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141)

[issue33282] Subprocess Popen communicate hung if stdin not given to Popen, even though script not expecting any input

2019-09-14 Thread Dong-hee Na
Dong-hee Na added the comment: I would like to recommend this kind of question should be discussed at comp.lang.python mailing list. If cpython bug is detected from this issue. Please reopen this issue. Thanks! -- nosy: +corona10 resolution: -> not a bug stage: -> resolved status:

[issue37168] Decimal divisions sometimes 10x or 100x too large

2019-09-14 Thread Steven D'Aprano
Change by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26360] Deadlock in thread.join on Python 2.7/macOS

2019-09-14 Thread Mark Dickinson
Change by Mark Dickinson : -- title: Deadlock in thread.join on Python 2.7/Mac OS X 10.9, 10.10 -> Deadlock in thread.join on Python 2.7/macOS ___ Python tracker ___

[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9, 10.10

2019-09-14 Thread Mark Dickinson
Mark Dickinson added the comment: > Maybe issue38106 related. That looks plausible, but unfortunately I'm still able to reproduce the hang with your PR (commit 9b135c02aa1edab4c99c915c43cd62d988f1f9c1, macOS 10.14.6). -- ___ Python tracker

[issue37206] Incorrect application of Argument Clinic to dict.pop()

2019-09-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15751 pull_request: https://github.com/python/cpython/pull/16141 ___ Python tracker ___

[issue37206] Incorrect application of Argument Clinic to dict.pop()

2019-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 279f44678c8b84a183f9eeb85e0b086228154497 by Serhiy Storchaka in branch 'master': bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933)

[issue21705] cgi.py: Multipart with more than one file is misparsed

2019-09-14 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-14 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +gregory.p.smith versions: +Python 2.7, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___

Re: TechRepublicDEVELOPERCXO JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time

2019-09-14 Thread Larry Martell
On Fri, Sep 13, 2019 at 1:37 PM Skip Montanaro wrote: > > > https://www.techrepublic.com/google-amp/article/jpmorgans-athena-has-35-million-lines-of-python-code-and-wont-be-updated-to-python-3-in-time/ > > I doubt this is unusual, and presume JP Morgan is big enough to handle > the change of

[issue33936] OPENSSL_VERSION_1_1 never defined in _hashopenssl.c

2019-09-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +15750 pull_request: https://github.com/python/cpython/pull/16140 ___ Python tracker ___

[issue37953] Fix ForwardRef equality checks

2019-09-14 Thread miss-islington
miss-islington added the comment: New changeset 66da347ef0034ad9bddc7fad112025c886249f0d by Miss Islington (bot) in branch '3.8': bpo-37953: Fix deprecation warnings in test_typing (GH-16133) https://github.com/python/cpython/commit/66da347ef0034ad9bddc7fad112025c886249f0d --

[issue38169] Increase Code Coverage for SharedMemory and ShareableListe

2019-09-14 Thread Vinay Sharma
Change by Vinay Sharma : -- keywords: +patch pull_requests: +15749 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16139 ___ Python tracker ___

[issue37953] Fix ForwardRef equality checks

2019-09-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +15748 pull_request: https://github.com/python/cpython/pull/16138 ___ Python tracker ___

[issue38169] Increase Code Coverage for SharedMemory and ShareableListe

2019-09-14 Thread Vinay Sharma
New submission from Vinay Sharma : Add Tests for SharedMemory and ShareableList. I have also added a check to prevent users from creating shared memory of size 0, because after creating mmap will throw error while memory mapping she of size 0. -- components: Tests messages: 352420

[issue37953] Fix ForwardRef equality checks

2019-09-14 Thread miss-islington
miss-islington added the comment: New changeset d057b896f97e6d7447b9bf9246770c41cf205299 by Miss Islington (bot) (Zackery Spytz) in branch 'master': bpo-37953: Fix deprecation warnings in test_typing (GH-16133) https://github.com/python/cpython/commit/d057b896f97e6d7447b9bf9246770c41cf205299

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-14 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +15747 pull_request: https://github.com/python/cpython/pull/16137 ___ Python tracker ___

[issue38052] Include sspipe Module with Core Python

2019-09-14 Thread Juan Telleria
Juan Telleria added the comment: And based on previous example, a more "pythonic" syntax would: MyObj = Class \ .method1() \ .f_function1() \ .method2() \ .f_function2(param1 = "A", param2 = .) So that any function preceded by a dot "." becomes a forward-pipe function (Object

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: What happens if you immediately close the Shell window? Perhaps your bug only appears after some amount of activity. (This is not true of the one I see with repository python.) -- ___ Python tracker

[issue38052] Include sspipe Module with Core Python

2019-09-14 Thread Maria Alguea
Maria Alguea added the comment: Will discuss it on the Mailing Lists. Thank you. Yet is important it is important to understand this powerful concept, based on R's pipe: https://magrittr.tidyverse.org Eg: MyObj = Class \ .method1() %>% f_function1() \ # Obj is 1st argument

[issue38057] Docs: source code don't can be translate

2019-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for issues possibly leading to patches for the CPython repository. Translations are not part of this repository and I am pretty sure that .po files are not either. -- nosy: +terry.reedy resolution: -> not a bug stage: -> resolved

[issue38050] open('file.txt') path not found

2019-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I strongly doubt that IDLE crashed, as opposed to showing a traceback generated by Python. If Python crashes, IDLE restarts instead of crashing. I am closing this because all the essential information is still missing a week after it was requested. There

Re: itertools product(infinite iterator) hangs

2019-09-14 Thread ast
Le 14/09/2019 à 04:26, Oscar Benjamin a écrit : I've been staring at this for a little while: from itertools import product class Naturals: def __iter__(self): i = 1 while True: yield i i += 1 N = Naturals() print(iter(N)) print(product(N)) #

[issue38168] Refleaks in setint() of mmapmodule.c

2019-09-14 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +15746 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16136 ___ Python tracker ___

[issue38168] Refleaks in setint() of mmapmodule.c

2019-09-14 Thread hai shi
Change by hai shi : -- title: Reflaks in setint() of mmapmodule.c -> Refleaks in setint() of mmapmodule.c ___ Python tracker ___

[issue37953] Fix ForwardRef equality checks

2019-09-14 Thread Zackery Spytz
Zackery Spytz added the comment: There are deprecation warnings in test_typing. ./python -m test test_typing Run tests sequentially 0:00:00 load avg: 0.16 [1/1] test_typing /home/lubuntu2/cpython/Lib/test/test_typing.py:2382: DeprecationWarning: Please use assertEqual instead.

[issue38168] Reflaks in setint() of mmapmodule.c

2019-09-14 Thread hai shi
New submission from hai shi : As the title said, in `setint` function, the refcount of `o` should decreased all the time. -- components: Interpreter Core messages: 352412 nosy: shihai1991 priority: normal severity: normal status: open title: Reflaks in setint() of mmapmodule.c type:

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also, the way I start IDLE is from a terminal session: $ python3.8 -m idlelib.idle -- ___ Python tracker ___

[issue37953] Fix ForwardRef equality checks

2019-09-14 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +15745 pull_request: https://github.com/python/cpython/pull/16133 ___ Python tracker ___

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: 1. your tracebacks are on macOS. Yes 2. They occur with installed, not repository Python. python installer 3. The missing attribute depends on whether Shell or an editor window is closed either only or last. I don't know the trigger event What macOS

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, I presume 1. your tracebacks are on macOS. 2. They occur with installed, not repository Python. 3. The missing attribute depends on whether Shell or an editor window is closed either only or last. Please verify. What macOS version? python.org