[issue37731] Possible redifinition of _POSIX_C_SOURCE in ./pyconfig.h

2019-10-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 8177404d520e81f16324a900f093adf3856d33f8 by Pablo Galindo in branch 'master': bpo-37731: Reorder includes in xmltok.c to avoid redefinition of _POSIX_C_SOURCE (GH-16733) https://github.com/python/cpyt

[issue38455] ‘memset’ offset [17, 88] from the object at ‘addrbuf’ is out of the bounds of referenced subobject

2019-10-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +christian.heimes ___ Python tracker <https://bugs.python.org/issue38455> ___ ___ Python-bugs-list mailing list Unsub

[issue38455] ‘memset’ offset [17, 88] from the object at ‘addrbuf’ is out of the bounds of referenced subobject

2019-10-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Duplicate of https://bugs.python.org/issue38282 -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37731] Possible redifinition of _POSIX_C_SOURCE in ./pyconfig.h

2019-10-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.or

[issue38446] Ambiguous signature for builtins.__build_class__

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

[issue38282] socketmodule.c: _FORTIFY_SOURCE=2 warning in AF_ALG case of getsockaddrarg()

2019-10-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The failures on FreeBSD are: /usr/home/buildbot/python/3.x.koobs-freebsd10.nondebug/build/Modules/socketmodule.c:1931:50: error: no member named 'bt_l2' in 'union sock_addr' struct sockaddr_l2 *ad

[issue38282] socketmodule.c: _FORTIFY_SOURCE=2 warning in AF_ALG case of getsockaddrarg()

2019-10-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16317 pull_request: https://github.com/python/cpython/pull/16738 ___ Python tracker <https://bugs.python.org/issue38

[issue38282] socketmodule.c: _FORTIFY_SOURCE=2 warning in AF_ALG case of getsockaddrarg()

2019-10-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR 16738 fixes the FreeBSD buildbots by correctly handling the Bluetooth L2CAP socket structure in FreeBSD if only bluetooth.h is available. Check out https://man.cx/ng_btsocket(4) for example for more info in the ng_btsocket protocol for FreeBSD

[issue38458] lists

2019-10-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: -pablogsal ___ Python tracker <https://bugs.python.org/issue38458> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38458] lists

2019-10-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi Devor, This is not a bug in Python but indeed documented behavior. When you do p=l you are creating a new reference to the same list ([2,3,4]), so changing one changes the other. If you want to make a copy you can do p = l.copy

[issue38282] socketmodule.c: _FORTIFY_SOURCE=2 warning in AF_ALG case of getsockaddrarg()

2019-10-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 27b33fb41a7c64a6211d73d14804aa0cd6defccb by Pablo Galindo in branch 'master': bpo-38282: Correctly manage the Bluetooth L2CAP socket structure in FreeBSD (GH-16738) https://github.com/python/cpyt

[issue38456] Reduce the time test_subprocess takes to complete.

2019-10-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16318 pull_request: https://github.com/python/cpython/pull/16739 ___ Python tracker <https://bugs.python.org/issue38

[issue38456] Reduce the time test_subprocess takes to complete.

2019-10-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 46113e0cf32748f66cf64cd633984d143b433cd1 by Pablo Galindo in branch 'master': bpo-38456: Handle the case when there is no 'true' command (GH-16739) https://github.com/python/cpython/commit/46113e0cf32748f66cf6

[issue38379] finalizer resurrection in gc

