[issue45640] Production tokens are not clickable

2021-10-27 Thread Arthur Milchior
Change by Arthur Milchior : -- keywords: +patch pull_requests: +27525 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29260 ___ Python tracker ___

[issue45640] Production tokens are not clickable

2021-10-27 Thread Arthur Milchior
New submission from Arthur Milchior : In the current documentation, production tokens are not clickable. For example in https://docs.python.org/3/reference/expressions.html#yield-expressions , you highlight `yield_from` as a token but do not link to it. I suppose that the goal, when using

[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Sonia
Sonia added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45639] Support modern image formats in MIME types

2021-10-27 Thread Adam Konrad
Change by Adam Konrad : -- keywords: +patch pull_requests: +27523 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29259 ___ Python tracker ___

[issue45639] Support modern image formats in MIME types

2021-10-27 Thread Adam Konrad
New submission from Adam Konrad : Modern image types webp and avif are not recognized by the mimetypes module. Problem: Many tools are written in Python and running on macOS. Good example is the AWS CLI. Running commands like "s3 sync" will save files with .webp and .avif extensions with

[issue30570] issubclass segfaults on objects with weird __getattr__

2021-10-27 Thread Dennis Sweeney
Dennis Sweeney added the comment: I think this broke some buildbots. https://buildbot.python.org/all/#/builders/256/builds/264 https://buildbot.python.org/all/#/builders/370/builds/263 I opened a PR to temporarily decrease the recursion limit so that the C stack doesn't overflow in these

[issue30570] issubclass segfaults on objects with weird __getattr__

2021-10-27 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +27522 pull_request: https://github.com/python/cpython/pull/29258 ___ Python tracker ___

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-27 Thread Graham Dumpleton
Graham Dumpleton added the comment: Too much to grok right now. There is already a convention for what a decorator wraps. It is __wrapped__. https://github.com/python/cpython/blob/3405792b024e9c6b70c0d2355c55a23ac84e1e67/Lib/functools.py#L70 Don't use __func__ as that has other defined

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-27 Thread wim glenn
wim glenn added the comment: added Graham Dumpleton to nosy list in case he has some useful insight here, I think the PR from issue19072 may have been adapted from grahamd's patch originally? -- nosy: +grahamd ___ Python tracker

[issue45638] Does ccbench still require 2.6 compatibility?

2021-10-27 Thread Skip Montanaro
New submission from Skip Montanaro : At the top of Tools/ccbench/ccbench.py is this comment dating from 2010 (probably in the initial version): # This file should be kept compatible with both Python 2.6 and Python >= 3.0. Is there still a need for 2.6 compatibility in what is essentially a

[issue45637] The fallback to find the current frame in the gdb helpers fails for inlined frames

2021-10-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27521 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29257 ___ Python tracker

[issue45637] The fallback to find the current frame in the gdb helpers fails for inlined frames

2021-10-27 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : This code does not work in the presence of inlined Python calls: https://github.com/python/cpython/blob/d02ffd1b5c0fd8dec6dd2f7e3f2b0cfae48b7899/Tools/gdb/libpython.py#L1804-L1813 -- components: Interpreter Core messages: 405140 nosy:

[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-10-27 Thread Marc Culler
Marc Culler added the comment: Hi Ned, I think this problem is fixed now in the tip of the Tk macosx_filedialog branch. I am attaching the tkMacOSXDialog.c file from that branch. I think you should be able to just replace the version in 8.6.11 and be able to build a working version. I

[issue45438] inspect not capturing type annotations created by __class_getitem__

2021-10-27 Thread Guido van Rossum
Guido van Rossum added the comment: Can we close this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45591] PathFinder does not find namespace packages children

2021-10-27 Thread Filipe Laíns
Filipe Laíns added the comment: Okay, I think that makes sense to me. Thank you!! -- ___ Python tracker ___ ___ Python-bugs-list

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Maciej Olko
Change by Maciej Olko : -- pull_requests: +27520 pull_request: https://github.com/python/cpython/pull/29256 ___ Python tracker ___

[issue45636] Merge BINARY_*/INPLACE_* into BINARY_OP/INPLACE_OP

2021-10-27 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +27519 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29255 ___ Python tracker ___

[issue45636] Merge BINARY_*/INPLACE_* into BINARY_OP/INPLACE_OP

