[issue23522] Misleading note in Statistics module documentation

2020-12-18 Thread Steven D'Aprano
Change by Steven D'Aprano : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread Eryk Sun
Eryk Sun added the comment: > ImportError: DLL load failed while importing _jpype: > A dynamic link library (DLL) initialization routine failed. With loader snaps enabled for python[_d].exe (i.e. loader debug messages), you can attach a debugger to discover which DLL's init routine is

[issue23522] Misleading note in Statistics module documentation

2020-12-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm willing to give Irit and Jake opportunity to make their case. Particularly if they can demonstrate that I got my facts wrong. I'm going to close the ticket, but if anyone feels strongly enough to respond with a good argument, or better still citations

[issue23522] Misleading note in Statistics module documentation

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Steven, you are the module maintainer. So if you're sure about the current wording, go ahead and close this. -- ___ Python tracker ___

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-12-18 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22717 pull_request: https://github.com/python/cpython/pull/23852 ___ Python tracker ___ ___

[issue42675] Document changes made in bpo-42195

2020-12-18 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22716 pull_request: https://github.com/python/cpython/pull/23852 ___ Python tracker ___ ___

[issue42470] DeprecationWarning triggers for sequences which happen to be sets as well

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Given that this is rare and that it is a behavior change, I'm only applying this to 3.10. If you think it is essential for 3.9, feel free to reopen and we'll discuss it with the release manager. -- components: +Library (Lib) resolution: ->

[issue42470] DeprecationWarning triggers for sequences which happen to be sets as well

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1e27b57dbc8c1b758e37a531487813aef2d111ca by masklinn in branch 'master': bpo-42470: Do not warn on sequences which are also sets in random.sample() (GH-23665) https://github.com/python/cpython/commit/1e27b57dbc8c1b758e37a531487813aef2d111ca

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread Karl Nelson
Karl Nelson added the comment: The last libraries loaded prior to the failure were... ``` 20201218192451066 20440 50.60: trclnk64: api-ms-win-eventing-provider-l1-1-0.dll [7ffc4c974108 7ffc4c8b7808] 20201218192451066 20440 50.60: trclnk64: EventUnregister0 7ffc4eab37a0

[issue42665] Should PyLong_AsLongAndOverflow raise exception on overflow?

2020-12-18 Thread Ganesh Kathiresan
Ganesh Kathiresan added the comment: Hi All, thanks for the input. Yeah, the current behavior makes sense, if overflow exception is needed, we can use PyLong_AsLong. I guess my confusion was from the doc: > set *overflow to 1 or -1, respectively, and return -1; > Returns -1 on error. Use

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread William Pickard
William Pickard added the comment: I was just expecting only detours for LoadLibraryExW (and variants) to find out which dll failed. -- ___ Python tracker ___

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread Karl Nelson
Karl Nelson added the comment: I used Detours with trclnk64 to get the following log: ``` 20201218193836960 4332 50.60: trclnk64: 001 GetProcAddress(,) -> 7ffc4ccebef0 20201218193836960 4332 50.60: trclnk64: 001 GetProcAddress(7ffc4ccd,LCMapStringEx) 20201218193836960 4332 50.60:

[issue42559] random.getrandbits: Should it be explicit that it returns unsigned/non-negative integer?

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42559] random.getrandbits: Should it be explicit that it returns unsigned/non-negative integer?

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset d458d8dab0abaf781c923f80f8eb832d0c683e88 by Miss Islington (bot) in branch '3.9': bpo-42559: Not that getrandbits() is non-negative. (GH-23843) (GH-23851) https://github.com/python/cpython/commit/d458d8dab0abaf781c923f80f8eb832d0c683e88

[issue18140] urlparse, urlsplit confused when password includes fragment (#), query (?)

2020-12-18 Thread Senthil Kumaran
Change by Senthil Kumaran : -- versions: +Python 3.10 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue42677] Support comments in argparse fromfile_prefix_chars files

