[issue35380] Enable TCP_NODELAY for proactor event loop

2018-12-05 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset bfb881849f588cd2046776fb431c3045781c8214 by Andrew Svetlov in branch '3.6': [3.6] bpo-35380: Enable TCP_NODELAY for proactor event loop (GH-10867). (GH-10874) https://github.com/python/cpython/commit/bfb881849f588cd2046776fb431c3045781c8214 -

[issue35380] Enable TCP_NODELAY for proactor event loop

2018-12-05 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker ___

[issue35415] fileno argument to socket.socket is not validated

2018-12-05 Thread Dima Tisnek
New submission from Dima Tisnek : socket.socket gained a fileno= kwarg the value of which is not checked if address family and socket type are both provided. For example, following is accepted: >>> socket.socket(socket.AF_INET, socket.SOCK_STREAM, fileno=-1234) >>> socket.socket(socket.AF_INE

[issue35415] fileno argument to socket.socket is not validated

2018-12-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +10156 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue35416] Fix potential resource warnings in distutils

2018-12-05 Thread Mickaël Schoentgen
New submission from Mickaël Schoentgen : I am looking to clean-up potential ResourceWarnings in distutils. The patch will provide 2 changes: - ensure file descriptor are always closed when it is not the case - and uniformization of the "with open(...)" use -- components: Distuti

[issue35416] Fix potential resource warnings in distutils

2018-12-05 Thread Mickaël Schoentgen
Change by Mickaël Schoentgen : -- keywords: +patch pull_requests: +10157 stage: -> patch review ___ Python tracker ___ ___ Python-bu

[issue35413] test_multiprocessing_fork: test_del_pool() leaks dangling threads and processes on AMD64 FreeBSD CURRENT Shared 3.x

2018-12-05 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue35417] Double parenthesis in print function running 2to3 in already correct call

2018-12-05 Thread Jonathan Alush-Aben
New submission from Jonathan Alush-Aben : If 2to3 is run on a file with the following contents: a="string" print ("%s" % a) The output is: a="string" print (("%s" % a)) Although it was already a valid call to print in python3. -- components: 2to3 (2.x to 3.x conversion tool) messages

[issue35396] Add support for __fspath__ to fnmatch.fnmatchase and filter

2018-12-05 Thread Andrés Delfino
Andrés Delfino added the comment: Closing, as __fspath__ returns paths and fnmatchcase/filter deals with filenames. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: According to seirl on IRC, this issue is trigged when a Python application is run by systemd using DynamicUser=yes: "DynamicUser: Takes a boolean parameter. If set, a UNIX user and group pair is allocated dynamically when the unit is started, and released as

[issue33725] Python crashes on macOS after fork with no exec

2018-12-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: AFAIK there is nothing you can do between after calling fork(2) to "reinitialise" the ObjC runtime. And I don't think that's the issue anyway: I suspect that the actual problem is that Apple's system frameworks use multithreading (in particular libdispatch)

[issue34784] Heap-allocated StructSequences

2018-12-05 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35164] socket.getfqdn and socket.gethostbyname fail on MacOS

2018-12-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: This issue does not have enough information to determine what is wrong. It is however fairly clear that it is not related to "scutil --get HostName" mentioning that there is no hostname set as that is the normal state of systems, and I have never run into t

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread Antoine Pietri
Antoine Pietri added the comment: Trivial way to reproduce, run this as root: systemd-run -p DynamicUser=yes -t python3 -- nosy: +antoine.pietri ___ Python tracker ___ __

[issue35417] Double parenthesis in print function running 2to3 in already correct call

