[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- stage: patch review -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue44352] Native Windows Python builds running on Europe/Moscow TZ report wrong time from datetime.datetime.now when there is TZ environment variable also set to Europe/Moscow

2021-06-08 Thread Mike Kaganski
New submission from Mike Kaganski : On a Windows 10 system, which TZ is set to Moscow (UTC+3), I use a native Windows Python build (as opposed to e.g. one from Cygwin). Specifically, I tested both custom Python build created by LibreOffice project, as well as the Python by Python Software

[issue44349] Edge case in compiler when error displaying with non-utf8 lines

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think the simplest solution is PR 26611. Ammar, can you check if that works for you? -- ___ Python tracker ___

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25195 pull_request: https://github.com/python/cpython/pull/26612 ___ Python tracker

[issue44354] ssl deprecation warnings erganomics

2021-06-08 Thread Thomas Grainger
New submission from Thomas Grainger : The ssl module OP_NO_* deprecation warning message is slightly wrong: The error message prints out "is deprecated is deprecated" because of an earlier format template There's a colon in the warning message `ssl module:` and that makes it difficult to

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset e58d762c1fb4ad5e021d016c80c2bc4513632d2f by Batuhan Taskaya in branch 'main': bpo-11105: reduce the recursion limit for tests (GH-26550) https://github.com/python/cpython/commit/e58d762c1fb4ad5e021d016c80c2bc4513632d2f --

[issue44350] Make IDLE support Command-click on window title on macOS

2021-06-08 Thread Aivar Annamaa
Change by Aivar Annamaa : -- title: Support Command-click on window title on macOS -> Make IDLE support Command-click on window title on macOS ___ Python tracker ___

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +25192 pull_request: https://github.com/python/cpython/pull/26609 ___ Python tracker ___

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-06-08 Thread Jason R. Coombs
Jason R. Coombs added the comment: As mentioned in msg394775, I'd like to decouple the performance concerns from the original incompatibility. I recognize that performance regressions are in their own way a form of incompatibility, but there have been a lot of changes to entry points with

[issue44349] Edge case in compiler when error displaying with non-utf8 lines

2021-06-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +25194 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26611 ___ Python tracker

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread miss-islington
miss-islington added the comment: New changeset 2cfe0e7061e9a2113e56e44a3e0c3f824cbc65db by Miss Islington (bot) in branch '3.10': bpo-40468: Move IDLE helplist settings to extensions page of dialog. (GH-26593) https://github.com/python/cpython/commit/2cfe0e7061e9a2113e56e44a3e0c3f824cbc65db

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c03f0ab259dc6d1447d47e845c6465b59f9a032c by Miss Islington (bot) in branch '3.9': bpo-40468: Move IDLE helplist settings to extensions page of dialog. (GH-26593) https://github.com/python/cpython/commit/c03f0ab259dc6d1447d47e845c6465b59f9a032c

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +25188 pull_request: https://github.com/python/cpython/pull/26605 ___ Python tracker ___

[issue44350] Support

2021-06-08 Thread Aivar Annamaa
Change by Aivar Annamaa : -- nosy: Aivar.Annamaa priority: normal severity: normal status: open title: Support ___ Python tracker ___

[issue44335] "Wrong" invalid character identified

2021-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +25193 pull_request: https://github.com/python/cpython/pull/26610 ___ Python tracker ___

[issue44335] "Wrong" invalid character identified

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset bafe0aade5741ab0d13143ee261711fdd65e8a1f by Pablo Galindo in branch 'main': bpo-44335: Ensure the tokenizer doesn't go into Python with the error set (GH-26608)

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-06-08 Thread Steve Dower
Steve Dower added the comment: > Decrease the global recursion limit only for windows debug. This is already what we do, so if someone has increased stack usage, they should also decrease the value here. Hopefully the non-debug value doesn't have to be reduced. In that case, it's worth

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: The issue has been solved, all buildbots should now pass. Will continue to monitor the situation. Thanks for the report @kj! -- priority: release blocker -> resolution: -> fixed status: open -> pending ___

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ab36b9f83424a020fbd672f218612e6f19257a32 by Terry Jan Reedy in branch 'main': bpo-40468: Move IDLE helplist settings to extensions page of dialog. (GH-26593) https://github.com/python/cpython/commit/ab36b9f83424a020fbd672f218612e6f19257a32

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +25196 pull_request: https://github.com/python/cpython/pull/26613 ___ Python tracker ___

