[issue27126] Apple-supplied libsqlite3 on OS X is not fork safe; can cause crashes

2017-12-12 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eadler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue13829] exception error in _scproxy.so when called after fork

2017-12-12 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eadler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue20353] Hanging bug with multiprocessing + sqlite3 + tkinter (OS X 10.9 only)

2017-12-12 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eadler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue32226] Implement PEP 560: Core support for typing module and generic types

2017-12-12 Thread Guido van Rossum
Guido van Rossum added the comment: I like the current approach (PyObject_GetItem). I agree with both of your reasons to prefer it. -- ___ Python tracker ___

[issue32270] subprocess closes redirected fds even if they are in pass_fds

2017-12-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Regarding fixing (1), I'm worrying about backward compatibility a bit. Well, people shouldn't rely on bugs. Otherwise we would never be able to fix bugs, lest someone relies on it. -- ___ Python tracker

[issue32287] Import of _pyio module failed on cygwin

2017-12-12 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: This issue seems to duplicate #28459. #28459 has a patch (implement _setmode() by ctypes on _pyio). I'm not sure _setmode() will be used in other places in the future, but the patch just works at the moment. In addition, I have an idea which implements C

[issue28459] _pyio module broken on Cygwin / setmode not usable

2017-12-12 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: FYI, cygwin-pyio-setmode.patch includes two extra parts for running on Cygwin. First, fix import error for ctypes (unopened issue). Second, fix building _ctypes module (#4032 - PR 4153). -- ___ Python tracker

[issue32297] Few misspellings found in Python source code comments.

2017-12-12 Thread Mikhail Afanasev
New submission from Mikhail Afanasev : I have noticed few misspellings in Python source code comments while doing some research with the help of spelling and grammatic tools. I double checked all of them and corrected. There is just one docstring affected. All the other changes are in Python s

[issue32292] Building fails on Windows

2017-12-12 Thread Steve Dower
Steve Dower added the comment: Strange, that should have been installed. Do you see rc.exe anywhere in "C:\Program Files (x86)\Windows Kits\10"? If not, might need to repair the SDK you just installed. It shouldn't be a separate option from anything else in there. -- ___

[issue17852] Built-in module _io can lose data from buffered files at exit

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 317def9fdb29893df1ab380d396fcdd2eafe0588 by Victor Stinner (Antoine Pitrou) in branch 'master': bpo-17852: Revert incorrect fix based on misunderstanding of _Py_PyAtExit() semantics (#4826) https://github.com/python/cpython/commit/317def9fdb2989

[issue32297] Few misspellings found in Python source code comments.

2017-12-12 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue32292] Building fails on Windows

2017-12-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 13/12/2017 à 01:14, Steve Dower a écrit : > > Strange, that should have been installed. > > Do you see rc.exe anywhere in "C:\Program Files (x86)\Windows Kits\10"? Yes, it's in "C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64" --

[issue32292] Building fails on Windows

2017-12-12 Thread Steve Dower
Steve Dower added the comment: Is there one in x86 as well? Perhaps it isn't finding x64 tools properly (I've seen this once or twice in the past with VS 2015, but I think it was fixed at some point) -- ___ Python tracker

[issue32292] Building fails on Windows

2017-12-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, both in x86 and x64. And `tools\buildbot\build.bat` fails regardless of whether I pass `-p x64` or not. -- ___ Python tracker ___ __

[issue32298] Email.quopriprime over-encodes characters

2017-12-12 Thread Geoff Kuenning
New submission from Geoff Kuenning : Email.quopriprime creates a map of header and body bytes that need no encoding: for c in b'-!*+/' + ascii_letters.encode('ascii') + digits.encode('ascii'): _QUOPRI_HEADER_MAP[c] = chr(c) This map is overly restrictive; in fact only two printable characte

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: The PEP 538 has two open issues: bpo-30672 and bpo-32238. I recently refactored the Py_Main() code so it should be simpler to implement the PEP 540: see bpo-32030. -- ___ Python tracker

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-12 Thread STINNER Victor
STINNER Victor added the comment: Oh, PYTHONCOERCECLOCALE env var is read very early in main() by _Py_CoerceLegacyLocale(), it ignores -E command line option. * Ignoring -E and -I is safe from a security perspective, as we only use * the setting to turn *off* the implicit locale coer

[issue32298] Email.quopriprime over-encodes characters

2017-12-12 Thread Geoff Kuenning
Geoff Kuenning added the comment: Oops, that loop is a bit too generous. Here's a better one: for c in list(range(33, 61)) + [62] + list(range(64, 95)) + list(range(96,127)): -- ___ Python tracker _

[issue32292] Building fails on Windows

2017-12-12 Thread Steve Dower
Steve Dower added the comment: It shouldn't be any different, but what about PCBuild/build.bat? -- ___ Python tracker ___ ___ Python

[issue32267] strptime misparses offsets with microsecond format

2017-12-12 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2017-12-12 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +4721 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue32298] Email.quopriprime over-encodes characters

2017-12-12 Thread R. David Murray
R. David Murray added the comment: >From RFC 2047: (3) As a replacement for a 'word' entity within a 'phrase', for example, one that precedes an address in a From, To, or Cc header. The ABNF definition for 'phrase' from RFC 822 thus becomes: phrase = 1*( encoded-word / word )

[issue32298] Email.quopriprime over-encodes characters

2017-12-12 Thread R. David Murray
R. David Murray added the comment: And of course tools can grep for "f...@bar.com": you can't use encoded words in an address, only in the display name. However, it occurs to me that in fact the restriction applies only to phrases, so one could use a less restrictive character set in an unstr

[issue31901] atexit callbacks should be run at subinterpreter shutdown

2017-12-12 Thread Xavier G. Domingo
Change by Xavier G. Domingo : -- nosy: +xgdomingo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue32226] Implement PEP 560: Core support for typing module and generic types

2017-12-12 Thread Xavier G. Domingo
Change by Xavier G. Domingo : -- nosy: +xgdomingo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue32292] Building fails on Windows

2017-12-12 Thread Xavier G. Domingo
Change by Xavier G. Domingo : -- nosy: +xgdomingo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue32299] unittest.mock.patch.dict.__enter__ should return the dict

2017-12-12 Thread Allen Li
New submission from Allen Li : mock.patch.dict.__enter__ should return the patched dict/mapping object. Currently it returns nothing (None). This would make setting up fixtures more convenient: with mock.patch.dict(some.thing): some.thing['foo'] = 'bar' with mock.patch.dict(some.thing) a

[issue32299] unittest.mock.patch.dict.__enter__ should return the dict

2017-12-12 Thread Allen Li
Change by Allen Li : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue32264] move pygetopt.h into internal/

2017-12-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +4722 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

<    1   2