[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-02 Thread Christian Heimes
Christian Heimes added the comment: Thanks for the quick workaround! The problem could be caused by a downstream patch in Ubuntu's OpenSSL version. Vanilla OpenSSL doesn't fail like that. -- ___ Python tracker

[issue43384] Include regen-stdlib-module-names in regen-all

2021-03-02 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +23494 pull_request: https://github.com/python/cpython/pull/24713 ___ Python tracker ___ ___

[issue43384] Include regen-stdlib-module-names in regen-all

2021-03-02 Thread Neil Schemenauer
New submission from Neil Schemenauer : While I was fixing the regen-frozen issue, I noticed it seems unnecessary to have regen-stdlib-module-names separate from regen-all. Maybe Victor knows why it needs to be separate. If it doesn't need to be separate, the CI scripts can be slightly simpl

[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-02 Thread Neil Schemenauer
Neil Schemenauer added the comment: I think it may be related to bpo-41561. There is a bug in the Ubuntu tracker as well: https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1899878 I agree with the temporary fix to use "ubuntu-18.04" for CI testing. -- nosy: +nascheme

[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-02 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +23493 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24715 ___ Python tracker ___ __

[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-02 Thread Brandt Bucher
Brandt Bucher added the comment: I forgot to mention that I confirmed that the last passing test run used 18.04 (click "set up job" -> "Operating System" to see): https://github.com/python/cpython/runs/2013210763?check_suite_focus=true The next one, which started the current chain of failure

[issue40059] Provide a toml module in the standard library

2021-03-02 Thread Eli Schwartz
Change by Eli Schwartz : -- nosy: +eschwartz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-02 Thread Brandt Bucher
Brandt Bucher added the comment: It seems that GitHub recently changed their "ubuntu-latest" image from Ubuntu 18.04 to Ubuntu 20.04. A good temporary workaround would probably be to change this line: https://github.com/python/cpython/blob/727a68b6e592eada5a65935de5c8428ef50e8741/.github/wor

[issue43383] imprecise handling of weakref callbacks

2021-03-02 Thread Konrad Schwarz
New submission from Konrad Schwarz : I am seeing the following non-deterministic behavior: My code processes DeviceTree, a tree-based specification format for hardware descriptions, that includes cross-references ("phandles"). For all intents and purposes, this format is similar to XML; phan

[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-02 Thread Gregory P. Smith
New submission from Gregory P. Smith : https://github.com/python/cpython/pull/20442/checks?check_run_id=2018900756 ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1122) [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certifica

[issue43371] Mock.assert_has_calls works strange

2021-03-02 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue35935] threading.Event().wait() not interruptable with Ctrl-C on Windows

2021-03-02 Thread Eryk Sun
Eryk Sun added the comment: > But on this particular issue, making the unconditional wait be > interruptable by signals shouldn't be impossible. PyThread_acquire_lock_timed() in Python/thread_nt.h currently ignores intr_flag. The current implementation calls EnterNonRecursiveMutex(), which i

[issue43378] Pattern Matching section in tutorial refers to | as or

2021-03-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Another other thought, PEP 634 defines "|" as being an "or-pattern", so it part of the spec: https://www.python.org/dev/peps/pep-0634/#or-patterns -- ___ Python tracker _

[issue43364] Add shortcut to enable UTF-8 mode in start menu.

2021-03-02 Thread Inada Naoki
Inada Naoki added the comment: > You can run "[WindowsFolder]System32\setx.exe" directly. It's not a shell > command. Thank you. I will do. > For modifying an environment variable, please clone the entire path MSI and > use an Environment element to update it. Should be a little simpler tha

[issue43371] Mock.assert_has_calls works strange

2021-03-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue43075] ReDoS in urllib.request

2021-03-02 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue43075] ReDoS in urllib.request

2021-03-02 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +easy -easy (C), patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43363] memcpy writes to wrong destination

2021-03-02 Thread Josh Rosenberg
Josh Rosenberg added the comment: Agreed, stack is a PyObject**, so adding an integer (pto_nargs) to the pointer (stack) is implicitly by multiples of sizeof(PyObject*). This is how pointer arithmetic works in all versions of C I'm aware of. The code is correct. -- nosy: +josh.r reso

[issue43075] ReDoS in urllib.request

2021-03-02 Thread Éric Araujo
Change by Éric Araujo : -- title: ReDoS in request -> ReDoS in urllib.request ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue42246] Implement PEP 626 -- Precise line numbers for debugging