[issue44350] IDLE: support Command-click on window title on macOS

2021-06-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS nosy: +ned.deily, ronaldoussoren title: Make IDLE support Command-click on window title on macOS -> IDLE: support Command-click on window title on macOS versions: +Python 3.11 ___ Python tracker

[issue44337] Port LOAD_ATTR to adaptive interpreter

2021-06-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Mark would you mind sharing your opinions on this: https://bugs.python.org/issue44313 (should we still keep generating LOAD_METHOD/CALL_METHOD for potential objects imported through `from x import y`, or they also generate LOAD_ATTR/CALL_FUNCTION).

[issue44349] Edge case in pegen's error displaying with non-utf8 lines

2021-06-08 Thread Ammar Askar
New submission from Ammar Askar : The AST currently stores column offsets for characters as byte-offsets. However, when displaying errors, these byte-offsets must be turned into character-offsets so that the characters line up properly with the characters on the line when printed. This is

[issue44349] Edge case in when error displaying with non-utf8 lines

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This affects also older versions: python3.8 lel.py File "lel.py", line 3 ^ SyntaxError: Generator expression must be parenthesized -- title: Edge case in pegen's error displaying with non-utf8 lines -> Edge case in when

[issue44351] distutils.sysconfig.parse_makefile() regression in Python 3.10

2021-06-08 Thread Miro Hrončok
New submission from Miro Hrončok : Hello. I think https://github.com/python/cpython/pull/23142 changed the behavior of distutils.sysconfig.parse_makefile(). A downstream Fedora report with an affected petsc package: https://bugzilla.redhat.com/show_bug.cgi?id=1959088 Reproducers

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset 8004c4570b1d1277ea8754e22b5eb60e63f5026c by Batuhan Taskaya in branch 'main': bpo-11105: document the new test.support.infinite_recursion context manager (GH-26604)

[issue44350] IDLE: support Command-click on window title on macOS

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Documented as macOS specific at https://www.tcl.tk/man/tcl8.6/TkCmd/wm.htm. But I would not know about C-click from "Specifies the path of the file referenced as the window proxy icon (which can be dragged and dropped in lieu of the file's finder icon). "

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +25187 pull_request: https://github.com/python/cpython/pull/26604 ___ Python tracker ___

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset 87f502231c6d5b04a4d8aa23fba24fcf5303aebb by Batuhan Taskaya in branch '3.9': [3.9] bpo-11105: reduce the recursion limit for tests. (GH-26605) https://github.com/python/cpython/commit/87f502231c6d5b04a4d8aa23fba24fcf5303aebb --

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset bd6f0d3eadfe5623657db6aeb69b94d21f86f4a0 by Batuhan Taskaya in branch '3.10': [3.10] bpo-11105: reduce the recursion limit for tests. (GH-26607) https://github.com/python/cpython/commit/bd6f0d3eadfe5623657db6aeb69b94d21f86f4a0 --

[issue44350] Support Command-click on window title on macOS

2021-06-08 Thread Aivar Annamaa
New submission from Aivar Annamaa : Many macOS apps show location info about current document on command-clicking on window title. I just found out how to do it in Tkinter, so I wanted to share it in case someone wants to add it for IDLE:

[issue44350] Support Command-click on window title on macOS

2021-06-08 Thread Aivar Annamaa
Aivar Annamaa added the comment: In short: window.wm_attributes("-titlepath", stringContainingTheAbsolutePathOfTheDocument) Passing empty string as the second argument turned the feature off. -- ___ Python tracker