2021-10-27 Thread Brandt Bucher
New submission from Brandt Bucher : ...as discussed in https://github.com/faster-cpython/ideas/issues/101. This change merges all BINARY_*/INPLACE_* instructions, except for a few special cases: - BINARY_ADD/INPLACE_ADD, which interact with sq_concat/sq_inplace_concat and already have their

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Maciej Olko
Maciej Olko added the comment: It occurs that the documentation builds without warnings on most recent Sphinx -- version 4.2.0. Probably we should bump the version in 3.11, 3.10 and 3.9 to 4.2.0. That would enable us to remove the pin on docutils. --

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Maciej Olko
Maciej Olko added the comment: I'm sorry for the confusion. I might have make more checking on my side before proposing a fix. -- ___ Python tracker ___

[issue45438] inspect not capturing type annotations created by __class_getitem__

2021-10-27 Thread miss-islington
miss-islington added the comment: New changeset 21150c6fa330f80747d698e4b883c7b4801a25bd by Miss Islington (bot) in branch '3.9': bpo-45438: format of inspect.Signature with generic builtins (GH-29212) https://github.com/python/cpython/commit/21150c6fa330f80747d698e4b883c7b4801a25bd

[issue45438] inspect not capturing type annotations created by __class_getitem__

2021-10-27 Thread miss-islington
miss-islington added the comment: New changeset ce7a6afb797d2ffde45e9e902516b8437c8f9e31 by Miss Islington (bot) in branch '3.10': bpo-45438: format of inspect.Signature with generic builtins (GH-29212) https://github.com/python/cpython/commit/ce7a6afb797d2ffde45e9e902516b8437c8f9e31

[issue45562] python -d creates lots of tokenizer messages

2021-10-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 038f45230892235e806ef227dfd9484b95687823 by Miss Islington (bot) in branch '3.10': bpo-45562: Print tokenizer debug messages to stderr (GH-29250) (GH-29252)

[issue9351] argparse set_defaults on subcommands should override top level set_defaults

2021-10-27 Thread paul j3
paul j3 added the comment: A new patch, https://bugs.python.org/issue45235 has clobbered this patch. It has also exposed the inadequate unittesting for the case(s) where the 'dest' of main namespace, subparser namespace, user provided namespace overlap. --

[issue45235] argparse does not preserve namespace with subparser defaults

2021-10-27 Thread paul j3
paul j3 added the comment: I should study previous posts in more detail, but here are some thoughts on correctly handling user namespace. At the start of `parse_known_args`, there's a if namespace is None: namespace = Namespace() We need to hang on to a copy of this

[issue45438] inspect not capturing type annotations created by __class_getitem__

2021-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +27518 pull_request: https://github.com/python/cpython/pull/29254 ___ Python tracker ___

[issue45438] inspect not capturing type annotations created by __class_getitem__

2021-10-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +27517 pull_request: https://github.com/python/cpython/pull/29253 ___ Python tracker

[issue45438] inspect not capturing type annotations created by __class_getitem__

2021-10-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset d02ffd1b5c0fd8dec6dd2f7e3f2b0cfae48b7899 by Martin Rueckl in branch 'main': bpo-45438: format of inspect.Signature with generic builtins (#29212) https://github.com/python/cpython/commit/d02ffd1b5c0fd8dec6dd2f7e3f2b0cfae48b7899 --

[issue45635] Tidy up error handling in traceback.c / python run.c

2021-10-27 Thread Irit Katriel
Change by Irit Katriel : -- components: +Interpreter Core versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list

[issue45562] python -d creates lots of tokenizer messages

2021-10-27 Thread miss-islington
miss-islington added the comment: New changeset 10bbd41ba8c88bc102df108a4e0444abc7c5ea43 by Pablo Galindo Salgado in branch 'main': bpo-45562: Print tokenizer debug messages to stderr (GH-29250) https://github.com/python/cpython/commit/10bbd41ba8c88bc102df108a4e0444abc7c5ea43 --

[issue45562] python -d creates lots of tokenizer messages

2021-10-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45562] python -d creates lots of tokenizer messages

2021-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +27516 pull_request: https://github.com/python/cpython/pull/29252 ___ Python tracker ___

[issue45635] Tidy up error handling in traceback.c / python run.c

2021-10-27 Thread Irit Katriel
New submission from Irit Katriel : They do things like err = PyFile_WriteString("TypeError: print_exception(): Exception expected for value, ", f); err += PyFile_WriteString(Py_TYPE(value)->tp_name, f); err += PyFile_WriteString(" found\n", f); which means that PyFile_XXX

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Maciej Olko
Maciej Olko added the comment: For what it's worth I have just successfully built documentation on 3.7 and 3.6 branches locally. It looks like Sphinx 2.3.1 used there doesn't use this part of docutils API that have changed recently. Sphinx 2.3.1 has requirement of "docutils>=0.12", just