2021-03-02 Thread Neil Schemenauer
Change by Neil Schemenauer : -- pull_requests: +23492 pull_request: https://github.com/python/cpython/pull/24714 ___ Python tracker ___

[issue43372] ctypes: test_frozentable fails when make regen-frozen

2021-03-02 Thread Neil Schemenauer
Change by Neil Schemenauer : -- pull_requests: +23491 pull_request: https://github.com/python/cpython/pull/24714 ___ Python tracker ___

[issue43378] Pattern Matching section in tutorial refers to | as or

2021-03-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: This seems fine to me. In pattern matching, it has both the meaning and pronunciation of "or": case "this" | "that": ... It has similar mean in the re module: r'abc|def' And it is also used the same way in typing: s: list | tuple We've al

[issue43380] Assigning function parameter to class attribute by the same name

2021-03-02 Thread jennydaman
jennydaman added the comment: Yes sorry that was a typo -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue43380] Assigning function parameter to class attribute by the same name

2021-03-02 Thread jennydaman
jennydaman added the comment: # Example Consider these three examples, which are theoretically identical ``` a = 4 class A: a = a print(A.a) def createB(b): class B: z = b print(B.z) createB(5) def createD(d): class D: d = d print(D.d) createD

[issue43380] Assigning function parameter to class attribute by the same name

2021-03-02 Thread Eric V. Smith
Eric V. Smith added the comment: Was def createD(D): supposed to be: def createD(d): ? Not that that changes your problem. I just want to understand the exact issue. -- nosy: +eric.smith ___ Python tracker _

[issue43381] add small test for frozen module line number table

2021-03-02 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +23490 pull_request: https://github.com/python/cpython/pull/24712 ___ Python tracker ___ ___

[issue43381] add small test for frozen module line number table

2021-03-02 Thread Neil Schemenauer
New submission from Neil Schemenauer : In bug #43372, we didn't notice that the code for the __hello__ module was not re-generated. Things seems to be okay but the line number table was corrupted. It seems a good idea to add a small test to ensure that doesn't happen again. I marked the tes

[issue43075] ReDoS in request

2021-03-02 Thread Senthil Kumaran
Change by Senthil Kumaran : -- keywords: +easy (C) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue43288] test_importlib failure due to missing skip() method

2021-03-02 Thread Senthil Kumaran
Change by Senthil Kumaran : -- assignee: -> nascheme resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker ___

[issue43049] Use io.IncrementalNewlineDecoder for doctest newline conversion

2021-03-02 Thread Peter Donis
Peter Donis added the comment: Thanks for merging! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue43380] Assigning function parameter to class attribute by the same name

2021-03-02 Thread jennydaman
New submission from jennydaman : # Example Consider these three examples, which are theoretically identical ``` a = 4 class A: a = a print(A.a) def createB(b): class B: z = b print(B.z) createB(5) def createD(D): class D: d = d print(D.d) creat

[issue42994] Missing MIME types for opus, AAC, 3gpp and 3gpp2

2021-03-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the this contribution, Nathan. -- assignee: -> orsenthil resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42994] Missing MIME types for opus, AAC, 3gpp and 3gpp2

2021-03-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 3a87e562ea21a5083e9f168e02e8ec3e6611e167 by Nathan Beals in branch 'master': bpo-42994: Add MIME types for opus, AAC, 3gpp and 3gpp2 (#24287) https://github.com/python/cpython/commit/3a87e562ea21a5083e9f168e02e8ec3e6611e167 -- nosy: +

[issue43355] __future__.annotations breaks inspect.signature()

2021-03-02 Thread Eric V. Smith
Eric V. Smith added the comment: Can you show the values of “expected” and “actual” for both the failures and successes? -- nosy: +eric.smith ___ Python tracker ___ __

[issue43284] Wrong windows build post version 2004

2021-03-02 Thread Steve Dower
Steve Dower added the comment: The reason to avoid the GetVersion API is that certain automatic compatibility modes will lie about what the version number is, and people complained that it was wrong (kind of like this complaint ;) ). Reading the version from a system DLL bypasses that risk.

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-02 Thread David Bolen
David Bolen added the comment: Yes, that was the idea (revert the PyDEBUG condition only); it sounds like everyone is on the same page. I've been doing buildbot duties only for a while (no code contributions since long before the current process), so there may be a short delay while I figure

