[issue36849] Native libcurses on HP-UX not properly detected

2019-05-08 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: The module _curses fails to build because curses cannot be found on HP-UX. In this case, it has an unorthodox location: > $ ll /usr/lib/hpux32/libcurses.so lr-xr-xr-x 1 bin bin 17 2018-09-07 15:29 /usr/lib/hpux32/libcurses.so -> ./libxc

[issue36015] streamhandler cannot represent streams with an integer as name

2019-05-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +13098 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36849] Native libcurses on HP-UX not properly detected

2019-05-08 Thread Michael Osipov
Change by Michael Osipov <1983-01...@gmx.net>: -- keywords: +patch pull_requests: +13099 stage: -> patch review ___ Python tracker ___

[issue36850] shutil.copy2 fails with even with source network filesystem not supporting extended attributes

2019-05-08 Thread hans.meine
New submission from hans.meine : This is a near duplicate of #24564, but has a slightly smaller scope. We're using a CIFS filesystem and noticed that copying files *from* that filesystem to a local path with `shutil.copy2` does not work, but fails with an `OSError: [Errno 22] Invalid argument

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-08 Thread hans.meine
hans.meine added the comment: I completely agree with msg322848, both with the suggested fix and with its rationale. A future API improvement could be to have a "strict" mode where errors copying xattr are not silently ignored anymore (if there are src xattr, but they cannot be written, or

[issue36850] shutil.copy2 fails with even with source network filesystem not supporting extended attributes

2019-05-08 Thread Jan-Martin Kuhnigk
Change by Jan-Martin Kuhnigk : -- nosy: +grebdioZ ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue18765] unittest needs a way to launch pdb.post_mortem or other debug hooks

2019-05-08 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Windson, I had a working patch but got stuck on making this behavior optional (the `if SOMETHING_SAYS_TO_ENABLE_THIS:` in @gregory.p.smith initial post). To make TestCase aware of the command line arguments given to the test runner I opened issue 36825 so w

[issue36846] range_iterator does not use __index__

2019-05-08 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi @bup, thanks for opening a new bug report. I'm not sure I get what is the issue though. Could you attach a more readable example and explain exactly when you expect __index__ to be called? -- nosy: +remi.lapeyre _

[issue36464] Python 2.7 build install fails intermittently with -j on MacOS

2019-05-08 Thread sandy-lcq
Change by sandy-lcq : -- keywords: +patch pull_requests: +13100 stage: needs patch -> patch review ___ Python tracker ___ ___ Python

[issue36845] ipaddres.IPv4Network and ipaddress.IPv6Network tuple construction will accept out of valid range prefixlen

2019-05-08 Thread SilentGhost
SilentGhost added the comment: Would you like to submit a fix, Nicolai? -- nosy: +SilentGhost, pmoody stage: -> needs patch versions: -Python 3.5, Python 3.6, Python 3.9 ___ Python tracker

[issue36845] ipaddres.IPv4Network and ipaddress.IPv6Network tuple construction will accept out of valid range prefixlen

2019-05-08 Thread SilentGhost
Change by SilentGhost : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2019-05-08 Thread SilentGhost
Change by SilentGhost : -- versions: -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue36845] ipaddres.IPv4Network and ipaddress.IPv6Network tuple construction will accept out of valid range prefixlen

2019-05-08 Thread Nicolai Moore
Nicolai Moore added the comment: I'd be happy too. Would be a first time contribution though, so need to give me some time to figure my way around the process. -- ___ Python tracker

[issue36845] ipaddres.IPv4Network and ipaddress.IPv6Network tuple construction will accept out of valid range prefixlen

2019-05-08 Thread SilentGhost
SilentGhost added the comment: There are some guidelines available at https://devguide.python.org/pullrequest/ -- ___ Python tracker ___ __

[issue36846] range_iterator does not use __index__

2019-05-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue17576. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie) ___

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-08 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13101 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36789] Unicode HOWTO incorrectly states that UTF-8 contains no zero bytes

