[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +28186 pull_request: https://github.com/python/cpython/pull/29961 ___ Python tracker <https://bugs.python.org/issue46

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 1c7a1c3be08ee911d347fffd2716f3911ba751f9 by Pablo Galindo Salgado in branch 'main': bpo-46004: Fix error location for loops with invalid targets (GH-29959) https://github.com/python/cpython/commit/1c7a1c3be08ee911d347fffd2716f3911ba751f9

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +28183, 28184 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29959 ___ Python tracker <https://bugs.python.org/issu

[issue46004] Incorrect bad token identified in 3.10.1

2021-12-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +28183 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29959 ___ Python tracker <https://bugs.python.org/issu

[issue45963] Embed interpreter frame in generator.

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is also unfortunately blocking the 3.11.a3 release :( -- priority: normal -> release blocker ___ Python tracker <https://bugs.python.org/issu

[issue45963] Embed interpreter frame in generator.

2021-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, all refleak buildbots are failing after 299483c95d601ddcfdce2f96418b6499c1fc7b9f was merged. I bisected the problem to it: 299483c95d601ddcfdce2f96418b6499c1fc7b9f is the first bad commit commit 299483c95d601ddcfdce2f96418b6499c1fc7b9f

[issue44166] Make IndexError messages for list more informative

2021-12-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I concur with Serhiy and Raymond and I would prefer to leave as is. -- ___ Python tracker <https://bugs.python.org/issue44

[issue45984] Error messages for invalid string prefixes and potential attribute accesses

2021-12-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Check my multiple comments in PR29916 -- ___ Python tracker <https://bugs.python.org/issue45984> ___ ___ Python-bug

[issue45984] Error messages for invalid string prefixes and potential attribute accesses

2021-12-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Actually, is not technically a duplicate of https://bugs.python.org/issue45982 but is related. -- resolution: duplicate -> rejected ___ Python tracker <https://bugs.python.org/issu

[issue45984] Error messages for invalid string prefixes and potential attribute accesses

2021-12-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Duplicate of https://bugs.python.org/issue45982 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45982] Bug in Error messages

2021-12-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg407685 ___ Python tracker <https://bugs.python.org/issue45982> ___ ___ Python-bug

[issue45982] Bug in Error messages

2021-12-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: It doesn't happen anymore with the latest 3.10: >>> if datetime.now()strftime(...) != "19:50:00": pass File "", line 1 if datetime.now()strftime(...) != "19:50:00": pass

[issue45982] Bug in Error messages

2021-12-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: It doesn't happen anymore with the latest 3.10: >>> if datetime.now(),strftime(...) != "19:50:00": pass File "", line 1 if datetime.now(),strftime(...) != "19:50:00": pass

[issue45982] Bug in Error messages

2021-12-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I concur with Eric: the purpose of the error message is a suggestion based in the most likely cause. Also we have recently refined this so I will trigger in less uncommon situations. -- resolution: -> not a bug stage: -> resolved

[issue45954] Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges

2021-12-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Makes sense! -- ___ Python tracker <https://bugs.python.org/issue45954> ___ ___ Python-bugs-list mailing list Unsub

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: There is another problem: PySys_WriteStderr is faster than your gc_log, which can potentially slow down heavy GC-based programs, even if the file descriptor is not used. -- ___ Python tracker <ht

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: There are several problems with this change: 1) The lifetime of the file descriptor. The file descriptor is borrowed, which normally will lead to not being properly cleaned upon failure or interpreter deallocation. 2) The statistics you are trying

[issue45928] Set up file stream for redirecting GC logs

2021-11-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for opening this issue..I think you need to elaborate a bit more about this feature you are suggesting. In general we don't allow this kind of facilities to redirect to file stream anywhere else in the interpreter. -- nosy: +pablogsal

[issue45828] [sqlite3] use unraisable exceptions in callbacks

2021-11-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c4a69a4ad035513ada1c0d41a46723606b538e13 by Erlend Egeberg Aasland in branch 'main': bpo-45828: Use unraisable exceptions within sqlite3 callbacks (FH-29591) https://github.com/python/cpython/commit

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-28 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 8d1a5800645575ec876932bbb9aed3aa65d18f46 by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-42268: Fail the configure step if the selected compiler doesn't support memory sanitizer (GH-29806) (GH-29815) https://github.com/python