2018-12-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Is this similar to issue10375 ? One option would be to use -p to stop transforming print related code if you don't want to transform any print statement. $ cat /tmp/foo.py print (1) $ 2to3 /tmp/foo.py [snip] --- /tmp/foo.py

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10158 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Cao Hongfu
New submission from Cao Hongfu : Recently, python frequently(but randomly) hung or stuck at initialization(when I click the python.exe or use python cmd prompt) on my server(running windows server 2008R2), But everything is fine on my windows 7 PC). I tried reinstall python, but not working(a

[issue35419] Thread.is_alive while running Process.is_alive causes either premature termination or never-terminating.

2018-12-05 Thread Stan
New submission from Stan : Checking if thread.is_alive() while thread is checking on Process.is_alive() seemingly causes undefined behavior. The attached POC is expected to print "ThreadN.data == 1999" for N in range(0, 20) with some repeats. However the integers are spread all over the plac

[issue35416] Fix potential resource warnings in distutils

2018-12-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is a similar open issue issue22831 with patches for distutils and Tools. -- nosy: +serhiy.storchaka, xtreak ___ Python tracker __

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR #10919 which fix posix.expandpath() and also fix indirectly the site module. @Antoine Pietri: Would you mind to try the fix? -- ___ Python tracker _

[issue35389] Use gnu_get_libc_version() in platform.libc_ver()?

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 476b113ed8531b9fbb0bd023a05eb3af21996600 by Victor Stinner in branch 'master': bpo-35389: platform.libc_ver() uses os.confstr() (GH-10891) https://github.com/python/cpython/commit/476b113ed8531b9fbb0bd023a05eb3af21996600 -- __

[issue35416] Fix potential resource warnings in distutils

2018-12-05 Thread Mickaël Schoentgen
Mickaël Schoentgen added the comment: I saw it but it is quite old and targetting 3.5. I opended this issue to target only distutils, easier to eventually backport than a big patch on a lot of files. -- ___ Python tracker

[issue35408] Python3.7 crash in PyCFunction_New due to broken _PyObject_GC_TRACK

2018-12-05 Thread Enric Tejedor Saavedra
Enric Tejedor Saavedra added the comment: Hi Victor, Thank you for clarifying. If the call to PyCFunction_New is done from a C extension module, is it also necessary to call Py_Initialize()? -- ___ Python tracker

[issue35387] Dialogs on IDLE are accompanied by a small black window

2018-12-05 Thread Tal Einat
Tal Einat added the comment: Vlad, perhaps you could take a look at this? Note that Tcl/Tk 8.6.9 has recently been released (Nov 16th, 2018), which addresses several other issues pertaining to macOS Mojave. Can someone check this on Mojave with Tk 8.6.9? -- nosy: +vtudorache _

[issue35389] Use gnu_get_libc_version() in platform.libc_ver()?

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue35408] Python3.7 crash in PyCFunction_New due to broken _PyObject_GC_TRACK

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: > If the call to PyCFunction_New is done from a C extension module, is it also > necessary to call Py_Initialize()? Py_Initialize() must always be called first. -- ___ Python tracker

[issue35416] Fix potential resource warnings in distutils

2018-12-05 Thread Éric Araujo
Éric Araujo added the comment: I think the places that already use try/finally: close are correct. We try to minimize churn in distutils; changing to with is nice but does not fix errors or warning in these cases. The changes for the few spots that don’t use finally: close are welcome though!

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: If I understood PR 10919 correctly, sysconfig.get_config_var('userbase') can now return unexpanded paths containing '~'. Is it intended despite the previous discussion starting with msg135047? -- nosy: +izbyshev

[issue26544] platform.libc_ver() returns incorrect version number

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: > bpo-26544: Make platform.libc_ver() less slow (GH-10868) > https://github.com/python/cpython/commit/8687bd86e6f138ef0699a1e9f3f9555765949b51 "Coarse benchmark on Fedora 29: 1.6 sec => 0.1 sec." Oops, my benchmark in the commit message was wrong, it included

[issue35389] Use gnu_get_libc_version() in platform.libc_ver()?

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: > Quick benchmark on Fedora 29: > python3 -m perf command ./python -S -c 'import platform; platform.libc_ver()' > 94.9 ms +- 4.3 ms -> 33.2 ms +- 1.4 ms: 2.86x faster (-65%) Oops, my benchmark in the commit message was wrong, it includes the startup time...

[issue35416] Fix potential resource warnings in distutils

2018-12-05 Thread Mickaël Schoentgen
Mickaël Schoentgen added the comment: OK then I updated the PR to only update code that would really leak resources. -- ___ Python tracker ___ _

[issue35257] Add LDFLAGS_NODIST for the LDFLAGS not intended for propagation to C extensions.

2018-12-05 Thread Charalampos Stratakis
Change by Charalampos Stratakis : Added file: https://bugs.python.org/file47977/setup.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35257] Add LDFLAGS_NODIST for the LDFLAGS not intended for propagation to C extensions.

