[issue32409] venv activate.bat is UTF-8 encoded but uses current console codepage

2018-11-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6843ffe4533e9f2cde036296fd932fef6f059687 by Pablo Galindo in branch 'master': Revert "bpo-32409: Fix regression in activate.bat on international Windows (GH-10295)" (GH-10403) https://github.com/p

[issue35197] graminit.h defines very generic names like 'stmt' or 'test'

2018-11-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue35197> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-11-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am collecting information on how different compilers behave with the `static inline`. I am checking the following compilers: ARM GCC AVR GCC CLANG X86_64 CLANG RISC-V ELLCC GCC X86_64 ICC x86_64 MIPS GCC MSP GCC POWERPC GCC AIX Compiler (xlc) SunPro

[issue35197] graminit.h defines very generic names like 'stmt' or 'test'

2018-11-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >Do you know if it's used outside CPython? Although not a complete view, all of the mentions I can find in GitHub is in copies of CPython/forks/vendoring of Cpython: https://github.com/search?l=C&p=13&q=gram

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : As commented on Issue33878, the fact that expressions like (x) = 42 are accepted is, in reality, an implementation detail and they should be disallowed. -- assignee: pablogsal components: Interpreter Core messages: 329590 nosy: pablogsal

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +9718 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue33878] Doc: Assignment statement to tuple or list: case missing.

2018-11-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9719 ___ Python tracker <https://bugs.python.org/issue33878> ___ ___ Python-bugs-list mailing list Unsub

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +gvanrossum, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue35207> ___ ___ Python-bugs-list mailin

[issue35207] Disallow expressions like (a) = 42

2018-11-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am not sure if this is the cleanest/simplest implementation...if you think there is a better way to do this I am happy to change the Pull Request :) -- ___ Python tracker <https://bugs.python.

[issue35219] macOS 10.14 Mojave crashes in multiprocessing

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Apparently setting the env variable OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES should fix some fork-related changes. Have you tried already doing this? Does it change the behaviour of the errors in any way? -- nosy: +pablogsal

[issue35207] Disallow expressions like (a) = 42

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi @paul, have you already checked https://docs.python.org/3/c-api/memory.html#customize-memory-allocators? -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue35

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg329755 ___ Python tracker <https://bugs.python.org/issue35215> ___ ___ Python-bug

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi @paul, have you already checked https://docs.python.org/3/c-api/memory.html#customize-memory-allocators ? -- ___ Python tracker <https://bugs.python.org/issue35

[issue35219] macOS 10.14 Mojave crashes in multiprocessing

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Apparently, GitLab have a more permanent solution around this by enabling the Objective-C runtime before any forking happens: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16649/diffs

[issue35219] macOS 10.14 Mojave crashes in multiprocessing

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This can a duplicate of https://bugs.python.org/issue33725 -- ___ Python tracker <https://bugs.python.org/issue35

[issue32492] C Fast path for namedtuple's property/itemgetter pair

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9754, 9755, 9756 ___ Python tracker <https://bugs.python.org/issue32492> ___ ___ Python-bugs-list mailin

[issue32492] C Fast path for namedtuple's property/itemgetter pair

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9754, 9755 ___ Python tracker <https://bugs.python.org/issue32492> ___ ___ Python-bugs-list mailin

[issue32492] C Fast path for namedtuple's property/itemgetter pair

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9754 ___ Python tracker <https://bugs.python.org/issue32492> ___ ___ Python-bugs-list mailing list Unsub

[issue32492] C Fast path for namedtuple's property/itemgetter pair

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: -9756 ___ Python tracker <https://bugs.python.org/issue32492> ___ ___ Python-bugs-list mailing list Unsub

[issue32492] C Fast path for namedtuple's property/itemgetter pair

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: -9755 ___ Python tracker <https://bugs.python.org/issue32492> ___ ___ Python-bugs-list mailing list Unsub

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue35214> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > The point of this 'issue' is to ask the community to suggest how i can go > about finding where the problem is. As I said, there is a lot of code :) Sadly, this tracker is to track bugs related to CPython. Modifying the interpret

[issue31541] Mock called_with does not ensure self/cls argument is used

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I agree with Karthikeyan: This is is the expected behaviour. The moment you use a mock, any implementation details are lost unless you use wraps or similar to also transfer the call to the/a real object. -- nosy: +pablogsal

[issue31541] Mock called_with does not ensure self/cls argument is used

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Will -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue31541] Mock called_with does not ensure self/cls argument is used

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg329801 ___ Python tracker <https://bugs.python.org/issue31541> ___ ___ Python-bug