[issue45634] [sqlite3] don't combine error checks when adding integer constants

2021-10-27 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +27515 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29251 ___ Python tracker

[issue45562] python -d creates lots of tokenizer messages

2021-10-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27514 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29250 ___ Python tracker ___

[issue45634] [sqlite3] don't combine error checks when adding integer constants

2021-10-27 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : In Modules/_sqlite/module.c, add_integer_constants() accumulates the return values of repeated PyModule_AddIntMacro() calls. We should change this to instead bailing immediately on error. -- components: Extension Modules messages: 405124 nosy:

[issue45548] Update Modules/Setup

2021-10-27 Thread Brett Cannon
Brett Cannon added the comment: > Could Brett or you please add those notes back ? There's no other place where such details are documented. It really depends on what "details" you're referring to. Most of what I removed were things like "Module by ", or saying _json.c is for "json

[issue45591] PathFinder does not find namespace packages children

2021-10-27 Thread Brett Cannon
Brett Cannon added the comment: The full name argument approach comes from PEP 302. But you want the full name as you are otherwise missing potentially key information for the finder. For instance, if you manipulate __path__, then it's just some random directory you're searching in. But

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-27 Thread Andrei Kulakov
Andrei Kulakov added the comment: I've looked more into it, the issue is that even before an object can be tested with `isinstance()`, both inspect.classify_class_attrs and in pydoc, classdoc local function `spill()` use a `getattr()` call, which triggers the property. So I think my PR is

[issue28737] Document that tp_dealloc handler must call PyObject_GC_UnTrack if Py_TPFLAGS_HAVE_GC is set

2021-10-27 Thread Sam Gross
Change by Sam Gross : -- pull_requests: +27513 pull_request: https://github.com/python/cpython/pull/29249 ___ Python tracker ___

[issue28737] Document that tp_dealloc handler must call PyObject_GC_UnTrack if Py_TPFLAGS_HAVE_GC is set

2021-10-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27512 pull_request: https://github.com/python/cpython/pull/29248 ___ Python tracker

[issue28737] Document that tp_dealloc handler must call PyObject_GC_UnTrack if Py_TPFLAGS_HAVE_GC is set

2021-10-27 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 35e1ff38ee67ee543d9fcb268c3552c5397f9b3f by Sam Gross in branch 'main': bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) https://github.com/python/cpython/commit/35e1ff38ee67ee543d9fcb268c3552c5397f9b3f --

[issue45633] Py_GT listed twice in Doc/extending/newtypes.rst