2019-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 466326dcdf038b948d94302c315be407c73e60d1 by Pablo Galindo in branch 'master': bpo-38379: Don't block collection of unreachable objects when some objects resurrect (GH-16687) https://github.com/python

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +emilyemorehouse, gvanrossum, ncoghlan, pablogsal ___ Python tracker <https://bugs.python.org/issue38469> ___ ___ Pytho

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think this is a bug in the symtable_extend_namedexpr_scope function because when visiting the stack in reverse order and finding a function block is always assigning the scope as DEF_NONLOCAL. Marking also as a release blocker unless Nick, Guido or

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue38469> ___ ___ Python-bugs-list mailing list Unsub

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am working on a fix now, se we can merge it before the final release -- ___ Python tracker <https://bugs.python.org/issue38

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +16328 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16755 ___ Python tracker <https://bugs.python.org/issu

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > But is it really important enough to violate the desired "rc1 == release" > invariant? I created the fix because many other bug fixes have been merged since rc1 already so apologies if it seemed a bit precipitate. Let's

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-13 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : This buildbot has been failing for a long time (example failure https://buildbot.python.org/all/#/builders/40/builds/3291) since https://github.com/python/cpython/commit/4267c989e7fc6cd528e8a1d04a07fac5cca85ec7

[issue38112] Compileall improvements

2019-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The AMD64 Windows7 SP1 3.x buildbot has been failing for a while since commit 4267c989e7fc6cd528e8a1d04a07fac5cca85ec7, please take a look at https://bugs.python.org/issue38470. -- nosy: +pablogsal

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset fd5c414880b2e05720b9cf14ab0b0d7ae2b7d925 by Pablo Galindo in branch 'master': bpo-38469: Handle named expression scope with global/nonlocal keywords (GH-16755) https://github.com/python/cpyt

[issue38470] test_compileall fails in AMD64 Windows7 SP1 3.x

2019-10-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: You can trigger custom buildbot runs by pushing to the 'buildbot-custom' branch in the CPython repo. -- ___ Python tracker <https://bugs.python.o

[issue38469] PEP 572 : assignment expression to a global variable in a comprehension

2019-10-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

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

2019-10-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> pablogsal ___ Python tracker <https://bugs.python.org/issue38478> ___ ___ Python-bugs-list mailing list Un

[issue37633] Py_CompileString and PyParser_SimpleParseString not exported in python38.dll

2019-10-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue37633> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

2019-10-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +16356 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16800 ___ Python tracker <https://bugs.python.org/issu

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

2019-10-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue38478> ___ ___ Python-bugs-list mailing list Unsub

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

2019-10-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks, Brian for the report! I have a fix ready. When merged, this will be available in the next release. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

2019-10-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset f3ef06a7cb347ab7bd3cc2b0b3dcebe4f9ff36f9 by Pablo Galindo in branch 'master': bpo-38478: Correctly handle keyword argument with same name as positional-only parameter (GH-16800) https://github.com/python/cpyt

[issue38478] inspect.signature.bind does not correctly handle keyword argument with same name as positional-only parameter

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

[issue38518] Pickle protocol 5 is not documented in the data-stream-format section for the pickle docs

2019-10-18 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The Data Stream format section of the pickle docs (https://docs.python.org/3/library/pickle.html#data-stream-format) fails to document protocol 5 in the list of protocols. -- assignee: docs@python components: Documentation messages: 354898

[issue38518] Pickle protocol 5 is not documented in the data-stream-format section for the pickle docs

2019-10-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the finding, Karthikeyan! :) -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Pickle protocol v 5 needs to be documented ___ Python tra

[issue33462] reversible dict

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16399 pull_request: https://github.com/python/cpython/pull/16847 ___ Python tracker <https://bugs.python.org/issue33

[issue30040] Speedup empty dict creation and reduce its memory usage

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16398 pull_request: https://github.com/python/cpython/pull/16847 ___ Python tracker <https://bugs.python.org/issue30

[issue38525] Strange reversed dict behavior

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16397 pull_request: https://github.com/python/cpython/pull/16847 ___ Python tracker <https://bugs.python.org/issue38

[issue38525] Strange reversed dict behavior

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal, remi.lapeyre priority: normal -> critical ___ Python tracker <https://bugs.python.org/issue38525> ___ _

[issue38525] Strange reversed dict behavior

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Wops, we made a PR at the same time, Dong-hee Na. I will close mine :) -- ___ Python tracker <https://bugs.python.org/issue38

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : To improve the debugging experience in both interactive and non-interactive code, I propose to offer suggestions when attribute access fails. For example: >>> class A: foo = None ... >>> A.fou Traceback (most recent call last):

