[issue33381] Incorrect documentation for strftime()/strptime() format code %f

2018-05-02 Thread Josh Rosenberg
Josh Rosenberg added the comment: Note: strftime follows the existing documentation: >>> datetime.datetime(1970, 1, 1, microsecond=1).strftime('%f') '01' The strptime behavior bug seems like a duplicate of #32267, which claims to be fixed in master as of

[issue32813] SSL shared_ciphers implementation wrong - returns configured but not shared ciphers

2018-05-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's looks like OpenSSL just fixed SSL_get_shared_ciphers to actually do what we would want here. https://github.com/openssl/openssl/commit/a216df599a6076147c27acea6c976fb11f505b1a -- ___

[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)

2018-05-02 Thread Andrés Delfino
New submission from Andrés Delfino : Right now we are using os.path.is(dir|file|symlink) in shutil.copytree, but taking advantage of os.scandir's is_(dir|file|symlink) seems the way to go. I'll make a PR with to start the discussion with a proof of concept. --

[issue27448] Race condition in subprocess.Popen which causes a huge memory leak

2018-05-02 Thread Glen Walker
Glen Walker added the comment: Correct me if I'm wrong, the change released in Python 2.7.15 doesn't actually fix this race condition. The race is: * T1: gc_was_enabled = gc.isenabled() # True * T1: gc.disable() * T2: gc_was_enabled = gc.isenabled() # False * T1:

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: ... Finally, since https://bugs.python.org/issue30916, the 3.x Windows build uses a binary external and needs even more patching to build and link against a debug and/or custom Tcl/Tk (too long to describe, can give a patch). --

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > Is threaded tcl just a compile switch, as with CPython? Yes. In tcl.vcxproj, tk.vcxproj and tix.vcxproj, there are parameters named like TclOpts that are passed as OPTS arg to the lib's makefiles. For Tcl 8.5, you need to pass

[issue33412] Tkinter hangs if using multiple threads and event handlers

2018-05-02 Thread Guido van Rossum
Guido van Rossum added the comment: I guess nobody gives a damn. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > An automated test would need to fail more consistently, without needing to > click. Running faster would also be good (and perhaps increase failure > rate). The the test would be that the file runs in subprocess without an > error

[issue33412] Tkinter hangs if using multiple threads and event handlers

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > Do you have a suggestion for what to do short of dropping Tkinter support? Didn't really look into this. At first glance, from the trace log, the main thread seems to grab a lock at some initial point, and then tries to grab it again

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread INADA Naoki
INADA Naoki added the comment: I'm sorry. I just reviewed some easy pull requests when I have time. I'll skip pull requests you assigned yourself next time. -- ___ Python tracker

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is threaded tcl just a compile switch, as with CPython? -- ___ Python tracker ___

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: You did not say 'never with threaded tcl'. You also claimed that tkinter is so broken, with either threaded or non-threaded tcl/tk, that tkinter should be trashed. Anyway, I like to test things for myself. If 'never with threaded tcl' is

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > Ivan, as I also said there, it is not clear to me, given your subsequent > comments, what you consider to be the status of the PR. The PR fixes the problem exposed by TkinterCrash2-2.py and TkinterCrash3-2-2.py and only lacks an

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > I ran TkinterCrash3-2-2.py 15 times on 64-bit Win10, installed x64 3.6.5, > with tk 8.6.8, and experienced no crashes. I wrote in the initial message that this bug only happens with nonthreaded Tcl, regardless of Python version and Tcl

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Rerunning 2.7, I sometimes get the following almost immediately without clicking [launch]. Exception in thread Thread-1: Traceback (most recent call last): File "C:\Programs\Python27\lib\threading.py", line 801, in __bootstrap_inner

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I reported on the pydev thread "bpo-33257: seeking advice & approval on the course of action", Firefox cannot find the string 'thread' in the tkinter chapter of the official doc. Nor in the tkinter.ttk chapter. IDLE does not find it in

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: I had assigned this to myself to review and apply. I would have appreciated you letting me complete that task when I had a chance to take a breath. This was a bug that I caused, so I should be the one responsible for fixing

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reproduced the error on installed 2.7.14, running tk 8.5.18. I ran TkinterCrash3-2-2.py 15 times on 64-bit Win10, installed x64 3.6.5, with tk 8.6.8, and experienced no crashes. I ran it another 10 times with 32-bit repository 3.8 debug

[issue27300] tempfile.TemporaryFile(): missing errors=... argument

2018-05-02 Thread Stephan Hohe
Change by Stephan Hohe : -- pull_requests: +6390 status: pending -> open ___ Python tracker ___