2021-10-27 Thread Julien Palard
New submission from Julien Palard : In Doc/extending/newtypes one can read: > This function is called with two Python objects and the operator as > arguments, where the operator is one of Py_EQ, Py_NE, Py_LE, Py_GT, Py_LT or > Py_GT. It bet one of them should be Py_GE. (I let this one as

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Ned Deily
Ned Deily added the comment: All of the open branches are affected by this since we also have to build documentation for security-fix-only branches when releases. PRs for 3.7 and 3.6 forthcoming. -- versions: +Python 3.6, Python 3.7, Python 3.8

[issue45623] static build is broken

2021-10-27 Thread Christian Heimes
Christian Heimes added the comment: Full commit hash is dd18001c308fb3bb65006c91d95f6639583a3420 -- ___ Python tracker ___ ___

[issue45623] static build is broken

2021-10-27 Thread Christian Heimes
Christian Heimes added the comment: Steve changed the line in comment dd18001c308f / bpo-41627. -- assignee: -> steve.dower components: +Windows nosy: +christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-27 Thread Andrei Kulakov
Andrei Kulakov added the comment: I missed that this is assigned to Raymond, hope we didn't duplicate any effort (it only took me a short while to do the PR). Apologies.. -- ___ Python tracker

[issue45632] Strange readline save history behaviour in site.py

2021-10-27 Thread doraeric
New submission from doraeric : I noticed that in site.py, it saves history to a hard-coded location if the current history length is 0. The history is considered as not loaded if the length is 0, but it may be actually loaded from a empty file. In this case, the history is save to hard-coded

[issue45621] Small fixes to mmap

2021-10-27 Thread Tim Golden
Change by Tim Golden : -- keywords: +patch pull_requests: +27511 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29247 ___ Python tracker ___

[issue28737] Document that tp_dealloc handler must call PyObject_GC_UnTrack if Py_TPFLAGS_HAVE_GC is set

2021-10-27 Thread Sam Gross
Change by Sam Gross : -- keywords: +patch pull_requests: +27510 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29246 ___ Python tracker ___

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +27509 pull_request: https://github.com/python/cpython/pull/29245 ___ Python tracker ___

[issue45617] sys.stdin does not iterate correctly on '\r' line separator

2021-10-27 Thread Kelly Brazil
Kelly Brazil added the comment: Also, I believe this docstring is being inherited, but this is also where it seems that '\r' is documented to work with sys.stdin: >>> print(sys.stdin.__doc__) Character and line based layer over a BufferedIOBase object, buffer. encoding gives the name of the

[issue28737] Document that tp_dealloc handler must call PyObject_GC_UnTrack if Py_TPFLAGS_HAVE_GC is set

2021-10-27 Thread Sam Gross
Sam Gross added the comment: Antoine Pitrou already fixed the "noddy4" example (now renamed to "custom4") and updated the newtypes_tutorial, but I think it's still worth mentioning PyObject_GC_Untrack in a few additional places. -- ___ Python

[issue45617] sys.stdin does not iterate correctly on '\r' line separator

2021-10-27 Thread Eryk Sun
Eryk Sun added the comment: > like those returned by the open() function. Their parameters are > chosen as follows..." The `newline` argument for sys.std* isn't documented, but it should be. It happens to be newline='\n' on every platform except Windows. > its newlines attribute is set to

[issue45631] missing unittests for overlapping dest when using subparsers

2021-10-27 Thread paul j3
New submission from paul j3 : https://bugs.python.org/issue45235 argparse does not preserve namespace with subparser defaults was passed and put into the latest release with rather obvious buggy behavior. This means that the unittest file does not adequately test for overlapping 'dest' in

[issue45256] Remove the usage of the C stack in Python to Python calls

2021-10-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, seems that https://github.com/python/cpython/pull/28937 has broken the AMD64 FreeBSD Shared 3.x buildbot: https://buildbot.python.org/all/#/builders/483/builds/1003/steps/5/logs/stdio The buildbot was green until we merged this

[issue44525] Implement CALL_FUNCTION adaptive interpreter optimizations

2021-10-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, PR 26934 has broken thes 390x RHEL7 LTO 3.x buildbot as you can see before. As per the buildbot maintenance procedures, we will need to revert this PR unless is fixed in 24 hours. @markshannon @Fidget-Spinner -- nosy:

[issue34046] subparsers -> add_parser doesn't support hyphen char '-'

2021-10-27 Thread paul j3
paul j3 added the comment: Артём Иконников, developers and experienced users are familiar with other programs, such as 'svn' which is used as an example svn checkout, svn update, and svn commit Also the use of '--foo' as flagged/optional(s) argument is so familiar to developers, that it

[issue45630] Dump CodeObject API for debugging

2021-10-27 Thread penguin_wwy
Change by penguin_wwy <940375...@qq.com>: -- keywords: +patch pull_requests: +27507 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29243 ___ Python tracker

[issue45630] Dump CodeObject API for debugging

2021-10-27 Thread penguin_wwy
New submission from penguin_wwy <940375...@qq.com>: What the title says. -- components: Interpreter Core messages: 405106 nosy: penguin_wwy priority: normal severity: normal status: open title: Dump CodeObject API for debugging type: enhancement versions: Python 3.11

[issue45096] Update Tools/freeze to make use of Tools/scripts/freeze_modules.py?

2021-10-27 Thread Eric Snow
Change by Eric Snow : -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45096] Update Tools/freeze to make use of Tools/scripts/freeze_modules.py?

2021-10-27 Thread Eric Snow
Change by Eric Snow : -- pull_requests: -27485 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28737] Document that tp_dealloc handler must call PyObject_GC_UnTrack if Py_TPFLAGS_HAVE_GC is set

2021-10-27 Thread Sam Gross
Change by Sam Gross : -- assignee: docs@python -> colesbury ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45629] Tools/freeze needs tests in the test suite.

2021-10-27 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +27506 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/29222 ___ Python tracker

[issue45629] Tools/freeze needs tests in the test suite.

2021-10-27 Thread Eric Snow
New submission from Eric Snow : I found that Tools/freeze doesn't get tested. It has a "test" directory but it's more of a rudimentary sanity check that must be run manually. Since the tool isn't tested through our test suite, there's a high likelihood it can get broken without anyone

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-27 Thread Ned Deily
Change by Ned Deily : -- components: -macOS nosy: +vinay.sajip -ned.deily, ronaldoussoren ___ Python tracker ___ ___