2018-12-05 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: So to better illustrate the actual issue I'll be using an example from the python documentation [0][1]. Get the demo.c and the setup.py. Compile cpython first with --with-lto and then compile the demo.c with ./python3 setup.py build. You will notice

[issue32787] Better error handling in ctypes

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 398bd27967690f2c1a8cbf8d47a5613edd9cfb2a by Serhiy Storchaka in branch 'master': bpo-32787: Better error handling in ctypes. (#3727) https://github.com/python/cpython/commit/398bd27967690f2c1a8cbf8d47a5613edd9cfb2a -- __

[issue31572] Avoid suppressing all exceptions in PyObject_HasAttr()

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 398bd27967690f2c1a8cbf8d47a5613edd9cfb2a by Serhiy Storchaka in branch 'master': bpo-32787: Better error handling in ctypes. (#3727) https://github.com/python/cpython/commit/398bd27967690f2c1a8cbf8d47a5613edd9cfb2a -- __

[issue35257] Add LDFLAGS_NODIST for the LDFLAGS not intended for propagation to C extensions.

2018-12-05 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: And here is the difference between compiling the extension with the current tip, comparing to applying my current draft PR: Master branch with the linker flags propagated: running build running build_ext building 'demo' extension creating build creati

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: > If I understood PR 10919 correctly, sysconfig.get_config_var('userbase') can > now return unexpanded paths containing '~'. Is it intended despite the > previous discussion starting with msg135047? With my PR 10919, "python3 setup.py install" and "python3

[issue35257] Add LDFLAGS_NODIST for the LDFLAGS not intended for propagation to C extensions.

2018-12-05 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue35389] Use gnu_get_libc_version() in platform.libc_ver()?

2018-12-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Nice. I never liked the "parse the executable approach", but there wasn't anything better available at the time. -- nosy: +lemburg ___ Python tracker __

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread Antoine Pietri
Antoine Pietri added the comment: Would it make sense to backport this fix in 3.6 and 3.7? As distros increasingly move in the direction of using DynamicUser=yes for most stateless services, it would really help to have that, for instance in Debian Buster (which will probably be on 3.7 if my

[issue35389] Use gnu_get_libc_version() in platform.libc_ver()?

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: > Nice. I never liked the "parse the executable approach", but there wasn't > anything better available at the time. Aha. Well, it's not perfect but it works and was fast enough (since libc_ver() is never used in performance critical code) :-) I'm now curio

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > I prefer to stick to the initial bug report which hasn't been fixed in 8 years I'm interested in fixing this bug too since it bit me in SCons and I had to use a local patch for it. I welcome the upstream fix and don't object to PR 10919. I'm not personall

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: Yes, I plan to try to backport the fix to stable branches. -- ___ Python tracker ___ ___ Python-b

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: > Would it make sense to backport this fix in 3.6 and 3.7? I'd like to see it there, given that this bug surfaced in many use cases not involving any modern features or systemd at all. -- ___ Python tracker

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10159 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10159, 10160 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 10921 is based on fd_leaks_distutils.patch. -- versions: +Python 3.8 -Python 3.5 ___ Python tracker ___

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +dstufft, eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue28015] configure --with-lto builds fail when CC=clang on Linux, requires gold linker

2018-12-05 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +10161, 10162 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue28015] configure --with-lto builds fail when CC=clang on Linux, requires gold linker

2018-12-05 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +10161, 10162, 10163 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue28015] configure --with-lto builds fail when CC=clang on Linux, requires gold linker

2018-12-05 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- pull_requests: +10161 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35412] test_future4 ran no test

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: There are a few more on Windows: 4 tests run no tests: test_dtrace test_future4 test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_fork and test_multiprocessing_forkserver should raise SkipTest on Windows. -- ___

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: You might try to check the list of DLLs loaded into the stuck python process and find third-party ones (e.g., antivirus). If there are any, disable the third-party software and try again. -- nosy: +izbyshev ___ P

