[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki
Inada Naoki added the comment: New changeset 87ed1beb3e15c619f25b9a9308d1ec35659feffd by Inada Naoki in branch '2.7': bpo-30134: add BytesWarning in warnings.rst (GH-12738) https://github.com/python/cpython/commit/87ed1beb3e15c619f25b9a9308d1ec35659feffd --

[issue36551] Optimize list comprehensions with preallocate size and protect against overflow

2019-04-09 Thread anthony shaw
anthony shaw added the comment: >I am -1 for this optimization because it affects only one particular case >(neither other kinds of comprehensions, nor generator expressions, nor list >comprehensions with conditions) and even in this case it is small. It is possible to add a lot of other o

[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +12661 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33461] json.loads(encoding=) does not emit deprecation warning.

2019-04-09 Thread Inada Naoki
Inada Naoki added the comment: New changeset a8abe097c1165db25b429ca02a65c4f8acbc062b by Inada Naoki (Matthias Bussonnier) in branch 'master': bpo-33461: emit DeprecationWarning when json.loads(encoding=...) is used (GH-6762) https://github.com/python/cpython/commit/a8abe097c1165db25b429ca02

[issue33461] json.loads(encoding=) does not emit deprecation warning.

2019-04-09 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue33456] site.py: by default, a virtual environment is *not* isolated from the system-level site-packages directories

2019-04-09 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset c324c748871804f31f56b3bd02a8650b3bf1bae7 by Vinay Sajip (Lukas Waymann) in branch 'master': bpo-33456: site module documentation - fix wrong default for key in pyvenv.cfg (GH-6755) https://github.com/python/cpython/commit/c324c748871804f31f56b3bd0

[issue33456] site.py: by default, a virtual environment is *not* isolated from the system-level site-packages directories

2019-04-09 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue36570] ftplib timeouts for misconfigured server

2019-04-09 Thread Dāvis
New submission from Dāvis : It's not uncommon to encounter FTP servers which are misconfigured and return unroutable host IP (eg. internal IP) when using passive mode See: https://superuser.com/a/1195591 Most FTP clients such as FileZilla and WinSCP use a workaround when they encounter such s

[issue36570] ftplib timeouts for misconfigured server

2019-04-09 Thread Dāvis
Change by Dāvis : -- keywords: +patch pull_requests: +12662 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In 2.7 BytesWarning is emitted only on comparison between bytearray and unicode. All descriptions and comments should be corrected. -- ___ Python tracker

[issue36571] Lib/smtplib.py have some pep8 issues

2019-04-09 Thread Marcin Niemira
Change by Marcin Niemira : -- keywords: +patch pull_requests: +12664 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36571] Lib/smtplib.py have some pep8 issues

2019-04-09 Thread Marcin Niemira
New submission from Marcin Niemira : pycodestyle (pep8) reports some issues on linting for Lib/smtplib.py I believe we can fix most of them and apply some improvements due to pep-572. PR on GH. Are contributions like this valuable? -- components: Library (Lib) messages: 339714 nosy:

[issue36570] ftplib timeouts for misconfigured server

2019-04-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Please no. The mistake should be fixed in the misconfigured FTP server, not in ftplib, which should not make this event pass unnoticed or take arbitrary decisions. Filezilla is different than ftplib in that it's an end-user app. ftplib is not (e.g. it can

[issue36571] Lib/smtplib.py have some pep8 issues

2019-04-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Generally changes only related to PEP 8 are not merged since they pollute git history while using blame and a lot of other modules also don't adhere to PEP 8. New code written can have PEP 8 enforced or the related parts of the code can be refactor

[issue36571] Lib/smtplib.py have some pep8 issues

2019-04-09 Thread Christian Heimes
Christian Heimes added the comment: Yes, I totally agree with xtreak. We try to avoid unnecessary code changes. Any change comes with a risk and cost to pay. PEP 8 is just a guideline for new code. -- nosy: +christian.heimes ___ Python tracker

[issue36557] Python (Launcher)3.7.3 CMDLine install/uninstall

2019-04-09 Thread mattcher_h
mattcher_h added the comment: ok the "PathToPython.exe /uninstall /quiet" seems to work. Thanks for this hint. I found the Python Launcher in the registry path for x86, this was not what I expected after install Python3.7.3 x64. In the registry they show an uninstall command what works when I