[issue45628] TimedRotatingFileHandler backupCount not working

2021-10-27 Thread Ivo Grondman
New submission from Ivo Grondman : Using the TimedRotatingFileHandler with a non-zero backupCount, I get different behaviour between versions 3.9 and 3.10. Attached is a small example. Running it with 3.9 gives me two backups at most even if I run the script for a long time. Running it with

[issue45609] Specialize STORE_SUBSCR

2021-10-27 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +27505 pull_request: https://github.com/python/cpython/pull/29242 ___ Python tracker ___

[issue45617] sys.stdin does not iterate correctly on '\r' line separator

2021-10-27 Thread Kelly Brazil
Kelly Brazil added the comment: '\r' support is implicitly documented under the sys.stdin section[0]: "These streams are regular text files like those returned by the open() function. Their parameters are chosen as follows..." By following the link to the open()[1] docs, it says: "newline

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Ned Deily
Ned Deily added the comment: New changeset 30c1f18ee62cef301e18488b80b4d329290f7b95 by Ned Deily in branch '3.9': [3.9] bpo-45618: Fix documentation build by pinning Docutils version to 0.17.1 (GH-29230) (GH-29241)

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Ned Deily
Ned Deily added the comment: New changeset 2b7b7c7320cd856df5439afc3c984873678c27d8 by Miss Islington (bot) in branch '3.10': bpo-45618: Fix documentation build by pinning Docutils version to 0.17.1 (GH-29230) (GH-29240)

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +27504 pull_request: https://github.com/python/cpython/pull/29241 ___ Python tracker ___

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-27 Thread Andrei Kulakov
Andrei Kulakov added the comment: I've put up a PR; I'm not sure it's the best way to fix it. I will look more into it and will try to post some details about the PR later today. -- ___ Python tracker

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread Ned Deily
Ned Deily added the comment: New changeset bcee6aa31550cfecdc3acecbd0e4447bb0051887 by m-aciek in branch 'main': bpo-45618: Fix documentation build by pinning Docutils version to 0.17.1 (GH-29230) https://github.com/python/cpython/commit/bcee6aa31550cfecdc3acecbd0e4447bb0051887 --

[issue45618] Documentation builds fail with Sphinx 3.2.1

2021-10-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +27503 pull_request: https://github.com/python/cpython/pull/29240 ___ Python tracker

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-27 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch nosy: +andrei.avk nosy_count: 8.0 -> 9.0 pull_requests: +27502 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/29239 ___ Python tracker

[issue45627] OpenSSL 1.1.1 still implements some disable-flags for Blake2, Scrypt

2021-10-27 Thread Christian Heimes
Christian Heimes added the comment: Python 3.10 and newer require OpenSSL 1.1.1+ with blake2, sha3, scrypt, and similar features enabled. The required feature set is specified in PEP 644, https://www.python.org/dev/peps/pep-0644/#compatibility . Python requires the features, because I want

[issue45620] A misleading url in 'Floating Point Arithmetic' page

2021-10-27 Thread Eric V. Smith
Eric V. Smith added the comment: The link on the doc page also works for me, sending me to http://www.lahey.com/float.htm. I think the problem is with @hanhantw's browser or ISP, or similar. I'm going to close this. -- nosy: +eric.smith resolution: -> works for me stage: ->

[issue43683] Handle generator (and coroutine) state in the bytecode.

2021-10-27 Thread Damien George
Damien George added the comment: Thanks for confirming the bug. Sending non-None to a not-started generator could arguably be case (2), because that's exactly the semantics introduced by the commit that broke the test case :) Honestly I don't have a strong opinion on which way this goes.

[issue45256] Remove the usage of the C stack in Python to Python calls

2021-10-27 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +27501 pull_request: https://github.com/python/cpython/pull/29238 ___ Python tracker ___

[issue45627] OpenSSL 1.1.1 still implements some disable-flags for Blake2, Scrypt

2021-10-27 Thread Alexandru Ardelean
Change by Alexandru Ardelean : -- keywords: +patch pull_requests: +27500 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29237 ___ Python tracker

[issue44828] tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12 Monterey, breaking IDLE saves

2021-10-27 Thread Marc Culler
Marc Culler added the comment: Thanks, Ned, for finding my mistake which you generously called a typo. I have fixed the inequality in the Tk fossil repository. Incidentally, there is now a core-8-6-12-rc branch of Tk, also containing the fix. So it should not be too long before 8.6.12 is