[issue43372] ctypes: test_frozentable fails when make regen-frozen

2021-03-02 Thread Miro Hrončok
Miro Hrončok added the comment: When I run `PYTHON_FOR_REGEN=python3.10 make regen-frozen` with Python 3.10.0a5, I get the same diff and the same problem. When I run `PYTHON_FOR_REGEN=python3.9 make regen-frozen` with Python 3.9.2, I get no diff and no problem (similarly with Python 3.8.8).

[issue42994] Missing MIME types for opus, AAC, 3gpp and 3gpp2

2021-03-02 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +barry, maxking, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue43367] submodule of c-extension module is quirky

2021-03-02 Thread Sebastian Koslowski
Sebastian Koslowski added the comment: >>> import parent.child first imports "parent" (successfully) but then fails, because the import code has no knowledge of were to find ".child". This is because a) the module "parent" is not marked as a package (hence the error message) b) even if it w

[issue43364] Add shortcut to enable UTF-8 mode in start menu.

2021-03-02 Thread Steve Dower
Steve Dower added the comment: For modifying an environment variable, please clone the entire path MSI and use an Environment element to update it. Should be a little simpler than that one, because it's a constant. I'm always very hesitant to modify system-wide (or user-wide) settings like

[issue43372] ctypes: test_frozentable fails when make regen-frozen

2021-03-02 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +nascheme ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue43284] Wrong windows build post version 2004

2021-03-02 Thread OrbitalHorizons
OrbitalHorizons added the comment: Node Js version of os wasnt affected. If this is having an issue then they used some bootleg method to fetch the build number in the first place. -- ___ Python tracker ___

[issue43372] ctypes: test_frozentable fails when make regen-frozen

2021-03-02 Thread Miro Hrončok
New submission from Miro Hrončok : The following test failure happens on Python 3.10.0a6+ when we make regen-frozen with the same Python version we test: == FAIL: test_frozentable (ctypes.test.test_values.PythonValuesTestCase)

[issue43284] Wrong windows build post version 2004

2021-03-02 Thread bugale bugale
bugale bugale added the comment: Is there a good reason to not use GetVersionEx? -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue43284] Wrong windows build post version 2004

2021-03-02 Thread Steve Dower
Steve Dower added the comment: So somehow Windows made a rebuild *without* having to touch kernel32.dll, which is fairly impressive. That version number comes from kernel32.dll, because there's no good way to get the build number via an API and also avoid compatibility settings lying about

[issue39448] Add regen-frozen makefile target

2021-03-02 Thread Miro Hrončok
Miro Hrončok added the comment: I think something is broken with this, full report in: https://bugs.python.org/issue43372 -- nosy: +hroncok ___ Python tracker ___

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-02 Thread Steve Dower
Steve Dower added the comment: Hmm, yeah, it seems like the debug-specific definition has gone. Wonder when that happened. In that case, go ahead and revert, but I'd suggest doing it by just removing the new Py_DEBUG condition rather than undoing all the changes. Should be nothing wrong wit

[issue43375] memory leak in threading ?

2021-03-02 Thread Mark Dickinson
Mark Dickinson added the comment: I'm not sure that this counts as a bug. Each non-daemon thread adds a lock to the threading._shutdown_locks set: https://github.com/python/cpython/blob/8b795ab5541d8a4e69be4137dfdc207714270b77/Lib/threading.py#L933-L935. That lock is removed when the thread

[issue43371] Mock.assert_has_calls works strange

2021-03-02 Thread Dmitriy Mironiyk
New submission from Dmitriy Mironiyk : I think that behavior of Mock.assert_has_calls is misleading. - When I call Mock.assert_has_calls with any_order=False it checks that expected calls are the same calls as performed on mock and raise an error if mock has some calls other than expected. -

[issue43284] Wrong windows build post version 2004

2021-03-02 Thread OrbitalHorizons
OrbitalHorizons added the comment: Running `platform.platform()` on Windows 10 21H1 results in the build number 19041: Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> imp

[issue40701] tempfile mixes str and bytes in an inconsistent manner