[issue36571] Lib/smtplib.py have some pep8 issues

2019-04-09 Thread Marcin Niemira
Marcin Niemira added the comment: Thanks for the explanation. I'll close issue and PR. Cheers :) -- stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue36559] "import random" should import hashlib on demand (nor load OpenSSL)

2019-04-09 Thread Christian Heimes
Christian Heimes added the comment: You could also use the internal _sha512 module. It's always present, small, lean and provides a SHA512 implementation with sufficient performance. -- nosy: +christian.heimes ___ Python tracker

[issue36572] python-snappy install issue during Crossbar install with Python 3.7.3 (Windows x86 executable installer)

2019-04-09 Thread Slim
New submission from Slim : In a Windows 2016 VM, when trying to install Crossbar in offline mode, we observed the following error: error Running setup.py install for python-snappy ... error ... snappy/snappymodule.cc(31): fatal error C1083: Cannot open include file: 'snappy-c.h': No such file

[issue36573] zipfile zipfile.BadZipFile: Bad CRC-32 for file '11_02_2019.pdf'

2019-04-09 Thread Jozef Cernak
New submission from Jozef Cernak : Hi, in the short program, that works well for password of 4 character, when I change password length I got this error (parameter MAXD) Traceback (most recent call last): File "p33.py", line 54, in zf.extractall( pwd=password.encode('cp850','replace')

[issue36559] "import random" should import hashlib on demand (nor load OpenSSL)

2019-04-09 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +12665 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue36573] zipfile zipfile.BadZipFile: Bad CRC-32 for file '11_02_2019.pdf'

2019-04-09 Thread SilentGhost
Change by SilentGhost : -- nosy: +alanmcintyre, serhiy.storchaka, twouters type: crash -> behavior ___ Python tracker ___ ___ Python

[issue17561] Add socket.bind_socket() convenience function

2019-04-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Fixed. There's a remaining failing BB: https://buildbot.python.org/all/#/builders/176/builds/185/steps/4/logs/stdio ...but the failure appears unrelated and it has been red for a while. -- resolution: -> fixed stage: patch review -> resolved status

[issue18372] _Pickler_New() doesn't call PyObject_GC_Track(self)

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: > Tracking objects that do not need this will just add work to the garbage > collector. Not all instances of trackable types should be tracked, for > example the empty tuple and some dicts are not tracked. Well, in that case, we should do the opposite of PR

[issue36570] ftplib timeouts for misconfigured server

2019-04-09 Thread Dāvis
Dāvis added the comment: The problem is that most of time you have no control over that FTP server but you still want to download files from that FTP server using Python. Currently that's just not possible. Maybe there could be some flag to enable workarounds for these cases. -- ___

[issue18372] _Pickler_New() doesn't call PyObject_GC_Track(self)

2019-04-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: GC support can not be removed, because these objects are created also as long living objects using the standard way. And in this case they are tracked (in PyType_GenericAlloc()) and tp_traverse is called. They are not tracked only when created by an intern

[issue36573] zipfile zipfile.BadZipFile: Bad CRC-32 for file '11_02_2019.pdf'

2019-04-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you get an error when try to extract the file using the valid password? -- ___ Python tracker ___ __

[issue36560] test_functools leaks randomly 1 memory block

2019-04-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12666 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36573] zipfile zipfile.BadZipFile: Bad CRC-32 for file '11_02_2019.pdf'

2019-04-09 Thread Jozef Cernak
Jozef Cernak added the comment: Dear Serhiy, in the case of correct password, the program works well: OACD PACD QACD RACD SACD TACD UACD VACD WACD XACD YACD ZACD ABCD Password found:ABCD for five characters: RRJBA Traceback (most recent call last): File "p33.py", line 54, in zf.extrac

[issue36573] zipfile zipfile.BadZipFile: Bad CRC-32 for file '11_02_2019.pdf'

2019-04-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If you try to extract the file using an invalid password, it is an expected behavior. -- ___ Python tracker ___ __

[issue36573] zipfile zipfile.BadZipFile: Bad CRC-32 for file '11_02_2019.pdf'

