[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-19 Thread Nick Coghlan
Nick Coghlan added the comment: (Note: I won't have time to work on this myself until this weekend at the earliest) -- ___ Python tracker ___

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-19 Thread Nick Coghlan
Nick Coghlan added the comment: test_c_locale_coercion *did* test the -E and -I options, by running everything in isolated mode. This was only broken by Victor's changes to the test suite (which broke locale coercion in isolated mode, and hence broke the tests). As for why PYTHONCLOCALECOERC

[issue14678] Update zipimport to support importlib.invalidate_caches()

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka type: behavior -> enhancement versions: +Python 3.8 -Python 3.6 ___ Python tracker __

[issue19699] Update zipimport for PEP 451

2018-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- type: behavior -> enhancement versions: +Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bu

[issue19699] Update zipimport for PEP 451

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue5950] Make zipimport work with zipfile containing comments

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). -- ___ Python tracker ___ ___ Python-

[issue32959] zipimport fails when the ZIP archive contains more than 65535 files

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue32075] Expose ZipImporter Type Object in the include header files.

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue25711] Rewrite zipimport from scratch

2018-09-19 Thread Decorater
Change by Decorater : -- pull_requests: +8832 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue31531] crash and SystemError in case of a bad zipimport._zip_directory_cache

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). All crashes are gone with the C code. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracke

[issue5950] Make zipimport work with zipfile containing comments

2018-09-19 Thread Dima Tisnek
Dima Tisnek added the comment: Very glad to hear! Let's document what Python version(s) are "fixed". Perhaps this issue deserves a test case in issue25711. -- ___ Python tracker __

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-19 Thread Nick Coghlan
Nick Coghlan added the comment: (The other reason this change should be reverted is because it added a new feature to Python 3.7.1, even though in the earlier discussion we had agreed to leave the as-shipped implementation in 3.7.0 alone for the rest of the Python 3.7.x releases, and only di

[issue19081] zipimport behaves badly when the zip file changes while the process is running

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). -- ___ Python tracker ___ ___ Python

[issue14905] zipimport.c needs to support namespace packages when no 'directory' entry exists

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). -- ___ Python tracker ___ ___ Python

[issue14905] zipimport.c needs to support namespace packages when no 'directory' entry exists

2018-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Library (Lib) -Extension Modules stage: patch review -> needs patch type: behavior -> enhancement versions: +Python 3.8 -Python 3.6 ___ Python tracker

[issue15713] PEP 3121, 384 Refactoring applied to zipimport module

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport have been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue18307] Relative path in co_filename for zipped modules

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport has been rewritten in pure Python (issue25711). -- ___ Python tracker ___ ___ Python-

[issue32866] zipimport loader.get_data() requires absolute zip file path

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport has been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue29013] zipfile: inconsistent doc for ZIP64 file size

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think we should just revert this. The zipfile module can handle ZIP files up to 4 GiB without the ZIP64 extensions, but it requires the ZIP64 extensions for creating ZIP files larger than 2 GiB. The ZIP64 extensions is required also for ZIP files with mo

[issue17004] Expand zipimport to include other compression methods

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport has been rewritten in pure Python (issue25711). Now it is easier to add support of other compression methods. Although I don't think that reducing the size by 3-8% is worth complicating the code. If you still need this, I think that the simplest

[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport has been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue23769] valgrind reports leaks for test_zipimport

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport has been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue25710] zipimport is not PEP 3147 or PEP 488 compliant

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport has been rewritten in pure Python (issue25711). -- ___ Python tracker ___ ___ Python-

[issue5950] Make zipimport work with zipfile containing comments

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is not fixed yet. But it is now easier to fix. -- ___ Python tracker ___ ___ Python-bugs-list

[issue34731] pathlib path.match misshandles multiple `**`

2018-09-19 Thread Ronny Pfannschmidt
Ronny Pfannschmidt added the comment: indeed it is, thanks for the reference i searched only for match and missed the glob -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue29249] Pathlib glob ** bug

