[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2020-10-23 Thread Georges
Georges added the comment: @barry Thank you for your input on the PR. >From what I understood this PR was nearly ready and only missing a small >addition to the documentation which I added. So it took me a bit to go through >it all :-). I actually don't see how *parsedate_to_datetime*

[issue34394] Descriptors HowTo doesn't mention __set_name__

2020-10-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: See https://github.com/python/cpython/pull/22906 -- ___ Python tracker ___ ___

[issue9405] Test fix for past crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2020-10-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue42126] Optimize BUILD_CONST_KEY_MAP for distinct keys

2020-10-23 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +21842 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22911 ___ Python tracker ___

[issue40592] `Shutil.which` incosistent with windows's `where`

2020-10-23 Thread Steve Dower
Steve Dower added the comment: New changeset da6f098188c9825f10ae60db8987056b3a54c2e8 by Christopher Marchfelder in branch 'master': bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT (GH-20088)

[issue40592] `Shutil.which` incosistent with windows's `where`

2020-10-23 Thread Steve Dower
Steve Dower added the comment: Thanks for the contribution! Looking forward to your next one :) -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.8, Python 3.9

[issue40592] `Shutil.which` incosistent with windows's `where`

2020-10-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +21843 pull_request: https://github.com/python/cpython/pull/22912 ___ Python tracker

[issue40592] `Shutil.which` incosistent with windows's `where`

2020-10-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +21844 pull_request: https://github.com/python/cpython/pull/22913 ___ Python tracker ___

[issue42126] Optimize BUILD_CONST_KEY_MAP for distinct keys

2020-10-23 Thread Inada Naoki
New submission from Inada Naoki : BUILD_CONST_KEY_MAP can be optimized based on #41835 optimization. 1. compiler checks keys tuple is distinct. 2. Add distinct flag to BUILD_CONST_KEY_MAP oparg To be considered: * Should we use new opcode, instead of flag in oparg? * Is this technique safe?

[issue31359] `configure` script incorrectly detects symbols as available on Mac w/ Xcode 8+

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Added 41100 as a dependency because the active PR for that issue will fix this issue as well. -- dependencies: +Build failure on macOS 11 (beta) ___ Python tracker

[issue8084] pep-0370 on osx duplicates existing functionality

2020-10-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38443] unavailable --with-universal-archs= macOS confgure options fail cryptically

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've added a PR with a variation of my earlier patch. This version will bail out when specifying "--enable-universalsdk" with a version of Xcode that does not support i386 (the previous patch did not). -- ___

[issue42035] [C API] PyType_GetSlot cannot get tp_name

2020-10-23 Thread Petr Viktorin
Petr Viktorin added the comment: Yes, for some cases the ship has sailed. I don't think we can add unions now -- the stable ABI needs to be stable. -- ___ Python tracker ___

[issue33090] race condition between send and recv in _ssl with non-zero timeout

2020-10-23 Thread Christian Heimes
Christian Heimes added the comment: I'm turning this into a docs bug. -- assignee: christian.heimes -> docs@python components: +Documentation -macOS nosy: +docs@python stage: -> needs patch type: crash -> enhancement versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python

[issue33090] race condition between send and recv in _ssl with non-zero timeout

2020-10-23 Thread Christian Heimes
Christian Heimes added the comment: The demo script uses the same connection socket in two threads. Neither OpenSSL nor Python guarantee that a single SSLSocket object can be used by multiple threads. https://www.openssl.org/blog/blog/2017/02/21/threads/ contains more information about