2019-04-09 Thread Jozef Cernak
Jozef Cernak added the comment: Ok, however behaviur is detected after several attempts i.e. behaviour is not regular but depends on the previous history, how or how many times functions was called. I think such behaviur should indicate that function store previous data, i.e. history. Best rega

[issue36560] test_functools leaks randomly 1 memory block

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: This issue isn't a real memory leak: if I use -R 3:10 instead of -R 3:3, the test doesn't fail anymore. But the issue is still annoying since it makes Refleaks buildbot workers fail randomly :-/ This issue remembers me the unstable multiprocessing tests: *

[issue36560] test_functools leaks randomly 1 memory block

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 12743 to modify _abc: use weakref.WeakSet rather than using directly a set of weak references. With this PR, calling _get_dump() should clear all broken weak references. I'm not sure if it's really useful for this specific issue, since dash_R_clea

[issue36560] test_functools leaks randomly 1 memory block

2019-04-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: _abc was written for optimization. Your PR makes it using slower Python code. Could you please test how much this hits the performance of abc? -- nosy: +inada.naoki, levkivskyi ___ Python tracker

[issue36560] test_functools leaks randomly 1 memory block

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

[issue36573] zipfile zipfile.BadZipFile: Bad CRC-32 for file '11_02_2019.pdf'

2019-04-09 Thread Jozef Cernak
Jozef Cernak added the comment: Hi, I changed zipped file password to the new string "RRJBB" that is a combination after RRJBA to see what will happen. At the input combination KWFEA I got the message: KWFEA Traceback (most recent call last): File "p33.py", line 54, in zf.extractall(

[issue36560] test_functools leaks randomly 1 memory block

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: If I modify libregrtest with the following patch: diff --git a/Lib/test/libregrtest/refleak.py b/Lib/test/libregrtest/refleak.py index 0bb8a0a2bf..f0225a9768 100644 --- a/Lib/test/libregrtest/refleak.py +++ b/Lib/test/libregrtest/refleak.py @@ -128,7 +128,7 @@

[issue36573] zipfile zipfile.BadZipFile: Bad CRC-32 for file '11_02_2019.pdf'

2019-04-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is how the weak encryption in ZIP files work. In 255 cases from 256 the wrong password can be detected earlier (this make the encryption just weaker). But it 1 case of 256 this check is passed and you will get either an error of mismatched CRC, or the

[issue34060] regrtest: log "CPU usage" on Windows

2019-04-09 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset e16467af0bfcc9f399df251495ff2d2ad20a1669 by Cheryl Sabella (Ammar Askar) in branch 'master': bpo-34060: Report system load when running test suite for Windows (GH-8357) https://github.com/python/cpython/commit/e16467af0bfcc9f399df251495ff2d2ad20

[issue36560] test_functools leaks randomly 1 memory block

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5aaac94eeb44697e92b0951385cd557bc27e0f6a by Victor Stinner in branch 'master': bpo-36560: Fix reference leak hunting in regrtest (GH-12744) https://github.com/python/cpython/commit/5aaac94eeb44697e92b0951385cd557bc27e0f6a -- _

[issue34060] regrtest: log "CPU usage" on Windows

2019-04-09 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've merged PR8357. I believe PR8287 can be closed now with PR8357 as the superseder? Thank you to everyone for your contributions to this discussion! -- ___ Python tracker

[issue36560] test_functools leaks randomly 1 memory block

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

[issue1583] Patch for signal.set_wakeup_fd

2019-04-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Why is this using type "sig_atomic_t" for a file descriptor instead of "int" (which is the type of file descriptors)? See https://github.com/python/cpython/pull/12670 -- nosy: +jdemeyer ___ Python tracker

[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki
Inada Naoki added the comment: New changeset 4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d by Inada Naoki in branch '2.7': bpo-30134: fix BytesWarning doc, docstring and message (GH-12739) https://github.com/python/cpython/commit/4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d -- _

[issue30134] BytesWarning is missing from the documents

2019-04-09 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue34152] performance of some list slice assignment margin cases can be improved

2019-04-09 Thread Cheryl Sabella
Cheryl Sabella added the comment: @rhettinger recommended against this suggestion last July. I'm bumping this for others to comment and to recommend closing the issue and PR if it's not going to move forward. Nosying Pablo since he commented on the PR. -- nosy: +cheryl.sabella, pab

[issue34139] Remove stale unix datagram socket before binding

2019-04-09 Thread Cheryl Sabella
Change by Cheryl Sabella : -- type: -> enhancement versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue36557] Python (Launcher)3.7.3 CMDLine install/uninstall