[issue45912] [argparse] Print texts starting with capital letters and finish with dot for more formality

2021-11-28 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: -pablogsal ___ Python tracker <https://bugs.python.org/issue45912> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +28048 pull_request: https://github.com/python/cpython/pull/29815 ___ Python tracker <https://bugs.python.org/issue42

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e71c12efcddc1076d5367461a5b416092267aa77 by Pablo Galindo Salgado in branch 'main': bpo-42268: Fail the configure step if the selected compiler doesn't support memory sanitizer (GH-29806) https://github.com/python/cpython/commit

[issue45907] Optimize literal comparisons and contains

2021-11-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: On the other hand, we can probably just remove the TODO -- ___ Python tracker <https://bugs.python.org/issue45

[issue45907] Optimize literal comparisons and contains

2021-11-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I agree with Serhiy and Batuhan. Please reach to python-dev of you really want to pursue this even after what has been already discussed. -- resolution: -> rejected stage: patch review -> resolved status: open -&g

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +28038 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29806 ___ Python tracker <https://bugs.python.org/issu

[issue43137] webbrowser to support "gio open "

2021-11-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The next 3.10 and 3.11 releases are very soon so unfortunately if this is not fixed by then I will need to revert PR29154 -- ___ Python tracker <https://bugs.python.org/issue43

[issue45727] Parse error when missing commas is inconsistent

2021-11-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c72311d91787005713bb5daf4532a86e06496afd by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-45727: Only trigger the 'did you forgot a comma' error suggestion if inside parentheses. (GH-29767) https://github.com/python/cpython/commit

[issue45727] Parse error when missing commas is inconsistent

2021-11-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 24c10d2943c482c4d3ecc71d45df2d8c10fa5bb1 by Pablo Galindo Salgado in branch 'main': bpo-45727: Only trigger the 'did you forgot a comma' error suggestion if inside parentheses (GH-29757) https://github.com/python/cpython/commit

[issue45727] Parse error when missing commas is inconsistent

2021-11-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +28004 pull_request: https://github.com/python/cpython/pull/29767 ___ Python tracker <https://bugs.python.org/issue45

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

2021-11-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset abfc794bbf2c6a0939ddd81b6e700c46944ba87a by Pablo Galindo Salgado in branch 'main': bpo-45822: Minor cleanups to the test_Py_CompileString test (GH-29750) https://github.com/python/cpython/commit/abfc794bbf2c6a0939ddd81b6e700c46944ba87a

[issue45727] Parse error when missing commas is inconsistent

2021-11-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27995 pull_request: https://github.com/python/cpython/pull/29757 ___ Python tracker <https://bugs.python.org/issue45

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

2021-11-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27987 pull_request: https://github.com/python/cpython/pull/29750 ___ Python tracker <https://bugs.python.org/issue45

[issue45191] Error.__traceback__.tb_lineno is wrong

2021-11-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +Mark.Shannon ___ Python tracker <https://bugs.python.org/issue45191> ___ ___ Python-bugs-list mailing list Unsub

[issue45843] Optimizing LOAD_CONST followed by COMPARE_OP (or IS_OP)

2021-11-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I agree with Serhiy -- ___ Python tracker <https://bugs.python.org/issue45843> ___ ___ Python-bugs-list mailin

[issue45709] 3.11 regression: tracing with-statement on exit from block

2021-11-21 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45609] Specialize STORE_SUBSCR

2021-11-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45709] 3.11 regression: tracing with-statement on exit from block

2021-11-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Mark, os something left to do here? -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue45709> ___ ___

[issue45811] Improve error message when source code contains invisible control characters

2021-11-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45811] Improve error message when source code contains invisible control characters

2021-11-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 81f4e116ef7d30ef6e2041c2d6cf29af511a3a02 by Pablo Galindo Salgado in branch 'main': bpo-45811: Improve error message when source code contains invisible control characters (GH-29654) https://github.com/python/cpython/commit

[issue45450] Improve syntax error for parenthesized arguments