[issue44349] Edge case in compiler when error displaying with non-utf8 lines

2021-06-08 Thread Ammar Askar
Change by Ammar Askar : -- title: Edge case in when error displaying with non-utf8 lines -> Edge case in compiler when error displaying with non-utf8 lines ___ Python tracker

[issue44353] PEP 604 NewType

2021-06-08 Thread Joseph Perez
New submission from Joseph Perez : `typing.NewType` doesn't support PEP 604. ``` >>> import typing >>> A = typing.NewType("A", int) >>> B = typing.NewType("B", str) >>> A | B Traceback (most recent call last): File "", line 1, in TypeError: unsupported operand type(s) for |: 'function' and

[issue11105] Compiling recursive Python ASTs crash the interpreter

2021-06-08 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +25190 pull_request: https://github.com/python/cpython/pull/26607 ___ Python tracker ___

[issue44339] Discrepancy between math.pow(0.0, -inf) and 0.0**-inf

2021-06-08 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +25189 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26606 ___ Python tracker ___

[issue44349] Edge case in pegen's error displaying with non-utf8 lines

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Lysandros, could you take a look? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44335] "Wrong" invalid character identified

2021-06-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +25191 pull_request: https://github.com/python/cpython/pull/26608 ___ Python tracker ___

[issue44335] "Wrong" invalid character identified

2021-06-08 Thread miss-islington
miss-islington added the comment: New changeset 2a8d7122e0ceeb56b716cff7f8f31f13c26ad691 by Miss Islington (bot) in branch '3.10': bpo-44335: Ensure the tokenizer doesn't go into Python with the error set (GH-26608)

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-06-08 Thread Anthony Sottile
Anthony Sottile added the comment: they are directly coupled which is why I commented here the api redesign forces O(N) lookups and O(N) constructions which directly impact performance causing the regression -- resolution: fixed -> status: closed -> open

[issue43833] Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators

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

[issue44356] Abstract enum mixins not allowed

2021-06-08 Thread Ethan Furman
Change by Ethan Furman : -- assignee: -> ethan.furman nosy: +ethan.furman versions: +Python 3.10, Python 3.11 ___ Python tracker ___

[issue43833] Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators

2021-06-08 Thread miss-islington
miss-islington added the comment: New changeset eeefa7f6c0cc64bc74c3b96a0ebbff1a2b9d3199 by Miss Islington (bot) in branch '3.10': bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466) https://github.com/python/cpython/commit/eeefa7f6c0cc64bc74c3b96a0ebbff1a2b9d3199

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-08 Thread Akira Nonaka
Change by Akira Nonaka : -- pull_requests: +25199 pull_request: https://github.com/python/cpython/pull/26615 ___ Python tracker ___

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +25202 pull_request: https://github.com/python/cpython/pull/26618 ___ Python tracker ___

[issue43833] Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators

2021-06-08 Thread miss-islington
miss-islington added the comment: New changeset 2ea6d890281c415e0a2f00e63526e592da8ce3d9 by Serhiy Storchaka in branch 'main': bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466) https://github.com/python/cpython/commit/2ea6d890281c415e0a2f00e63526e592da8ce3d9

[issue43833] Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators

2021-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +25198 pull_request: https://github.com/python/cpython/pull/26614 ___ Python tracker ___

[issue44354] ssl deprecation warnings erganomics