2019-04-09 Thread mattcher_h
mattcher_h added the comment: Ok I´m done. Thank you very much for your quick advice. The documentaion is kind of misleading. "The /uninstall option may be passed to immediately begin removing Python - no prompt will be displayed." Because of the last part I thought the /quiet is included and

[issue32409] venv activate.bat is UTF-8 encoded but uses current console codepage

2019-04-09 Thread Lorenz Mende
Change by Lorenz Mende : -- pull_requests: +12669 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34144] venv activate.bat reset codepage fails on windows 10

2019-04-09 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue36470] dataclasses.replace raises an exception if InitVar with default argument is not provided.

2019-04-09 Thread Krzysztof Mierzejewski
Change by Krzysztof Mierzejewski : -- nosy: +mierzej ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34152] performance of some list slice assignment margin cases can be improved

2019-04-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with Raymond. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list m

[issue35381] posixmodule: convert statically allocated types (DirEntryType & ScandirIteratorType) to heap-allocated types

2019-04-09 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Just curious... how is PEP 384 relevant to modules insides CPython itself? I thought that this only mattered for external packages. Do you expect people to use a 3.7-compiled posixmodule.c on Python 3.8? -- nosy: +jdemeyer __

[issue36574] Error with self in python

2019-04-09 Thread Tommy
New submission from Joan Tomas (Tommy) Pujol Muñoz : I try to use self with the __init__ function in a class, but when I enter the other values e.g. def __init__(self, name): self.name = name /// and when I call the class with a name it says that it need another value because it uses self an a

[issue36575] Use _PyTime_GetPerfCounter() in lsprof

2019-04-09 Thread Inada Naoki
New submission from Inada Naoki : Current lsprof uses `gettimeofday` on non-Windows. _PyTime_GetPerfCounter() is better time for profiling. -- components: Library (Lib) messages: 339747 nosy: inada.naoki priority: normal severity: normal status: open title: Use _PyTime_GetPerfCounter()

[issue36575] Use _PyTime_GetPerfCounter() in lsprof

2019-04-09 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +12670 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue34139] Remove stale unix datagram socket before binding

2019-04-09 Thread miss-islington
miss-islington added the comment: New changeset 56065d4c8ac03042cb7e29ffda9b1ac544a37b4d by Miss Islington (bot) (Quentin Dawans) in branch 'master': bpo-34139: Remove unix datagram socket from FS before binding (GH-8323) https://github.com/python/cpython/commit/56065d4c8ac03042cb7e29ffda9b1a

[issue34139] Remove stale unix datagram socket before binding

2019-04-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: Done -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue34110] cPickle may raise AttributeError when loading concurrently in threads

2019-04-09 Thread Cheryl Sabella
Cheryl Sabella added the comment: Adding @pitrou to the nosy list as he last modified the section of code changed in the PR. -- nosy: +cheryl.sabella, pitrou versions: -Python 3.6 ___ Python tracker __

[issue29707] os.path.ismount() always returns false for mount --bind on same filesystem

2019-04-09 Thread Cheryl Sabella
Cheryl Sabella added the comment: Can this be closed as a documentation only change? Thanks! -- nosy: +cheryl.sabella ___ Python tracker ___ _

[issue29707] os.path.ismount() always returns false for mount --bind on same filesystem

2019-04-09 Thread Christian Heimes
Christian Heimes added the comment: Yes, it can be closed as doc-only fix. -- nosy: +christian.heimes resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue36575] Use _PyTime_GetPerfCounter() in lsprof

2019-04-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue36276] [CVE-2019-9740] Python urllib CRLF injection vulnerability

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: The CVE-2019-9740 has been assigned to this issue: * https://nvd.nist.gov/vuln/detail/CVE-2019-9740 * https://bugzilla.redhat.com/show_bug.cgi?id=1692984 ... which has been marked as a duplicate of bpo-30458. -- title: Python urllib CRLF injection vu