[issue31706] urlencode should accept generator as values for mappings when doseq=True

2018-05-02 Thread François Freitag
Change by François Freitag : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > So this issue doesn't occur when linked with a thread-aware Tcl/Tk, right? Maybe we should just make sure that's the only configuration we ensure? This would break compatibility, including some usage patterns (see the "Reuse the

[issue33038] GzipFile doesn't always ignore None as filename

2018-05-02 Thread bbayles
bbayles added the comment: Is there someone who might be in a position to review the PR? It's pretty short. -- ___ Python tracker

[issue33412] Tkinter hangs if using multiple threads and event handlers

2018-05-02 Thread Guido van Rossum
Guido van Rossum added the comment: So it seems threads and Tkinter events don't mix. This doesn't surprise me much. (Similar issues can occur when mixing threads and asyncio if you don't follow the documentation's advice about how to send events across threads.) Perhaps

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Guido van Rossum
Guido van Rossum added the comment: So this issue doesn't occur when linked with a thread-aware Tcl/Tk, right? Maybe we should just make sure that's the only configuration we ensure? -- nosy: +gvanrossum ___ Python tracker

[issue33316] Windows: PyThread_release_lock always fails

2018-05-02 Thread STINNER Victor
Change by STINNER Victor : -- title: PyThread_release_lock always fails -> Windows: PyThread_release_lock always fails ___ Python tracker

[issue26834] Add truncated SHA512/224 and SHA512/256

2018-05-02 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___

[issue32387] Disallow untagged C extension import on major platforms

2018-05-02 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list

[issue20104] expose posix_spawn(p)

2018-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As for PR 6693: I think using keyword arguments would be more Pythonic. -- ___ Python tracker

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: Here are the possible courses of action to fix this. All require design changes, thus can be shot down on a whim. So I'll ask for advice and approval at python-dev first, to be sure that my efforts won't be scrapped. First, some

[issue26834] Add truncated SHA512/224 and SHA512/256

2018-05-02 Thread Nick Timkovich
Nick Timkovich added the comment: Was this patch mostly ready to go? The additional SHA512 variants are appealing because they run ~40% faster than SHA256 on 64-bit hardware for longer messages. -- nosy: +nicktimko ___

[issue33413] asyncio.gather should not use special Future

2018-05-02 Thread Martin Teichmann
Change by Martin Teichmann : -- keywords: +patch pull_requests: +6388 stage: -> patch review ___ Python tracker ___

[issue33413] asyncio.gather should not use special Future

2018-05-02 Thread Martin Teichmann
New submission from Martin Teichmann : asyncio.gather() returns a _GatheringFuture, which inherits from asyncio.Future. This is weird in current asyncio, as futures are supposed to be created with loop.create_future(). So I tried to reimplement gather() without

[issue33275] glob.glob should explicitly note that results aren't sorted

2018-05-02 Thread Eryk Sun
Eryk Sun added the comment: FAT inserts a new file entry in a directory at the first available position. (If it's a long filename, this could be up to 21 contiguous dirents for a combined long/short dirent set.) This means a directory listing is usually in the same order

[issue33412] Tkinter hangs if using multiple threads and event handlers

2018-05-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > worker threads are waiting for the Tcl lock Pardon. They are waiting for Tkapp_ThreadSend()s into the main thread to return. The effect is still the same. -- ___ Python tracker

[issue33412] Tkinter hangs if using multiple threads and event handlers

2018-05-02 Thread Ivan Pozdeev
Change by Ivan Pozdeev : Added file: https://bugs.python.org/file47564/trace.py ___ Python tracker ___

[issue33412] Tkinter hangs if using multiple threads and event handlers

2018-05-02 Thread Ivan Pozdeev
New submission from Ivan Pozdeev : With threaded Tkinter, TkinterHanders3.py from https://bugs.python.org/issue33257 (attached) hangs. Tracing with thread_debug and a modified trace.py (to show TIDs, attached) shows that worker threads are waiting for the Tcl lock while

[issue33412] Tkinter hangs if using multiple threads and event handlers

2018-05-02 Thread Ivan Pozdeev
Change by Ivan Pozdeev : Added file: https://bugs.python.org/file47563/trace.zip ___ Python tracker ___

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-05-02 Thread Ivan Pozdeev
Change by Ivan Pozdeev : Added file: https://bugs.python.org/file47561/TkinterHanders3.py ___ Python tracker ___

[issue33410] Using type in a format with padding causes TypeError

2018-05-02 Thread Eric V. Smith
Eric V. Smith added the comment: The problem is that type.__format__ doesn't exist, so object.__format__ is being called, and it throws an error if you provide a format spec. This is done for future expansion: if we do want to add type.__format__ in the future, we don't

[issue33402] Change the fractions.Fraction class to convert to a unicode fraction string

2018-05-02 Thread Gabe Appleton
Change by Gabe Appleton : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33402] Change the fractions.Fraction class to convert to a unicode fraction string

2018-05-02 Thread Tim Peters
Tim Peters added the comment: -1. We should stop pretending this _ might_ happen ;-) -- nosy: +tim.peters ___ Python tracker ___