2021-03-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: I clarified the documentation in the PR and added a regression test. I chose to explicitly document that tempfile.tempdir may only be str or bytes and cannot be a path-like object. We already document that people really should not set it and instead pass d

[issue43344] RotatingFileHandler breaks file type associations

2021-03-02 Thread Kevin Hollingshead
Kevin Hollingshead added the comment: Thanks Vinay, I was able to do this with: def namer(name): return name.replace(".log", "") + ".log" Then when initializing the logger: handler.namer = namer My full initializer script: import os import logging from logging.handlers import TimedRota

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Ned Deily
Change by Ned Deily : -- type: security -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Adrian
New submission from Adrian : My company maintains several Python related projects, one of them being an application published for many years in the Mac App Store. During the submittion of the last update for the app, we were refused by Apple to publish the software with the following reason:

[issue43373] Tensorflow

2021-03-02 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. Somehow the trailing dot became part of the second URL. Trying again: https://github.com/tensorflow/tensorflow/issues/44485 -- ___ Python tracker _

[issue43373] Tensorflow

2021-03-02 Thread Mark Dickinson
Mark Dickinson added the comment: Wrong tracker. Try https://github.com/tensorflow/tensorflow. (See in particular https://github.com/tensorflow/tensorflow/issues/44485.) -- nosy: +mark.dickinson resolution: -> third party stage: -> resolved status: open -> closed __

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Adrian
Adrian added the comment: Hi Ned, Yes, I have submitted Python apps to Mac App Store since 2009, for 12 years. Each new push opens a new pandoras box with different questions asked than previously. There is no learning curve, is just walls with more walls behind each submission. The officia

[issue43373] Tensorflow

2021-03-02 Thread Gaming With Skytorrush
New submission from Gaming With Skytorrush : I was unable to install Tensorflow via pip in python 3.9 but its working fine with 3.8 -- components: Library (Lib) messages: 387944 nosy: clashwithchiefrpjyt priority: normal severity: normal status: open title: Tensorflow type: behavior ve

[issue43379] Pasting multiple lines in the REPL is broken since 3.9

2021-03-02 Thread Romain Vincent
New submission from Romain Vincent : DISCLAIMER: This is the first time I submit an issue here. In advance, my humble apologies if I missed something. Feel free to correct me :) -- I regularly test snippets of code by pasting them from a code editor to a shell REPL. It works perfectly well

[issue43375] memory leak in threading ?

2021-03-02 Thread Igor Mandrichenko
New submission from Igor Mandrichenko : There is an apparent memory leak in threading. It looks like memory grows when I create, run and destroy threads. The memory keeps adding at the rate of about 100 bytes per thread. I am attaching the code, which works for Linux. getMemory() function is

[issue20074] open() of read-write non-seekable streams broken

2021-03-02 Thread Ken Teh
Ken Teh added the comment: It works on macos but not on linux, ie, I have a usb-serial dongle connected to a serial device (a CAMAC controller), and I do an os.open() with 'wb+', followed by a io.fdopen(). I can talk to my device on macos BigSur 11.2, buffered, but not on Linux which throws

[issue43233] test_os: test_copy_file_range_offset fails on FreeBSD CURRENT

2021-03-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Buildbot is green! https://buildbot.python.org/all/#/builders/483/builds/841 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker _

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Ned Deily
Ned Deily added the comment: > What am I suppose to do? I appreciate that it's a nasty problem. Unfortunately, this is unknown territory for me: I have no experience with the Mac App Store and this is the first time I've run across a report like this. So the question again is: what has chan

[issue23740] http.client request and send method have some datatype issues

2021-03-02 Thread Alex Willmer
Alex Willmer added the comment: First stab at characterising http.client.HTTPConnnection.send(). https://github.com/moreati/bpo-23740 This uses a webserver that returns request details, in the body of the response. Raw (TCP level) content is included. It shares a similar purpose to HTTP TRA

[issue43378] Pattern Matching section in tutorial refers to | as or