2019-05-08 Thread mbiggs
Change by mbiggs : -- pull_requests: +13102 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Ernest W. Durbin III
Ernest W. Durbin III added the comment: Cert updated, reassigning back to gregory.p.smith to verify and close this out. -- assignee: EWDurbin -> gregory.p.smith ___ Python tracker ___

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Lib/test/selfsigned_pythontestdotnet.pem in the cpython repository needs to be updated to match https://github.com/python/pythontestdotnet/blob/master/tls/self-signed-cert.pem, or the test fails :) ===

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-08 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: -yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue36831] ElementTree.find attribute matching with empty namespace

2019-05-08 Thread Stefan Behnel
Stefan Behnel added the comment: Right, thanks for the reproducer. The default namespace should not apply to attributes. I'll write up a PR today. -- ___ Python tracker ___ _

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-08 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file48313/gc_callback.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-08 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file48314/uncollectable.py ___ Python tracker ___ ___ Python-bugs-list mailin

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-08 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file48316/site_hook.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-08 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file48315/io_destructor.py ___ Python tracker ___ ___ Python-bugs-list mailin

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-08 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 13187 to control how unraisable exceptions are handled. Attached uncollectable.py, gc_callback.py and io_destructor.py examples can be used to test unraisable exceptions. Without my PR: --- $ ./python -Werror uncollectable.py ResourceWarning: gc: 2

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-05-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: As noted in https://github.com/testing-cabal/mock/issues/464#issuecomment-490381389 just importing PySide2 makes __signature__ not writeable for any class defined after the import. $ python Python 3.8.0a4+ (heads/master:b1c3167c23, May 8 2019, 05

[issue36812] posix_spawnp returns error when used with file_actions

2019-05-08 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: Yeah, I've verified what Victor said about the OS not giving us enough information to tell what file is causing the issue. However, I wonder if we should change the error message to be less confusing? I'm a godawful C programmer but maybe something like t

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-05-08 Thread Chris Withers
Chris Withers added the comment: Wow, is this just an issue that the pyside guys need to fix? -- ___ Python tracker ___ ___ Python-

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2019-05-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 8ab24b2ebcf99f703f00297cb3a0c3ff857eecf8 by Stéphane Wirtel (Julien Palard) in branch '2.7': [2.7] bpo-24712: Doc: Make sidebar sticky using browser support. (GH-13179) https://github.com/python/cpython/commit/8ab24b2ebcf99f703f00297cb3a0c3ff857

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2019-05-08 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36832] Port zipp to zipfile