[issue32414] PyCapsule_Import fails when name is in the form 'package.module.capsule'

2018-05-02 Thread Petr Viktorin
Petr Viktorin added the comment: An option would be to use a colon to separate the module(s) from the attribute(s). The "inspect" module CLI does this, for example: https://docs.python.org/3/library/inspect.html#command-line-interface $ python3 -m inspect

[issue33411] All console message are in the error output in bash interpretor

2018-05-02 Thread Quentin Millardet
Quentin Millardet added the comment: In a bash terminal, obtained result: $python > Normal.txt 2> Error.txt import a $cat Normal.txt $cat Error.txt Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or

[issue33402] Change the fractions.Fraction class to convert to a unicode fraction string

2018-05-02 Thread STINNER Victor
STINNER Victor added the comment: I dislike using non-ASCII characters for the default implementation. I don't think that this formatting is popular, and I expect many troubles on each platform. IMHO it's very easy to put such short function in your favorite module, or

[issue33402] Change the fractions.Fraction class to convert to a unicode fraction string

2018-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: In the Monaco font, the superscripts ⁰¹²³⁴⁵⁶⁷⁸⁹ don't all line-up. The 1, 2, and 3 are lower which makes the fraction look weird. -- nosy: +rhettinger ___ Python tracker

[issue33411] All console message are in the error output in bash interpretor

2018-05-02 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hello Quentin, and welcome. Please don't post screen shots of text. We don't edit our code with Photoshop, and using a screenshot makes it difficult to copy your code for testing, to verify the bug report, and prevents the blind

[issue33410] Using type in a format with padding causes TypeError

2018-05-02 Thread Emanuel Barry
Emanuel Barry added the comment: `type` has a default `__format__` implementation which doesn't accept any formatting options. This is expected behaviour. -- nosy: +ebarry resolution: -> not a bug stage: -> resolved status: open -> closed

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2018-05-02 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- pull_requests: +6387 ___ Python tracker ___

[issue33411] All console message are in the error output in bash interpretor

2018-05-02 Thread Quentin Millardet
Change by Quentin Millardet : -- status: -> open ___ Python tracker ___ ___

[issue33411] All console message are in the error output in bash interpretor

2018-05-02 Thread Quentin Millardet
Change by Quentin Millardet : -- status: open -> ___ Python tracker ___ ___

[issue33411] All console message are in the error output in bash interpretor

2018-05-02 Thread Quentin Millardet
New submission from Quentin Millardet : The probleme is all display (normal and error message), in bash, are send to the screen by the error output. So it's impossible when someone make a bash script to get the error back in a log file for exemple, or just to display only

[issue33410] Using type in a format with padding causes TypeError

