[issue36189] DOC: Correct word in tutorial introduction

2019-03-04 Thread Cheryl Sabella
New submission from Cheryl Sabella : In the tutorial introduction, under section 3.1.3 for Lists, 'sequence type' should be 'sequence types'. > Like strings (and all other built-in sequence ---> type <---) Assigning to @Mariatta for the sprints. -- assignee: Mariatta components: Docu

[issue36149] use of uninitialised memory in cPickle.

2019-03-04 Thread Thomas Wouters
Change by Thomas Wouters : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2019-03-04 Thread Martijn Pieters
Change by Martijn Pieters : -- pull_requests: -12166 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2019-03-04 Thread Martijn Pieters
Change by Martijn Pieters : -- pull_requests: +12168 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33346] Syntax error with async generator inside dictionary comprehension

2019-03-04 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, I think that if Yury still thinks this is a good idea you two should just do this. No need to write a PEP or wait for the Steering Committee. Unless there's a downside? Does it break real existing code? -- nosy: +gvanrossum ___

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-03-04 Thread Open Close
Open Close added the comment: uploading stderr-op368.txt. (basically the same as Stéphane and Karthikeyan.) -- Added file: https://bugs.python.org/file48185/stderr-op368.txt ___ Python tracker ___

[issue36190] file object method .tell() sometimes returns large number when position is right before a line break

2019-03-04 Thread Erik Wennstrom
New submission from Erik Wennstrom : Sometimes, when the position on a text file object is right before a line break, the file object method .tell() returns a bizarre large number (18446744073709551621) instead of the correct position. The incorrect behavior occurs consistently for certain te

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2019-03-04 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: -ceronman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue36190] file object method .tell() sometimes returns large number when position is right before a line break

2019-03-04 Thread Zachary Ware
Zachary Ware added the comment: Your attached file doesn't seem to be a valid zip file. Also, note that the result of `tell` on a file opened in text mode is documented [1] as being an opaque integer; there is no guarantee that the result of `tell` has any relation to the number of character

[issue33346] Syntax error with async generator inside dictionary comprehension

2019-03-04 Thread Nathaniel Smith
Nathaniel Smith added the comment: There are some tricky subtleties here around the distinction between list/dict/set comprehensions and generator expressions. For list/dict/set comprehensions, they're evaluated eagerly, so an async comprehension can only occur in async context. For generato

[issue36190] file object method .tell() sometimes returns large number when position is right before a line break

2019-03-04 Thread Tim Peters
Tim Peters added the comment: Stuff like that happens in any language supporting a tell() function for a file opened in text mode on Windows, inherited from the platform C's ftell() implementation: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/ftell-ftelli64?view=vs-2017

[issue36172] csv module internal consistency

2019-03-04 Thread Shane
Shane added the comment: Thank you both for having a look. I just find that these sort of gotchas rather annoying (nonsensical mental burden of having to memorize behavior that does not behave like most other features for "hysterical raisins"). I think making the documentation more visible

[issue36019] test_urllib fail in s390x buildbots: http://www.example.com/

2019-03-04 Thread STINNER Victor
STINNER Victor added the comment: Stéphane: Python 2.7 is also affected by the issue. Would you be interested in backport the fix to Lib/test/test_urllibnet.py? (in master, it's Lib/test/test_urllib2net.py). https://buildbot.python.org/all/#/builders/68/builds/238 Re-running failed tests in

[issue36183] test_gdb failed on AMD64 FreeBSD CURRENT Shared 3.7 and 3.x

2019-03-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Koobs recently installed gdb on the buildbot to debug some of the recent race conditions. This is very likely to have caused some problems with the test suite. -- ___ Python tracker

[issue36183] test_gdb failed on AMD64 FreeBSD CURRENT Shared 3.7 and 3.x

2019-03-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think the solution here is uninstalling gdb from the buildbot. I have emailed Kubilay to see if he can revert the gdb installation to check if this is what is causing the problems. -- ___ Python tracker

[issue36191] pubkeys.txt contains bogus keys

2019-03-04 Thread Thomas Jollans
New submission from Thomas Jollans : The file https://www.python.org/static/files/pubkeys.txt contains some bogus GPG keys with 32-bit key IDs identical to actual release manager key IDs. (see below) I imagine these slipped in by accident and may have been created by someone trying to make a

[issue36183] test_gdb failed on AMD64 FreeBSD CURRENT Shared 3.7 and 3.x

2019-03-04 Thread STINNER Victor
STINNER Victor added the comment: > I think the solution here is uninstalling gdb from the buildbot. I have > emailed Kubilay to see if he can revert the gdb installation to check if this > is what is causing the problems. Well, test_gdb should work on FreeBSD :-) If you and koobs prefer to