[issue38530] Offer suggestions on AttributeError

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

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +serhiy.storchaka, vstinner ___ Python tracker <https://bugs.python.org/issue38530> ___ ___ Python-bugs-list mailin

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR 16850 shows an initial prototype for the idea -- ___ Python tracker <https://bugs.python.org/issue38530> ___ ___

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am not super convinced that this is a great idea because it has some performance cost (although somewhat controlled) but I want to open a discussion. -- ___ Python tracker <https://bugs.python.

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Idea: we could only do this in interactive mode if we consider that is expensive enough. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am running pyperformance to check the performance cost of this. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38525] Strange reversed dict behavior

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 24dc2f8c56697f9ee51a4887cf0814b6600c1815 by Pablo Galindo (Dong-hee Na) in branch 'master': bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH-16846) https://github.com/python/cpyt

[issue38520] There is no proper way to know if a process is the main one

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue38520> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38525] Strange reversed dict behavior

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Closing this. Thanks, Dong-hee Na and everyone involved in the issue! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Slower (27): - pathlib: 25.2 ms +- 0.4 ms -> 105 ms +- 2 ms: 4.18x slower (+318%) - sympy_str: 315 ms +- 3 ms -> 500 ms +- 3 ms: 1.59x slower (+59%) - sympy_sum: 203 ms +- 2 ms -> 286 ms +- 2 ms: 1.41x slower (+41%) - sqlalchemy_imperative

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Serhiy, do you think we could attach the object and the name to some private fields of the AttributeError and check that in sys.excepthook if they are present? -- ___ Python tracker <ht

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will also repeat the pyperformance results locally just in case something was off on the speed.python.org server. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Why private? They should be public. I was suggesting orivate for now until the/a PEP to modify the exception is approved. In this way we could try to implement the feature that way. -- On the other hand do you see any way to make the curr

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > But the problem is that making a reference to the object we can prolong its > lifetime and even create a reference loop. If I'm not mistaken, as long as the traceback is alive, the object is alive beacuse the frames will contain it. The

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg354974 ___ Python tracker <https://bugs.python.org/issue38530> ___ ___ Python-bug

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > But the problem is that making a reference to the object we can prolong its > lifetime and even create a reference loop. If I'm not mistaken, as long as the traceback is alive, the object is alive beacuse the frames will contain it. The

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16403 pull_request: https://github.com/python/cpython/pull/16856 ___ Python tracker <https://bugs.python.org/issue38

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have opened PR 16856 adding fields to the AttributeError and implementing the feature in PyErr_Display. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38530] Offer suggestions on AttributeError

2019-10-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: With the new approach, there is no measurable different in performance: venv ❯ pyperf compare_to json/2019-10-19_20-01-master-24dc2f8c5669.json.gz json/2019-10-20_01-32-suggestions2-21404456383b.json.gz -G Slower (3): - 2to3: 400 ms +- 2 ms -> 405

[issue38530] Offer suggestions on AttributeError

2019-10-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think I am going to proceed modifying PR 16858 by adding the name and the object to the AttributeError exceptions. This should not extend the lifetime of the object more than the current exception is doing as the exception keeps alive the whole

[issue38530] Offer suggestions on AttributeError

2019-10-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think I am going to proceed to modify PR 16856 by adding the name and the object to the AttributeError exceptions. This should not extend the lifetime of the object more than the current exception is doing as the exception keeps alive the whole

[issue38530] Offer suggestions on AttributeError

2019-10-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg355498 ___ Python tracker <https://bugs.python.org/issue38530> ___ ___ Python-bug

[issue38530] Offer suggestions on AttributeError

2019-10-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > By the way, does IPython have a feature like this? Not that I know of. > In short, https://github.com/SylvainDe/DidYouMean-Python seems to already > implement this issue in the proper way, no? I briefly checked the project. My current