2021-11-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7a1d9325287a39528b795b1e8037146777abfe3e by Pablo Galindo Salgado in branch 'main': bpo-45450: Improve syntax error for parenthesized arguments (GH-28906) https://github.com/python/cpython/commit/7a1d9325287a39528b795b1e8037146777abfe3e

[issue45450] Improve syntax error for parenthesized arguments

2021-11-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45727] Parse error when missing commas is inconsistent

2021-11-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45494] [fuzzer] Parser null deref with continuation characters and generator parenthesis error

2021-11-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 79ff0d1687e3f823fb121a19f0297ad052871b1b by Pablo Galindo Salgado in branch 'main': bpo-45494: Fix error location in EOF tokenizer errors (GH-29108) https://github.com/python/cpython/commit/79ff0d1687e3f823fb121a19f0297ad052871b1b

[issue45727] Parse error when missing commas is inconsistent

2021-11-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 511ee1c0fa4dedf32cc2b9f9fa13aa61e07bd165 by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-45727: Make the syntax error for missing comma more consistent (GH-29427) (GH-29647) https://github.com/python/cpython/commit

[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45811] Improve error message when source code contains invisible control characters

2021-11-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27896 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29654 ___ Python tracker <https://bugs.python.org/issu

[issue45727] Parse error when missing commas is inconsistent

2021-11-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27879 pull_request: https://github.com/python/cpython/pull/29647 ___ Python tracker <https://bugs.python.org/issue45

[issue45727] Parse error when missing commas is inconsistent

2021-11-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 546cefcda75d7150b55c8bc1724bea35a1e12890 by Pablo Galindo Salgado in branch 'main': bpo-45727: Make the syntax error for missing comma more consistent (GH-29427) https://github.com/python/cpython/commit