[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: It looks like the test can be reenabled. System: macOS 10.15, with Python 3.9 from Python.org ``python3.9 -m tkinter.test.test_tkinter.test_widgets`` runs without problems (571 tests, no crash), even if I remove the skip for test_image. Likewise for

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: python.org 3.10 mac is still using 8.6.8. It is on IDLE/Python => About -- ___ Python tracker ___

[issue26515] Update extending/embedding docs to new way to build modules in C

2020-10-23 Thread Petr Viktorin
Petr Viktorin added the comment: There is now PEP 630. Still not done enough to move it out of draft status, but usable for converting simple modules. -- ___ Python tracker

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Raymond, - What version of macOS are you on? - How did you install python 3.10? Did you use the python.org installer? - What version of Tk is used? (This can be found in the output of `python3.9 -m test.pythoninfo`) --

[issue39825] EXT_SUFFIX inconsistent between sysconfig and distutils.sysconfig (Windows)

2020-10-23 Thread Lumír Balhar
Change by Lumír Balhar : -- nosy: +frenzy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38443] unavailable --with-universal-archs= macOS confgure options fail cryptically

2020-10-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +21841 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22910 ___ Python tracker

[issue42126] Optimize BUILD_CONST_KEY_MAP for distinct keys

2020-10-23 Thread Mark Shannon
Mark Shannon added the comment: Is this worthwhile? Statically, BUILD_CONST_KEY_MAP represents 0.14% of all bytecode instructions in the standard library, but only 0.03% of the bytecode instructions in functions. Which suggests that dynamically only 1 in 3000 instructions executed is

[issue33090] race condition between send and recv in _ssl with non-zero timeout

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The script still fails on macOS 10.15 with python 3.9 (installed from python.org). Interestingly enough: - First run of the script worked without any problems - Subsequent runs failed with various errors: $ python3.9 t.py Got connection from ('127.0.0.1',

[issue37586] macOS: posix_spawn(..., setsid=True)

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm including a fix for this in the active PR on bpo-41100 -- dependencies: +Build failure on macOS 11 (beta) ___ Python tracker ___

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I know, but what I don't know is if Raymond uses the python.org installer. The initial message seems to indicate he's using a local build ("python.exe"). That will by default pick up the system version of Tk, which is ancient and is known to have

[issue24908] sysconfig.py and distutils.sysconfig.py disagree on directory spelling on Windows

2020-10-23 Thread Lumír Balhar
Change by Lumír Balhar : -- nosy: +frenzy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42126] Optimize BUILD_CONST_KEY_MAP for distinct keys

2020-10-23 Thread Inada Naoki
Inada Naoki added the comment: $ ./python -m pyperf timeit --compare-to ~/pyenv/versions/3.10-dev/bin/python '{}' /home/inada-n/pyenv/versions/3.10-dev/bin/python: . 23.5 ns +- 0.2 ns /home/inada-n/work/python/cpython/python: . 22.4 ns +- 0.1 ns Mean

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: Honestly I don't see it in the 3.9 branch either. It seems the whole section mentioned in the closed PR doesn't exist anywhere. Maybe it was reverted for some reason. Let's close this issue. -- resolution: -> out of date stage: patch review ->

[issue25509] PyImport_ImportModule inaccurately described

2020-10-23 Thread Brett Cannon
Brett Cannon added the comment: The docs for PyImport_ImportModule() is https://docs.python.org/3/c-api/import.html?highlight=pyimport_importmodule#c.PyImport_ImportModule and https://github.com/python/cpython/blob/master/Doc/c-api/import.rst. -- keywords: +easy (C) -easy

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Weiliang Li
Weiliang Li added the comment: And the "What’s New In Python 3.9" page (updated today): https://docs.python.org/3/whatsnew/3.9.html#cpython-bytecode-changes -- ___ Python tracker

[issue42117] asyncio calls from sync/async, better docs or api support

2020-10-23 Thread Blaze Spinnaker
Blaze Spinnaker added the comment: Ah, thanks. Looked around for something like that but couldn't find it. Will close this. -- ___ Python tracker ___

[issue42117] asyncio calls from sync/async, better docs or api support

2020-10-23 Thread Blaze Spinnaker
Change by Blaze Spinnaker : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: All this needs is a PR filed against latest master that updates Doc/whatsnew/3.9.rst and labeled with needs-backport-3.9. -- nosy: +gvanrossum ___ Python tracker

[issue33051] IDLE: Create new tab for editor options in configdialog