[issue32787] Better error handling in ctypes

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset f2f4555d8287ad217a1dba7bbd93103ad4daf3a8 by Victor Stinner in branch 'master': bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) https://github.com/python/cpython/commit/f2f4555d8287ad217a1dba7bbd93103ad4daf3a8 -

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +10164 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +10164, 10165 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +10164, 10165, 10166 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10167 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10167, 10168 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10169 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10169, 10170 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10175, 10176, 10177 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10172, 10174 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10169, 10170, 10171 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10173, 10175 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10171, 10172, 10173, 10174 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10171, 10172 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10175, 10176 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10177, 10178 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10177, 10178, 10179 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10160 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread miss-islington
miss-islington added the comment: New changeset 983d1ab0e6f4280f954bcba87db76e11131f1c33 by Miss Islington (bot) in branch '3.7': bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) https://github.com/python/cpython/commit/983d1ab0e6f4280f954bcba87db76e11131f1c33 --

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +10177, 10178, 10179, 10180 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 10926 is based on fd_leaks_tools1_2.patch. PR 10927 is based on fd_leaks_tools2_2.patch. PR 10928 is based on fd_leaks_tests1_2.patch. PR 10929 is based on fd_leaks_tests2_2.patch. Some of changes in these patches were already applied in other issues. --

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 31b635dbf0c7108f18bb3ce382b895374cff77fb by Victor Stinner in branch '3.6': bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) (GH-10925) https://github.com/python/cpython/commit/31b635dbf0c7108f18bb3ce382b895374cff77fb

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10181 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10181, 10182 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10183 versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker ___ ___ Python-

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10181, 10182, 10183 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10184, 10185 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10184 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10496] Python startup should not require passwd entry

2018-12-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10184, 10185, 10186 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10170, 10171 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10170 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10170, 10171, 10174 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10171, 10173, 10174, 10176, 10180 ___ Python tracker ___ ___ Python-bugs-list maili

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10171, 10173, 10174, 10180 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10171, 10173, 10174, 10176, 10177, 10179, 10180 ___ Python tracker ___ ___ Python-b

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10170, 10171, 10173, 10174 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -10171, 10173, 10174, 10176, 10177, 10180 ___ Python tracker ___ ___ Python-bugs-lis

[issue22831] Use "with" to avoid possible fd leaks

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: self.addCleanup(f.close) can not be used if the same file should be opened several times in the test. It can not be used also if the file is deleted in the test or in tearDown(). -- ___ Python tracker

[issue34052] sqlite's create_function() raises exception on unhashable callback, but creates function

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5b25f1d03100e2283c1b129d461ba68ac0169a14 by Serhiy Storchaka (Sergey Fedoseev) in branch 'master': bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. (GH-8113) https://github.com/python/cpython/commit/5b25f1d03100e2283c

[issue34987] A possible null pointer dereference in _pickle.c's save_reduce()

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 25d389789c59a52a31770f7c50ce9e02a8909190 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-34987: Fix a possible null pointer dereference in _pickle.c's save_reduce(). (GH-9886) https://github.com/python/cpython/commit/25d389789c59a

[issue34987] A possible null pointer dereference in _pickle.c's save_reduce()

2018-12-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +10187 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34987] A possible null pointer dereference in _pickle.c's save_reduce()

2018-12-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +10188 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34738] Distutils: ZIP files don't include directory entries

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The inconsistency is not just with the tarfile module, but with other method of creating ZIP archives. The unix unzip command creates directories if needed, but I am not sure about other third-party utilities. Since all know ZIP creators creates entries fo

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-12-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 34c7f0c04e2b4e715b2c3df1875af8939fbe7d0b by Serhiy Storchaka (William Grzybowski) in branch 'master': bpo-34604: Use %R because of invisible characters or trailing whitespaces. (GH-9165) https://github.com/python/cpython/commit/34c7f0c04e2b4e

[issue35420] how to migrate a c-extension module to one that supports subinerpreters?

2018-12-05 Thread mattip
New submission from mattip : NumPy does not currently support subinterpreters, it has global state that is not cleaned up when releasing the module. I could not find a description of the steps I need to take to modernize the C-extension module to be able to used under a subinterpreter. It wou

[issue31715] Add mimetype for extension .mjs

2018-12-05 Thread Myles Borins
Myles Borins added the comment: I see that when this landed it appears that it was removed from landing on "Python 2.7, Python 3.6, Python 3.7". Is there any chance to revisit this decision? I dug into the mimetype code and it doesn't appear that there is a way to rely on operating system mi

  1   2   3   >