[issue35221] Enhance venv activate commands readability

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue35221> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I cannot initialize the interpreter after compiling with --with-memory-sanitizer: ❯ CC=clang ./configure --with-memory-sanitizer && make -j ❯ ./python Python 3.8.0a0 (heads/master:1584a00815, Nov 13 2018, 03:29:18) [Clang 7.0.0 (tags/RELEASE_7

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks @alex! I will try again after linking against ASAN-compiled version of my libraries. -- ___ Python tracker <https://bugs.python.org/issue35

[issue30156] PYTHONDUMPREFS segfaults on exit

2018-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9768 ___ Python tracker <https://bugs.python.org/issue30156> ___ ___ Python-bugs-list mailing list Unsub

[issue34784] Heap-allocated StructSequences

2018-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9787 ___ Python tracker <https://bugs.python.org/issue34784> ___ ___ Python-bugs-list mailing list Unsub

[issue34784] Heap-allocated StructSequences

2018-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR9665 solves also Issue28709 -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue34784> ___ ___ Pytho

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: xvfb is a utility that allows you to run a command in a virtual X server environment. I assume that is needed for the doctests that use the X server. I assume is related to PR9806 -- ___ Python tracker

[issue35241] test_embed fails on MacOS buildbots

2018-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- stage: -> needs patch type: -> behavior ___ Python tracker <https://bugs.python.org/issue35241> ___ ___ Python-bugs-

[issue35241] test_embed fails on MacOS buildbots

2018-11-13 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/147/builds/430/steps/4/logs/stdio https://buildbot.python.org/all/#/builders/109/builds/789/steps/4/logs/stdio == FAIL

[issue34784] Heap-allocated StructSequences

2018-11-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset bfb855bef6b428d639693caaf4e4c84cbb8a2f51 by Pablo Galindo in branch 'master': bpo-34784: Implement correct cleanup in PyStructSequence new implementation (GH-10536) https://github.com/python/cpyt

[issue6173] Minor typo in socket.py

2009-06-01 Thread Pablo Torres Navarrete
New submission from Pablo Torres Navarrete : Index: socket.py === --- socket.py (revision 73134) +++ socket.py (working copy) @@ -16,7 +16,7 @@ gethostbyname() -- map a hostname to its IP number gethostbyaddr() -- map an IP

[issue6173] Minor typo in socket.py

2009-06-01 Thread Pablo Torres Navarrete
Changes by Pablo Torres Navarrete : -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue6173> ___ ___ Python-bugs-list mailing list Unsub

[issue1184112] Missing trailing newline with comment raises SyntaxError

2009-06-07 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: Confirmed on versions 2.6.2, 3.0.1 and 3.1rc1. On the three of them, I tried this: >>> import parser >>> test = 'def foo():\n\tpass\n\n# comment' >>> parser.suite(test) Traceback (most recent call last): F

[issue1184112] Missing trailing newline with comment raises SyntaxError

2009-06-07 Thread Pablo Torres Navarrete
Changes by Pablo Torres Navarrete : -- versions: +Python 3.1 ___ Python tracker <http://bugs.python.org/issue1184112> ___ ___ Python-bugs-list mailing list Unsub

[issue5313] multiprocessing.process using os.close(sys.stdin.fileno) instead of sys.stdin.close()

2009-06-10 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: Wouldn't it be more pythonic to just try sys.stdin.fileno() and catch the AtributeError too? def _bootstrap(self): try: os.close(sys.stdin.fileno()) except Atribute

[issue5800] make wsgiref.headers.Headers accept empty constructor

2009-06-17 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: Patch attached. While I was at it, I also removed stupid whitespace and generally made the module more PEP8-compliant. -- nosy: +ptn Added file: http://bugs.python.org/file14311/patch ___ Python tracker

[issue5801] spurious empty lines in wsgiref code

2009-06-17 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: The patch for issue #5800 solves this. -- nosy: +ptn ___ Python tracker <http://bugs.python.org/issue5801> ___ ___ Pytho

[issue6064] Add "daemon" argument to threading.Thread constructor

2009-06-17 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: +1, but I can't apply the patch cleanly: $ patch -p0 < threading.diff patching file Doc/library/threading.rst Hunk #1 succeeded at 198 (offset -17 lines). Hunk #2 succeeded at 211 (offset -17 lines). Hunk #3 succeeded at 230 (offset -

[issue1685] linecache .updatecache fails on utf8 encoded files

2009-06-17 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: Cannot reproduce on Ubuntu 9.04 with py3k at revision 73267: $ ./python Python 3.1rc1+ (py3k:73267, Jun 7 2009, 14:45:03) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more inform

[issue6064] Add "daemon" argument to threading.Thread constructor

2009-06-17 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: Nope. Our working copies seem to be different. I'm uploading mine, which I just update to revision 73468. Please diff yours against that and against HEAD too, just in case. Hunk 2 on threading.py fails because your attributes use two le

[issue6064] Add "daemon" argument to threading.Thread constructor

2009-06-17 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: > I'm diffing against the 2.7 branch, I guess your comes from the 3.2? *forehead meets desktop* Patch applies cleanly and all tests pass. I used it for a while and everything seemed OK. After someone else tests, I say we g

[issue6064] Add "daemon" argument to threading.Thread constructor

2009-06-17 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: +1 on making it a keyword-only argument. -- ___ Python tracker <http://bugs.python.org/issue6064> ___ ___ Python-bug

[issue5800] make wsgiref.headers.Headers accept empty constructor

2009-06-17 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: Added a pointer from #5801 to here. -- ___ Python tracker <http://bugs.python.org/issue5800> ___ ___ Python-bugs-list m

[issue5801] spurious empty lines in wsgiref code

2009-06-19 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: I added the patch for #5800 -- Added file: http://bugs.python.org/file14321/patch ___ Python tracker <http://bugs.python.org/issue5

[issue6372] Make all switches keyword-only

2009-06-29 Thread Pablo Torres Navarrete
New submission from Pablo Torres Navarrete : I propose that all formal parameters that really act as options/switches be made keyword-only. Examples of switches are all flags, timeouts, 'verbose' bools, maximums and minimums, etc. This stresses the difference between needed i

[issue6372] Make all switches keyword-only

2009-06-29 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: OK, bad idea it is then. Thank you for your time. -- ___ Python tracker <http://bugs.python.org/issue6372> ___ ___

[issue5801] spurious empty lines in wsgiref code

2009-06-30 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: I cleaned the rest of the module by shortening lines that are too long, removing useless blocks of empty lines and adding whitespace around operators and after commas. Nothing in the programming logic was changed. -- Added file: http

[issue5801] spurious empty lines in wsgiref code

2009-06-30 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: The patch applies to rev 73702 of the py3k branch. -- ___ Python tracker <http://bugs.python.org/issue5801> ___ ___

[issue5801] spurious empty lines in wsgiref code

2009-06-30 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: Oops, forgot to add the .diff extension so web browsers don't get confused. Their contents are the same though. -- keywords: +patch Added file: http://bugs.python.org/file14411/wsgiref-patch.diff ___ P

[issue45645] Deep recursion terminates script execution with no error (Windows, Python 3.9)

2021-10-28 Thread PABLO LOBATO DE LA CRUZ
New submission from PABLO LOBATO DE LA CRUZ : Deep recursion crashes on Windows (Python 3.9) when the depth limit is increased and no error is shown. Seems to work fine on other systems that I have tried (Linux and MacOS). Please find attached the script to reproduce the error. Expected and

[issue45645] Deep recursion terminates script execution with no error (Windows, Python 3.9)

2021-10-28 Thread PABLO LOBATO DE LA CRUZ
PABLO LOBATO DE LA CRUZ added the comment: I see thanks for answering so quickly. But why does it happen only on Windows? El jue, 28 oct 2021 a las 23:09, Steve Dower () escribió: > > Steve Dower added the comment: > > This is almost certainly because of how Windows handles st

[issue45645] Deep recursion terminates script execution with no error (Windows, Python 3.9)

2021-10-29 Thread PABLO LOBATO DE LA CRUZ
PABLO LOBATO DE LA CRUZ added the comment: I see. Thank you very much Steve :) El vie, 29 oct 2021 a las 0:29, Steve Dower () escribió: > > Steve Dower added the comment: > > > But why does it happen only on Windows? > > Because it's the operating system that

[issue32814] smtplib.send_message mishandles 8BITMIME RFC 6152

2018-07-28 Thread Pablo S Blum de Aguiar
Pablo S Blum de Aguiar added the comment: This is just to note that I'm investigating this as part of the CPython sprint in EuroPython. -- nosy: +scorphus ___ Python tracker <https://bugs.python.org/is

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-07-28 Thread Pablo S Blum de Aguiar
Pablo S Blum de Aguiar added the comment: This is just to note that I'm investigating this issue as part of the CPython sprint in EuroPython. -- nosy: +scorphus ___ Python tracker <https://bugs.python.org/is

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-07-29 Thread Pablo Santiago Blum de Aguiar
Change by Pablo Santiago Blum de Aguiar : -- keywords: +patch pull_requests: +8070 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35128] warning.warn messages with spacing issues