2020-12-18 Thread paul j3
paul j3 added the comment: https://docs.python.org/3/library/argparse.html#customizing-file-parsing in the docs describes how to customize the @file reading. This particular extension handles several strings on a line, but that's not the limit of what you could do. You can also read a

[issue42672] tkinter/__init__.py raises a NameError if NoDefaultRoot()

2020-12-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-12-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: https://github.com/python/python-docs-theme/pull/57 is landed. We just need a new release of the package to pypi -- ___ Python tracker

[issue42649] RecursionError when parsing unwieldy expression (regression from 2.7 -> 3.x)

2020-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: One can use sys.setrecursionlimit to increase allowed recursion depth. But... When I ran code from 3.10.0a3 IDLE editor, something hung. Without touching recursion limit, when I split statement apart into ex = compile("""<300 lines>""", '', 'eval')

[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 782665885c983e88aac12f7e082485cac2df8007 by Miss Islington (bot) in branch '3.9': bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844) (GH-23850)

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: The code background highlights really do need to be restored. Readability has been significantly impaired in 3.10. -- nosy: +rhettinger ___ Python tracker

[issue42680] unicode identifiers not accessible or assignable through globals()

2020-12-18 Thread Martin Chase
Martin Chase added the comment: Ah! So then the proper code for me would be e.g.: ``` >>> globals()[unicodedata.normalize("NFKC", "µmeow")] 1e-06 ``` Yes, it's clear when I read https://www.python.org/dev/peps/pep-3131/ that the normalization is going to happen. Is it also worth adding a

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-12-18 Thread Dong-hee Na
Dong-hee Na added the comment: @mdk No https://github.com/python/python-docs-theme/pull/57 must be fixed ;) -- ___ Python tracker ___

[issue42559] random.getrandbits: Should it be explicit that it returns unsigned/non-negative integer?

2020-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22715 pull_request: https://github.com/python/cpython/pull/23851 ___ Python tracker

[issue42559] random.getrandbits: Should it be explicit that it returns unsigned/non-negative integer?

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 5646414ae1fce620b919056f7999dfd15da78e9c by Raymond Hettinger in branch 'master': bpo-42559: Not that getrandbits() is non-negative. (GH-23843) https://github.com/python/cpython/commit/5646414ae1fce620b919056f7999dfd15da78e9c --

[issue17140] Document multiprocessing.pool.ThreadPool

2020-12-18 Thread Tillmann Karras
Change by Tillmann Karras : -- nosy: -Tilka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23522] Misleading note in Statistics module documentation

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- Removed message: https://bugs.python.org/msg383343 ___ Python tracker ___ ___ Python-bugs-list

[issue42681] mistake in curses documentation

2020-12-18 Thread Robert T McQuaid
New submission from Robert T McQuaid : The description of color_pair starts with curses.color_pair(color_number) It should be curses.color_pair(pair_number) -- assignee: docs@python components: Documentation messages: 383344 nosy: arbor, docs@python priority: normal severity: normal

[issue23522] Misleading note in Statistics module documentation

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23522] Misleading note in Statistics module documentation

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, Allen Downey also had concerns about this wording. -- ___ Python tracker ___ ___

[issue42670] Missing word in itertools.product

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42670] Missing word in itertools.product

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset eef33e6d49d05aad4111da4ad2d9cb34e7a5206c by Miss Islington (bot) in branch '3.9': bpo-42670: Fix a missing word in the itertools.product() docs (GH-23823) (GH-23824)

[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 51f4688254ebb7b30215de424360ba5c92c63fe8 by Raymond Hettinger in branch 'master': bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844)