2018-09-19 Thread Ronny Pfannschmidt
Ronny Pfannschmidt added the comment: issue34731 was a duplicate of this pytest was affected, as we port more bits to pathlib we hit this as well bruno kindly implemented a local workaround in https://github.com/pytest-dev/pytest/pull/3980/files#diff-63fc5ed688925b327a5af20405bf4b09R19

[issue34731] pathlib path.match misshandles multiple `**`

2018-09-19 Thread Berker Peksag
Change by Berker Peksag : -- superseder: -> Pathlib glob ** bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue34722] Non-deterministic bytecode generation

2018-09-19 Thread Peter Ebden
Peter Ebden added the comment: Thanks for the pointer, I'll have a bit more of a dig into it (although Serhiy makes a good point too...). -- ___ Python tracker ___ __

[issue34732] uuid returns version more than 5

2018-09-19 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8833 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34733] Missing search bar on docs.python.org

2018-09-19 Thread Harrison Chudleigh
New submission from Harrison Chudleigh : The search bar is missing from docs.python.org, probably as a result of a minor error in the webpage. This is a quite recent change, as the search bar is still there in a web.archive.org snapshot from the 13th of September (last week). Could someone p

[issue17239] XML vulnerabilities in Python

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: > Oh? I've updated it twice (4e21100fa7bf66e0b32146d3f46ae16afc73fee1 and > 5033aa77aacaa5505636f150e8d54baac5bdca9c), and it didn't seem so bad. I just > copied the upstream files in. Did I do it wrong? Let me remind what I did... bpo-30694 (expat 2.2.1):

[issue34734] Azure linux buildbot failure

2018-09-19 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : It seems there is a sporadic failure in Azure linux buildbots while installing dependencies with the following error. It also fails sporadically on separate PRs that trigger the build. I noticed it for the few days since README Azure badge had th

[issue34125] Profiling depends on whether **kwargs is given

2018-09-19 Thread miss-islington
miss-islington added the comment: New changeset e89de7398718f6e68848b6340830aeb90b7d582c by Miss Islington (bot) (jdemeyer) in branch 'master': bpo-34125: Enable profiling of method_descriptor in all cases (GH-8416) https://github.com/python/cpython/commit/e89de7398718f6e68848b6340830aeb90b7d

[issue34732] uuid returns version more than 5

2018-09-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34732] uuid returns version more than 5

2018-09-19 Thread Richard Neumann
Richard Neumann added the comment: I'm not sure whether the property method should be changed. I think it'd be more appropriate to raise a value error upon __init__ in this case as it is done with other checks. -- nosy: +conqp ___ Python tracker <

[issue34712] Style fixes in examples of "Input and Output" tutorial section

2018-09-19 Thread miss-islington
miss-islington added the comment: New changeset 3705b9862025705ea60041a9e310f99a164db722 by Miss Islington (bot) (Ben Hoyt) in branch 'master': bpo-34712: Fix style in examples in "Input and Output" (GH-9361) https://github.com/python/cpython/commit/3705b9862025705ea60041a9e310f99a164db722

[issue34712] Style fixes in examples of "Input and Output" tutorial section

2018-09-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +8834 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34728] deprecate *loop* argument for asyncio.sleep

2018-09-19 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8835 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyt

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that the POSIX_SPAWN_USEVFORK may not do anything at this point (see the link in my previous message, if I read the code correctly POSIX_SPAWN_USEVFORK is no longer used in the implementation of posix_spawn(3)). Even if it did do something the user tha

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: I'm discussing with Pablo to see how to use posix_spawn() in the Python subprocess module. IMHO we should consider the specific case of subprocess. What is the expected API? kw = {} if hasattr(os, 'POSIX_SPAWN_USEVFORK'): kw['flags'] = os.POSIX_SPAWN_USEV

[issue34690] Store startup modules as C structures for 20%+ startup speed improvement

2018-09-19 Thread Nick Coghlan
Nick Coghlan added the comment: Something else this would need is a different name that better distinguishes it from the existing frozen modules, which freeze the bytecode rather than the resulting module state. (That existing approach avoids the stat overhead, but still incurs the module le

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8836 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31652] make install fails: no module _ctypes