[issue30458] [CVE-2019-9740][security] CRLF Injection in httplib

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: The CVE-2019-9740 has been assigned to the bpo-36276: * https://nvd.nist.gov/vuln/detail/CVE-2019-9740 * https://bugzilla.redhat.com/show_bug.cgi?id=1692984 ... which has been marked as a duplicate of this issue. -- nosy: +vstinner title: CRLF Inject

[issue22377] %Z in strptime doesn't match EST and others

2019-04-09 Thread Paul Ganssle
Paul Ganssle added the comment: @Alex LordThorsen: It will accept EST if EST is one of your "local" time zones, so whatever's in `time.tzname`. In the short term, I think the right thing to do would be to update the documentation to remove the reference to "EST", and add an explanatory note

[issue36576] Some test_ssl and test_asyncio tests fail with OpenSSL 1.1.1 on Python 3.4 and 3.5

2019-04-09 Thread STINNER Victor
New submission from STINNER Victor : On Fedora 29, test_ssl and test_asyncio when Python 3.5 is linked with OpenSSL 1.1.1b (Fedora package openssl-1.1.1b-3.fc29.x86_64): test_ssl: * test_options (test.test_ssl.ContextTests) * test_alpn_protocols (test.test_ssl.ThreadedTests) * test_default_ec

[issue36574] Error with self in python

2019-04-09 Thread Steven D'Aprano
Steven D'Aprano added the comment: The file you have attached doesn't seem to be a Python script, it seems to be some sort of Windows batch file or similar. Please supply an actual Python file. (Hint: remove the "del code.py" line from your batch file.) Also, copy and paste the traceback you

[issue36576] Some test_ssl and test_asyncio tests fail with OpenSSL 1.1.1 on Python 3.4 and 3.5

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: I wasn't sure if tests pass or not on OpenSSL 1.1.0. My colleague Miro checked: the full Python 3.5 test suite pass on Fedora 28 with OpenSSL 1.1.0. python35 is linked to OpenSSL 1.1.0 on Fedora 28: https://src.fedoraproject.org/rpms/python35/blob/f28/f/pytho

[issue36576] Some test_ssl and test_asyncio tests fail with OpenSSL 1.1.1 on Python 3.4 and 3.5

2019-04-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12671 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36559] "import random" should import hashlib on demand (nor load OpenSSL)

2019-04-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: > You could also use the internal _sha512 module. It's always present This is not true at the moment, the _sha512 module is not present when openssl is missing. This is a bug in setup.py that prevents building the _sha512 module when openssl is missing. See

[issue29699] shutil.rmtree should not fail with FileNotFoundError (race condition)

2019-04-09 Thread Jesse Farnham
Change by Jesse Farnham : -- nosy: +jesse.farnham ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2019-04-09 Thread cagney
cagney added the comment: I pointed out two issues with breaking the locks. Your response addressed the less important issue: - the guarantee that log records don't interleave is lost Since the documentation seems to be silent the guarantee (or expectation) is implied - logging systems emit

[issue36544] cannot import hashlib when openssl is missing

2019-04-09 Thread miss-islington
miss-islington added the comment: New changeset 2ee077f7955e0349074f16a7afee40b4914619f7 by Miss Islington (bot) (xdegaye) in branch 'master': bpo-36544 : Fix regression introduced in bpo-36146 (GH-12708) https://github.com/python/cpython/commit/2ee077f7955e0349074f16a7afee40b4914619f7

[issue36146] Refactor setup.py

2019-04-09 Thread miss-islington
miss-islington added the comment: New changeset 2ee077f7955e0349074f16a7afee40b4914619f7 by Miss Islington (bot) (xdegaye) in branch 'master': bpo-36544 : Fix regression introduced in bpo-36146 (GH-12708) https://github.com/python/cpython/commit/2ee077f7955e0349074f16a7afee40b4914619f7

[issue36559] "import random" should import hashlib on demand (nor load OpenSSL)

2019-04-09 Thread Christian Heimes
Christian Heimes added the comment: Thanks for pointing to the other issue. This is clearly a regression and should be fixed ASAP. I have ACKed your PR and pushed it. -- ___ Python tracker _