[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

2020-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +22714 pull_request: https://github.com/python/cpython/pull/23850 ___ Python tracker

[issue42680] unicode identifiers not accessible or assignable through globals()

2020-12-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm pretty sure this is not a bug, but is working as designed. The interpreter normalises unicode identifiers, but key lookup in the dict does not. Sorry, I don't have time right now to give a more detailed answer, but there are two distinct mu characters:

[issue1289136] distutils extension library path bug on cygwin

2020-12-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread William Pickard
William Pickard added the comment: https://www.microsoft.com/en-us/research/project/detours/ -- ___ Python tracker ___ ___

[issue42680] unicode identifiers not accessible or assignable through globals()

2020-12-18 Thread Martin Chase
Martin Chase added the comment: Oh, I just gave a cursory using `locals()`, and the same misbehavior is present. A workaround, for anyone needing to assign or access unicode globals, is to use `exec`, e.g. `exec("µmeow = 1e-6", globals())`. -- ___

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread Karl Nelson
Karl Nelson added the comment: Can you be so kind as pointing me to a LoadLibraryExW detour example for Python? I have shimmed a DLL before to capture transaction logs in the past, but not with a Python or a system library. -- ___ Python

[issue42680] unicode identifiers not accessible or assignable through globals()

2020-12-18 Thread Martin Chase
New submission from Martin Chase : This behavior is best described by the code below: ``` >>> meow = 1 >>> 'meow' in globals() True >>> µmeow = 1e-6 >>> 'µmeow' in globals() False >>> globals()['woof'] = 1 >>> woof 1 >>> globals()['µwoof'] = 1e-6 >>> µwoof Traceback (most recent call last):

[issue32112] Should uuid.UUID() accept another UUID() instance?

2020-12-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> rejected stage: -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue23522] Misleading note in Statistics module documentation

2020-12-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: I strongly oppose this change, and I dispute the characterisation of this as a misleading note. It is not misleading, and I argue that every word of it is factually correct. Jake, if you disagree, then please provide some citations. Irit: it is ridiculous

[issue24792] zipimporter masks import errors

2020-12-18 Thread miss-islington
miss-islington added the comment: New changeset fb34096140bbb74c81500dd8bbc3c69c1d24d9ab by Irit Katriel in branch 'master': bpo-24792: Fix zipimporter masking the cause of import errors (GH-22204) https://github.com/python/cpython/commit/fb34096140bbb74c81500dd8bbc3c69c1d24d9ab --

[issue3735] allow multiple threads to efficiently send the same requests to a processing.Pool without incurring duplicate processing

2020-12-18 Thread Irit Katriel
Change by Irit Katriel : -- stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread William Pickard
William Pickard added the comment: You may need to inject a LoadLibraryExW detour into your python runtime before _jpype is loaded and output all the library names its requesting. You may need to detour all Load Library functions for maximum coverage. -- nosy: +WildCard65

[issue42633] Wave documentation doesn't mention signed/unsigned requirements

2020-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I not sure about 'very useful'. One has to know a lot more than the sample width in bytes, which can be 1 to 4 (according to the code), not just 1 to 2 (as implied by https://en.wikipedia.org/wiki/WAV), to effectively use the module. Such things as the

[issue42125] linecache cannot get source for the __main__ module with a custom loader

2020-12-18 Thread Eugene Toder
Change by Eugene Toder : -- nosy: +ncoghlan, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42572] Better path handling with argparse

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Eric and Paul, I've attached a substantial rewrite of the docs for the *type* parameter: * Document the exceptions that are handled. * Show a wider range of examples that work with *type*. * Discuss when *type* shouldn't be used: bool, JSONDecoder, etc.

[issue35005] argparse should accept json and yaml argument types

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +22713 pull_request: https://github.com/python/cpython/pull/23849 ___ Python tracker ___

[issue42572] Better path handling with argparse

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +22711 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23849 ___ Python tracker

[issue37572] email lib bug

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger nosy_count: 5.0 -> 6.0 pull_requests: +22712 pull_request: https://github.com/python/cpython/pull/23849 ___ Python tracker

[issue40866] Use PyModule_AddType() in posix module initialisation

2020-12-18 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42677] Support comments in argparse fromfile_prefix_chars files

2020-12-18 Thread Eric V. Smith
Eric V. Smith added the comment: I think you could achieve this by overriding convert_arg_line_to_args. If this were baked in to argparse, there would need to be an argument to argparse.ArgumentParser to turn on this behavior, with the default being to not support comments. That's because

[issue42624] sqlite3 package document mistake

2020-12-18 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24139] Use sqlite3 extended error codes

2020-12-18 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42624] sqlite3 package document mistake

2020-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc is the same in 3.10. What OS and exact Python release? Can you post minimal code that verifies your claim? (Someone what have to verify with 3.10 also.) This would strike me as an error in the code. We can fix 'wrong Exception' in the next

[issue42679] Minor improvement in datetime.timestamp() docs

2020-12-18 Thread Olvin
New submission from Olvin : Answering question on StackOverflow I've found next example in docs of datetime.timestamp() ( https://docs.python.org/3/library/datetime.html#datetime.datetime.timestamp ) which returns UTC timestamp: timestamp = (dt - datetime(1970, 1, 1)) / timedelta(seconds=1)

[issue39560] PyUnicode_FromKindAndData kind transformation is not documented

2020-12-18 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +22710 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23848 ___ Python tracker

[issue31861] add aiter() and anext() functions

2020-12-18 Thread Joshua Bronson
Joshua Bronson added the comment: Please see https://github.com/python/cpython/pull/23847 for the C implementation of aiter and anext added to builtins, as requested. -- title: add aiter() and anext() functions to operator module -> add aiter() and anext() functions

[issue31861] add aiter() and anext() functions to operator module

2020-12-18 Thread Joshua Bronson
Change by Joshua Bronson : -- pull_requests: +22708 pull_request: https://github.com/python/cpython/pull/23847 ___ Python tracker ___

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread Karl Nelson
Karl Nelson added the comment: Just for reference here are all the dependencies that _jpype has ``` MSVCP140.dll python39.dll

[issue41891] asyncio.wait_for does not wait for task/future to be completed in all cases

2020-12-18 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: Yurii no worries, I am happy that this issue is resolved) -- nosy: +uriyyo ___ Python tracker ___

