[issue37163] dataclasses.replace() fails with the field named "obj"

2019-06-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f5b89afde1196ec9f74b7dc0333cec9bc4d4c2db by Serhiy Storchaka in branch '3.8': bpo-37163: Deprecate passing argument obj of dataclasses.replace() by keyword. (GH-13877) https://github.com/python/cpython/commit/f5b89afde1196ec9f74b7dc0333cec9bc

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +14060 pull_request: https://github.com/python/cpython/pull/14226 ___ Python tracker ___

[issue37334] Add a cancel method to asyncio Queues

2019-06-19 Thread Martin Teichmann
New submission from Martin Teichmann : When working with queues, it is not uncommon that at some point the producer stops producing data for good, or the consumer stops consuming, for example because a network connection broke down or some user simply closed the session. In this situation it

[issue37334] Add a cancel method to asyncio Queues

2019-06-19 Thread Martin Teichmann
Change by Martin Teichmann : -- keywords: +patch pull_requests: +14061 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14227 ___ Python tracker ___

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Probably related issue where the flag was added to python.vcxproj : issue37288 -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, xtreak, zach.ware ___ Python tracker

[issue37335] Add 646 ASCII alias to locale coercion tests.

2019-06-19 Thread Jakub Kulik
New submission from Jakub Kulik : Locale coercion tests on Solaris are failing because 646 ASCII alias is not recognized. Its addition into the _handle_output_variations function fixes this problem. This was changed/fixed in Python 3.8 and later, where aliases are correctly translated to the

[issue37335] Add 646 ASCII alias to locale coercion tests.

2019-06-19 Thread Jakub Kulik
Change by Jakub Kulik : -- keywords: +patch pull_requests: +14063 stage: -> patch review pull_request: https://github.com/python/cpython/pull/11195 ___ Python tracker ___

[issue37334] Add a cancel method to asyncio Queues

2019-06-19 Thread Andrew Svetlov
Andrew Svetlov added the comment: Sounds like `.close()` is better name for described behavior. -- ___ Python tracker ___ ___ Pytho

[issue35455] Solaris thread_time doesn't work with current implementation

2019-06-19 Thread Jakub Kulik
Jakub Kulik added the comment: Since I created this pull request, clock_gettime(CLOCK_THREAD_CPUTIME_ID, ..) was implemented into the Solaris kernel, so I guess that this is no longer relevant. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed _

[issue37243] test_sendfile in asyncio crashes when os.sendfile() is not supported

2019-06-19 Thread Michael Felt
Michael Felt added the comment: Closed. Not a bug in test_sendfile. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37336] os.sendfile() support missing for AIX platform

2019-06-19 Thread Michael Felt
New submission from Michael Felt : In AIX "sendfile()" is named send_file(). During testing I learned, unexpectedly, that AIX platform has never provided support of os.sendfile(). This is correct that oversight. >From this (and older) documentation - it seems all the bits needed are >availab

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-06-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 987a0dcfa1302df6c1ed8cf14762dc18628e3f33 by Victor Stinner in branch 'master': bpo-36710: Remove PyImport_Cleanup() function (GH-14221) https://github.com/python/cpython/commit/987a0dcfa1302df6c1ed8cf14762dc18628e3f33 -- _

[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-19 Thread vsbogd
vsbogd added the comment: Hmm, seems strange I will try to reproduce and look at it. Have you run my demo which is attached to the bug? Does it reproduce problem on your machine? -- ___ Python tracker

[issue37337] Add _PyObject_VectorcallMethod() function

2019-06-19 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : To augment the various PyObject_CallMethod...() functions, we add _PyObject_VectorcallMethod() which uses the vectorcall calling convention. To be consistent with the other vectorcall functions, this function is provisional for now. For efficiency, the "s

[issue37338] test_multiprocessing_forkserver: test_thousand() logged on AMD64 Ubuntu Shared 3.x: Exception ignored in:

2019-06-19 Thread STINNER Victor
New submission from STINNER Victor : Oh, I'm happy! My regrtest change (bpo-37069) to detect unraisable exception detected its first issue :-) AMD64 Ubuntu Shared 3.x: https://buildbot.python.org/all/#/builders/141/builds/2029 test_thousand (test.test_multiprocessing_forkserver.WithProcessesT

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue37338] test_multiprocessing_forkserver: test_thousand() logged on AMD64 Ubuntu Shared 3.x: Exception ignored in:

2019-06-19 Thread STINNER Victor
STINNER Victor added the comment: Currently, SemLock does not provide a way to explicitly delete it. Maybe a new close() method should be added, similar to Process.close() and Pool.terminate(), to make resource management more deterministic (more reliable). -- _

[issue37338] test_multiprocessing_forkserver: test_thousand() logged on AMD64 Ubuntu Shared 3.x: Exception ignored in:

2019-06-19 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue37339] os.path.ismount returns true on nested btrfs subvolumes

2019-06-19 Thread Eike Fokken
New submission from Eike Fokken : Lets say, we have a btrfs partion with subvolumes @, mounted at / and home, which was created directly inside @, such that after mounting @, it can be found at /home. Then os.path.ismount("/home") returns True I would not have expected that, because the progr

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: This is not actually a bug, but happens because the logger is instantiated directly, rather than through logging.getLogger(...). Because of the direct instantiation, the logger cache isn't tracked via setLevel() - because the logger doesn't end up in logging.ma

[issue37337] Add _PyObject_VectorcallMethod() function

2019-06-19 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +14064 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14228 ___ Python tracker ___ _

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +14065 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14229 ___ Python tracker ___

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 015000165373f8db263ef5bc682f02d74e5782ac by Vinay Sajip in branch 'master': bpo-37258: Not a bug, but added a unit test and updated documentation. (GH-14229) https://github.com/python/cpython/commit/015000165373f8db263ef5bc682f02d74e5782ac -

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14067 pull_request: https://github.com/python/cpython/pull/14231 ___ Python tracker ___ __

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14066 pull_request: https://github.com/python/cpython/pull/14230 ___ Python tracker ___ __

[issue22239] asyncio: nested event loop

2019-06-19 Thread Crusader Ky
Change by Crusader Ky : -- nosy: +Crusader Ky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27860] Improvements to ipaddress module

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: New changeset f532fe5583d29d21e12aa22d8fca13e3bca94fb3 by Inada Naoki in branch '3.7': bpo-27860: ipaddress: fix Interface constructor (GH-14200) https://github.com/python/cpython/commit/f532fe5583d29d21e12aa22d8fca13e3bca94fb3 --

[issue27860] Improvements to ipaddress module

2019-06-19 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue34831] Asyncio Tutorial

2019-06-19 Thread Caleb Hattingh
Caleb Hattingh added the comment: I'm removing the GUI section of the chat case study. Yury was right, it's not going to add anything useful. The CLI chat client will work well because prompt-toolkit has actual support for asyncio. Tkinter does not, and I think it'll be better to add a GUI

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
New submission from Inada Naoki : LOAD_METHOD avoids temporary bound method object. PyObject_CallMethodObjArgs now use same optimization. Now I think there is not enough performance benefit from free_list. When free_list is not used often enough, it may bother obmalloc reuse memory pool. This

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: PyCFunction has similar free_list. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > I will run pyperformance again after bpo-37337 is merged. Good idea. bpo-37337 removes many calls of _PyObject_CallMethodId() which does NOT use the LOAD_METHOD optimization. -- ___ Python tracker

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +14068 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14232 ___ Python tracker ___

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: GH-14232 uses only one free object instead of at most 256 free list. -- stage: patch review -> ___ Python tracker ___ _

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > GH-14232 uses only one free object instead of at most 256 free list. That sounds like a compromise which is worse than either extreme: it's worse than no free list because you still have the overhead of dealing with the one object. And it's worse than a fr

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Are the benchmark results that you posted above for removing the free list completely or for the one-element free list as in PR 14232? -- ___ Python tracker ___

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 9eb4b2c8a3387ea901dad793e8d5586880a5968e by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-37258: Not a bug, but added a unit test and updated documentation. (GH-14229) (GH-14231) https://github.com/python/cpython/commit/9eb4b2c8a3387ea90

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 95ff622028b4f5d2eefbff557eadbb08fbcd42b1 by Vinay Sajip (Miss Islington (bot)) in branch '3.8': bpo-37258: Not a bug, but added a unit test and updated documentation. (GH-14229) (GH-14230) https://github.com/python/cpython/commit/95ff622028b4f5d2e

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: It is mentioned here: https://docs.python.org/3/library/logging.handlers.html?highlight=datagramhandler#logging.handlers.SocketHandler.makePickle although that doesn't go into the detail of the struct.pack format. I'll update the documentation to rectify this.

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Dmitrii Pasechnik
Dmitrii Pasechnik added the comment: I find it puzzling that a relatively clean and short solution using autotools and the Apple-approved way to get the location of the headers is rejected, and a hacky, longer way that scrapes output of the compiler is being pushed instead. -- _

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2019-06-19 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14069 pull_request: https://github.com/python/cpython/pull/14233 ___ Python tracker ___

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +14070 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14234 ___ Python tracker ___

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- nosy: +jdemeyer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset f06b569305cf604f070776ea3f800ed61fdd7d61 by Vinay Sajip in branch 'master': bpo-37331: Clarify format of socket handler messages in the documentation. (GH-14234) https://github.com/python/cpython/commit/f06b569305cf604f070776ea3f800ed61fdd7d61 -

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14071 pull_request: https://github.com/python/cpython/pull/14235 ___ Python tracker ___ __

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14072 pull_request: https://github.com/python/cpython/pull/14236 ___ Python tracker ___ __

