[issue45826] unittest.assertRaisesRegex is broken in Python 3.11 and leading to crashing if tested regex does not match name.

2021-11-16 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch pull_requests: +27833 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29590 ___ Python tracker ___

[issue45429] [Windows] time.sleep() should use CREATE_WAITABLE_TIMER_HIGH_RESOLUTION

2021-11-16 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +27832 pull_request: https://github.com/python/cpython/pull/29589 ___ Python tracker ___

[issue45827] Unittest - commenting passing tests cause previous failing tests to pass

2021-11-16 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45826] unittest.assertRaisesRegex is broken in Python 3.11 and leading to crashing if tested regex does not match name.

2021-11-16 Thread Dennis Sweeney
Dennis Sweeney added the comment: Even shorter reproducer: - try: aab except BaseException as E: E.with_traceback(None) raise ZeroDivisionError() - Bisection points to the initial implementation of suggestions.c:

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2021-11-16 Thread Inada Naoki
Inada Naoki added the comment: The another error I found is already reported as #42868. -- ___ Python tracker ___ ___

[issue45826] unittest.assertRaisesRegex is broken in Python 3.11 and leading to crashing if tested regex does not match name.

2021-11-16 Thread Dennis Sweeney
Dennis Sweeney added the comment: Here's shorter reproducer not involving unittest: import sys try: aab except: exc_type, exc_value, tb = sys.exc_info() exc_value.with_traceback(None) raise ZeroDivisionError() -- ___ Python

[issue45827] Unittest - commenting passing tests cause previous failing tests to pass

2021-11-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: At a quick glance, I am 95% sure the problem lies in these two snippets of your code, not unittest: class My_Time: months = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] if is_leapyr(year): my_time.months[1] = 29 The first

[issue45756] mock raises exception when using a spec with an attribute that raises exception on access

2021-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be similar to https://bugs.python.org/issue41768 . -- nosy: +xtreak ___ Python tracker ___

[issue45826] unittest.assertRaisesRegex is broken in Python 3.11 and leading to crashing if tested regex does not match name.