2020-10-23 Thread Mark Roseman
Change by Mark Roseman : -- nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, I guess my repo is out of date. Sorry. So it is in master? Let's fix it there then. -- resolution: out of date -> stage: resolved -> needs patch status: closed -> open versions: +Python 3.10 ___ Python

[issue42130] AsyncIO's wait_for can hide cancellation in a rare race condition

2020-10-23 Thread Taras Voinarovskyi
New submission from Taras Voinarovskyi : Hi, during migration to Python 3.8.6 we encountered a behavior change from previous versions: wait_for ignored the request to cancellation and returned instead. After investigation, it seems to be related to the update in bpo-32751 and is only

[issue42129] Support resources in namespace packages

2020-10-23 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +FFY00 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41835] Speed up dict vectorcall creation using keywords

2020-10-23 Thread Inada Naoki
Inada Naoki added the comment: @Marco Sulla Please take a look at GH-22909. It is simplified version of your PR. And I wrote another optimization based on it #42126. -- ___ Python tracker

[issue42126] Optimize BUILD_CONST_KEY_MAP for distinct keys

2020-10-23 Thread Mark Shannon
Mark Shannon added the comment: It sounds like the root cause is that annotations are repeatedly being computed. We should address the underlying issue, IMO. -- ___ Python tracker

[issue42127] functools.cached_property possibly disables key-sharing instance dictionaries

2020-10-23 Thread Yonatan Goldschmidt
New submission from Yonatan Goldschmidt : Key-sharing dictionaries, defined by https://www.python.org/dev/peps/pep-0412/, require that any resizing of the shared dictionary keys will happen before a second instance of the class is created. cached_property inserts its resolved result into the

[issue42126] Optimize BUILD_CONST_KEY_MAP for distinct keys

2020-10-23 Thread Inada Naoki
Inada Naoki added the comment: It is difficult to estimate. Real world applications has different code-style than stdlib. And pyperformance didn't include whole real world applications too. Some application may use dict display in heavy loop. But it is difficult to say how much exactly. One

[issue42128] Structural Pattern Matching (PEP 634)

2020-10-23 Thread Brandt Bucher
Brandt Bucher added the comment: Sorry, just resolving some changes with master. Are you parser people finished breaking my grammar yet? Sheesh. ;) -- ___ Python tracker ___

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Weiliang Li
Weiliang Li added the comment: Well, it looks like there is no CONTAINS_OP part under the subtitle "CPython bytecode changes" in master's Doc/whatsnew/3.9.rst Maybe it's some discrepancy? -- ___ Python tracker

[issue42128] Structural Pattern Matching (PEP 634)

2020-10-23 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +21846 pull_request: https://github.com/python/cpython/pull/22917 ___ Python tracker ___

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Weiliang Li
Weiliang Li added the comment: It's here https://github.com/python/cpython/blob/3.9/Doc/whatsnew/3.9.rst#cpython-bytecode-changes Just several pixels below -- ___ Python tracker