[issue14817] pkgutil.extend_path has no tests

2019-04-09 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @Windson please open a PR for review with your code. -- nosy: +nanjekyejoannah ___ Python tracker ___ _

[issue36577] setup doesn't report missing _ssl and _hashlib

2019-04-09 Thread Christian Heimes
New submission from Christian Heimes : setup does not report _ssl and _hashlib as failed to build in case OpenSSL libs or headers are missing. Related to #36544 and #36146 Reproducer: $ ./configure --with-openssl=/invalid $ make ... running build running build_ext The following modules foun

[issue36577] setup doesn't report missing _ssl and _hashlib

2019-04-09 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +12672 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue36146] Refactor setup.py

2019-04-09 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +12673 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue30458] [CVE-2019-9740][security] CRLF Injection in httplib

2019-04-09 Thread Ryan Ware
Change by Ryan Ware : -- nosy: +ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue35906] Header Injection in urllib

2019-04-09 Thread Ryan Ware
Change by Ryan Ware : -- nosy: +ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue35907] Unnecessary URL scheme exists to allow file:// reading file in urllib

2019-04-09 Thread Ryan Ware
Change by Ryan Ware : -- nosy: +ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue36544] cannot import hashlib when openssl is missing

2019-04-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue1583] Patch for signal.set_wakeup_fd

2019-04-09 Thread Adam Olsen
Adam Olsen added the comment: The fd field may be written from the main thread simultaneous with the signal handler activating and reading it out. Back in 2007 the only POSIX-compliant type allowed for that was sig_atomic_t, anything else was undefined. Looks like pycore_atomic.h should hav

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread 孑影
New submission from 孑影 : == output == python2 /tmp/demo.py 31749 task#1 result:(False, 'ls: cannot access alksdfjalkdsfadsfk: No such file or directoryn') 31751 task#2 result:(False, 'ls: cannot access alksdfjalkdsfadsfk: No such file or directoryn') 31752 task#3 result:(False, '3n') 31750

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread 孑影
Change by 孑影 : Removed file: https://bugs.python.org/file48253/demo.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread 孑影
Change by 孑影 : Added file: https://bugs.python.org/file48254/demo.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread 孑影
Change by 孑影 : Added file: https://bugs.python.org/file48255/demo.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread 孑影
Change by 孑影 : Removed file: https://bugs.python.org/file48254/demo.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36560] test_functools leaks randomly 1 memory block

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

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread 孑影
Change by 孑影 : Removed file: https://bugs.python.org/file48255/demo.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36560] test_functools leaks randomly 1 memory block

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9c14061a2c2df9a9b84d0aab190a50c24a0d52f4 by Victor Stinner in branch '2.7': bpo-36560: Fix reference leak hunting in regrtest (GH-12744) (GH-12745) https://github.com/python/cpython/commit/9c14061a2c2df9a9b84d0aab190a50c24a0d52f4 -- _

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread 孑影
Change by 孑影 : Added file: https://bugs.python.org/file48256/demo.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread 孑影
孑影 added the comment: My python version info: Python 2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 20170516] on linux2 Python 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516] on linux -- ___ Python tracker

[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange

2019-04-09 Thread SilentGhost
SilentGhost added the comment: The error you're seeing stems from this bit of code: random.randint(1, 0) With zero resulting from `taskid % 5` operation for values of taskid divisible by 5. Obviously, when you comment out this line you're not seeing the error. -- nosy: +SilentGhost

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset e65f01f78d7bda3013fc5be485afa87ff56511d9 by Victor Stinner in branch 'master': bpo-36508: python-config don't export LINKFORSHARED (GH-12661) https://github.com/python/cpython/commit/e65f01f78d7bda3013fc5be485afa87ff56511d9 -- ___

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +12675 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36560] test_functools leaks randomly 1 memory block

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset bb4447897a5f141eecf42987a1191a3330c5d7ed by Victor Stinner in branch 'master': bpo-36560: regrtest: don't collect the GC twice (GH-12747) https://github.com/python/cpython/commit/bb4447897a5f141eecf42987a1191a3330c5d7ed -- ___

[issue36560] test_functools leaks randomly 1 memory block

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

[issue36544] cannot import hashlib when openssl is missing

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

  1   2   >