2019-05-08 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset b2758ff9553d8bebe4e9dd1cb3996212473810e3 by Barry Warsaw (Jason R. Coombs) in branch 'master': bpo-36832: add zipfile.Path (#13153) https://github.com/python/cpython/commit/b2758ff9553d8bebe4e9dd1cb3996212473810e3 --

[issue36832] Port zipp to zipfile

2019-05-08 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-05-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Wow, is this just an issue that the pyside guys need to fix? I guess so. PySide __init__.py has "import shiboken" which also does type.__signature__. It seems like shiboken is some kind of generator to generate Python bindings from C++ QT code. I

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-05-08 Thread Chris Withers
Chris Withers added the comment: I'm not sure we should try and work around this; hijacking __signature__ python-wide is going to cause a bunch of other problems. My vote would be to just open a bug on the pyside tracker (wherever that is) and close the issue and and on the backport by point

[issue36837] Make il8n tools available from `python -m`

2019-05-08 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: One other suggestion: put the bulk of Tools/i18n/pygettext.py into Lib/_pygettext.py, then import its main() in both Lib/gettext.py and Tools/i18n/pygettext.py. Then just call that main(). -- nosy: +barry ___ Py

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-05-08 Thread Mario Corchero
Mario Corchero added the comment: Agree, for the general case I think it makes sense that this is fixed in pyside. Hijacking __signature__ python-wide sounds like it can cause other issues, if they need such a hack I would suggest finding a way (in pyside) to allow for mock to work. I wonder

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-05-08 Thread Chris Withers
Chris Withers added the comment: We only attempt to set __signature__ on Mocks, so I don't think extensions will be a problem. I do think there's a bit of code smell on that method: it's called _check_* and then changes some attributes, that might be worth fixing? -- __

[issue25436] argparse.ArgumentError missing error message in __repr__

2019-05-08 Thread Daniel Fortunov
Daniel Fortunov added the comment: As Paul points out, Python 3 gives a more sensible default repr so this becomes a non-issue. Closing... -- stage: patch review -> resolved status: open -> closed versions: +Python 2.7 -Python 3.4, Python 3.5, Python 3.6

[issue36848] autospec fails with AttributeError when mocked class has __signature__ non-writeable

2019-05-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Okay, I opened a bug in pyside tracker : https://bugreports.qt.io/browse/PYSIDE-1004 -- ___ Python tracker ___ ___

[issue35723] Add "time zone index" cache to datetime objects

2019-05-08 Thread Paul Ganssle
Paul Ganssle added the comment: > This sounds like a bug. Whether a tzinfo is a constant from a predefined set > or something with a smart comparison semantic is none of datetime's business. I'm not sure what you mean, but it was not a "bug" in the sense that it was accidental, it was a deli

[issue33217] x in enum.Flag member is True when x is not a Flag

2019-05-08 Thread Peter Tönz
Peter Tönz added the comment: I use python 3.8.0a3 to make our testframework ready for the future. Is it volitional that the Expression "if int in IntEnum:" raise also a TypeError? -- nosy: +Peter Tönz ___ Python tracker

[issue36479] Exit threads when interpreter is finalizing rather than runtime.

2019-05-08 Thread Nick Coghlan
Nick Coghlan added the comment: Pablo pointed out a problem with this change at the PyCon sprints: the thread cleanup code doesn't currently distinguish between "Python created daemon thread" and "thread created by the embedding application". That's already somewhat problematic if an embeddi

[issue36479] Exit threads when interpreter is finalizing rather than runtime.

2019-05-08 Thread Nick Coghlan
Nick Coghlan added the comment: Another potential issue here is if a thread belonging to another interpreter attempts to access the interpreter being cleaned up. -- ___ Python tracker __

[issue35657] multiprocessing.Process.join() ignores timeout if child process use os.exec*()

2019-05-08 Thread Larry Hastings
Larry Hastings added the comment: 3.4 is now EOL, so the 3.4regression tag goes away too. -- keywords: -3.4regression nosy: +larry ___ Python tracker ___

[issue26375] Python 2.7.10 and 3.4.4 hang on imaplib.IMAP4_SSL()

2019-05-08 Thread Larry Hastings
Larry Hastings added the comment: 3.4 is now EOL, so the 3.4regression tag goes away too. -- keywords: -3.4regression nosy: +larry versions: -Python 3.4 ___ Python tracker _

[issue36843] AIX build fails with failure to get random numbers

2019-05-08 Thread Robert Boehne
Change by Robert Boehne : Added file: https://bugs.python.org/file48317/config.log.gz ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue33217] x in enum.Flag member is True when x is not a Flag

2019-05-08 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: A test for this has been added for IntFlag so I think it must have been on purpose : https://github.com/python/cpython/commit/9430652535f88125d8003f342a8884d34885d876#diff-d57e55a3bb4873aec10786e531a88947R2386 -- nosy: +remi.lapeyre ___

[issue36395] Add deferred single-threaded/fake executor to concurrent.futures

2019-05-08 Thread Brian Quinlan
Brian Quinlan added the comment: Brian, I was looking for an example where the current executor isn't sufficient for testing i.e. a useful test that would be difficult to write with a real executor but would be easier with a fake. Maybe you have such an example from your tests? --

[issue24732] 3.5.0b3 Windows accept() on unready non-blocking socket raises PermissionError [now need unit test]

2019-05-08 Thread Larry Hastings
Larry Hastings added the comment: 3.4 is now EOL, so the 3.4regression tag goes away too. -- keywords: -3.4regression ___ Python tracker ___ _

[issue21820] unittest: unhelpful truncating of long strings.

2019-05-08 Thread Larry Hastings
Larry Hastings added the comment: This bug is marked only for 3.4, and 3.4 is now EOL. Either it should be relocated to an active version, or it should be marked wontfix. -- nosy: +larry ___ Python tracker ___

[issue36851] Frame stack is not cleaned after execution is finished with return

2019-05-08 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : When evaluating a frame object, it is possible to exit the execution with some variables in the stack. The frame deallocator (frame_dealloc) only cleans the stack if f_stacktop is not NULL, but this only happens for generators and when trace functio

[issue36851] Frame stack is not cleaned after execution is finished with return

2019-05-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +13103 stage: -> patch review ___ Python tracker ___ ___ Pytho

[issue36843] AIX build fails with failure to get random numbers

2019-05-08 Thread Robert Boehne
Robert Boehne added the comment: from pyconfig.h: /* Define to 1 if the getrandom() function is available */ /* #undef HAVE_GETRANDOM */ /* Define to 1 if the Linux getrandom() syscall is available */ /* #undef HAVE_GETRANDOM_SYSCALL */ /* Define to 1 if you have the header file. */ /* #un

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13104 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue35924] curses segfault resizing window

2019-05-08 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: I've diagnosed this a bit further and have a workaround for you. It appears that using addstr() with a string with embedded newlines is a piece of the problem. If I modify your example program so that we add each line as a separate string instead of addin

[issue21820] unittest: unhelpful truncating of long strings.

2019-05-08 Thread Chris Withers
Change by Chris Withers : -- versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list m

[issue25217] Method cache can crash at shutdown in _PyType_Lookup

2019-05-08 Thread Mark Shannon
Mark Shannon added the comment: Do you have a reproducible way to cause this crash? -- ___ Python tracker ___ ___ Python-bugs-list

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2019-05-08 Thread Julien Palard
Julien Palard added the comment: New changeset 85225b6a58a516c50c055d5114668ed2fcdcda8c by Julien Palard (toonarmycaptain) in branch 'master': bpo-31873: Update unicode.rst - 'unicode' capitalization (GH-4125) https://github.com/python/cpython/commit/85225b6a58a516c50c055d5114668ed2fcdcda8c

[issue30006] Deadlocks in `concurrent.futures.ProcessPoolExecutor`

2019-05-08 Thread Brian Quinlan
Brian Quinlan added the comment: Was this fixed by https://github.com/python/cpython/pull/3895 ? -- ___ Python tracker ___ ___ Pyth

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2019-05-08 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +13105 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue36853] inconsistencies in docs builds (Sphinx 2)

2019-05-08 Thread Jason R. Coombs
New submission from Jason R. Coombs : In working on some docs contributions, I've run into issues where docs builds are failing in CI differently than they're failing locally. Locally, running `make venv` from `Docs/` results in Sphinx 2, whereas on Azure Pipelines, the docs are built with Sp

[issue36852] Python3.7.2 fails to cross-compile (yocto / openembedded) when target is mips softfloat

2019-05-08 Thread Matthias Schoepfer
New submission from Matthias Schoepfer : Python 3.7.2 fails to cross compile for yocto / openembedded when target is mips softfloat, because the OS triple is not detected correctly by configure.ac. The configure script magic just catches for __mips__hard_float defines, but I guess, __mips__so

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2019-05-08 Thread Julien Palard
Julien Palard added the comment: I merged it, it's a small change that is consistent enough for me with the rest of the file and the doc. Marc-Andre is right though, and if anyone have the courage, the whole doc should be proofread to update accordingly, but let's make it a whole other PR.

[issue36852] Python3.7.2 fails to cross-compile (yocto / openembedded) when target is mips softfloat

2019-05-08 Thread SilentGhost
SilentGhost added the comment: Matthias, would you be able to convert the patch into a Github PR? There are guidelines available at https://devguide.python.org/pullrequest/ -- nosy: +SilentGhost stage: -> patch review versions: +Python 3.8 ___ Pyt

[issue35195] [Windows] Python 3.7 initializes LC_CTYPE locale at startup, causing performance issue on msvcrt isdigit()

2019-05-08 Thread Christoph Gohlke
Christoph Gohlke added the comment: This is still an issue with Python 3.8.0a4 -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.8 ___ Python tracker _

[issue35712] Make NotImplemented unusable in boolean context

2019-05-08 Thread Josh Rosenberg
Change by Josh Rosenberg : -- keywords: +patch pull_requests: +13106 stage: test needed -> patch review ___ Python tracker ___ ___ P

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-08 Thread Julien Palard
Julien Palard added the comment: I'm still seeing the issue on https://github.com/python/cpython/pull/12255 (freshly rebased to master to have 2cc0223f43a1ffd59c887a73e2b0ce5202f3be90. On this build: https://dev.azure.com/Python/cpython/_build/results?buildId=42065 ==

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: thats https://bugs.python.org/issue36816 (separate issue as our infrastructure is fixed to have a modern certificate). PR pending automerge post-CI. -- ___ Python tracker __

[issue36841] Supporting customization of float encoding in JSON

2019-05-08 Thread Wei Lee
Wei Lee added the comment: If no one is working on it, I'd like to give it a try. -- nosy: +Lee-W ___ Python tracker ___ ___ Python

[issue24048] remove_module() needs to save/restore exception state

2019-05-08 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 94a64e9cd411a87514b68082c1c437eb3b49dfb9 by Nick Coghlan (Zackery Spytz) in branch 'master': bpo-24048: Save the live exception during import.c's remove_module() (GH-13005) https://github.com/python/cpython/commit/94a64e9cd411a87514b68082c1c437eb3

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

2019-05-08 Thread Ned Deily
Ned Deily added the comment: New changeset c50d437e942d4c4c45c8cd76329b05340c02eb31 by Ned Deily (Miro Hrončok) in branch '3.6': bpo-30458: Disallow control chars in http URLs. (GH-12755) (GH-13155) https://github.com/python/cpython/commit/c50d437e942d4c4c45c8cd76329b05340c02eb31 --

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2019-05-08 Thread miss-islington
miss-islington added the comment: New changeset ed8860c5af87d78d312ae30dd2d6bedc60bd86e5 by Miss Islington (bot) in branch '3.7': bpo-31873: Update unicode.rst - 'unicode' capitalization (GH-4125) https://github.com/python/cpython/commit/ed8860c5af87d78d312ae30dd2d6bedc60bd86e5 -- n

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread miss-islington
miss-islington added the comment: New changeset 6bd81734de0b73f1431880d6a75fb71bcbc65fa1 by Miss Islington (bot) (Gregory P. Smith) in branch 'master': bpo-36816: Update the self-signed.pythontest.net cert (GH-13192) https://github.com/python/cpython/commit/6bd81734de0b73f1431880d6a75fb71bcbc

[issue36852] Python3.7.2 fails to cross-compile (yocto / openembedded) when target is mips softfloat

2019-05-08 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +13107 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35712] Make NotImplemented unusable in boolean context

2019-05-08 Thread Josh Rosenberg
Josh Rosenberg added the comment: I've submitted a PR for this. I did discover a use case for boolean evaluation while doing this in the functools.total_ordering helpers. While it's legitimate, it *looks* wrong (the code looks like it didn't consider the possibility of NotImplemented even th

[issue36843] AIX build fails with failure to get random numbers

2019-05-08 Thread STINNER Victor
STINNER Victor added the comment: Ok, so Python uses /dev/urandom. Can you try to read a few bytes from it? Like 256 bytes. You can try my dd command. -- ___ Python tracker _

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13108 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue36854] GC operates out of global runtime state.

2019-05-08 Thread Eric Snow
New submission from Eric Snow : (also see #24554) We need to move GC state from _PyRuntimeState to PyInterpreterState. -- assignee: eric.snow components: Interpreter Core messages: 341911 nosy: eric.snow, pablogsal priority: normal severity: normal status: open title: GC operates out o

[issue24851] infinite loop in faulthandler._stack_overflow

2019-05-08 Thread Xi Ruoyao
Change by Xi Ruoyao : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue36852] Python3.7.2 fails to cross-compile (yocto / openembedded) when target is mips softfloat

2019-05-08 Thread SilentGhost
Change by SilentGhost : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue36855] update tests relying on a copy of a TLS certificate (pem) to support two versions

2019-05-08 Thread Gregory P. Smith
New submission from Gregory P. Smith : We're having pain today due to the Lib/test/selfsigned_pythontestdotnet.pem certificate update sychronization. This wouldn't be painful if our tests relying on a specific certificate matching something elsewhere on the network supported multiple possible

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-05-08 Thread Julien Palard
Julien Palard added the comment: 👍 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue36841] Supporting customization of float encoding in JSON

2019-05-08 Thread Mitar
Mitar added the comment: That would be awesome! BTW, just as an additional example, JavaScrpt's JSON.stringify encodes NaN and Infinity to null. By having a custom function I could for example try to match such implementation. -- ___ Python track

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13109 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue36856] faulthandler._stack_overflow doesn't work on x86-linux with KPTI enabled

2019-05-08 Thread Xi Ruoyao
New submission from Xi Ruoyao : In faulthandler.c STACK_OVERFLOW_MAX_SIZE is defined to 100 * 1024 * 1024 (100MB). But recently KPTI has been applied to mitigate Meltdown (CVE-2017-5754) so the userspace stack pointer may be very close to 0x on Linux systems with 32-bit x86. For exa

[issue36856] faulthandler._stack_overflow doesn't work on x86-linux with KPTI enabled

2019-05-08 Thread SilentGhost
Change by SilentGhost : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13110 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue31033] Add argument to .cancel() of Task and Future

2019-05-08 Thread Carl Meyer
Change by Carl Meyer : -- nosy: +carljm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue36816] self-signed.pythontest.net TLS certificate key is too weak

2019-05-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +13111 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24758] unittest.mock.Mock's new "unsafe" feature needs a better error message

2019-05-08 Thread Kushal Das
Kushal Das added the comment: New changeset b9b08cd948de97d756a199b60becce8397a8c882 by Kushal Das (Zackery Spytz) in branch 'master': bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991) https://github.com/python/cpython/commit/b9b08cd948de97d756a199b60becce8397a8

[issue36831] ElementTree.find attribute matching with empty namespace

2019-05-08 Thread Stefan Behnel
Change by Stefan Behnel : -- keywords: +patch pull_requests: +13112 stage: needs patch -> patch review ___ Python tracker ___ ___ Py

[issue36540] PEP 570: Python Positional-Only Parameters

2019-05-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +13113 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue36783] No documentation for _FromXandFold C API functions

2019-05-08 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +13115 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue27639] UserList.__getitem__ doesn't account for slices

2019-05-08 Thread Michael Blahay
Change by Michael Blahay : -- pull_requests: +13114 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue24882] ThreadPoolExecutor doesn't reuse threads until #threads == max_workers

2019-05-08 Thread Brian Quinlan
Brian Quinlan added the comment: When I first wrote and started using ThreadPoolExecutor, I had a lot of code like this: with ThreadPoolExecutor(max_workers=500) as e: e.map(download, images) I didn't expect that `images` would be a large list but, if it was, I wanted all of the downloads

[issue26903] ProcessPoolExecutor(max_workers=64) crashes on Windows

2019-05-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +13117 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue26903] ProcessPoolExecutor(max_workers=64) crashes on Windows

2019-05-08 Thread Steve Dower
Steve Dower added the comment: New changeset 39889864c09741909da4ec489459d0197ea8f1fc by Steve Dower (Brian Quinlan) in branch 'master': bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132) https://github.com/python/cpython/commit/39889864c09741909da4ec489459d0197ea8f1fc

[issue36856] faulthandler._stack_overflow doesn't work on x86-linux with KPTI enabled

2019-05-08 Thread Xi Ruoyao
Change by Xi Ruoyao : -- keywords: +patch pull_requests: +13116 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35813] shared memory construct to avoid need for serialization between processes

2019-05-08 Thread Pam McA'Nulty
Pam McA'Nulty added the comment: Reviewing docs and am writing a queue implementation for usability testing. I think ShareableList needs to support `close()` and `unlink()` directly. The `.shm` attribute should be considered an _implementation_ detail, and not be exposed. -- nosy:

  1   2   >