[issue38530] Offer suggestions on AttributeError

2019-10-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Helping the developer to suggest a fix introduces a minor but non-zero > overhead, I would prefer to only enable it as an opt-in option. Maybe enable > it using in the development mode (-X dev/PYTHONDEVMODE=1)? I think doing that would mak

[issue37957] Allow regrtest to receive a file with test (and subtests) to ignore

2019-10-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +16515 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16989 ___ Python tracker <https://bugs.python.org/issu

[issue38640] while False: break => SyntaxError: 'break' outside loop

2019-10-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +16518 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16992 ___ Python tracker <https://bugs.python.org/issu

[issue38640] while False: break => SyntaxError: 'break' outside loop

2019-10-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6c3e66a34b95fff07df0ad5086104dd637a091ce by Pablo Galindo in branch 'master': bpo-38640: Allow break and continue in always false while loops (GH-16992) https://github.com/python/cpython/commit/6c3e66a34b95fff07df0ad5086104d

[issue38640] while False: break => SyntaxError: 'break' outside loop

2019-10-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks, Hugo Dupras for the report! :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

2021-03-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Steve, do you think that makes sense? If so, I will create a batch of PRs to correct it. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

2021-03-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think I prefer to raise a single event, because it match more closely the actual call, is a bit faster and more straighfoward. I will create a PR soon -- ___ Python tracker <https://bugs.python.

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

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

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

2021-03-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 9c376bc1c4c8bcddb0bc4196b79ec8c75da494a8 by Pablo Galindo in branch 'master': bpo-43439: Wrapt the tuple in the audit events for the gc module (GH-24836) https://github.com/python/cpython/commit/9c376bc1c4c8bcddb0bc4196b79ec8

[issue43410] Parser does not handle correctly some errors when parsin from stdin

2021-03-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset cd8dcbc851fcc312722cdb5544c2f25cf46b3f8a by Pablo Galindo in branch 'master': bpo-43410: Fix crash in the parser when producing syntax errors when reading from stdin (GH-24763) https://github.com/python/cpyt

[issue43410] Parser does not handle correctly some errors when parsin from stdin

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

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

2021-03-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23614 pull_request: https://github.com/python/cpython/pull/24854 ___ Python tracker <https://bugs.python.org/issue43

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

2021-03-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23615 pull_request: https://github.com/python/cpython/pull/24855 ___ Python tracker <https://bugs.python.org/issue43

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

2021-03-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 1e7a47ab86d5d6a5103e67ba71389f6daa18ea2d by Pablo Galindo in branch '3.8': [3.8] bpo-43439: Wrapt the tuple in the audit events for the gc module (GH-24836) (GH24854) https://github.com/python/cpyt

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

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

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

2021-03-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e6bf1e1001a6844a36f2f90f58ab12b9e09e3887 by Pablo Galindo in branch '3.9': [3.9] bpo-43439: Wrapt the tuple in the audit events for the gc module (GH-24836) (GH-24855) https://github.com/python/cpyt

[issue43466] ssl/hashlib: Add configure option to set or auto-detect rpath to OpenSSL libs

2021-03-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Would you mind if I regenerate configure with 2.69 and we stick with stable > version for a little bit longer? Please, go ahead. I need to remember then to use a docker container or something like that for the release then. What's the p

[issue43502] [C-API] Convert obvious unsafe macros to static inline functions

2021-03-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I agree we should be careful here. There are several things to consider: * Macros transformed into function may or may not get inlined so there is a risk of affecting performance if we just transform them in bulk. * Because the macro is defined as

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

2021-03-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PEP 626 deprecates co_lnotab, co_lnotab: https://www.python.org/dev/peps/pep-0626/#id15 This doesn't seem to be mentioned in the What's new document and is quite important. Mark, do you mind creating a PR for this? I could do it and add

[issue42128] Structural Pattern Matching (PEP 634)