[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27878 pull_request: https://github.com/python/cpython/pull/29646 ___ Python tracker <https://bugs.python.org/issue45

[issue45848] Pegen's nice error reporting crashes with non-UTF-8 files

2021-11-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27876 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29626 ___ Python tracker <https://bugs.python.org/issu

[issue45834] Move runtime except: check to the parser

2021-11-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27858 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29625 ___ Python tracker <https://bugs.python.org/issu

[issue45834] Move runtime except: check to the parser

2021-11-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Fantastic point, Irit! Will try to make s prototype this week -- ___ Python tracker <https://bugs.python.org/issue45

[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 <https://bugs.python.org/issue45

[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 <https://bugs.python.or

[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 <https://bugs.python.org/issue45

[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) https://github.com/python/cpython

[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) https://github.com/python/cpython/commit

[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 <https://bugs.python.org/issu

[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

[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 <https://bugs.python.org/issu

[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 <https://bugs.python.org/issue45

[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 <https://bugs.python.org/issue45

[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

[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 yo

[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. &

[issue45812] SystemError when using code.interact

2021-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I cannot reproduce this in the main branch: ❯ ./python.exe Python 3.11.0a2+ (heads/main:9bf2cbc4c4, Nov 16 2021, 08:59:12) [Clang 12.0.0 (clang-1200.0.32.29)] on darwin Type "help", "copyright", "credits" or "licens

[issue45812] SystemError when using code.interact

2021-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: What versions does this affect? Only the main branch? -- ___ Python tracker <https://bugs.python.org/issue45

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 142fcb40b6e460fa9b4a89fe9846b1ce4176354e by Pablo Galindo Salgado in branch '3.9': bpo-45738: Fix computation of error location for invalid continuation characters in the parser (GH-29550) (GH-29552) https://github.com/python/cpython

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This should be fixed by now, but please, check if everything is in order in your respective test suites and confirm here. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27801 pull_request: https://github.com/python/cpython/pull/29552 ___ Python tracker <https://bugs.python.org/issue45

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 25835c518aa7446f3680b62c1fb43827e0f190d9 by Pablo Galindo Salgado in branch 'main': bpo-45738: Fix computation of error location for invalid continuation (GH-29550) https://github.com/python/cpython/commit

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27799 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29550 ___ Python tracker <https://bugs.python.org/issu

[issue45801] Incorrect "Perhaps you forgot a comma" hint

2021-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will close this but will try to think for another issue into an error for the parens -> braket. Thanks for opening the issue! -- resolution: -> not a bug stage: -> resolved status: open

[issue45801] Incorrect "Perhaps you forgot a comma" hint

2021-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think this is correct because if you add a comma, indeed is valid syntax: >>> sum,[i for i in [1, 2, 3] if i%2==0] (, [2]) Here the problem is that you are mentally mapping the construct to sum(...) where the parens are substituted with

[issue45764] Parse error improvement forgetting ( after def

2021-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Normally we don't backport new errors to old versions so we can close this. Thanks for the ping! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +BTaskaya, lys.nikolaou ___ Python tracker <https://bugs.python.org/issue45738> ___ ___ Python-bugs-list mailin

[issue45738] 3.11 exec raises SystemError instead of SyntaxError on char after line continuation

2021-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will be able to take a look later in the weekend, so if someone is able to give it a go before, that would be great. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45235] argparse does not preserve namespace with subparser defaults

2021-11-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The next bugfixe release of 3.10 is the 6th of December -- ___ Python tracker <https://bugs.python.org/issue45

[issue45786] Avoid allocating when exiting frame; it may be unsafe.

2021-11-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Allocating memory can invoke GC Technically, only allocating objects can trigger GC (specifically initializing them). All the malloc APIs don't currently call the GC by themselves. -- ___ Python trac

[issue45754] [sqlite3] SQLITE_LIMIT_LENGTH is incorrectly used to check statement length

2021-11-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c1323d4b8cb010a06c11bace6e681bea7f895851 by Erlend Egeberg Aasland in branch 'main': bpo-45754: Use correct SQLite limit when checking statement length (GH-29489) https://github.com/python/cpython/commit

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

2021-11-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

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

2021-11-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 20205ad2b5be7eb3361224fd2502d1ba09c8ae4a by Pablo Galindo Salgado in branch 'main': bpo-45637: Fix cframe-based fallback in the gdb helpers (GH-29515) https://github.com/python/cpython/commit/20205ad2b5be7eb3361224fd2502d1ba09c8ae4a

[issue45778] libpython.so 3.9.8 drops symbol used by third party extension module(s)

2021-11-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yeah, the ABI guarantees are for the public C-API (both the restricted/limited and the general one) but not for private symbols. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45778] libpython.so 3.9.8 drops symbol used by third party extension module(s)

2021-11-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Aren't these private symbols? -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue45778> ___ ___ Pytho

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

2021-11-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27767 pull_request: https://github.com/python/cpython/pull/29515 ___ Python tracker <https://bugs.python.org/issue45

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

2021-11-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f4c03484da59049eb62a9bfb963e2267d187 by Pablo Galindo Salgado in branch 'main': bpo-45637: Remove broken fallback in gdb helpers to obtain frame variable (GH-29257) https://github.com/python/cpython/commit

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2021-11-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Are we missing something here? -- ___ Python tracker <https://bugs.python.org/issue38006> ___ ___ Python-bugs-list m

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

2021-11-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unless I am missing something it should be 3.11 non-silent warning and 3.12 syntax error -- ___ Python tracker <https://bugs.python.org/issue43

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

2021-11-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27683 pull_request: https://github.com/python/cpython/pull/29428 ___ Python tracker <https://bugs.python.org/issue45

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

2021-11-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

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

2021-11-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e2d65630f36712dbdbf7711520c985c526a5cc25 by Pablo Galindo Salgado in branch 'main': bpo-45716: Improve the error message when using True/False/None as keywords in a call (GH-29413) https://github.com/python/cpython/commit

[issue45727] Parse error when missing commas is inconsistent

2021-11-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27680 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29427 ___ Python tracker <https://bugs.python.org/issu

[issue45727] Parse error when missing commas is inconsistent

2021-11-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >(I don't know if these nit-picky parsing issues are too annoying, if they are >please tell me to stop filing them). Don't worry, I think is great to discuss these cases. If there are too many, then maybe it will take a while to correct, but

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

2021-11-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27665 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29413 ___ Python tracker <https://bugs.python.org/issu

[issue44257] typo and verbous grammar in the grammar spec

2021-11-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

<    1   2   3   4   5   6   7   8   9   10   >