2021-03-02 Thread Luciano Ramalho
New submission from Luciano Ramalho : Section 4.6. "match Statements" of the Python 3.10 tutorial says: """ You can combine several literals in a single pattern using | (“or”): """ For someone just learning Python, this may suggest that | is always "or", when in fact it is a bitwise operator (

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Adrian
Adrian added the comment: Hi Ned, I have a ticket opened with Apple. They refuse the software as it, they are in a position of absolute power, to reject and drop many years of work on a dime. What am I suppose to do? I can fix my own software, but then there are dependencies like Python itse

[issue43378] Pattern Matching section in tutorial refers to | as

2021-03-02 Thread Luciano Ramalho
Change by Luciano Ramalho : -- nosy: ramalho priority: normal severity: normal status: open title: Pattern Matching section in tutorial refers to | as ___ Python tracker ___ __

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-02 Thread Steve Dower
Steve Dower added the comment: We already have a separate recursion limit for debug builds on Windows, so it's probably best all around to reduce that (if it's only recursion tests that are failing). That way, we won't forget to fix up debugging later if/when we fix recursion. -- _

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Ned Deily
Ned Deily added the comment: BTW, if you haven't already, I would strongly suggest you ask on one of the Apple Developer Forums. My first guess is that the App Store validation process is trying to incorrectly apply rules to your local Python framework (from the Python.org installed framewor

[issue42782] shutil.move creates a new directory even on failure

2021-03-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +23489 pull_request: https://github.com/python/cpython/pull/24711 ___ Python tracker ___ __

[issue43060] Convert _decimal C API from pointer array to struct

2021-03-02 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: > But converting the decimal c api may breaks the compatibility, because some > macros like `PyDec_TypeCheck_INDEX` have been exposed in headers. True. Is there many external users of this API? I could not find any relevant examples using searchcode.

[issue43367] submodule of c-extension module is quirky

2021-03-02 Thread Yannick Jadoul
Change by Yannick Jadoul : -- nosy: +YannickJadoul ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue43366] Unclosed bracket bug in code.interact prevents identifying syntax errors

2021-03-02 Thread Andre Roberge
Andre Roberge added the comment: I understand the challenge of reproducing the behaviour of the Python interpreter for this case. If it cannot be reproduced, then the documentation for https://docs.python.org/3/library/code.html#code.InteractiveConsole.interact and others on that page shoul

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Ned Deily
Ned Deily added the comment: Hmm, yours is the first report of this here that I'm aware of. I see other reports on the web of other non-Python projects running into similar problems. So one question is what has changed? Can you report the version info string of this Python? Have you previous

[issue43356] PyErr_SetInterrupt should have an equivalent that takes a signal number

2021-03-02 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +neologix, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue43364] Add shortcut to enable UTF-8 mode in start menu.