2021-03-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 08fb8ac99ab03d767aa0f1cfab3573eddf9df018 by Pablo Galindo in branch 'master': bpo-42128: Add 'missing :' syntax error message to match statements (GH-24733) https://github.com/p

[issue43521] Allow `ast.unparse` to handle NaNs and empty sets

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

[issue43555] Location of SyntaxError with new parser missing (after continuation character)

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

[issue43452] Microoptimize PyType_Lookup for cache hits

2021-03-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset ee48c7d54147ae906776b9f6f96e8920e097d0c4 by Dino Viehland in branch 'master': bpo-43452: Micro-optimizations to PyType_Lookup (GH-24804) https://github.com/python/cpython/commit/ee48c7d54147ae906776b9f6f96e8920e097d0c4 -

[issue43452] Microoptimize PyType_Lookup for cache hits

2021-03-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

[issue43452] Microoptimize PyType_Lookup for cache hits

2021-03-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23707 pull_request: https://github.com/python/cpython/pull/24949 ___ Python tracker <https://bugs.python.org/issue43

[issue43572] "Too many open files" on macOS buildbot

2021-03-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >> I don't see that error message - where are you seeing it? You need to search for it in the full log: stderr: --- Traceback (most recent call last): File "/Users/buildbot/buildarea/3.x.billenstein-macos/build/Lib/test/test_i

[issue43591] Parser aborts on incomplete/incorrect unicode literals in interactive mode

2021-03-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23732 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24973 ___ Python tracker <https://bugs.python.org/issu

[issue43591] Parser aborts on incomplete/incorrect unicode literals in interactive mode

2021-03-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the report and the patch Erlend!. I have transformed it into a PR with attribution in PR 24973 -- ___ Python tracker <https://bugs.python.org/issue43

[issue43591] Parser aborts on incomplete/incorrect unicode literals in interactive mode

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

[issue43591] Parser aborts on incomplete/incorrect unicode literals in interactive mode

2021-03-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 123ff266cda9ad279106f20dca06ba114f6a9b8a by Pablo Galindo in branch 'master': bpo-43591: Fix error location in interactive mode for errors at the end of the line (GH-24973) https://github.com/python/cpyt

[issue43555] Location of SyntaxError with new parser missing (after continuation character)

2021-03-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 96eeff516204b7cc751103fa33dcc665e387846e by Pablo Galindo in branch 'master': bpo-43555: Report the column offset for invalid line continuation character (GH-24939) https://github.com/python/cpyt

[issue43555] Location of SyntaxError with new parser missing (after continuation character)

2021-03-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 994a519915bff4901abaa7476e2b91682dea619a by Miss Islington (bot) in branch '3.9': bpo-43555: Report the column offset for invalid line continuation character (GH-24939) (#24975) https://github.com/python/cpyt

[issue43555] Location of SyntaxError with new parser missing (after continuation character)

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

[issue31861] add aiter() and anext() functions

2021-03-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal nosy_count: 12.0 -> 13.0 pull_requests: +23762 pull_request: https://github.com/python/cpython/pull/25004 ___ Python tracker <https://bugs.python.org/issu

[issue31861] add aiter() and anext() functions

2021-03-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +23763 pull_request: https://github.com/python/cpython/pull/25005 ___ Python tracker <https://bugs.python.org/issue31

[issue31861] add aiter() and anext() functions

2021-03-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d9692027f41ee7600fe401c066617ebfc8bac930 by Pablo Galindo in branch 'master': bpo-31861: Complete the C-API docs for PyObject_GetAiter and PyAiter_Check (GH-25004) https://github.com/python/cpyt

[issue43452] Microoptimize PyType_Lookup for cache hits

2021-03-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a054f6b2b1d9f75edfb5ec2247bbf60f07491977 by Pablo Galindo in branch 'master': bpo-43452: Document the PyType_Lookup optimizations in the What's New for 3.10 (GH-24949) https://github.com/python

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