[issue45627] OpenSSL 1.1.1 still implements some disable-flags for Blake2, Scrypt

2021-10-27 Thread Alexandru Ardelean
Alexandru Ardelean added the comment: Note: PKCS5_v2_scrypt_keyivgen() will not cause an error, but EVP_PBE_scrypt() will -- ___ Python tracker ___

[issue45627] OpenSSL 1.1.1 still implements some disable-flags for Blake2, Scrypt

2021-10-27 Thread Alexandru Ardelean
New submission from Alexandru Ardelean : This follows update https://bugs.python.org/issue43669 Which is present in Python 3.10 Some OpenSSL 1.1.1 can be built without Blake2 support or Scrypt. SHA3 and SHAKE do not seem to have any enable/disable flags. This results in compiler errors

[issue23556] [doc] Scope for raise without argument is different in Python 2 and 3

2021-10-27 Thread Kinshuk Dua
Change by Kinshuk Dua : -- keywords: +patch nosy: +kinshukdua nosy_count: 7.0 -> 8.0 pull_requests: +27499 pull_request: https://github.com/python/cpython/pull/29236 ___ Python tracker

[issue45548] Update Modules/Setup

2021-10-27 Thread Anthony Sottile
Anthony Sottile added the comment: I'm seeing some weird breakage in the deadsnakes builds, presumably due to this change: ``` ... 2021-10-27T08:55:21.9485959Z x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fdebug-prefix-map=/tmp/code=.

[issue45626] Email part with content type message is multipart.

2021-10-27 Thread John Howroyd
New submission from John Howroyd : >From the library documentation, it is an intended feature that an email part >with content_maintype == "message" is treated as multipart. This does not >seem to be compliant to MIME specification nor expected semantics. The >attached email (from the dnc

[issue34046] subparsers -> add_parser doesn't support hyphen char '-'

2021-10-27 Thread Артём Иконников
Артём Иконников added the comment: I've also struggled with this. The subparser documentation describes them as a tool to "split up functionality into a number of sub-commands". >From the reader's point of view it's not obvious that such "sub-commands" >cannot start with -- -- nosy:

[issue45256] Remove the usage of the C stack in Python to Python calls

2021-10-27 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +27498 pull_request: https://github.com/python/cpython/pull/29235 ___ Python tracker ___

[issue40866] Use PyModule_AddType() in posix module initialisation

2021-10-27 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> out of date ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42545] Check that all symbols in the limited ABI are exported

2021-10-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: We are missing documentation in the devguide. We could close this and open an issue in the devguide :) -- ___ Python tracker ___

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-10-27 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27497 pull_request: https://github.com/python/cpython/pull/29234 ___ Python tracker ___

[issue45625] Add support for top-level await

2021-10-27 Thread Fred
New submission from Fred : I want top-level await without any boilerplate code or setup. Just write a "await" statement on line 1 without any indention. #!/usr/bin/env python3 import asyncio await asyncio.sleep(1) I don't want to have to call asyncio.run(main()), and I don't

[issue40990] Make http.server support SSL

2021-10-27 Thread Fred
Fred added the comment: How is this going? Any progress? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45623] static build is broken

2021-10-27 Thread egorpugin
Change by egorpugin : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-27 Thread Carl Friedrich Bolz-Tereick
Change by Carl Friedrich Bolz-Tereick : -- keywords: +patch pull_requests: +27496 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29233 ___ Python tracker

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-10-27 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 8f24b7dbcbd83311dad510863d8cb41f0e91b464 by Erlend Egeberg Aasland in branch 'main': bpo-42064: Convert `sqlite3` global state to module state (GH-29073) https://github.com/python/cpython/commit/8f24b7dbcbd83311dad510863d8cb41f0e91b464

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-27 Thread Carl Friedrich Bolz-Tereick
Carl Friedrich Bolz-Tereick added the comment: here's the traceback running on pypy3.9-alpha: == FAIL: test_simple_cases (test.test_graphlib.TestTopologicalSort)

[issue45624] test_graphlib.py depends on iteration order of sets

2021-10-27 Thread Carl Friedrich Bolz-Tereick
New submission from Carl Friedrich Bolz-Tereick : test_graphlib fails on PyPy because it depends on the iteration order of sets. Will open a PR soon. -- messages: 405084 nosy: Carl.Friedrich.Bolz priority: normal severity: normal status: open title: test_graphlib.py depends on

  1   2   >