[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-23 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +21845 pull_request: https://github.com/python/cpython/pull/22915 ___ Python tracker ___

[issue41835] Speed up dict vectorcall creation using keywords

2020-10-23 Thread Mark Shannon
Mark Shannon added the comment: Could we get a pyperformance benchmark run on this please? -- nosy: +Mark.Shannon ___ Python tracker ___

[issue42128] Structural Pattern Matching (PEP 634)

2020-10-23 Thread Brandt Bucher
New submission from Brandt Bucher : PEP 634 has not yet been accepted, but we'd like to hit the ground running and get this into alphas as soon as it (hopefully) is. Several people have volunteered to review the implementation, since it's so huge. Other reviews are very welcome, if anybody

[issue41434] IDLE: Option to warn user on "Run Module" if file is not Python source

2020-10-23 Thread Mark Roseman
Mark Roseman added the comment: I like Terry's idea of providing a better error message than just "invalid syntax" when we run something that likely isn't a Python file. There doesn't seem to be any great danger in trying to run any file that would justify a warning beforehand. --

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Could you check "/tmp/py310/bin/python3 -m test.pythoninfo | grep -i tk". If that says your using Tk 8.5 you're almost certainly using the system version. You could also check _tkinter itself: otool -vL

[issue40060] socket.TCP_NOTSENT_LOWAT is missing in official macOS builds

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: The active PR on bpo-41100 will make it possible to build the installer on the latest version of macOS (which will be needed to be able to provide support for "Apple Silicon"). IMHO it is not necessary to remove unavailable constants, on some platforms (in

[issue35943] PyImport_GetModule() can return partially-initialized module

2020-10-23 Thread Atsuo Ishimoto
Atsuo Ishimoto added the comment: After this fix, some functions like multiprocessing.Pool cannot be used in threaded code(https://bugs.python.org/issue41567). importerror-sample.tgz contains simplified code to reproduce the same error without multiprocessing module. Is this an expected

[issue34976] IDLE: Replace the search dialog with a search bar

2020-10-23 Thread Mark Roseman
Mark Roseman added the comment: Tal, I gave it a try, I think this is great. For "simple" searches (i.e. what people do most of the time), a search bar is a lot less klunky than bringing up a dialog. Patch seems to work well, would just need a cosmetic update (ttk widgets etc.). Things

[issue13139] multiprocessing.map skips finally blocks

2020-10-23 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> needs patch versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm only Catalina 10.15.7 and am using a local build constructed with: ./configure --with-openssl=$(brew --prefix openssl) && make Perhaps that is using the system Tk and we don't need to worry about this. --

[issue42129] Support resources in namespace packages

2020-10-23 Thread Jason R. Coombs
New submission from Jason R. Coombs : In [importlib_resources#68](https://github.com/python/importlib_resources/issues/68), the project identified a deficiency with respect to pkg_resources for resources in namespace packages. The project has since merged support for these packages, slated

[issue16094] Tuple extraction in a lambda isn't supported by 2to3

2020-10-23 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue3760] PEP 3121 --- PyType_Copy is missing

2020-10-23 Thread Petr Viktorin
Petr Viktorin added the comment: The need is covered by PEP 384's PyType_FromSpec (and later additions, the latest being PyType_FromModuleAndSpec). Thanks for closing! -- nosy: +petr.viktorin ___ Python tracker

[issue21032] Socket leak if HTTPConnection.getresponse() fails

2020-10-23 Thread Felipe Rodrigues
Change by Felipe Rodrigues : -- nosy: +fbidu nosy_count: 3.0 -> 4.0 pull_requests: +21848 pull_request: https://github.com/python/cpython/pull/22737 ___ Python tracker ___

[issue13464] HTTPResponse is missing an implementation of readinto

2020-10-23 Thread Felipe Rodrigues
Change by Felipe Rodrigues : -- nosy: +fbidu nosy_count: 5.0 -> 6.0 pull_requests: +21847 pull_request: https://github.com/python/cpython/pull/22737 ___ Python tracker ___

[issue34394] Descriptors HowTo doesn't mention __set_name__

2020-10-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 -Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: There really shouldn't be any differences between that doc in the 3.9 and master branch (with rare exceptions). Can you post a diff here between the two so we can sort it out? Also can you find the commit where it was added to the 3.9 branch? --

[issue26131] Raise ImportWarning when loader.load_module() is used

2020-10-23 Thread Brett Cannon
Change by Brett Cannon : -- stage: test needed -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41835] Speed up dict vectorcall creation using keywords

2020-10-23 Thread Marco Sulla
Marco Sulla added the comment: @methane: well, to be honest, I don't see much difference between the two pulls. The major difference is that you merged insertdict_init in dict_merge_init. But I kept insertdict_init separate on purpose, because this function can be used in other future

[issue38870] Expose ast.unparse in the ast module

2020-10-23 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Well, I'm happy to say that 3.9.0 is finally released with the ast.unparse interface. After tens of PRs, I think it is time for us to move on. For all future bugs, please create a new issue and nosy me. Thanks everyone who has participated this journey!

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2020-10-23 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Aside: I noticed that on _parseaddr.py:68, there's a bare `return`. That should really be `return None` (EIBTI). Can you fix that in your PR? I think it's confusing to raise both TypeError and ValueError. I suggest we check the `None` return from

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've been using the scriptlet below to try to attempt to reproduce the problem. I'm not sure if this matches the way the program of the OP is set up. The scriptlet below works for me without problems (macOS 10.15, Python 3.4 - 3.9). This either means the

[issue42070] Revisit IsoCalendarDate being private from pickle perspective

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the current situation is not a bug, a mismatch between behavior and doc, a change would be an enhancement limited to the next release. -- nosy: +terry.reedy title: I think the rationale to keep IsoCalendarDate private from the pickle perspective

[issue41101] Support "arm64" in Mac/Tools/pythonw

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: This change is part of the active PR in #41100. Therefore closing this issue. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed superseder: -> Build failure on macOS 11 (beta) type: -> enhancement

[issue40841] Provide mimetypes.sniff API as stdlib

2020-10-23 Thread Tal Einat
Tal Einat added the comment: > Dong-hee, I recommend that you turn this into a 3rd party package on PyPI > yourself. +1 -- ___ Python tracker ___

[issue41100] Build failure on macOS 11 (beta)

2020-10-23 Thread Ronald Oussoren
Change by Ronald Oussoren : -- pull_requests: +21849 pull_request: https://github.com/python/cpython/pull/21114 ___ Python tracker ___

[issue41835] Speed up dict vectorcall creation using keywords

2020-10-23 Thread Marco Sulla
Marco Sulla added the comment: @Mark.Shannon I tried to run pyperformance, but wheel does not work for Python 3.10. I get the error: AssertionError: would build wheel with unsupported tag ('cp310', 'cp310', 'linux_x86_64') -- ___ Python tracker

[issue38870] Expose ast.unparse in the ast module

2020-10-23 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue23797] Mac OS X locale setup in thread happens sometime after run() is called

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue as "works for me". Please re-open if there is more information on how to reproduce the problem. -- resolution: -> works for me stage: -> resolved status: open -> closed type: -> behavior

[issue42075] Verbose/confusing default format on warnings

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: An application *can* change warnings. See lib/idlelib/run for an example. Library code should not make changes as they will be global or overwritten. A project that is both can restrict the changes to when run as main module. -- nosy:

[issue34976] IDLE: Replace the search dialog with a search bar

2020-10-23 Thread Tal Einat
Tal Einat added the comment: > Why would having all 'a's on a page light up when I type 'a' be a plus? The auto-highlighting could be disabled for 1-2 character search queries, or delayed for a bit to allow typing to continue. I find auto-highlighting very useful when I'm looking for "where

[issue34976] IDLE: Replace the search dialog with a search bar

2020-10-23 Thread Tal Einat
Tal Einat added the comment: Thanks Mark, your feedback is greatly appreciated! -- ___ Python tracker ___ ___ Python-bugs-list

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm going to mark this as closed, not a bug. If you're not seeing the same result, it is almost certainly an issue with my local build. -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue40841] Provide mimetypes.sniff API as stdlib

2020-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: Dong-hee, I recommend that you turn this into a 3rd party package on PyPI yourself. That way your effort and code will live on! -- ___ Python tracker

[issue42058] Process not running with args

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: bpo is the issue tracker for patching the python cpython repository. We support running python from system command line terminals and icons that we install, as specified in the CPython docs. Ask questions about running python otherwise on other forums.

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Weiliang Li
Weiliang Li added the comment: The whole CONTAINS_OP stuff is gone in master, but it's still there in 3.9 branch. I don't know why. Any plan to resolve the discrepancy? -- ___ Python tracker

[issue42129] Support resources in namespace packages

2020-10-23 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue614557] LookupError etc. need API to get the key