2021-03-02 Thread Eryk Sun
Eryk Sun added the comment: > `cmd.exe /c "SETX PYTHONUTF8 1 You can run "[WindowsFolder]System32\setx.exe" directly. It's not a shell command. -- nosy: +eryksun ___ Python tracker

[issue36480] .strip() unexpected output on Windows

2021-03-02 Thread Zachary Ware
Change by Zachary Ware : Removed file: https://bugs.python.org/file49847/tac.eml ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue43344] RotatingFileHandler breaks file type associations

2021-03-02 Thread Vinay Sajip
Vinay Sajip added the comment: I'll add to the cookbook recipe with this real-world example, when I get a chance. -- ___ Python tracker ___ __

[issue43049] Use io.IncrementalNewlineDecoder for doctest newline conversion

2021-03-02 Thread Zachary Ware
Zachary Ware added the comment: New changeset b36349a647b2bf8174f0e736a4fc347e92ae204e by Peter Donis in branch 'master': bpo-43049: Use io.IncrementalNewlineDecoder for doctest newline conversion (GH-24359) https://github.com/python/cpython/commit/b36349a647b2bf8174f0e736a4fc347e92ae204e

[issue43049] Use io.IncrementalNewlineDecoder for doctest newline conversion

2021-03-02 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch! -- components: +Library (Lib) -Tests resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue1812] doctest _load_testfile function -- newline handling seems incorrect

2021-03-02 Thread Zachary Ware
Zachary Ware added the comment: New changeset b36349a647b2bf8174f0e736a4fc347e92ae204e by Peter Donis in branch 'master': bpo-43049: Use io.IncrementalNewlineDecoder for doctest newline conversion (GH-24359) https://github.com/python/cpython/commit/b36349a647b2bf8174f0e736a4fc347e92ae204e

[issue43344] RotatingFileHandler breaks file type associations

2021-03-02 Thread Vinay Sajip
Vinay Sajip added the comment: > Thanks Vinay, I was able to do this Glad to hear it, Kevin. That namer is exactly what I had in my mind's eye ;-) So shall I close the issue? -- ___ Python tracker

[issue43162] Enum regression: AttributeError when accessing class variables on instances

2021-03-02 Thread Ethan Furman
Ethan Furman added the comment: DeprecationWarning will be active in 3.10 and 3.11 with removal in 3.12. -- ___ Python tracker ___

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Adrian
Adrian added the comment: My apologies, you may disregard any libraries not downloaded from python.org I am strictly speaking about the following items related to this mailing list: • Contents/Frameworks/Python.framework/Versions/3.9/lib/libformw.5.dylib/_wadd_wchnstr •

[issue43372] ctypes: test_frozentable fails when make regen-frozen

2021-03-02 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +23484 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24708 ___ Python tracker ___

[issue42246] Implement PEP 626 -- Precise line numbers for debugging

2021-03-02 Thread Neil Schemenauer
Change by Neil Schemenauer : -- nosy: +nascheme nosy_count: 7.0 -> 8.0 pull_requests: +23485 pull_request: https://github.com/python/cpython/pull/24708 ___ Python tracker ___ _

[issue43211] Python is not responding after running program

2021-03-02 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue42782] shutil.move creates a new directory even on failure

2021-03-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +23487 pull_request: https://github.com/python/cpython/pull/24709 ___ Python tracker _

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Adrian
Adrian added the comment: My apologies, you may disregard any libraries not downloaded from python.org I am strictly speaking about the following items related to this mailing list: • Contents/Frameworks/Python.framework/Versions/3.9/lib/libformw.5.dylib/_wadd_wchnstr •

[issue36480] .strip() unexpected output on Windows

2021-03-02 Thread Cody Fox
Change by Cody Fox : Added file: https://bugs.python.org/file49847/tac.eml ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue43354] xmlrpc.client: Fault.faultCode erroneously documented to be a string, should be int

2021-03-02 Thread Jürgen Gmach
Jürgen Gmach added the comment: The approved typeshed PR: https://github.com/python/typeshed/pull/5083 -- ___ Python tracker ___ ___

[issue42782] shutil.move creates a new directory even on failure

2021-03-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +23488 pull_request: https://github.com/python/cpython/pull/24710 ___ Python tracker ___ __

[issue42782] shutil.move creates a new directory even on failure

2021-03-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 132131b404e06ee1a19b040a1f96cd1118abed0c by Winson Luk in branch 'master': bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001) https://github.com/python/cpython/commit/132131b404e06ee1a19b040a1f96cd1118abed0c -- __

[issue42782] shutil.move creates a new directory even on failure

2021-03-02 Thread Senthil Kumaran
Change by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue42128] Structural Pattern Matching (PEP 634)

2021-03-02 Thread Brandt Bucher
Brandt Bucher added the comment: I'm currently working on some performance benchmarks for PEP 634: https://github.com/brandtbucher/patmaperformance Hopefully they will help inform future improvements. I already have benchmarks for class patterns and mapping patterns, and am still searching f

[issue42782] shutil.move creates a new directory even on failure

2021-03-02 Thread Senthil Kumaran
Change by Senthil Kumaran : -- versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue43374] Apple refuses apps written in Python

2021-03-02 Thread Ned Deily
Ned Deily added the comment: >From where are you getting the Python that you are using in the app? A number >of those libraries are not part of the python.org Mac binaries. And are you >compiling with c++ by any chance? -- ___ Python tracker

[issue43354] xmlrpc.client: Fault.faultCode erroneously documented to be a string, should be int

2021-03-02 Thread Jürgen Gmach
Change by Jürgen Gmach : -- keywords: +patch pull_requests: +23482 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24707 ___ Python tracker ___

[issue43375] memory leak in threading ?

2021-03-02 Thread Igor Mandrichenko
Change by Igor Mandrichenko : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-02 Thread David Bolen
David Bolen added the comment: Steve, where is that configured? If reducing that further would resolve the crashes while retaining ceval debugging, maybe that's a reasonable trade-off, though based on my testing, reverting still seems simpler. Right now the debug build on the buildbot appea

  1   2   >