[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

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

[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

2020-12-18 Thread Julien Palard
Julien Palard added the comment: New changeset 886b2e5c7a2caf87070728dba8f18c3d65e51071 by Mark Dickinson in branch 'master': bpo-39096: Format specification documentation fixes for numeric types (GH-23575) https://github.com/python/cpython/commit/886b2e5c7a2caf87070728dba8f18c3d65e51071 --

[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

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

[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

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

[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

2020-12-18 Thread miss-islington
miss-islington added the comment: New changeset 12032cdec5ae1e56d4e4b8206fb2e95a9f58 by Miss Islington (bot) in branch '3.8': bpo-39096: Format specification documentation fixes for numeric types (GH-23575) https://github.com/python/cpython/commit/12032cdec5ae1e56d4e4b8206fb2e95a9f58

[issue42673] Optimize round_size for rehashing

2020-12-18 Thread Jurjen N.E. Bos
New submission from Jurjen N.E. Bos : There's a trivial optimization in the round_size in hashtable.c: a loop is used to compute the lowest power of two >= s, while this can be done in one step with bit_length. I am making a pull request for this. -- components: Interpreter Core message

[issue42673] Optimize round_size for rehashing

2020-12-18 Thread Jurjen N.E. Bos
Change by Jurjen N.E. Bos : -- keywords: +patch pull_requests: +22692 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23833 ___ Python tracker ___

[issue42238] Deprecate suspicious.py?

2020-12-18 Thread Julien Palard
Julien Palard added the comment: New changeset b9735420aa8ecd2555fe3dc000863bc50487334b by Julien Palard in branch 'master': bpo-42238: Check Misc/NEWS.d/next/ for reStructuredText issues. (GH-23802) https://github.com/python/cpython/commit/b9735420aa8ecd2555fe3dc000863bc50487334b -

[issue39096] "Format Specification Mini-Language" doc mistake for Decimal

2020-12-18 Thread miss-islington
miss-islington added the comment: New changeset b812e236df506603e592086269e088b00d021460 by Miss Islington (bot) in branch '3.9': bpo-39096: Format specification documentation fixes for numeric types (GH-23575) https://github.com/python/cpython/commit/b812e236df506603e592086269e088b00d021460

[issue42673] Optimize round_size for rehashing

2020-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you have any benchmarks? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-l

[issue42671] Make the Python finalization more deterministic

2020-12-18 Thread STINNER Victor
STINNER Victor added the comment: > I wrote this issue to attempt to fix a leak in PR 23811 which converts the > _thread extension module to the multiphase initialization API (PEP 489). I fixed this bug by adding a traverse function to the _thread lock type. So I don't *need* this issue to u

[issue42671] Make the Python finalization more deterministic

2020-12-18 Thread STINNER Victor
STINNER Victor added the comment: > Drawback: it is a backward incompatible change. Code which worked by luck > previously no longer works. I'm talking about applications which rely on > __del__() methods being calling in an exact order and expect Python being in > a specific state. Python

[issue42674] __init_subclass__ only called for first subclass when class has multiple inheritance

2020-12-18 Thread Chris Gahagan
Change by Chris Gahagan : -- files: SubClass.py nosy: ccgahagan priority: normal severity: normal status: open title: __init_subclass__ only called for first subclass when class has multiple inheritance type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file49691/S

[issue17140] Document multiprocessing.pool.ThreadPool

2020-12-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 84ebcf271a2cc8bfd1762acb279502b8b6ef236e by Matt Wozniski in branch 'master': bpo-17140: Document multiprocessing's ThreadPool (GH-23812) https://github.com/python/cpython/commit/84ebcf271a2cc8bfd1762acb279502b8b6ef236e -- nosy:

[issue17140] Document multiprocessing.pool.ThreadPool

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

[issue17140] Document multiprocessing.pool.ThreadPool

2020-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +22693 pull_request: https://github.com/python/cpython/pull/23834 ___ Python tracker

[issue17140] Document multiprocessing.pool.ThreadPool

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

[issue17140] Document multiprocessing.pool.ThreadPool

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

[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-18 Thread mattip
mattip added the comment: vstinner: ping. Are merge builds still failing or can I close this? -- ___ Python tracker ___ ___ Python-

[issue42665] Should PyLong_AsLongAndOverflow raise exception on overflow?

2020-12-18 Thread Mark Dickinson
Mark Dickinson added the comment: @ganesh3597. PyLong_AsLongAndOverflow is behaving as intended, and changes to the behaviour would break existing code. If you think there's a case for changing the behaviour, you'd need to provide your rationale for the change, details of what you propose as

[issue40956] Use Argument Clinic in sqlite3

2020-12-18 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 1ba82bbc50a52f40ad05f3c4aaf2e159e0ce126d by Erlend Egeberg Aasland in branch 'master': bpo-40956: Convert _sqlite3.Connection to Argument Clinic (GH-23341) https://github.com/python/cpython/commit/1ba82bbc50a52f40ad05f3c4aaf2e159e0ce126d

[issue40956] Use Argument Clinic in sqlite3

2020-12-18 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +22696 pull_request: https://github.com/python/cpython/pull/23837 ___ Python tracker ___ _

[issue42673] Optimize round_size for rehashing

2020-12-18 Thread Jakub Stasiak
Jakub Stasiak added the comment: I'd be especially curious about branch (mis)prediction stats before and after applying this patch – including such information seems necessary in a patch that's about optimization. -- nosy: +jstasiak ___ Python trac

[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 -- __

[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 ___ __

[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 eventuall

[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 ___

[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 ___ ___ P

[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: https://mail.py

[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 in

[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: https://buildbot.python.org/all/#/builders/483/build

[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 --

[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: Thanks for the PR, Richard! -- nosy: -miss-islington ___ Python tracker ___ ___ Python-bugs-list

[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
Change by Yury Selivanov : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ 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:

[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 ___ ___ P

[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 -- _

[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 ---

[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 _

[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

[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

[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 ___ ___

[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: https://mail.python.

[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 ___ ___

[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 --

[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 -- no

[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

[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 __

[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 ___ ___

[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: https://mai

[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 --

[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 -

[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 miss-islington
Change by miss-islington : -- pull_requests: +22707 pull_request: https://github.com/python/cpython/pull/23846 ___ Python tracker ___ __

[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 nosy:

[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

[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

[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

[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 ___ __

[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

[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 ___ __

[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

[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

[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)

[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 release

[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: ht

[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: ht

[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 en

[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 ___ ___ Python-bugs-

[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 __

[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 __

[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
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. *

[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: https:/

[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 end

[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 _

[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 mail

[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 --

[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

[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 ___ ___

[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): Fi

[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 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 William Pickard
William Pickard added the comment: https://www.microsoft.com/en-us/research/project/detours/ -- ___ Python tracker ___ ___ Python-b

[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 ___ __

[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:

[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) https://github.com/python/cpython/commit/51f4688254ebb7b30215de424360ba5c92c63fe8

[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 _

[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) https://github.com/python/cpython/commit/eef33e6d49d05aad4111da4ad2d9cb34e7

[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 ___ ___

[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 ___ ___ Python-

[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 Un

[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 : -- Removed message: https://bugs.python.org/msg383343 ___ Python tracker ___ ___ Python-bugs-list mail

[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: https://mail.pyt

[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 -- __

[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 _

[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 ___

  1   2   >