[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals says, for \ooo, "In a bytes literal, hexadecimal and octal escapes denote the byte with the given value. In a string literal, these escapes denote a Unicode character with the

[issue37409] relative import without parent succeeds with builtins.__import__

2019-06-28 Thread Ben Lewis
Ben Lewis added the comment: I'll look into this further and open a PR initially for the regression tests. -- ___ Python tracker ___ __

[issue37422] Documentation on the change of __path__ in Python 3

2019-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list

[issue37426] getpass.getpass not working with on windows when ctrl+v is used to enter the string

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: If anything, this seems to be a getpass doc issue. -- assignee: -> docs@python components: +Documentation -Library (Lib), Windows nosy: +docs@python, terry.reedy ___ Python tracker

[issue37434] Segfault in typeobject.c at _PyObject_GC_UNTRACK(type)

2019-06-28 Thread Benjamin Peterson
Change by Benjamin Peterson : -- status: -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue37434] Segfault in typeobject.c at _PyObject_GC_UNTRACK(type)

2019-06-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Could also be a bug in however protobuf handles exceptions on module initialization. -- ___ Python tracker ___ __

[issue37427] sorted, list.sort reject non-boolean objects with __bool__() as `reverse` parameter

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Not a bug. Both function docs say "reverse is a boolean value." https://docs.python.org/3/library/stdtypes.html#boolean-values says "Boolean values are the two constant objects False and True." These should be used in new code. For compatibility with old co

[issue32912] Raise non-silent warning for invalid escape sequences

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'filled my terminal with spaces' bug mentioned in msg344764 was independently reported in #37433, with a PR. -- nosy: +terry.reedy ___ Python tracker __

[issue26468] shutil.copy2 raises OSError if filesystem doesn't support chmod

2019-06-28 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: -Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows 10 with current 3.8 I see correct output, so the bug seems OS specific, even though the simple fix (see PR) is not. C:\Users\Terry>py f:/python/a/tem4.py File "f:/python/a/tem4.py", line 1 f'''{} ^ SyntaxError: f-string: empty expression

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-06-28 Thread Anthony Sottile
Anthony Sottile added the comment: just an f-string doesn't trigger this, there needs to be tokens before it -- ___ Python tracker ___

[issue36511] Add Windows ARM32 buildbot

2019-06-28 Thread Paul Monson
Change by Paul Monson : -- pull_requests: +14277 pull_request: https://github.com/python/cpython/pull/14460 ___ Python tracker ___ _

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-28 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14278 pull_request: https://github.com/python/cpython/pull/14461 ___ Python tracker ___ _

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg346872 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, very obnoxious. Fix restores behavior above. -- ___ Python tracker ___ ___ Python-bugs-list

[issue37445] Some FormatMessageW() calls use FORMAT_MESSAGE_FROM_SYSTEM without FORMAT_MESSAGE_IGNORE_INSERTS

2019-06-28 Thread Zackery Spytz
New submission from Zackery Spytz : As mentioned in bpo-26493, some FormatMessageW() calls use the FORMAT_MESSAGE_FROM_SYSTEM flag without FORMAT_MESSAGE_IGNORE_INSERTS. This will cause FormatMessageW() to fail if there are insert sequences in the message definition. I will create a PR for t

[issue37445] Some FormatMessageW() calls use FORMAT_MESSAGE_FROM_SYSTEM without FORMAT_MESSAGE_IGNORE_INSERTS

2019-06-28 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +14279 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14462 ___ Python tracker ___ __

[issue37446] Undefined behavior in Python/hamt.c

2019-06-28 Thread Zackery Spytz
New submission from Zackery Spytz : ./python -m unittest test.test_context.HamtTest.test_hamt_stress Python/hamt.c:1867:29: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' . -- Ran 1 test in 12.7

[issue37399] XML text behaviour change if there are comments

2019-06-28 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-28 Thread Steve Dower
Steve Dower added the comment: New changeset db4eb2c57dbfca402a539184c966c449cb1aa8e3 by Steve Dower in branch '3.7': bpo-37369: Fix path handling when python.exe is used as a symlink (GH-14461) https://github.com/python/cpython/commit/db4eb2c57dbfca402a539184c966c449cb1aa8e3 -- __

<    1   2