2021-06-08 Thread Thomas Grainger
Thomas Grainger added the comment: the "ssl module:" part of the warning message, I think, is redundant as it should be defined in the https://docs.python.org/3/library/warnings.html#warnings.warn_explicit module kwarg -- ___ Python tracker

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread miss-islington
miss-islington added the comment: New changeset c8353239eda0d05f7facd1a19acc2b836a057807 by Miss Islington (bot) in branch '3.9': bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618) https://github.com/python/cpython/commit/c8353239eda0d05f7facd1a19acc2b836a057807

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Eric Snow
Eric Snow added the comment: New changeset 3e1c7167d86a2a928cdcb659094aa10bb5550c4c by Eric Snow in branch 'main': bpo-43693: Un-revert commit f3fa63e. (#26609) https://github.com/python/cpython/commit/3e1c7167d86a2a928cdcb659094aa10bb5550c4c --

[issue44349] Edge case in compiler when error displaying with non-utf8 lines

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c0496093e54edb78d2bd09b083b73e1e5b9e7242 by Miss Islington (bot) in branch '3.10': bpo-44349: Fix edge case when displaying text from files with encoding in syntax errors (GH-26611) (GH-26616)

[issue35800] remove smtpd.MailmanProxy

2021-06-08 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 nosy_count: 4.0 -> 5.0 pull_requests: +25201 pull_request: https://github.com/python/cpython/pull/26617 ___ Python tracker ___

[issue44355] Allow spaces in format strings

2021-06-08 Thread Steven D'Aprano
New submission from Steven D'Aprano : Format strings should allow spaces around keys and indices. This might be as simple as running str.strip() on the contents of curly braces? Aside from indentation and newlines, in most other contexts whitespace is insignificant. E.g. in subscripting

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-08 Thread Yury Selivanov
Yury Selivanov added the comment: > MultiLoopChildWatcher must ensures that the event loop is awaken when it > receives a signal by using signal.setwakeup(). This is done by > _UnixSelectorEventLoop.add_signal_handler(). Maybe MultiLoopChildWatcher > could reuse this function, rather than

[issue44355] Allow spaces in format strings

2021-06-08 Thread Cameron Simpson
Change by Cameron Simpson : -- nosy: +cameron ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44340] Add support for building cpython with clang thin lto

2021-06-08 Thread Ned Deily
Change by Ned Deily : -- components: +Build -Interpreter Core nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +25204 pull_request: https://github.com/python/cpython/pull/26620 ___ Python tracker ___

[issue39345] Py_Initialize Hangs on Windows 10

2021-06-08 Thread Duane Griffin
Duane Griffin added the comment: I can reproduce this on Windows 10 with Python 3.9. See attached source. At least for us, it is hanging when one thread is doing a read on the file descriptor while a second calls Py_Initialize (or just dup directly). The windows kernel call stack shows the

[issue44349] Edge case in compiler when error displaying with non-utf8 lines

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

[issue44349] Edge case in compiler when error displaying with non-utf8 lines

2021-06-08 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25200 pull_request: https://github.com/python/cpython/pull/26616 ___ Python tracker

[issue44349] Edge case in compiler when error displaying with non-utf8 lines

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 9fd21f649d66dcb10108ee395fd68ed32c8239cd by Pablo Galindo in branch 'main': bpo-44349: Fix edge case when displaying text from files with encoding in syntax errors (GH-26611)

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR-26618 wraps the extension functions in a new class, ExtPage, and then moves the new class after GenPage. I verified that replacing the indent slider with a spinbox results in the dialog being shorter by the full height of the helplist frame. I will do

[issue44355] Allow spaces in format strings

2021-06-08 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5571cabf1b3385087aba2c7c10289bba77494e08 by Terry Jan Reedy in branch 'main': bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618) https://github.com/python/cpython/commit/5571cabf1b3385087aba2c7c10289bba77494e08 --

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +25203 pull_request: https://github.com/python/cpython/pull/26619 ___ Python tracker ___

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread miss-islington
miss-islington added the comment: New changeset 33a7a24288988134e89200a33802af56a2dee31e by Miss Islington (bot) in branch '3.10': bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618) https://github.com/python/cpython/commit/33a7a24288988134e89200a33802af56a2dee31e

[issue44356] Abstract enum mixins not allowed

2021-06-08 Thread Jordan Ephron
New submission from Jordan Ephron : Prior to 3.8 it was possible to create "abstract" enums (without members) and mix them together. To motivate with an example, perhaps we're modeling an API and want to be robust in the face of inconsistent casing class CaseInsensitiveStrEnum(str, Enum):