2018-05-02 Thread alex
New submission from alex : When trying to print a type in a formatted string with padding TypeError is raised. See examples below. These work: >>> a = 'abc' >>> print('{a}'.format(a=type(a))) >>> print('{a}'.format(a=str(type(a These don't: >>> print('{a:

[issue33275] glob.glob should explicitly note that results aren't sorted

2018-05-02 Thread Ben FrantzDale
Ben FrantzDale added the comment: I looked into it a bit more. With python 2.7 on macOS High Sierra on APFS (Encrypted) with a FAT32 thumb drive... I have a directory that glob.glob('/Volumes/thumb/tmp/*') shows as sorted. I cp -r that to /tmp with bash.

[issue22848] Subparser help does not respect SUPPRESS argument

2018-05-02 Thread Floreal
Floreal added the comment: Will this patch be integrated in future days / weeks / years? I still want to add a hidden subparser, but doing this by editing manually the metavar of the subparsers is not a good solution... -- nosy: +floreal

[issue1644818] Allow built-in packages and submodules as well as top-level modules

2018-05-02 Thread Fred L. Drake, Jr.
Change by Fred L. Drake, Jr. : -- nosy: +fdrake ___ Python tracker ___ ___

[issue33409] Clarify the interaction between locale coercion & UTF-8 mode

2018-05-02 Thread Nick Coghlan
New submission from Nick Coghlan : While Victor and I reconciled the respective designs & implementations of PEP 538/540 (with 538 relying on 540 to handle the "No suitable target locale" case, and 540 relying on 538 to handle extension modules like GNU readline), the

[issue33408] AF_UNIX is now supported in Windows

2018-05-02 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith versions: +Python 3.8 -Python 3.7 ___ Python tracker ___

[issue20104] expose posix_spawn(p)

2018-05-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have open https://github.com/python/cpython/pull/6693 to start iterating over the missing capabilities of posix_spawn (Passing various attributes of the created child process). Please, review to make sure that the design is OK

[issue20104] expose posix_spawn(p)

2018-05-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +6386 ___ Python tracker ___ ___

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33408] AF_UNIX is now supported in Windows

2018-05-02 Thread Filip *
New submission from Filip * : Unix socket (AF_UNIX) is now avalible in Windows 10 (April 2018 Update). Please add Python support for it. More details about it on https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/ -- components:

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread miss-islington
miss-islington added the comment: New changeset 6d3d02c69a65abcd64eb6d83baac5675f9208318 by Miss Islington (bot) in branch '2.7': bpo-33391: Fix refleak in set_symmetric_difference (GH-6670)

[issue28167] remove platform.linux_distribution()

2018-05-02 Thread Matthias Klose
Matthias Klose added the comment: there is https://pypi.org/project/distro/ -- ___ Python tracker ___

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread miss-islington
miss-islington added the comment: New changeset d5546991a2123b6ec84f7c4ecf37b62bedd78ea4 by Miss Islington (bot) in branch '3.6': bpo-33391: Fix refleak in set_symmetric_difference (GH-6670)

[issue20104] expose posix_spawn(p)

2018-05-02 Thread STINNER Victor
STINNER Victor added the comment: > The current implementation looks half-baked to me. (...) I would prefer to see a full implementation before Python 3.7 final, or to remove the feature from Python 3.7 and redo it in Python 3.8. It seems doable to finish the

[issue21822] KeyboardInterrupt during Thread.join hangs that Thread

2018-05-02 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread miss-islington
miss-islington added the comment: New changeset 6a56790e0b50846f1f968e48c3a321c148b5e6cd by Miss Islington (bot) in branch '3.7': bpo-33391: Fix refleak in set_symmetric_difference (GH-6670)

[issue33407] Implement Py_DEPRECATED() macro for Visual Studio

2018-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: In Arrow we use the following: #if __cplusplus <= 201103L # ifdef __GNUC__ # define ARROW_DEPRECATED(...) __attribute__((deprecated(__VA_ARGS__))) # elif defined(_MSC_VER) # define ARROW_DEPRECATED(...) __declspec(deprecated(__VA_ARGS__)) #

[issue33407] Implement Py_DEPRECATED() macro for Visual Studio

2018-05-02 Thread STINNER Victor
STINNER Victor added the comment: Oh, bpo-19569 is still open, for Visual Studio see: https://bugs.python.org/issue19569#msg227727 -- ___ Python tracker

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +6385 ___ Python tracker ___

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +6384 ___ Python tracker ___

[issue33407] Implement Py_DEPRECATED() macro for Visual Studio

2018-05-02 Thread STINNER Victor
New submission from STINNER Victor : According to the following links, it would be possible to implement the Pc_DEPRECATED() macro for Visual Studio: https://mail.python.org/pipermail/python-dev/2018-May/153299.html

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +6383 ___ Python tracker ___

[issue33391] leak in set_symmetric_difference?

2018-05-02 Thread INADA Naoki
INADA Naoki added the comment: New changeset 491bbedc209fea314a04cb3015da68fb0aa63238 by INADA Naoki (lekma) in branch 'master': bpo-33391: Fix refleak in set_symmetric_difference (GH-6670)

[issue33406] [ctypes] increase the refcount of a callback function

2018-05-02 Thread Eryk Sun
Eryk Sun added the comment: There isn't a problem in most cases, since functions that take a callback usually call it before returning. If the library does keep a long-lived reference to a callback (e.g. a console control handler in Windows), there are ways to support

[issue28167] remove platform.linux_distribution()

2018-05-02 Thread Christian Heimes
Christian Heimes added the comment: We still don't have a suitable replacement for the feature. Five years, Matthias suggested to add a parser for freedesktop's os-release file. -- nosy: +christian.heimes ___ Python tracker

[issue28167] remove platform.linux_distribution()

2018-05-02 Thread STINNER Victor
STINNER Victor added the comment: IMHO it's now too late to remove it from Python 3.7. Moreover, if the current warning is *PendingDeprecationWarning*, the warning must first become in Python N, to then remove the feature in Python N+1. I'm ok to just change the warning

[issue33405] PYTHONCOERCECLOCALE no longer being respected

2018-05-02 Thread STINNER Victor
STINNER Victor added the comment: Ok, pmpp confirmed that the 3.7b2 bug has been fixed in 3.7b3. Thank you for your bug report Anthony Shaw! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue33405] PYTHONCOERCECLOCALE no longer being respected

2018-05-02 Thread pmpp
pmpp added the comment: b3 is also ok with the -X parameter : PYTHONCOERCECLOCALE=0 LANG=C python3.7 -X utf8=0 -c "import sys; print(sys.stdin.encoding)" ANSI_X3.4-1968 -- ___ Python tracker

[issue33405] PYTHONCOERCECLOCALE no longer being respected

2018-05-02 Thread STINNER Victor
STINNER Victor added the comment: I cannot reproduce the issue with the future Python 3.7 beta4: vstinner@apu$ PYTHONCOERCECLOCALE=0 LANG=C ./python -X utf8=0 -c "import sys; print(sys.stdin.encoding)" ANSI_X3.4-1968 vstinner@apu$ LANG=C ./python -X utf8=0 -c "import sys;

[issue33405] PYTHONCOERCECLOCALE no longer being respected

2018-05-02 Thread STINNER Victor
STINNER Victor added the comment: > PYTHONCOERCECLOCALE=0 LANG=C python3.7 -c "import sys; > print(sys.stdin.encoding)" Are you aware of the PEP 540 "UTF-8 Mode"? It's also enabled automatically by the POSIX locale. If you hate UTF-8, you have to use:

[issue33402] Change the fractions.Fraction class to convert to a unicode fraction string

2018-05-02 Thread Mark Dickinson
Mark Dickinson added the comment: -1 from me. Apart from anything else, the output for a general fraction looks (to my eyes) ugly in a fixed-width font: the tiny digits are harder to read, and there's too much space between successive numerator (or denominator) digits:

[issue33405] PYTHONCOERCECLOCALE no longer being respected

2018-05-02 Thread pmpp
pmpp added the comment: indeed a3+ says : PYTHONCOERCECLOCALE=0 LANG=C python3.7 -c "import sys; print(sys.stdin.encoding)" ANSI_X3.4-1968 but can reproduce on b3: PYTHONCOERCECLOCALE=0 LANG=C python3.7 -c "import sys; print(sys.stdin.encoding)" utf-8 -- nosy:

[issue33394] the build of the shared modules is quiet/non-visible when GNU make gets passed macros

2018-05-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +6382 ___ Python tracker ___

[issue33393] update config.guess and config.sub

2018-05-02 Thread Matthias Klose
Matthias Klose added the comment: New changeset 9da7ee40037fa30d0d28fd8d7c652cde14e5a834 by Matthias Klose (Miss Islington (bot)) in branch '3.7': bpo-33393: Update config.guess and config.sub files (GH-6658) (#6661)

[issue33406] [ctypes] increase refcount of a CFUNCTYPE instance when passing to a CDLL

2018-05-02 Thread Ned Deily
Change by Ned Deily : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___

[issue33406] [ctypes] increase refcount of a CFUNCTYPE instance when passing to a CDLL

2018-05-02 Thread Zuzu_Typ
New submission from Zuzu_Typ : It should be considered to increase the refcount of functions that are passed on to an external library at some point. If this is not done and e.g. the function was a local variable, when leaving the scope it gets garbage-collected. When the

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-02 Thread Ned Deily
Change by Ned Deily : -- nosy: +paul.moore, steve.dower, tim.golden, zach.ware priority: normal -> deferred blocker ___ Python tracker

[issue33405] PYTHONCOERCECLOCALE no longer being respected

2018-05-02 Thread Ned Deily
Change by Ned Deily : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list

[issue20104] expose posix_spawn(p)

2018-05-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The current implementation looks half-baked to me. It doesn't implement the following features: 1. posix_spawnp(). It is like posix_spawn(), but searches an executable in PATH. 2. Passing various attributes of the created child

[issue33405] PYTHONCOERCECLOCALE no longer being respected

2018-05-02 Thread anthony shaw
New submission from anthony shaw : observing a behaviour on Python 3.7 b2 that doesn't match what's documented in PEP 538 PEP 538 states that the locale coercion behaviour can be disabled through the PYTHONCOERCECLOCALE environment variable. I would then expect the