[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-18 Thread Furkan Önder
Furkan Önder added the comment: Hello Samy, I sent you pr from the docs-dict-ordered branch in your cpython repository. Now both of us have merged pr. I closed my own pr. You can also close your pr and send these changes again as bpo-39879. It's my pr,https://github.com/AkechiShiro/cpython/pu

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 56bfdebfb17ea9d3245b1f222e92b8e3b1ed6118 by Victor Stinner in branch 'master': bpo-39984: Pass tstate to _PyEval_SignalAsyncExc() (GH-19049) https://github.com/python/cpython/commit/56bfdebfb17ea9d3245b1f222e92b8e3b1ed6118 --

[issue39999] Fix some issues with AST node classes

2020-03-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR fixes some issues related to recent changes in the AST node classes. 1. Re-add removed classes Suite, Param, AugLoad and AugStore. They are not used in Python 3, are not created by the parser and are not accepted by the compiler. Param w

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : When something that isn't constant found in a ast.Constant node's body, python reports errors like this >>> e = ast.Expression(body=ast.Constant(value=type)) >>> ast.fix_missing_locations(e) <_ast.Expression object at 0x7fc2c23981c0> >>> compile(e, "", "ev

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- assignee: -> BTaskaya components: +Library (Lib) type: -> enhancement versions: +Python 3.9 ___ Python tracker ___

[issue39689] struct and memoryview tests rely on undefined behavior (as revealed by clang 9)

2020-03-18 Thread Petr Viktorin
Petr Viktorin added the comment: I think we are speaking past each other. In my (current) view, the semantics are spelled out in the documentation: "any non-zero value will be True when unpacking". There's also a mention that this corresponds to the _Bool type in C. While this was the case w

[issue39999] Fix some issues with AST node classes

2020-03-18 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > 1. Re-add removed classes Suite, Param, AugLoad and AugStore. They are not > used in Python 3, are not created by the parser and are not accepted by the > compiler. Param was used in 2.7, other classes were not used longer time. But > some third-party pro

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18407 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19055 ___ Python tracker ___

[issue39999] Fix some issues with AST node classes

2020-03-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +18408 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19056 ___ Python tracker ___

[issue39999] Fix some issues with AST node classes

2020-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, and this what PR 19056 does. It is not difficult, and if we can avoid a breakage, why not do this? We have kept all other deprecated classes, like Num and ExtSlice. In 3.10 we can add runtime warnings, and remove them in some future releases. We alre

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You got an anniversary issue! -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs

[issue17023] Subprocess does not find executable on Windows if it is PATH with quotes

2020-03-18 Thread Oskar Persson
Change by Oskar Persson : -- versions: +Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39999] Fix some issues with AST node classes

2020-03-18 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I see, thanks for the explanation. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue39689] struct and memoryview tests rely on undefined behavior (as revealed by clang 9)

2020-03-18 Thread Stefan Krah
Stefan Krah added the comment: I think this issue should be about fixing the tests so that people looking at the sanitizer buildbots can move on. GH-18969 fixes "?" and "!?", which clearly used wrong semantics with the new compiler behavior. This should be an uncontroversial fix that also take

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

2020-03-18 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +18409 pull_request: https://github.com/python/cpython/pull/19057 ___ Python tracker ___ ___

[issue17023] Subprocess does not find executable on Windows if it is PATH with quotes

2020-03-18 Thread Eryk Sun
Eryk Sun added the comment: Why are new versions getting added to an issue that was closed 5 years ago? That said, I'd like to clarify that this was not and is not a bug. It happens that the CMD shell strips quotes out, but that doesn't make it valid. PATH in Windows is delimited by semicol

[issue39979] Cannot tune scrypt with large enough parameters