[issue42238] Deprecate suspicious.py?

2021-06-08 Thread Julien Palard
Julien Palard added the comment: New changeset 227a09325e7bf82ecd303b4696c054a086b29a00 by Julien Palard in branch 'main': bpo-42238: Doc CI: Disable suspicious checks. (GH-26575) https://github.com/python/cpython/commit/227a09325e7bf82ecd303b4696c054a086b29a00 --

[issue44346] Fraction constructor may accept spaces around '/'

2021-06-08 Thread Sergey B Kirpichev
New submission from Sergey B Kirpichev : Per https://bugs.python.org/msg394731 suggestion. For instance, mpq_set_str() does support this. Also, gmpy2.mpq(). Tentative patch attached. -- components: Library (Lib) files: fraction-spaces.diff keywords: patch messages: 395314 nosy:

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +25177 pull_request: https://github.com/python/cpython/pull/26593 ___ Python tracker ___

[issue40468] IDLE: configdialog tab rearrange

2021-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new PR moves the helplist. The extensions page looks much better. Not all of the helplist height is recovered. I believe this is because the Font/Tabs page and in particular the overly large indentation setting now determines height. (The other

[issue44339] Discrepancy between math.pow(0.0, -inf) and 0.0**-inf

2021-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What about math.pow(0.0, -1.0)? Should it return -inf or raise ZeroDivisionError? And what about math.pow(-0.0, -inf)? Should it return inf, -inf or nan or raise an exception? -- nosy: +serhiy.storchaka ___

[issue44339] Discrepancy between math.pow(0.0, -inf) and 0.0**-inf

2021-06-08 Thread Mark Dickinson
Mark Dickinson added the comment: > What about math.pow(0.0, -1.0)? Should it return -inf or raise > ZeroDivisionError? Neither: it should raise ValueError, as it does now. This matches IEEE 754 along with the math module's mapping of IEEE 754 floating-point exceptions to Python exceptions.

[issue44347] Unclear documentation for shutil.copytree()

2021-06-08 Thread Tilman Vogel
New submission from Tilman Vogel : I donot understand this sentence: "dirs_exist_ok dictates whether to raise an exception in case dst or any missing parent directory already exists." How can a "missing parent directory already exist"? My understanding would be that an existing `dst` would

[issue44324] add a "expected expression" syntax error

2021-06-08 Thread Arjun
Change by Arjun : -- keywords: +patch pull_requests: +25176 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26592 ___ Python tracker ___

[issue41716] SyntaxError: EOL while scanning string literal

2021-06-08 Thread elonjigar
elonjigar added the comment: An EOL while scanning string literal error indicates that the Python interpreter expected a particular character or set of characters to have occurred in a specific line of code, but that those characters were not found before the end of the line . This results

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +25181 pull_request: https://github.com/python/cpython/pull/26597 ___ Python tracker ___

[issue44335] "Wrong" invalid character identified

2021-06-08 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +25183 pull_request: https://github.com/python/cpython/pull/26600 ___ Python tracker

[issue44335] "Wrong" invalid character identified

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d334c73b56756e90c33ce06e3a6ec23271aa099d by Pablo Galindo in branch 'main': bpo-44335: Fix a regression when identifying invalid characters in syntax errors (GH-26589)

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-06-08 Thread Ken Jin
New submission from Ken Jin : Hi all, I created this issue after discussion in https://bugs.python.org/issue39573#msg395206: In issue39573 "[C API] Make PyObject an opaque structure in the limited C API" the commit f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970 ("Py_TYPE becomes a static inline

[issue44337] Port LOAD_ATTR to adaptive interpreter

2021-06-08 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +25178 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26595 ___ Python tracker ___

[issue37224] [subinterpreters] test__xxsubinterpreters fails randomly

2021-06-08 Thread hai shi
Change by hai shi : -- pull_requests: +25182 pull_request: https://github.com/python/cpython/pull/26598 ___ Python tracker ___ ___

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The problem seems to be that The problem is that PyFrame_LocalsToFast(frame, 1); calls into PyFrame_LocalsToFast where co->co_nlocals has a value of 3, and this causes co->co_cell2arg[i - co->co_nlocals]; to access outside the bounds of the array.

[issue44335] "Wrong" invalid character identified

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

[issue44335] "Wrong" invalid character identified

2021-06-08 Thread miss-islington
miss-islington added the comment: New changeset 933b5b63598968c1ab4976f92570696a33c72cc4 by Miss Islington (bot) in branch '3.10': bpo-44335: Fix a regression when identifying invalid characters in syntax errors (GH-26589)

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Eric, I saw thay you ran the buildbots on your PR (thanks a lot), but something has gone wrong in some of them and they didn't run correctly. For example: https://buildbot.python.org/all/#/builders/581/builds/58 I'm investigating why that this.

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: There are many buildbot failures today and this is getting a bit out of hand so I'm starting with a revert of f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970 until we have a better plan. -- ___ Python tracker

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-06-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal nosy_count: 13.0 -> 14.0 pull_requests: +25180 pull_request: https://github.com/python/cpython/pull/26596 ___ Python tracker

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-06-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +25179 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26596 ___ Python tracker

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi, Unfortunately, the address sanitizer buildbot has been broken by commit631f9938b1604d4f893417ec339b9e0fa9196fb1 : https://buildbot.python.org/all/#/builders/585 -- ___ Python tracker

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Here is the top trace: test_jump_in_nested_finally_3 (test.test_sys_settrace.JumpTestCase) ... ok test_jump_into_finally_block (test.test_sys_settrace.JumpTestCase) ... ok test_jump_into_finally_block_from_try_block

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6d518bb3a11f9b16098f45b21a13ebe8f537f045 by Pablo Galindo in branch 'main': bpo-44348: Revert "bpo-39573: Py_TYPE becomes a static inline function (GH-26493)" (GH-26596)

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6d518bb3a11f9b16098f45b21a13ebe8f537f045 by Pablo Galindo in branch 'main': bpo-44348: Revert "bpo-39573: Py_TYPE becomes a static inline function (GH-26493)" (GH-26596)

[issue44345] The first line (comment) of the parser.c is incorrect.

2021-06-08 Thread Akira Nonaka
Akira Nonaka added the comment: I have just signed the contributor agreement. -- ___ Python tracker ___ ___ Python-bugs-list

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg395330 ___ Python tracker ___ ___ Python-bugs-list

[issue14547] Python symlink to script behaves unexpectedly

2021-06-08 Thread ِAbdulrahman ِShawa
ِAbdulrahman ِShawa added the comment: hello guys I am facing problem with my sqlite3 database when i make changes it saves the changes for almost 13 hours and then retakes back all the changes that i made, i am using two threads in my code and i am not committing the data but i set the

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Mark Shannon
Mark Shannon added the comment: Pablo, Is there a bpo issue for the buildbot failures on Windows? The failures I've been seeing are C stack overflows. Long term, I expect to fix it by decoupling the C and Python stacks. In the short term I have a couple of changes that might get it working

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yes, this one: https://bugs.python.org/issue44348 > s there a bpo issue for the buildbot failures on Windows? The failures I've been seeing are C stack overflows. But the ones affecting this issue are the ones in ASAN:

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Are there a bpo issue for the buildbot failures on Windows? Yes, this one: https://bugs.python.org/issue44348 But just to clarify, the ones affecting this issue are the ones in ASAN, for example:

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-06-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3fe921cd49959181163671364c8b84faa88f7895 by Pablo Galindo in branch 'main': Revert "bpo-43693: Add the MAKE_CELL opcode and interleave fast locals offsets. (gh-26396)" (GH-26597)

  1   2   >