2018-09-19 Thread Prabhakar
Prabhakar added the comment: Hi All, Iam using centos 7. And as mentioned in this thread, though this error came, Iam able to go to python3.7 interpreter fine. However, when i wanted to install pip, I get the same _ctype error as below. So, I think, this needs to be resolved in order to use

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The removal of POSIX_SPAWN_USEVFORK in glibc was somewhat recent. There is also multiple implementations of posix_spawn in glibc source tree. vfork was introduced in commit 9ad684229e7cf2f0b3c6068b2122701d167a5794 Author: Ulrich Drepper Date: Sun Se

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: The issue is now discussed on python-dev. My latest email: https://mail.python.org/pipermail/python-dev/2018-September/155242.html -- ___ Python tracker

[issue34732] uuid returns version more than 5

2018-09-19 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +8837 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34732] uuid returns version more than 5

2018-09-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is a valid UUID and trying this on JDK 9 also returns 15 for the version like Python. Am I missing something here? ➜ ~ jshell | Welcome to JShell -- Version 9.0.4 | For an introduction type: /help intro jshell> import java.util.* js

[issue34732] uuid returns version more than 5

2018-09-19 Thread Richard Neumann
Richard Neumann added the comment: @xtreak RFC 4122, section 4.1.3. specifies only versions 1 to 5. For explicitely checking the version, there is already a test in UUID.__init__, raising a ValueError on not 1<= verision 1<=5. I moved it to the bottom of __init__, i.e. after setting the "int"

[issue34732] uuid returns version more than 5

2018-09-19 Thread Richard Neumann
Richard Neumann added the comment: Typos: "For explicitely checking the version" → "For explicitely *setting* the version". "on not 1<= verision 1<=5" → "on not 1 <= version <= 5". -- ___ Python tracker

[issue34728] deprecate *loop* argument for asyncio.sleep

2018-09-19 Thread Felipe Rodrigues
Change by Felipe Rodrigues : -- nosy: +fbidu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue34732] uuid returns version more than 5

2018-09-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems there is an open issue about this : https://bugs.python.org/issue31958 Thanks -- ___ Python tracker ___

[issue31958] UUID versions are not validated to lie in the documented range

2018-09-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related issue : https://bugs.python.org/issue34732 . It has a PR to raise an exception in the constructor and it seems to cause tests to fail at https://ci.appveyor.com/project/python/cpython/build/3.8build22654 Thanks -- nosy: +xtreak __

[issue34728] deprecate *loop* argument for asyncio.sleep

2018-09-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34735] Modules/timemodule.c: Memory leak in time_strftime()

2018-09-19 Thread Zackery Spytz
New submission from Zackery Spytz : There is a missing PyMem_Free(format) in time_strftime(). I'll create a PR. -- components: Extension Modules messages: 325754 nosy: ZackerySpytz priority: normal severity: normal status: open title: Modules/timemodule.c: Memory leak in time_strftime()

[issue31652] make install fails: no module _ctypes

2018-09-19 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: As mentioned before, this is due to missing libffi-devel on a Centos 7 system. Verified it as well on one of my systems. Could you try again, but before just do a 'yum install libffi-devel'? Maybe a warning could be added to the install output when it

[issue34733] Missing search bar on docs.python.org

2018-09-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Strange it's present on both 3.8.a0 and for 3.6.6 but not for 3.7.0 Thanks -- nosy: +xtreak ___ Python tracker ___ ___

[issue34735] Modules/timemodule.c: Memory leak in time_strftime()

2018-09-19 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8838 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34736] Confusing base64.b64decode output

2018-09-19 Thread Mark Dickinson
New submission from Mark Dickinson : The following error message in Python 3.7 is confusing and unhelpful: >>> s = "FS9qzW_oliGH_Yo=" >>> base64.b64decode(s) Traceback (most recent call last): File "", line 1, in File "/opt/local/Library/Frameworks/Python.framework/Ver

[issue31958] UUID versions are not validated to lie in the documented range

2018-09-19 Thread Richard Neumann
Richard Neumann added the comment: @xtreak Indeed. It fails on _windll_getnode(). == ERROR: test_windll_getnode (test.test_uuid.TestInternalsWithoutExtModule) ---