2020-10-23 Thread Irit Katriel
Change by Irit Katriel : -- versions: -Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40841] Provide mimetypes.sniff API as stdlib

2020-10-23 Thread Dong-hee Na
Dong-hee Na added the comment: I close this issue as rejected! During the sprint, I could hear a lot of opinions from core devs including Guido, Tal, and Christian. The overall conclusion for me is not to add this time. if the mimetypes module is extracted from stdlib to pypi package, we

[issue42074] setup error on windows

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for attaching the log instead of including it inline. But when you reply by email, please delete the message you are responding too, as it duplicates the original already on the web page. The first error in the log is a failure to make a restore

[issue42096] zipfile.is_zipfile incorrectly identifying a gzipped file as a zip archive

2020-10-23 Thread Alex Roussel
Alex Roussel added the comment: The impression I got from reading https://bugs.python.org/issue28494 was that this was fixed in python 3.7 ? Or perhaps as you say it's just a matter of stumbling across the rare files that generate false positives. --

[issue23534] `test_longdouble` fails on Mac when using system libffi (version 3.1)

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Closing as out of date: - python 2 issue - I don't get this error when using the system libffi (bpo-41100) -- resolution: -> out of date stage: -> resolved ___ Python tracker

[issue28491] Remove bundled libffi for OSX