2020-03-18 Thread Gle
Gle added the comment: Alright, I understand the difference in behaviour now. Thanks a lot for the clear explanation ! Would be nice to have something like: """maxmem must be greater than (n * 2 * r * 64) plus a bit of internal memory for OpenSSL book keeping. Basically, set maxmem = (n

[issue40001] ignore errors in SimpleCookie

2020-03-18 Thread Aviram
New submission from Aviram : SimpleCookie (http/cookies.py) load method fails if one of the has an issue. In real life scenarios, we want to be tolerant toward faulty cookies, and just ignore those. My suggestion is to add ignore_errors keyword argument to the load method of SimpleCookie, ski

[issue28009] Fix uuid.uuid1() core logic of uuid.getnode() needs refresh

2020-03-18 Thread Michael Felt
Michael Felt added the comment: I'll take a look as well. On 17/03/2020 16:14, STINNER Victor wrote: > STINNER Victor added the comment: > >> New changeset 0bcbfa43d55d9558cdcb256d8998366281322080 by Tal Einat (Michael >> Felt) in branch 'master': >> bpo-28009: Fix uuid.uuid1() and uuid.get_

[issue40001] ignore errors in SimpleCookie

2020-03-18 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +18410 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19058 ___ Python tracker _

[issue39979] Cannot tune scrypt with large enough parameters

2020-03-18 Thread Christian Heimes
Christian Heimes added the comment: PS: You are getting a different output because you are feeding a different input to hashlib.scrypt(). The first parameter is the password, not password + salt. -- ___ Python tracker

[issue28009] Fix uuid.uuid1() core logic of uuid.getnode() needs refresh

2020-03-18 Thread Michael Felt
Michael Felt added the comment: I may be mistaken, but I do not think the change introduced a regression. While it is true that this case would not have appeared if there was still a count of the field-separators an IPv6 address with 5 ':' and 17 characters would have failed as well. The value

[issue28009] Fix uuid.uuid1() core logic of uuid.getnode() needs refresh

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: > I may be mistaken, but I do not think the change introduced a regression. I'm talking about this: https://bugs.python.org/issue39991#msg364435 I don't want to blame anyone. My intent here is to get more eyes on the changes that I merged in bpo-39991 to mak

[issue40002] Cookie load error inconsistency

2020-03-18 Thread Bar Harel
New submission from Bar Harel : ATM loading cookies is inconsistent. If you encounter an invalid cookie, BaseCookie.load will sometimes raise CookieError and sometimes silently ignore the load: from http.cookies import SimpleCookie s = SimpleCookie() s.load("invalid\x00=cookie") # Silently ig

[issue40002] Cookie load error inconsistency

2020-03-18 Thread Aviram
Change by Aviram : -- keywords: +patch nosy: +aviramha nosy_count: 1.0 -> 2.0 pull_requests: +18411 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19058 ___ Python tracker __

[issue39879] Update language reference to specify that dict is insertion-ordered.

2020-03-18 Thread Lahfa Samy
Lahfa Samy added the comment: Thank you for your quick work, I have successfully merged your changes in the branch of the first PR, now awaiting review from Zachary. -- ___ Python tracker __

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

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4657a8a0d006c76699ba3d1d4d21a04860bb2586 by Dong-hee Na in branch 'master': bpo-1635741: Port _heapq module to multiphase initialization (GH19057) https://github.com/python/cpython/commit/4657a8a0d006c76699ba3d1d4d21a04860bb2586 -- __

[issue40002] Cookie load error inconsistency

2020-03-18 Thread Bar Harel
Change by Bar Harel : -- pull_requests: +18412 pull_request: https://github.com/python/cpython/pull/19059 ___ Python tracker ___ ___

[issue20986] test_startup_imports fails in test_site when executed inside venv

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. This bug has no activity for 6 years and was reported on Python 3.4, whereas the development branch is now the future Python 3.9. If you can still reproduce the issue, please reopen the issue or open a new issue (add a reference to this on

[issue27807] Prevent site-packages .pth files from causing test_site failure

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: Fedora and RHEL downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=1814392 -- nosy: +vstinner ___ Python tracker ___

[issue35691] cpython3.7.2 make test failed

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: It's likely a duplicate of bpo-28087. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> macOS 12 poll syscall returns prematurely ___ Python tracker

[issue27807] Prevent site-packages .pth files from causing test_site failure

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-35691 as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue35691] cpython3.7.2 make test failed

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: Oops, I mean: bpo-27807 "Prevent site-packages .pth files from causing test_site failure". -- superseder: macOS 12 poll syscall returns prematurely -> Prevent site-packages .pth files from causing test_site failure __

[issue27807] Prevent site-packages .pth files from causing test_site failure: test_site.test_startup_imports() failure

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- title: Prevent site-packages .pth files from causing test_site failure -> Prevent site-packages .pth files from causing test_site failure: test_site.test_startup_imports() failure ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: No update since 2017, I close the issue. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue27807] Prevent site-packages .pth files from causing test_site failure: test_site.test_startup_imports() failure

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18413 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19060 ___ Python tracker ___ __

[issue40003] test.regrtest: add an option to run test.bisect_cmd on failed tests, use it on Refleaks buildbots

2020-03-18 Thread STINNER Victor
New submission from STINNER Victor : There are some tests which fail randomly in general, but fail in a deterministic way on some specific buildbot workers. bpo-39932 is a good example: test_multiprocessing_fork fails with "test_multiprocessing_fork leaked [0, 2, 0] file descriptors". The tes

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: Congratulations Batuhan! You win with the bug number 4! A nice number ;-) To be honest, I wanted to get it, but I didn't want to cheat by opening a stupid issue. -- nosy: +vstinner ___ Python tracker

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: sorry to take it Victor, maybe you can get the perfect issue number when we migrate to github? -- ___ Python tracker ___ __

[issue40002] Cookie load error inconsistency

2020-03-18 Thread Bar Harel
Bar Harel added the comment: The only issue I fear is breakage if people count on it silently ignoring errors. But then again it's inconsistent, and sometimes it will throw errors either way, so I still believe this issue should be addressed. -- _

[issue28009] Fix uuid.uuid1() core logic of uuid.getnode() needs refresh

2020-03-18 Thread Michael Felt
Michael Felt added the comment: On 18/03/2020 13:55, STINNER Victor wrote: > STINNER Victor added the comment: > >> I may be mistaken, but I do not think the change introduced a regression. I meant - I had never considered IPv6 in the Address column, just as I suspect, whoever wrote the origi

[issue28009] Fix uuid.uuid1() core logic of uuid.getnode() needs refresh

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: > I will look closely at PR19045 - not because I expect to find anything wrong, > but because I thought this is what you requested. I cannot run functional tests on AIX. I can only rely on unit tests which contains a dump of AIX commands. That's why a review

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-03-18 Thread Stefan Krah
Stefan Krah added the comment: Since xlc has elementary bugs like https://github.com/openssl/openssl/issues/10624 it may be worth checking out if this is an optimizer bug with -q64. -- ___ Python tracker __

[issue40004] String comparison with dotted numerical values wrong

2020-03-18 Thread Boštjan Mejak
New submission from Boštjan Mejak : I stumbled upon a possible bug in the Python interpreter while doing some Python version comparisons. Look at this: "3.10.2" < "3.8.2" True # This is not true as a version number comparison Now look at this: "3.10.2" < "3.08.2" False # Adding a leading 0 c

[issue27807] Prevent site-packages .pth files from causing test_site failure: test_site.test_startup_imports() failure

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset d18de46117d661a4acaf2380cc5ebb1cf6a000e9 by Victor Stinner in branch 'master': bpo-27807: Skip test_site.test_startup_imports() if pth file (GH-19060) https://github.com/python/cpython/commit/d18de46117d661a4acaf2380cc5ebb1cf6a000e9 --

[issue40004] String comparison with dotted numerical values wrong

2020-03-18 Thread Guido van Rossum
Guido van Rossum added the comment: That's why for over a decade we've been recommending not to use string comparisons to compare versions. You have to parse the version and then compare the numeric values. -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue37207] Use PEP 590 vectorcall to speed up calls to range(), list() and dict()

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1c60567b9a4c8f77e730de9d22690d8e68d7e5f6 by Dong-hee Na in branch 'master': bpo-37207: Use PEP 590 vectorcall to speed up frozenset() (GH-19053) https://github.com/python/cpython/commit/1c60567b9a4c8f77e730de9d22690d8e68d7e5f6 --

[issue40004] String comparison with dotted numerical values wrong

2020-03-18 Thread Boštjan Mejak
Boštjan Mejak added the comment: What is then the most Pythonic way of comparing two version numbers? -- ___ Python tracker ___ ___

[issue40004] String comparison with dotted numerical values wrong

2020-03-18 Thread Guido van Rossum
Guido van Rossum added the comment: That's a question for a user forum. There's some code in Lib/distutils/version.py. -- ___ Python tracker ___ _

[issue39980] importlib.resources.path() may return incorrect path when using custom loader

2020-03-18 Thread Krzysztof Rusek
Krzysztof Rusek added the comment: I can confirm that this problem doesn't occur when using recent version of importlib_resources (checked importlib_resources==1.3.1). -- ___ Python tracker

[issue22246] add strptime(s, '%s')

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22014] Improve display of OS exception <-> errno mapping

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: Is this still important now that OSError has so many subclasses that correspond to specific error codes? -- ___ Python tracker ___ ___

[issue22543] -W option cannot use non-standard categories

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22789] Compress the marshalled data in PYC files

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22858] unittest.__init__:main shadows unittest.main

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18415 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/19061 ___ Python tracker __

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18414 pull_request: https://github.com/python/cpython/pull/19061 ___ Python tracker ___ __

[issue21724] resetwarnings doesn't reset warnings registry

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21737] runpy.run_path() fails with frozen __main__ modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21736] Add __file__ attribute to frozen modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21760] inspect documentation describes module type inaccurately

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21550] Add Python implementation of the tar utility

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: > pending->finishing was addd in bpo-33608 by the change: commit > 842a2f07f2f08a935ef470bfdaeef40f87490cfc Since this change, Py_AddPendingCall() now requires the thread to have a Python thread state: it is used if pending->finishing is non-zero. The functi

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: My notes on Python finalization: https://pythondev.readthedocs.io/finalization.html -- ___ Python tracker ___ __

[issue21577] Help for ImportError should show a more useful signature.

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue21614] Case sensitivity problem in multiprocessing.

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: trip_signal() has another problem. If pending->finishing is non-zero, _PyEval_AddPendingCall() uses the C API whereas the current thread may not hold the GIL. That's forbidden by the C API. The more I think about it, the more I think that pending->finishing

[issue21199] Python on 64-bit Windows uses signed 32-bit type for read length

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue39995] test_concurrent_futures: ProcessPoolSpawnExecutorDeadlockTest.test_crash() fails with OSError: [Errno 9] Bad file descriptor

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: Same bug on AMD64 FreeBSD Non-Debug 3.x: https://buildbot.python.org/all/#/builders/214/builds/472 == ERROR: test_crash (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) [cr

[issue21242] Generalize configure check for working Python executable

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: `make regen-all` has probably taken care of this. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue21243] Auto-generate exceptions.c from a Python file

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21199] [2.7] Python on 64-bit Windows uses signed 32-bit type for read length

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: Python 3 doesn't have this issue. Python 2 no longer accepts bugfixes. I close the issue. Note: there was a similar issue specific to macOS: bpo-24658 and PR 9938 (closed since Python 2 moved to end of life). -- resolution: -> wont fix stage: patch

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8849e5962ba481d5d414b3467a256aba2134b4da by Victor Stinner in branch 'master': bpo-39984: trip_signal() uses PyGILState_GetThisThreadState() (GH-19061) https://github.com/python/cpython/commit/8849e5962ba481d5d414b3467a256aba2134b4da -

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8849e5962ba481d5d414b3467a256aba2134b4da by Victor Stinner in branch 'master': bpo-39984: trip_signal() uses PyGILState_GetThisThreadState() (GH-19061) https://github.com/python/cpython/commit/8849e5962ba481d5d414b3467a256aba2134b4da -

[issue21459] DragonFlyBSD support

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21108] Add examples for importlib in doc

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: There are now examples in the importlib docs. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue21249] removing pythonXY.zip from sys.path results in additional test failures

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21242] Generalize configure check for working Python executable

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39995] test_concurrent_futures: ProcessPoolSpawnExecutorDeadlockTest.test_crash() fails with OSError: [Errno 9] Bad file descriptor

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: > Same bug on AMD64 FreeBSD Non-Debug 3.x: > https://buildbot.python.org/all/#/builders/214/builds/472 Oh, test_crash failed twice, but not on the same test case: * ERROR: test_crash (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) [crash

[issue20125] We need a good replacement for direct use of load_module(), post-PEP 451

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: I don't think this is still needed as the importlib docs now has enough examples to show people how to get to get similar results with a few method calls. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___

[issue20205] inspect.getsource(), P302 loader and '<..>' filenames

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20123] pydoc.synopsis fails to load binary modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20131] warnings module offers no documented, programmatic way to reset "seen-warning" flag

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20506] Command to display all available Import Library

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: When a replacement for pkgutil.walk_packages() is added to importlib to work appropriately with the import system then this should be doable. See https://bugs.python.org/issue19939 for work to replace pkgutil as appropriate. -- ___

[issue20506] Command to display all available Import Library

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20439] inspect.Signature: Add Signature.format method to match formatargspec functionality

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20341] Argument Clinic: add "nullable ints"

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20461] Argument Clinic included return converters hard code use of ``_return_value``

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20360] inspect.Signature could provide readable expressions for default values for builtins

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20459] No Argument Clinic documentation on how to specify a return converter

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21078] multiprocessing.managers.BaseManager.__init__'s "serializer" argument is not documented

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20613] Wrong line information in bytecode generated by compiler module

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: Since 2.7 development is done there is no compiler packages anymore to worry about. :) -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue20899] Nested namespace imports do not work inside zip archives

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue40002] Cookie load error inconsistency

2020-03-18 Thread Bar Harel
Bar Harel added the comment: For reference, docs already state: "On encountering an invalid cookie, CookieError is raised, so if your cookie data comes from a browser you should always prepare for invalid data and catch CookieError on parsing." -- __

[issue20890] Miscellaneous PEP 101 additions

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: These parts of the devguide don't seem to exist anymore, so I'm closing as outdated. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue21087] imp.frozen_init() incorrectly removes module during reload

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: No one has cared in nearly 6 years, so I'm closing as "won't fix". :) -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-18 Thread Bharat Solanki
New submission from Bharat Solanki : Hi Team, Below code is giving different result in python 2.7 and 3.7 version. Code is running fine when i am using 2.7 but in 3.7, it is showing error. from multiprocessing import Pool import traceback class Utils: def __init__(self): self.count = 10 de

[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-18 Thread Eric V. Smith
Eric V. Smith added the comment: Note that 2.7 is no longer supported. If you think you found a bug in 3.7, then please: - Reformat your code so that we can understand it. - Show us what output you actually get. - Show us what output you expect, and why. -- nosy: +eric.smith

[issue40006] enum: Add documentation for _create_pseudo_member_ and composite members

2020-03-18 Thread Ram Rachum
New submission from Ram Rachum : Looking at the enum source code, there's a method `_create_pseudo_member_` that's used in a bunch of places. Its docstring says "Create a composite member iff value contains only members", which would have been useful if I had any idea what "composite member"

[issue40006] enum: Add documentation for _create_pseudo_member_ and composite members

2020-03-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailin

  1   2   >