[issue42678] [Enum] _sunder_ methods only looked up in the last Enum class in the mro

2020-12-18 Thread Ethan Furman
Change by Ethan Furman : -- assignee: ethan.furman components: Library (Lib) nosy: ethan.furman priority: normal severity: normal stage: needs patch status: open title: [Enum] _sunder_ methods only looked up in the last Enum class in the mro type: behavior versions: Python 3.10, Python

[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists

2020-12-18 Thread miss-islington
miss-islington added the comment: New changeset 4b412e830d0a7d3f30af60b9eb285558511d90af by Miss Islington (bot) in branch '3.9': bpo-36769: Document that fnmatch.filter supports any kind of iterable (GH-13039) https://github.com/python/cpython/commit/4b412e830d0a7d3f30af60b9eb285558511d90af

[issue41891] asyncio.wait_for does not wait for task/future to be completed in all cases

2020-12-18 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 82dbfd5a04863d8b6363527e6a34a90c9aa5691b by Miss Islington (bot) in branch '3.9': bpo-41891: ensure asyncio.wait_for waits for task completion (GH-22461) (#23840) https://github.com/python/cpython/commit/82dbfd5a04863d8b6363527e6a34a90c9aa5691b

[issue42677] Support comments in argparse fromfile_prefix_chars files

2020-12-18 Thread Thomas Nabelek
New submission from Thomas Nabelek : For input argument files, specified with the fromfile_prefix_chars argument to argparse.ArgumentParser, argparse should ignore lines beginning with '#' so that comments can be used in those files. -- components: Library (Lib) messages: 383321

[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists

2020-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +22707 pull_request: https://github.com/python/cpython/pull/23846 ___ Python tracker ___

[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists

2020-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22706 pull_request: https://github.com/python/cpython/pull/23845 ___ Python tracker

[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists

2020-12-18 Thread Julien Palard
Julien Palard added the comment: New changeset e8d22642105d57007ab1242848a8cbadc7f179df by Andre Delfino in branch 'master': bpo-36769: Document that fnmatch.filter supports any kind of iterable (#13039) https://github.com/python/cpython/commit/e8d22642105d57007ab1242848a8cbadc7f179df

[issue34398] Docs search should prominently show definitions and glossary items

2020-12-18 Thread Julien Palard
Julien Palard added the comment: New changeset 8c5d0347efd16f16dfb9596715e449cd928b89c8 by Ammar Askar in branch 'master': bpo-34398: Allow glossary results to show up on search page (GH-8773) https://github.com/python/cpython/commit/8c5d0347efd16f16dfb9596715e449cd928b89c8 --

[issue42042] sphinx3 renders diffrently docs.python.org for 3.10

2020-12-18 Thread Julien Palard
Julien Palard added the comment: Is it fixed? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12800] 'tarfile.StreamError: seeking backwards is not allowed' when extract symlink

2020-12-18 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +22705 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/23844 ___ Python tracker

[issue17140] Document multiprocessing.pool.ThreadPool

2020-12-18 Thread Ned Deily
Ned Deily added the comment: Thanks, Matt, for the documentation PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker

[issue17140] Document multiprocessing.pool.ThreadPool

2020-12-18 Thread Ned Deily
Ned Deily added the comment: New changeset 00278d4e616315e64557bff014574c079e6e96ff by Miss Islington (bot) in branch '3.7': bpo-17140: Document multiprocessing's ThreadPool (GH-23812) (GH-23836) https://github.com/python/cpython/commit/00278d4e616315e64557bff014574c079e6e96ff --

[issue17140] Document multiprocessing.pool.ThreadPool

2020-12-18 Thread miss-islington
miss-islington added the comment: New changeset d21d29ab5b8741da056ac09c49c759b6ccbf264a by Miss Islington (bot) in branch '3.8': [3.8] bpo-17140: Document multiprocessing's ThreadPool (GH-23812) (GH-23835) https://github.com/python/cpython/commit/d21d29ab5b8741da056ac09c49c759b6ccbf264a

[issue42667] shelve module is not thread-safe during accessing different databases from different threads

2020-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Loading modules every time without using a cache (sys.modules) can add significant overhead. -- ___ Python tracker ___

[issue34690] Store startup modules as C structures for 20%+ startup speed improvement

2020-12-18 Thread Eric Engeström
Change by Eric Engeström : -- nosy: +1ace ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42559] random.getrandbits: Should it be explicit that it returns unsigned/non-negative integer?

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +22704 pull_request: https://github.com/python/cpython/pull/23843 ___ Python tracker ___

[issue42676] zoneinfo uses locale depending functions for parsing

2020-12-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : zoneinfo uses locale depending functions isalpha(), isdigit(), isalnum() to parse data. It may be correct when parse the TZ environment variable (although they do not work with multibytes locale encodings like UTF-8), I think that parsing the content of

[issue23522] Misleading note in Statistics module documentation

2020-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch nosy: +rhettinger nosy_count: 4.0 -> 5.0 pull_requests: +22703 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23842 ___ Python tracker

[issue42667] shelve module is not thread-safe during accessing different databases from different threads

2020-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: I suggest removing the global state from dbm and just recomputing the underlying database for every call to open(). -- nosy: +rhettinger ___ Python tracker

[issue41891] asyncio.wait_for does not wait for task/future to be completed in all cases

2020-12-18 Thread miss-islington
miss-islington added the comment: New changeset a3dec9d8ec5ae142946ff6b94947a183d7c48f35 by Miss Islington (bot) in branch '3.8': bpo-41891: ensure asyncio.wait_for waits for task completion (GH-22461) https://github.com/python/cpython/commit/a3dec9d8ec5ae142946ff6b94947a183d7c48f35

[issue42675] Document changes made in bpo-42195

2020-12-18 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset d75f6f78e6ca230d0dacc116dca9d8bf91509b68 by kj in branch 'master': bpo-42675: Document collections.abc.Callable changes (GH-23839) https://github.com/python/cpython/commit/d75f6f78e6ca230d0dacc116dca9d8bf91509b68 --

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-12-18 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22702 pull_request: https://github.com/python/cpython/pull/23839 ___ Python tracker ___ ___

[issue42600] Cancelling tasks waiting for asyncio.Conditions crashes w/ RuntimeError: Lock is not acquired.

2020-12-18 Thread Yury Selivanov
Yury Selivanov added the comment: This has been actually first fixed in #41891 but somehow wasn't yet merged. Yurii, thanks so much for working on this and making a PR, there was just another PR to fix the same issue that was there first, so I had to merge that one. -- resolution:

[issue41891] asyncio.wait_for does not wait for task/future to be completed in all cases

2020-12-18 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41891] asyncio.wait_for does not wait for task/future to be completed in all cases

2020-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22701 pull_request: https://github.com/python/cpython/pull/23841 ___ Python tracker

[issue41891] asyncio.wait_for does not wait for task/future to be completed in all cases

2020-12-18 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks for the PR, Richard! -- nosy: -miss-islington ___ Python tracker ___ ___

[issue41891] asyncio.wait_for does not wait for task/future to be completed in all cases

2020-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +22700 pull_request: https://github.com/python/cpython/pull/23840 ___ Python tracker

[issue41891] asyncio.wait_for does not wait for task/future to be completed in all cases

2020-12-18 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 17ef4319a34f5a2f95e7823dfb5f5b8cff11882d by Richard Kojedzinszky in branch 'master': bpo-41891: ensure asyncio.wait_for waits for task completion (#22461) https://github.com/python/cpython/commit/17ef4319a34f5a2f95e7823dfb5f5b8cff11882d

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-18 Thread STINNER Victor
STINNER Victor added the comment: test_sysconfig still fails: * POWER6 AIX 3.x: https://buildbot.python.org/all/#/builders/302/builds/563 * PPC64 AIX 3.x: https://buildbot.python.org/all/#/builders/438/builds/593 * AMD64 FreeBSD Shared 3.x:

[issue42529] CPython DLL initialization routine failed from PYC cache file

2020-12-18 Thread Karl Nelson
Karl Nelson added the comment: I attempted another deep dive on this one. 1) Removed manual library add platform_specific['libraries'] = ['Advapi32'] No change. 2) Compared symbol wise imports Two imports changed PyIndex_Check PyObject_CheckBuffer plus one additional "fflush" dependency

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-12-18 Thread Ken Jin
Change by Ken Jin : -- pull_requests: -22699 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-12-18 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22699 pull_request: https://github.com/python/cpython/pull/23839 ___ Python tracker ___ ___

[issue42675] Document changes made in bpo-42195

2020-12-18 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +22698 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23839 ___ Python tracker ___

[issue42675] Document changes made in bpo-42195

2020-12-18 Thread Ken Jin
New submission from Ken Jin : A whatsnew is probably needed as this change causes backwards incompatibility in some code working with Python 3.9.0 and 3.9.1. I think the patch for Python 3.9.2 should mention that a DeprecationWarning is emitted for some invalid use cases, which will

[issue40956] Use Argument Clinic in sqlite3

2020-12-18 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22697 pull_request: https://github.com/python/cpython/pull/23838 ___ Python tracker ___

[issue40956] Use Argument Clinic in sqlite3

2020-12-18 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 2179349d8cf45b1202775547df384b1fde31630a by Dong-hee Na in branch 'master': bpo-40956: Fix sqlite3 AC code (GH-23837) https://github.com/python/cpython/commit/2179349d8cf45b1202775547df384b1fde31630a --

  1   2   >