[issue28595] shlex.shlex should not augment wordchars

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.8 -Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue36704] logging.FileHandler currently hardcodes errors='strict'

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Fixed as part of the fix for bpo-37111. -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.9 -Python 3.7 ___ Python tracker ___

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset b64e42e931a3598d6f0605ec78673772f97ecd4c by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-37331: Clarify format of socket handler messages in the documentation. (GH-14234) (GH-14236) https://github.com/python/cpython/commit/b64e42e931a35

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset d7232f0e4646803f0bbaede6e1fa124156135512 by Vinay Sajip (Miss Islington (bot)) in branch '3.8': bpo-37331: Clarify format of socket handler messages in the documentation. (GH-14234) (GH-14235) https://github.com/python/cpython/commit/d7232f0e46468

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue11192] test_socket error on AIX

2019-06-19 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14073 pull_request: https://github.com/python/cpython/pull/14237 ___ Python tracker ___

[issue35995] logging.handlers.SMTPHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Closing, as no answer has been received to the last question. -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___

[issue36033] logging.makeLogRecord should update "rv" using a dict defined with bytes instead of strings

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Closing, as no further feedback from issue reporter. Feel free to reopen if you have a good response to my last comment. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue28890] logging.handlers: Document that QueueListener is a daemon thread

2019-06-19 Thread Vinay Sajip
New submission from Vinay Sajip : Why does that particularly need documenting? If it were a non-daemon thread, that might need documenting as the program would have to join() it or else seem to hang, but what does it matter if it's a daemon thread? --

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: Sorry, I just pushed another idea before I leave my office. I will benchmark both ideas after bpo-37337 is finished. -- ___ Python tracker ___ _

[issue34720] Fix test_importlib.test_bad_traverse for AIX

2019-06-19 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14074 pull_request: https://github.com/python/cpython/pull/14238 ___ Python tracker ___

[issue35185] Logger race condition - loses lines if removeHandler called from another thread while logging

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: The other alternative would be to lock around callHandlers(). With the change you propose to addHandler/removeHandler, there are no errors, but the output of your test program is (with the lock acquisition/release in place): Thread finished after 468 iterations

[issue29001] logging.handlers.RotatingFileHandler rotation broken under gunicorn

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Closing, as per last comment. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37339] os.path.ismount returns true on nested btrfs subvolumes