[issue33937] test_socket: SendmsgSCTPStreamTest.testSendmsgTimeout() failed on Travis CI with: [Errno 12] Cannot allocate memory

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: This issue just occurred on a 3.7 PR: https://github.com/python/cpython/pull/9416#pullrequestreview-156769445 https://travis-ci.org/python/cpython/jobs/430490176 -- ___ Python tracker

[issue31958] UUID versions are not validated to lie in the documented range

2018-09-19 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue34737] Python upgrade with SYSTEM account uninstalls python

2018-09-19 Thread Jatin Goel
New submission from Jatin Goel : Team, I have some Windows machines where Python version 3.6.2 is installed. We are now upgrading them to 3.6.6 As part of our Install process, we launch the installation script with the SYSTEM account with the command: python-3.6.6-amd64.exe /quiet InstallAl

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

2018-09-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : ZIP files created by distutils don't include entries for directories. For example, if the directory structure is dist/ file1.py sub/ file2.py the ZIP file will contain entries 'dist/file1.py' and 'dist/sub/file2.py', but

[issue34734] Azure linux buildbot failure

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: Remove myself. VSTS is not my duty :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue34737] Python upgrade with SYSTEM account uninstalls python

2018-09-19 Thread Jatin Goel
Jatin Goel added the comment: Correction to the install command: python-3.6.6-amd64.exe /quiet InstallAllUsers=1 /log "[logpath]\InstallPython" On Wed, Sep 19, 2018 at 7:14 PM Jatin Goel wrote: > > New submission from Jatin Goel : > > Team, > > I have some Windows machines where Python vers

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

2018-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +8839 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue14905] zipimport.c needs to support namespace packages when no 'directory' entry exists

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue34738 fixes distutils. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue34736] Confusing base64.b64decode output

2018-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Library (Lib) nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34735] Modules/timemodule.c: Memory leak in time_strftime()

2018-09-19 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-19 Thread Florian Weimer
Florian Weimer added the comment: I wouldn't bother with POSIX_SPAWN_USEVFORK on GNU/Linux. Current versions of glibc always use a vfork-style clone call, so there would be a difference on older versions only. But there, the vfork code has subtle bugs, so using POSIX_SPAWN_USEVFORK there i

[issue34739] Get rid of tp_getattro in xml.etree.ElementTree.XMLParser

2018-09-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently xml.etree.ElementTree.XMLParser has the tp_getattro slot for handling some attributes. The proposed PR replaces it with tp_members and tp_getset. Benefits: constant time access, names of these attributes are added to the result of dir() and hel

[issue34726] Add support of checked hash-based pycs in zipimport

2018-09-19 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue34739] Get rid of tp_getattro in xml.etree.ElementTree.XMLParser

2018-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +8840 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34726] Add support of checked hash-based pycs in zipimport

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue23734 may be related. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue34740] Get rid of tp_getattro in ossaudiodev.oss_audio_device

2018-09-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently ossaudiodev.oss_audio_device has the tp_getattro slot for handling some attributes. The proposed PR replaces it with tp_members and tp_getset. Benefits: constant time access, names of these attributes are added to the result of dir() and help()

[issue34740] Get rid of tp_getattro in ossaudiodev.oss_audio_device

2018-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +8841 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34741] Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser

2018-09-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently pyexpat.xmlparser has the tp_getattro and tp_setattro slot for handling some attributes. The proposed PR replaces it with tp_members and tp_getset. Benefits: constant time access, names of these attributes are added to the result of help(), no

[issue25711] Rewrite zipimport from scratch

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b2984ab9a7c458f8b7ed8978c0c95b109116895d by Serhiy Storchaka in branch 'master': bpo-25711: Remove outdated zipimport tests. (GH-9404) https://github.com/python/cpython/commit/b2984ab9a7c458f8b7ed8978c0c95b109116895d --

[issue34741] Get rid of tp_getattro and tp_setattro in pyexpat.xmlparser

2018-09-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +8842 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, I am going to close the issue and the PR unless someone comments on this issue in 24h saying that we still need to expose the flag and providing an explanation. Thank you everyone for this interesting discussion :) -- ___

[issue34737] Python upgrade with SYSTEM account uninstalls python