[issue36019] test_urllib fail in s390x buildbots: http://www.example.com/

2019-03-04 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: sure, I will do the backport tomorrow. thanks for the notif -- ___ Python tracker ___ ___ Python-

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12169 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-03-04 Thread Eric Snow
Eric Snow added the comment: That's okay, Victor. Thanks for jumping on this. I'll take a look when I get a chance. -- ___ Python tracker ___ __

[issue36085] Enable better DLL resolution

2019-03-04 Thread Eryk Sun
Eryk Sun added the comment: > Alternatively, I'm totally happy to make a three month exception to > PEP 11 and just drop Win7 completely for 3.8. But I think that needs > to be made official as early as possible Windows 7 is still used on about 40% of Windows desktops, and will likely remai

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset cad1f747da47849ab5d8b0b881f7a0b94564d290 by Victor Stinner in branch 'master': bpo-36142: Add _PyPreConfig structure (GH-12172) https://github.com/python/cpython/commit/cad1f747da47849ab5d8b0b881f7a0b94564d290 -- _

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12170 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36183] test_gdb failed on AMD64 FreeBSD CURRENT Shared 3.7 and 3.x

2019-03-04 Thread Kubilay Kocak
Kubilay Kocak added the comment: Pablo asked for gdb to be installed to debug the crash in bug issue 36114 and I let him know in my email reply that when I had installed gdb in the past for an unrelated debug need, that test_gdb failed, which at the time I didn't have the time/cycles to repo

[issue36183] test_gdb failed on AMD64 FreeBSD CURRENT Shared 3.7 and 3.x

2019-03-04 Thread Kubilay Kocak
Kubilay Kocak added the comment: I've just removed gdb from the buildbot at Pablo's (email) request. I can reinstall it on request at any time to resolve the test_gdb failures tracked in this issue. -- ___ Python tracker

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6dcb54228e7520abd058897440c26e323f62afcd by Victor Stinner in branch 'master': bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173) https://github.com/python/cpython/commit/6dcb54228e7520abd058897440c26e323f62afcd --

[issue36142] Add a new _PyPreConfig step to Python initialization to setup memory allocator and encodings

2019-03-04 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12171 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35678] subprocess.check_output(): OSError: [WinError 87]

2019-03-04 Thread Geoff Alexander
Geoff Alexander added the comment: I've recently hit this problem (or one that has the same symptoms): ``` Traceback (most recent call last): File "migration.py", line 169, in migrate() File "migration.py", line 80, in migrate rtc.acceptchangesintoworkspace(rtc.getchangeentriestoa

[issue35678] subprocess.check_output(): OSError: [WinError 87]

2019-03-04 Thread Geoff Alexander
Geoff Alexander added the comment: Here's the trace back I get from Python 3.7.2: Traceback (most recent call last): File "migration.py", line 169, in migrate() File "migration.py", line 80, in migrate rtc.acceptchangesintoworkspace(rtc.getchangeentriestoaccept(changeentries, his

[issue36188] Remove vestiges of Python 2 unbound methods from Python 3

2019-03-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b727239575894b060db37792e86aab818c00817a by Benjamin Peterson (Martijn Pieters) in branch 'master': closes bpo-36188: Clean up 'unbound' method left-overs. (GH-12169) https://github.com/python/cpython/commit/b727239575894b060db37792e86aab818c

[issue36019] test_urllib fail in s390x buildbots: http://www.example.com/

2019-03-04 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Victor, For the backport, should I add support.TEST_HTTP_URL? -- ___ Python tracker ___ ___ P

<    1   2