2020-10-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: added 41100 as a dependency because that switches to the system libffi (as a side effect of larger changes) -- dependencies: +Build failure on macOS 11 (beta) ___ Python tracker

[issue41972] bytes.find consistently hangs in a particular scenario

2020-10-23 Thread Dennis Sweeney
Dennis Sweeney added the comment: This is the approach in the PR: # JUMP_BOTH while ...: if haystack[j + cut] != needle[cut]: # Sunday skip j += table[haystack[j + len(needle)]] continue j += rest_of_the_two_way_algorithm() If I

[issue23534] `test_longdouble` fails on Mac when using system libffi (version 3.1)

2020-10-23 Thread Irit Katriel
Change by Irit Katriel : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35823] Use vfork() in subprocess on Linux

2020-10-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: > * To avoid repeating long parameter lists in several functions, we can move > them to a struct. The downside is that we'd need to convert child_exec() to > use that struct all over the place. I don't have a strong preference here. Agreed that the long

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #42139 -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42139] Synchronize What's New in 3.9 master and 3.9

2020-10-23 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 805ef73ad0ac4a77f3764dd17dfc959d562ce627 by Terry Jan Reedy in branch 'master': bpo-42139: Update What's New 3.9 for master (#22936) https://github.com/python/cpython/commit/805ef73ad0ac4a77f3764dd17dfc959d562ce627 --

[issue38523] ignore_dangling_symlinks in shutil.copytree does not apply recursively

2020-10-23 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 1.0 -> 2.0 pull_requests: +21857 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22937 ___ Python tracker

[issue35823] Use vfork() in subprocess on Linux

2020-10-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 976da903a746a5455998e9ca45fbc4d3ad3479d8 by Alexey Izbyshev in branch 'master': bpo-35823: subprocess: Use vfork() instead of fork() on Linux when safe (GH-11671)

[issue38953] Untokenize and retokenize does not round-trip

2020-10-23 Thread Zac Hatfield-Dodds
Zac Hatfield-Dodds added the comment: Thanks for your comments Terry - I'm delighted that it's useful. It's been a while since I wrote that, and entirely possible that it's just a typo. Hypothesis does indeed support unittest, including for multiple-failure reporting and so on. You can

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2020-10-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +21854 pull_request: https://github.com/python/cpython/pull/22934 ___ Python tracker ___

[issue42123] Run parser twice; enable invalid_* rules only on the second run

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since I do a lot of interactive compiling, I appreciate faster feedback. How much will the slowdown be on errors? -- nosy: +terry.reedy title: Run the two times, only enable invalid_* rules on the second run -> Run parser twice; enable invalid_*

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2020-10-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +21855 pull_request: https://github.com/python/cpython/pull/22935 ___ Python tracker

[issue42139] Synchronize What's New in 3.9 master and 3.9

2020-10-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Continuation of #41808, #41950, 9cf6752276e6fcfd0c23fdb064ad27f448aaaf75 (Langa, no diff). Attached is a current diff (about 1/2 hour ago). It appears to be all or almost all Langa's release edits in 9cf6752276e6fcfd0c23fdb064ad27f448aaaf75. The

  1   2   >