2019-06-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What does the mountpoint command returns? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-19 Thread shajianrui
shajianrui added the comment: Yes I reproduce this problem with a slight modification to your demo. Using your origianl version I fail to reproduce, maybe 2*65536 bytes size is too small. I just change the size of data (in test_cgi_client.py ) to 8*65536, 16*65536 and 32*65536, and the resu

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- stage: resolved -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Ned Deily
Ned Deily added the comment: Thank you again for the suggested PR. Using "xcrun --show-sdk-path" at configure time *is* appealing. Unfortunately, it does not cover all of the necessary use cases. One, the --show-sdk-path option is not available on old versions of xcrun, versions we still b

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 2.7, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue36753] Python modules not linking to libpython causes issues for RTLD_LOCAL system-wide

2019-06-19 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue37339] os.path.ismount returns true on nested btrfs subvolumes

2019-06-19 Thread Eike Fokken
Eike Fokken added the comment: mountpoint /nested_subvolume returns /nested_subvolume is not a mountpoint mountpoint /explicitely_mounted_subvolume returns /explicitely_mounted_subvolume is a mountpoint so agrees with findmnt. -- ___ Python tracke

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Steve Dower
Steve Dower added the comment: If we should put in the workaround for 3.8, how does that make it okay to remove in 3.9? It's been deprecated since 3.0 already, so if we can't remove it after eight releases, I don't see how it's consistent to remove it after a ninth. Once we put it back, it b

[issue37341] str.format and f-string divergence

2019-06-19 Thread Tim Hatch
New submission from Tim Hatch : TL;DR f"{x+2}" and f"{x=}" do something sensible. "{x+2}".format(x=1) and "{x=}".format(x=1) raise KeyError. f"{0.1}" and "{0.1}".format(...) are different. Having had a feature request to be able to codemod f-strings[1] and just learning about issue36817[2] la

[issue37341] str.format and f-string divergence

2019-06-19 Thread Eric V. Smith
Eric V. Smith added the comment: > str.format, string.Formatter, and the _string module can only > parse literal keys, not expressions, despite appearing to take the > same syntax as f-strings. I'm happy to contribute code to change > this, but unsure if it's considered a bug or feature (now t

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +14075 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14240 ___ Python tracker ___

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower type: -> compile error versions: +Python 3.8 ___ Python tracker ___ ___ Python

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > If we should put in the workaround for 3.8, how does that make it okay to > remove in 3.9? I can easily change my PR to keep it in 3.9, no problem. Nick, what do you think? > put the new field at the end and leave the deprecated one exactly as it was. Ca

[issue37339] os.path.ismount returns true on nested btrfs subvolumes

2019-06-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: os.path.ismount() uses the same simple algorithm as a portable version of mountpoint. But mountpoint (and findmnt) from util-linux uses Linux specific methods (reads /proc/mounts or something like). See also issue29707. --

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Steve Dower
Steve Dower added the comment: > Can you give a least an argument of why that's better than putting back > tp_print at the end? Minimal change, that's why. If there are compatibility issues with the current change that we need to fix, then we should make the least incompatible change possib

[issue37341] str.format and f-string divergence

2019-06-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Eric. This differences are there by design. The technical and security reasons are both compelling. -- nosy: +rhettinger ___ Python tracker _

[issue37342] A type error in typeobj.rst

2019-06-19 Thread hai shi
New submission from hai shi : nb_index's type is unaryfunc -- assignee: docs@python components: Documentation messages: 346071 nosy: docs@python, shihai1991 priority: normal severity: normal status: open title: A type error in typeobj.rst ___ Python

[issue37342] A type error in typeobj.rst

2019-06-19 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +14076 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14241 ___ Python tracker ___

[issue37343] pip: Warn on vulnerable packages

2019-06-19 Thread Andrew Pennebaker
New submission from Andrew Pennebaker : Compared to pip, NPM warns users when a dependency subtree about to be installed, includes known vulnerabilities. This helps devs catch security issues earlier, so they can update or replace critical dependencies. Similarly, the dependency-check pip pac

[issue37341] str.format and f-string divergence

2019-06-19 Thread Brett Cannon
Brett Cannon added the comment: I also agree with Eric's assessment. Thanks for the idea, Tim, but I'm closing this as rejected. -- nosy: +brett.cannon resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue37343] pip: Warn on vulnerable packages

2019-06-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. pip development happens at https://github.com/pypa/pip/ where this could get better attention since CPython just vendors latest pip. pipenv does similar check with "pipenv check" command [0]. Similar issue on GitHub : https:/