2021-11-16 Thread Dennis Sweeney
Dennis Sweeney added the comment: I got a segfault in a similar location: static PyObject * offer_suggestions_for_name_error(PyNameErrorObject *exc) { PyObject *name = exc->name; // borrowed reference PyTracebackObject *traceback = (PyTracebackObject *) exc->traceback; // borrowed

[issue45826] unittest.assertRaisesRegex is broken in Python 3.11 and leading to crashing if tested regex does not match name.

2021-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Running it in debug build mode ./python -X dev ../bpo45826.py python: Python/suggestions.c:215: offer_suggestions_for_name_error: Assertion `frame != NULL' failed. Fatal Python error: Aborted Current thread

[issue45827] Unittest - commenting passing tests cause previous failing tests to pass

2021-11-16 Thread Jamie Chaisson
New submission from Jamie Chaisson : Ubuntu Release 20.04.3 LTS (Focal Fossa) 64-bit Using unittest, testing with assertEqual on int values and known good output. Unittest produces one-off error on handful of edge-case tests causing assert to fail. Commenting out passing assertEquals tests to

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2021-11-16 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2021-11-16 Thread Inada Naoki
Inada Naoki added the comment: I confirmed that this bug is fixed, but I found another error. -- ___ Python tracker ___ ___

[issue41735] Thread locks in zlib module may go wrong in rare case

2021-11-16 Thread Ma Lin
Ma Lin added the comment: Sorry, I found an omission. The previous PRs fixed the bug in these methods: zlib.Compress.compress() zlib.Decompress.decompress() This method also has this bug, fix in PR29587 (main/3.10) and PR29588 (3.9-): zlib.Decompress.flush() Attached file

[issue38625] SpooledTemporaryFile does not seek correctly after being rolled over

2021-11-16 Thread Inada Naoki
Inada Naoki added the comment: Is this bug fixed by #26730? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41735] Thread locks in zlib module may go wrong in rare case

2021-11-16 Thread Ma Lin
Change by Ma Lin : -- pull_requests: +27831 pull_request: https://github.com/python/cpython/pull/29588 ___ Python tracker ___ ___

[issue41735] Thread locks in zlib module may go wrong in rare case

2021-11-16 Thread Ma Lin
Change by Ma Lin : -- pull_requests: +27830 pull_request: https://github.com/python/cpython/pull/29587 ___ Python tracker ___ ___

[issue45826] unittest.assertRaisesRegex is broken in Python 3.11 and leading to crashing if tested regex does not match name.

2021-11-16 Thread Xinmeng Xia
New submission from Xinmeng Xia : In Python 3.11, unittest.assertRaisesRegex is broken and leading to crashing if tested regex does not match name. See the following example: test.py = import unittest class uTest(unittest.TestCase): pass uTest

[issue45760] Remove "PyNumber_InMatrixMultiply"

2021-11-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Alternatively, fix the misspelling in the macro and delete the redundant expanded code below. -- nosy: +rhettinger ___ Python tracker

[issue45825] Heap Segmentation Fault

2021-11-16 Thread Bill Borskey
New submission from Bill Borskey : Dereferencing a python object that does not exist through ctypes caused a segfault in pymalloc_alloc. rdi: 0x0006 rsi: 0x0006 0 org.python.python 0x0001081ee277 pymalloc_alloc + 74 1 org.python.python

[issue45796] Using tab to cycle through tkinter widgets breaks foreground styling

2021-11-16 Thread Chris Eykamp
Chris Eykamp added the comment: Thanks for the clarification. I don't want to belabor the point, but if you observe what happens as you hit tab and cycle through the widgets, the way the color changes cannot be intended behavior, and makes no sense from any rational UI perspective. I do

[issue45824] CSV module document does not include how to append files

2021-11-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think that is the job of CSV docs. Appending is a general skill and not specific to that module. Likewise, the CSV module docs don't cover other general file manipulation skills like closing, using seek() to rewind, manipulating filenames and

[issue45824] CSV module document does not include how to append files

2021-11-16 Thread Wesley Altham
Wesley Altham added the comment: I now see other things on it but I think the doc should have it as well -- ___ Python tracker ___

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-11-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27829 pull_request: https://github.com/python/cpython/pull/29586 ___ Python tracker ___

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

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

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-11-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27828 pull_request: https://github.com/python/cpython/pull/29585 ___ Python tracker ___

[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 5618c81e139419b4665dc1f1e8a468738546f542 by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-45716: Improve the error message when using True/False/None as keywords in a call (GH-29413). (GH-29428)

[issue45824] CSV module document does not include how to append files

2021-11-16 Thread Wesley Altham
New submission from Wesley Altham : easy- The CSV module does not include how to append a file which is using 'a' and not 'w' or 'r'. There might be more to appending but it is not documented for me to know, I saw a stackoverflow post about it when I looked and I tried it and worked. I hope

[issue45789] Python execution broken after update via Windows Store

2021-11-16 Thread firewave
firewave added the comment: Today 3.9.2544.0 was automatically installed on my system. Interestingly it did not update the broken "python3.9.exe" appexec links. The timestamp is still from the last update and the links still point to 3.9.2032.0. All other links were updated. --

[issue45819] Avoid releasing the GIL in nonblocking socket operations

2021-11-16 Thread Christian Heimes
Christian Heimes added the comment: Do POSIX and Windows APIs guarantee that operations on a nonblocking socket can never ever block? We cannot safely keep the GIL unless you can turn "nonblocking socket operations by definition shouldn't block" into "standard guarantees that nonblocking

[issue45796] Using tab to cycle through tkinter widgets breaks foreground styling

2021-11-16 Thread E. Paine
E. Paine added the comment: > please don't declare this "not a bug" until you've tested it on Windows Sorry, I didn't explain my reasoning for that resolution. I did test it on Windows, but my trail of though went something like: "unexpected behaviour doesn't necessarily mean it's a bug".

[issue28533] Remove asyncore, asynchat and smtpd modules

2021-11-16 Thread STINNER Victor
STINNER Victor added the comment: About the PEP 387 process, Brett wrote on python-dev that "the modules got yanked prematurely", so I formally requested a SC exception: https://github.com/python/steering-council/issues/86 -- ___ Python tracker

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-11-16 Thread miss-islington
miss-islington added the comment: New changeset da20d7401de97b425897d3069f71f77b039eb16f by Pablo Galindo Salgado in branch 'main': bpo-45822: Respect PEP 263's coding cookies in the parser even if flags are not provided (GH-29582)

[issue45823] phyton stopped working

2021-11-16 Thread Roxana 7
Roxana 7 added the comment: i'm using a low end laptop with windows 86x -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45819] Avoid releasing the GIL in nonblocking socket operations

2021-11-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 There is almost no upside for the current behavior. -- nosy: +rhettinger ___ Python tracker ___

[issue37800] Clean up the documentation on module attributes

2021-11-16 Thread miss-islington
New submission from miss-islington : New changeset d7e210070f915d8df5fa863ecba8628304ee1ded by Géry Ogam in branch 'main': bpo-37800: Clean up importlib documentation for some module attributes (GH-10016) https://github.com/python/cpython/commit/d7e210070f915d8df5fa863ecba8628304ee1ded

[issue45823] phyton stopped working

2021-11-16 Thread Steve Dower
Steve Dower added the comment: It's impossible for us to tell what's causing this without much more information, but could you first try switching to Python 3.10? Even if we figured it out, we wouldn't be fixing 3.7 at this stage. If 3.10 still crashes, information about your OS, IDE, any

[issue45820] Parser can segfault if an error happens before reading any input

2021-11-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27826 pull_request: https://github.com/python/cpython/pull/29583 ___ Python tracker

[issue45820] Parser can segfault if an error happens before reading any input

2021-11-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +27827 pull_request: https://github.com/python/cpython/pull/29584 ___ Python tracker ___

[issue45820] Parser can segfault if an error happens before reading any input

2021-11-16 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : New changeset df4ae55e66e34ea8de6a34f0b104871ddaf35d53 by Pablo Galindo Salgado in branch 'main': bpo-45820: Fix a segfault when the parser fails without reading any input (GH-29580)

[issue45819] Avoid releasing the GIL in nonblocking socket operations

2021-11-16 Thread Jim Crist-Harif
Change by Jim Crist-Harif : -- components: +asyncio -C API nosy: +asvetlov, yselivanov ___ Python tracker ___ ___ Python-bugs-list

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-11-16 Thread Thomas Wouters
Thomas Wouters added the comment: Py_CompileString() in Python 3.9 and later, using the PEG parser, appears to no longer honours source encoding cookies. A reduced test case: #include "Python.h" #include const char *src = ( "# -*- coding: Latin-1 -*-\n" "'''\xc3'''\n");

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-11-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27825 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29582 ___ Python tracker

[issue45823] phyton stopped working

2021-11-16 Thread Roxana 7
New submission from Roxana 7 : Hello everyone, I try to program a simple calculator for a university project but the sotfware always get an error window "phyton stopped working" when i add it on a IDE. I have reinstalled it so many times and it's always the same -- components:

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-11-16 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : When executing Py_CompileString with a source string that has a coding cookie, this is not respected as with the old parser. -- components: Parser messages: 406425 nosy: lys.nikolaou, pablogsal, twouters priority: normal severity: normal

[issue45292] Implement PEP 654: Exception Groups

2021-11-16 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +27824 pull_request: https://github.com/python/cpython/pull/29581 ___ Python tracker ___

[issue41260] datetime, date and time: strftime method takes different keyword argument: fmt (pure) or format (C)

2021-11-16 Thread Alex Waygood
Alex Waygood added the comment: In addition to `date.strftime` and `time.strftime`, there is also a discrepancy in `datetime.fromtimestamp`. In the C implementation, the first parameter is called "timestamp"; in the pure-Python implementation, the first parameter is called "t". --

[issue45821] Many method parameters in the datetime module are positional-only in the C implementation but positional-or-keyword in the Python implementation

2021-11-16 Thread Alex Waygood
New submission from Alex Waygood : The following methods have parameters that are positional-only in the C implementation of the `datetime` module, but positional-or-keyword in the pure-Python implementation: * tzinfo.tzname * tzinfo.utcoffset * tzinfo.dst * tzinfo.fromutc * date.fromordinal

[issue45820] Parser can segfault if an error happens before reading any input

2021-11-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27823 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29580 ___ Python tracker

[issue45819] Avoid releasing the GIL in nonblocking socket operations

2021-11-16 Thread Jim Crist-Harif
Change by Jim Crist-Harif : -- keywords: +patch pull_requests: +27822 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29579 ___ Python tracker ___

[issue45820] Parser can segfault if an error happens before reading any input

2021-11-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- components: +Parser nosy: +lys.nikolaou versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker ___

[issue45820] Parser can segfault if an error happens before reading any input

2021-11-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: pablogsal priority: normal severity: normal status: open title: Parser can segfault if an error happens before reading any input ___ Python tracker

[issue45819] Avoid releasing the GIL in nonblocking socket operations

2021-11-16 Thread Jim Crist-Harif
New submission from Jim Crist-Harif : In https://bugs.python.org/issue7946 an issue with how the current GIL interacts with mixing IO and CPU bound work. Quoting this issue: > when an I/O bound thread executes an I/O call, > it always releases the GIL. Since the GIL is released, a CPU bound

[issue41260] datetime, date and time: strftime method takes different keyword argument: fmt (pure) or format (C)

2021-11-16 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41260] datetime, date and time: strftime method takes different keyword argument: fmt (pure) or format (C)

2021-11-16 Thread Sebastian Rittau
Sebastian Rittau added the comment: Ref https://github.com/python/typeshed/pull/6317 for a discussion about this in typeshed. -- nosy: +srittau ___ Python tracker ___

[issue41260] datetime, date and time: strftime method takes different keyword argument: fmt (pure) or format (C)

2021-11-16 Thread Alex Waygood
Change by Alex Waygood : -- versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2021-11-16 Thread Adrian Garcia Badaracco
Change by Adrian Garcia Badaracco : -- nosy: +adriangb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45796] Using tab to cycle through tkinter widgets breaks foreground styling

2021-11-16 Thread Chris Eykamp
Chris Eykamp added the comment: The behavior I described is definitely a bug, though it may be (and I suspect is) Windows specific. You may also be right that the problem is upstream, but please don't declare this "not a bug" until you've tested it on Windows. -- nosy: +watusimoto2

[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-11-16 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: The remaining PR (GH 28234) deprecates reinitialisation. I'm not sure it is a good idea to pursue this, so I'm leaning towards closing this as fixed, and also closing GH 28234. -- ___ Python tracker

[issue42376] Add helpers to populate modules in C

2021-11-16 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41260] datetime, date and time: strftime method takes different keyword argument: fmt (pure) or format (C)

2021-11-16 Thread Paul Ganssle
Paul Ganssle added the comment: Updating this issue to cover the problem in date, time and datetime. -- title: datetime: strftime method takes different keyword argument: fmt (pure) or format (C) -> datetime, date and time: strftime method takes different keyword argument: fmt

[issue45814] datetime.time.strftime: use the same function signature for C and Python implementations

2021-11-16 Thread Paul Ganssle
Paul Ganssle added the comment: I think this is mostly a duplicate of bpo-41260, which has an open PR on it. I think that got lost in the shuffle, I'm sad we didn't fix it in Python 3.10. I think we should migrate all of these signatures that differ to whichever one the C implementation is

[issue45116] Performance regression 3.10b1: inlining issue in the big _PyEval_EvalFrameDefault() function with Visual Studio (MSC)

2021-11-16 Thread Guido van Rossum
Guido van Rossum added the comment: I'd like to know how to reproduce this. @neonene can you write down the steps I should do to get the results you get? I have VS 2019, if I need VS 2022 I can install that. -- ___ Python tracker

[issue45103] IDLE: make configdialog font page survive font failures

2021-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This has been (supposedly) fixed in tcl/tk 8.6.12, included with all our Windows installers starting with 3.9.9. Thank you for investigating reporting to tcl/tk. Bugfix list at

[issue45732] Make python.org Windows and macOS installers use Tk 8.6.12

2021-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, thank you for patching all current versions. Previous policy has been to freeze tcl/tk x.y.z in python x.y because tk x.y.z may include a few enhancements among the bug fixes and hence indirectly add new features to tkinter in python x.y.z. However

[issue45818] socketserver.BaseRequestHandler inherited class

2021-11-16 Thread Sergey M.
New submission from Sergey M. : Due to ```python try: self.handle() finally: self.finish() ``` construct in `socketserver.BaseRequestHandler.__init__()` method inherited classes with `overrided __init__()` method may suffer from incomplete initialization. For example, in the

[issue45817] Build Windows and macOS installers with Tcl/Tk 8.6.12

2021-11-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the link. E.Paine's report for this 2021-09-21 (bug)[033886] Win: hang in font loading (e-paine,vogel) was the result of #45103, based on an IDLE user's SO question. -- ___ Python tracker

[issue45817] Build Windows and macOS installers with Tcl/Tk 8.6.12

2021-11-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> resolution: -> duplicate superseder: -> Make python.org Windows and macOS installers use Tk 8.6.12 ___ Python tracker

[issue45816] Python does not support standalone MSVC v143 (VS 2022) Build Tools

2021-11-16 Thread theeshallnotknowethme
theeshallnotknowethme added the comment: Rephrasing: Python does not support building with standalone MSVC v143 Build Tools, which is the version of MS Build Tools under Visual Studio 2022 (version 17.0). Visual Studio 2022 is the latest stable release of Visual Studio [1]. [1]

[issue45732] Make python.org Windows and macOS installers use Tk 8.6.12

2021-11-16 Thread Aivar Annamaa
Change by Aivar Annamaa : -- nosy: +aivarannamaa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45817] Build Windows and macOS installers with Tcl/Tk 8.6.12

2021-11-16 Thread Aivar Annamaa
Aivar Annamaa added the comment: Sorry, duplicate of #45732 -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue45817] Build Windows and macOS installers with Tcl/Tk 8.6.12

2021-11-16 Thread Aivar Annamaa
Change by Aivar Annamaa : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45817] Build Windows and macOS installers with Tcl/Tk 8.6.12

2021-11-16 Thread Aivar Annamaa
New submission from Aivar Annamaa : New version contains several bugfixes: https://github.com/tcltk/tk/blob/8baf7d337ca0aab7fafb0e670927ab2c0200e80a/changes#L7869 -- assignee: terry.reedy components: IDLE, Tkinter, Windows, macOS messages: 406409 nosy: aivarannamaa, ned.deily,

[issue45113] [subinterpreters][C API] Add a new function to create PyStructSequence from Heap.

2021-11-16 Thread Petr Viktorin
Petr Viktorin added the comment: Back to this issue -- do we have any use case other than setting the internal Py_TPFLAGS_DISALLOW_INSTANTIATION flag? If not, I'd like to close this (with apologies for not doing my research and letting Hai Shi do unmerged work). If a use case is found, I

[issue45116] Performance regression 3.10b1: inlining issue in the big _PyEval_EvalFrameDefault() function with Visual Studio (MSC)

2021-11-16 Thread Brandt Bucher
Brandt Bucher added the comment: Hm. If removing 26 opcodes didn't fix this, then maybe the size of _PyEval_EvalFrameDefault isn't really the issue? -- ___ Python tracker

[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-11-16 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 9d6215a54c177a5e359c37ecd1c50b594b194f41 by Erlend Egeberg Aasland in branch 'main': bpo-45126: Harden `sqlite3` connection initialisation (GH-28227) https://github.com/python/cpython/commit/9d6215a54c177a5e359c37ecd1c50b594b194f41 --

[issue45816] Python does not support building with Visual Studio 2022

2021-11-16 Thread theeshallnotknowethme
Change by theeshallnotknowethme : -- keywords: +patch pull_requests: +27821 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29577 ___ Python tracker

[issue45816] Python does not support building with Visual Studio 2022

2021-11-16 Thread theeshallnotknowethme
New submission from theeshallnotknowethme : Python does not support building with Visual Studio 2022, which is the latest officially released stable version [1]. [1] https://devblogs.microsoft.com/visualstudio/visual-studio-2022-now-available/ -- components: Build messages: 406405

[issue10572] Move test sub-packages to Lib/test

2021-11-16 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > Do we need Lib/test/test_sqlite3/__init__.py? Would not tests in package be > loaded automatically? If I remove it, the test suite is not run. Maybe another change is needed for autodetection to work better. --

[issue45636] Merge BINARY_*/INPLACE_* into BINARY_OP

2021-11-16 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset 6a84d61c55f2e543cf5fa84522d8781a795bba33 by Brandt Bucher in branch 'main': bpo-45636: Simplify BINARY_OP (GH-29565) https://github.com/python/cpython/commit/6a84d61c55f2e543cf5fa84522d8781a795bba33 --

[issue45429] [Windows] time.sleep() should use CREATE_WAITABLE_TIMER_HIGH_RESOLUTION

2021-11-16 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 55868f1a335cd3853938082a5b25cfba66563135 by Dong-hee Na in branch 'main': bpo-45429: Support CREATE_WAITABLE_TIMER_HIGH_RESOLUTION if possible (GH-29203) https://github.com/python/cpython/commit/55868f1a335cd3853938082a5b25cfba66563135

[issue45814] datetime.time.strftime: use the same function signature for C and Python implementations

2021-11-16 Thread Alex Waygood
Change by Alex Waygood : -- title: Use the same function signature for datetime.time.strftime -> datetime.time.strftime: use the same function signature for C and Python implementations ___ Python tracker

[issue45792] contextvars.Token has wrong module name in Sphinx's objects.inv

2021-11-16 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45814] Use the same function signature for datetime.time.strftime

2021-11-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle, xtreak ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45725] test_freeze doesn't clean up after itself

2021-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://github.com/python/cpython/pull/29527 uses a temporary directory for the test instead that should help with the cleanup. -- nosy: +xtreak ___ Python tracker

[issue45512] [sqlite3] simplify "isolation level"

2021-11-16 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27820 pull_request: https://github.com/python/cpython/pull/29576 ___ Python tracker ___

[issue45292] Implement PEP 654: Exception Groups

2021-11-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: New changeset 8b06d01507fd708468570eaa43a349828784489a by Irit Katriel in branch 'main': bpo-45292: Use raw strings for regex in tests (GH-29545) https://github.com/python/cpython/commit/8b06d01507fd708468570eaa43a349828784489a --

[issue45725] test_freeze doesn't clean up after itself

2021-11-16 Thread Mark Shannon
Mark Shannon added the comment: test_tools also seems to fail a lot unless `make clean` is run first. Possibly related? -- ___ Python tracker ___

[issue45753] Further speed up Python-to-Python calls.

2021-11-16 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +27819 pull_request: https://github.com/python/cpython/pull/29575 ___ Python tracker ___

[issue45812] SystemError when using code.interact

2021-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: In that case don't worry. I prefer that you report potential bugs without waiting if that's ok with you, my comment was just in case you are familiar with compiling from the CPython repo. Thanks for all the help! --

[issue45753] Further speed up Python-to-Python calls.

2021-11-16 Thread Mark Shannon
Mark Shannon added the comment: New changeset b9310773756f40f77e075f221a90dd41e6964efc by Mark Shannon in branch 'main': bpo-45753: Make recursion checks more efficient. (GH-29524) https://github.com/python/cpython/commit/b9310773756f40f77e075f221a90dd41e6964efc --

[issue45815] Document exceptions raised by fnmtach

2021-11-16 Thread Dimitri Papadopoulos Orfanos
New submission from Dimitri Papadopoulos Orfanos : The fnmatch documentation should explicitly mention the type of exceptions raised by fnmatch.fnmatch(): https://docs.python.org/3/library/fnmatch.html In my case it raised sre_constants.error, and it took some time to understand that the

[issue45814] Use the same function signature for datetime.time.strftime

2021-11-16 Thread Yevhenii Hyzyla
Change by Yevhenii Hyzyla : -- title: Use same function signature for datetime.time.strftime -> Use the same function signature for datetime.time.strftime ___ Python tracker

[issue45814] Use same function signature for datetime.time.strftime

2021-11-16 Thread Yevhenii Hyzyla
New submission from Yevhenii Hyzyla : Method datetime.time.strftime in Python and C implementation has different signature. Python implementation use `fmt` as argument and C implementation use `format` as argument. Python implementation: ```python def strftime(self, fmt): ... ``` C

[issue45812] SystemError when using code.interact

2021-11-16 Thread Andre Roberge
Andre Roberge added the comment: I am sorry, but I am not set up to work from the main branch and must rely on official releases. In the future, for alpha and beta releases, I will try to wait for the next release, see immediately if I can reproduce bugs that I had noted before, and submit

[issue30514] test_poplib replace asyncore

2021-11-16 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45792] contextvars.Token has wrong module name in Sphinx's objects.inv

2021-11-16 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c37a0d9c0ae4aa0d9135fac9a58afc7b34ff71d6 by Miss Islington (bot) in branch '3.8': bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29537) https://github.com/python/cpython/commit/c37a0d9c0ae4aa0d9135fac9a58afc7b34ff71d6

[issue45807] Strange SyntaxError message / suggestions for "@x = 123"

2021-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I agree this is weird, but technically is not incorrect. For example, consider this: >>> def foo(f): ... return f ... >>> @x = foo File "", line 1 @x = foo ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of

[issue45812] SystemError when using code.interact

2021-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: You seem to be using commit e2b4e4b (the release commit), but this issue was fixed very likely in https://bugs.python.org/issue45738. Could you confirm that you cannot reproduce this with the latest main branch? In general, I would kindly recommend

[issue45812] SystemError when using code.interact

2021-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Same with 3.10: ❯ ./python.exe Python 3.10.0+ (heads/3.10:7c99e434a9, Nov 16 2021, 09:03:07) [Clang 12.0.0 (clang-1200.0.32.29)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> a = 3 \ 4 File "", line 1 a = 3

  1   2   >