2018-09-19 Thread Steve Dower
Steve Dower added the comment: This looks like something particular to Tcl/Tk, and my best guess from a very quick look at your logs is that there's a malware scanner preventing the files from being deleted for some reason (perhaps it's triggering an extended scan of one of the files?). Or p

[issue14905] zipimport needs to support namespace packages when no 'directory' entry exists

2018-09-19 Thread ppperry
Change by ppperry : -- title: zipimport.c needs to support namespace packages when no 'directory' entry exists -> zipimport needs to support namespace packages when no 'directory' entry exists ___ Python tracker

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: I rely on Florian Weimer who maintains the glibc for Red Hat, and so I agree to close the issue. It seems like Pablo wants to keep the issue open 24h, so I let him close it later ;-) The good news is that calling posix_spawn() with no flag is safe in all gli

[issue34730] aclose() doesn't stop raise StopAsyncIteration / GeneratorExit to __anext__()

2018-09-19 Thread Devin Fee
Change by Devin Fee : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue34739] Get rid of tp_getattro in xml.etree.ElementTree.XMLParser

2018-09-19 Thread Stefan Behnel
Stefan Behnel added the comment: Nice. Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34733] Missing search bar on docs.python.org

2018-09-19 Thread Ned Deily
Change by Ned Deily : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/m

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread R. David Murray
Change by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-19 Thread R. David Murray
R. David Murray added the comment: > David and Brett: I consider part of the actions of the anonymous person using > the temporary aliases 25.45 and jonsees to be violations of our Code of > Conduct. I would therefore like you two to issue a warning, if not a ban. I am not interested in bei

[issue34660] Replace ableist terms and pejoratives in source code.

2018-09-19 Thread R. David Murray
Change by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

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

2018-09-19 Thread Matthew Barnett
Matthew Barnett added the comment: I don't see a problem with this. If the zip file has 'dist/file1.py' then you know to create a directory when unzipping. If you want to indicate that there's an empty directory 'foo', then put 'foo/' in the zip file. -- nosy: +mrabarnett __

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

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are two problems: 1. This is inconsistent with TAR files and the zip utility. 2. This is not compatible with zipimport. -- ___ Python tracker _

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

2018-09-19 Thread Éric Araujo
Éric Araujo added the comment: IMO inconsistency with tarfile is not very relevant. About the zip utility: are you saying that the unix unzip command is not able to inspect or extract distutils sdists? About zipimport, the question is: are sdists meant to be directly importable (IMO no). Th

[issue34742] Add optional argument for exit status in argparse.ArgumentParser.error

2018-09-19 Thread Ankit Goel
New submission from Ankit Goel : argparse.ArgumentParser.error currently uses a hard coded exit status (2). An optional argument (with default value 2) would be useful to change the status without needing to overwrite the method in a subclass like here: https://github.com/pytest-dev/pytest/pul

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Larry Hastings
Larry Hastings added the comment: @Mariatta: > There will be no further discussion about this. Mariatta, why do you say that? As long as the participants in the discussion are respectful I'm not aware of any mechanism in the CPython developer guidelines that would require shutting down the

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-19 Thread Vladimir Matveev
Change by Vladimir Matveev : -- pull_requests: +8843 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Éric Araujo
Éric Araujo added the comment: I think the idea here is: don’t feed the trolls. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Larry Hastings
Larry Hastings added the comment: @eric.araujo: > I think the idea here is: don’t feed the trolls. I understand this as a general-purpose metaphor. But I don't understand how that translates into CPython issue tracker policy. And so far I wouldn't describe anybody corresponding on this issu

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Yury Selivanov
Yury Selivanov added the comment: > I think the idea here is: don’t feed the trolls. +1. Please stop this. Larry, IMHO, if you seriously want to discuss this issue (and bring more attention to it) I think you should email to python-commiters. Otherwise this is just a pointless distraction

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 95cc3ee00cfa079751ae2bb9a8d3387053b50489 by Victor Stinner in branch '3.7': Revert "[3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion off by default (GH-9379)" (GH-9416) https://github.com/python/cpython/commit/95cc3ee00cfa07975

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-19 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: -yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

  1   2   3   >