[issue37343] pip: Warn on vulnerable packages

2019-06-19 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > If compatibility is the concern here, then we should be aiming for the > smallest diff between 3.7 and 3.8 I challenge that assertion. The smallest diff may superficially look like the best solution, but on closer inspection, it is not. It will break ABI

[issue34373] test_time errors on AIX

2019-06-19 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14077 pull_request: https://github.com/python/cpython/pull/14242 ___ Python tracker ___

[issue37342] A type error in typeobj.rst

2019-06-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was added with 9e7c92193cc98fd3c2d4751c87851460a33b9118 so adding Eric. -- nosy: +eric.snow, xtreak type: -> behavior versions: +Python 3.8, Python 3.9 ___ Python tracker

[issue37341] str.format and f-string divergence

2019-06-19 Thread Tim Hatch
Tim Hatch added the comment: ok, I suppose it's just documentation then. -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python ___ Python tracker _

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2019-06-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 15e7d2432294ec46f1ad84ce958fdeb9d4ca78b1 by Victor Stinner (Michael Felt) in branch '3.7': [3.7] bpo-34347: Fix test_utf8_mode.test_cmd_line for AIX (GH-8923) (GH-14233) https://github.com/python/cpython/commit/15e7d2432294ec46f1ad84ce958fdeb9d4

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14078 pull_request: https://github.com/python/cpython/pull/14243 ___ Python tracker ___ __

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Steve Dower
Steve Dower added the comment: New changeset 12f1c726d8328e5e096c35c36901f6d19bc942d3 by Steve Dower in branch 'master': bpo-37333: Ensure IncludeTkinter has a value (GH-14240) https://github.com/python/cpython/commit/12f1c726d8328e5e096c35c36901f6d19bc942d3 --

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Steve Dower
Steve Dower added the comment: Backport will automerge when it's done. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue36511] Add Windows ARM32 buildbot

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14079 pull_request: https://github.com/python/cpython/pull/14244 ___ Python tracker ___ __

[issue36511] Add Windows ARM32 buildbot

2019-06-19 Thread Steve Dower
Steve Dower added the comment: New changeset f355069a3337711642c3403429afb9faef93f512 by Steve Dower (Paul Monson) in branch 'master': bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot (GH-13454) https://github.com/python/cpython/commit/f355069a3337711642c3403429afb9fa

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread miss-islington
miss-islington added the comment: New changeset 389abd37ba50a327ae7388c6b016604cbd980e4b by Miss Islington (bot) in branch '3.8': bpo-37333: Ensure IncludeTkinter has a value (GH-14240) https://github.com/python/cpython/commit/389abd37ba50a327ae7388c6b016604cbd980e4b -- nosy: +miss-

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Steve Dower
Steve Dower added the comment: > It will break ABI compatibility in any case where vectorcall is used, while > my proposal of putting tp_print at the end does not. ABI compatibility with what? We haven't released vectorcall yet, so it has no compatibility baseline. -- _

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > We haven't released vectorcall yet, so it has no compatibility baseline. I'm talking about the "extremely unlikely" scenario mentioned earlier: a class compiled with 3.7 could subclass a class compiled with 3.8 which uses vectorcall. -- _

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread STINNER Victor
STINNER Victor added the comment: > If we should put in the workaround for 3.8, how does that make it okay to > remove in 3.9? Cython has been modified to no longer set tp_print. The idea is just to give more time (one Python major release) to maintainers of C extensions to regenerate their

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2019-06-19 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +14080 pull_request: https://github.com/python/cpython/pull/14245 ___ Python tracker ___ ___

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2019-06-19 Thread Zackery Spytz
Zackery Spytz added the comment: PR 14245 converts Modules/_multiprocessing/semaphore.c and Modules/_multiprocessing/multiprocessing.c. -- nosy: +ZackerySpytz ___ Python tracker

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Steve Dower
Steve Dower added the comment: > a class compiled with 3.7 could subclass a class compiled with 3.8 which uses > vectorcall. This isn't a supported scenario though. The only way to mix extension modules compiled against different Python versions is to use the limited ABI, which does not inc

  1   2   >