2018-10-31 Thread Pablo Santiago Blum de Aguiar
New submission from Pablo Santiago Blum de Aguiar : Some warn messages miss space between words, such as: Use of 'buffering' argument is deprecated and ignoredsince Python 3.0. in bz2 library, and: keyfile and certfile are deprecated, use acustom context instead in many librarie

[issue35128] warning.warn messages with spacing issues

2018-10-31 Thread Pablo Santiago Blum de Aguiar
Pablo Santiago Blum de Aguiar added the comment: Sorry, only when creating the PR I read that trivial changes like this need no issue. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue35128] warning.warn messages with spacing issues

2018-10-31 Thread Pablo Santiago Blum de Aguiar
Change by Pablo Santiago Blum de Aguiar : -- pull_requests: +9581 ___ Python tracker <https://bugs.python.org/issue35128> ___ ___ Python-bugs-list mailin

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Pablo Santiago Blum de Aguiar
Pablo Santiago Blum de Aguiar added the comment: You have a point. They make the message more readable. I've readded the double spaces. -- ___ Python tracker <https://bugs.python.org/is

[issue35128] warning.warn messages with spacing issues

2018-11-01 Thread Pablo Santiago Blum de Aguiar
Pablo Santiago Blum de Aguiar added the comment: Thanks again for reviewing, merging and backporting. Next time I'll try and backport as well :-) -- ___ Python tracker <https://bugs.python.org/is

<    41   42   43   44   45   46