[issue31627] test_mailbox if the hostname is empty

2017-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : On just installed FreeBSD the hostname is empty. This causes a failure of test_mailbox. == FAIL: test_create_tmp (test.test_mailbox.TestMaildir) ---

[issue31628] test_emails failure on FreeBSD

2017-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -m test -vuall test_email ... == ERROR: test_localtime_daylight_false_dst_true (test.test_email.test_utils.LocaltimeTests) ---

[issue31627] test_mailbox fails if the hostname is empty

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: test_mailbox if the hostname is empty -> test_mailbox fails if the hostname is empty ___ Python tracker ___ _

[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-09-29 Thread Oren Milman
Oren Milman added the comment: But in case get_source() returned a unicode, is it likely that the splitlines() method of this unicode would return a 8-bit string? Currently show_warning() doesn't handle this scenario, as it assumes splitlines() returned an 8-bit string. Or do you think that s

[issue31626] Crash in _PyUnicode_DecodeUnicodeEscape on OpenBSD

2017-09-29 Thread STINNER Victor
STINNER Victor added the comment: "_PyUnicodeWriter_Finish() calls resize_compact() for truncating the result, but the latter fills the last 15 bytes with \xdb. Since the string is tagged as ASCII, thus crashing in _PyUnicode_CheckConsistency." Cool. My code works as expected to catch bugs :-

[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I didn't check. I supposed that the other code can support unicode by implicitly converting it to str. But now I see that show_warning() uses PyString_AS_STRING() and therefore supports only str. I agree, using str.splitlines() would be correct solution. -

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Nitish
Change by Nitish : -- keywords: +patch pull_requests: +3800 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list maili

[issue31629] test_multiprocessing_fork failure on FreeBSD

2017-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : test_multiprocessing_fork fails only if run all tests on FreeBSD. It is passed successfully if run it separately. $ ./python -m test -vuall ... == FAIL: test_many_processes (test.test_mul

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Nitish
Nitish added the comment: The problem is with the following check: n = digits * bits_per_char + PyLong_SHIFT - 1; if (n / bits_per_char < p - start) { PyErr_SetString(PyExc_ValueError, "int string too large to convert"); The problem is that n / bits_per_

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD

2017-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : test_math and test_cmath fail on OpenBSD 6.1. == FAIL: test_testfile (test.test_math.MathTests) -- Traceback (most recent

[issue31631] test_c_locale_coercion fails on OpenBSD

2017-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -m test -vuall test_c_locale_coercion ... == FAIL: test_external_target_locale_configuration (test.test_c_locale_coercion.LocaleConfigurationTests) (env_var='LC_CTYPE', configu

[issue31632] Asyncio: SSL transport does not support set_protocol()

2017-09-29 Thread Loïc Lajeanne
New submission from Loïc Lajeanne : The bug was encountered when using the HTTPS client of the aiohttp package. Calling the method set_protocol() on a SSL transport (_SSLProtocolTransport) does not have the expected result: the new protocol will never be used (i.e. its data_received() method

[issue31633] test_crypt fails on OpenBSD

2017-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -m test -vuall test_crypt ... == FAIL: test_methods (test.test_crypt.CryptTestCase) -- Traceback (most recent c

[issue31633] test_crypt fails on OpenBSD

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue25287. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_crypt fails on OpenBSD ___ Python tracker __

[issue25287] test_crypt fails on OpenBSD

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have an OpenBSD VM. -- components: +Library (Lib) nosy: +jafo, serhiy.storchaka resolution: out of date -> stage: resolved -> status: closed -> open type: -> behavior versions: +Python 3.7 -Python 3.4, Python 3.5

[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems there is the same cause of the failure of test_curses on OpenBSD. == ERROR: test_window_funcs (test.test_curses.TestCurses) (meth='window.getkey') Test the methods of windows --

[issue31634] Consider installing wheel in ensurepip by default

2017-09-29 Thread Segev Finer
New submission from Segev Finer : wheel is quite prevalent nowadays. ensurepip even uses wheels of pip & setuptools itself. Installing wheel by default will bestow the following benefits: 1. pip's wheel cache will be enabled by default. 2. Users will be able to run setup.py bdist_wheel. Put si

[issue31635] test_strptime failure on OpenBSD

2017-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -m test -vuall test_strptime ... == FAIL: test_week_of_year_and_day_of_week_calculation (test.test_strptime.CalculationTests) [Jan 1 on Sunday] (date=(1905, 1, 1), format='%G %V

[issue31636] test_locale failure on OpenBSD

2017-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : $ ./python -m test -vuall -m test_getsetlocale_issue1813 test_locale ... test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ERROR ==

[issue31636] test_locale failure on OpenBSD

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue31635] test_strptime failure on OpenBSD

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue25287] test_crypt fails on OpenBSD

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue31631] test_c_locale_coercion fails on OpenBSD

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue31626] Crash in _PyUnicode_DecodeUnicodeEscape on OpenBSD

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue31632] Asyncio: SSL transport does not support set_protocol()

2017-09-29 Thread Loïc Lajeanne
Change by Loïc Lajeanne : -- keywords: +patch pull_requests: +3801 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue31634] Consider installing wheel in ensurepip by default

2017-09-29 Thread Segev Finer
Change by Segev Finer : -- keywords: +patch pull_requests: +3802 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 3816 fixes the symptom, but not the core issue -- an overflow check depending on undefined behaviour. -- ___ Python tracker ___

[issue31637] integer overflow in the size of a ctypes.Array

2017-09-29 Thread Oren Milman
New submission from Oren Milman : The following code: from ctypes import * from _testcapi import PY_SSIZE_T_MAX, LONG_MAX if LONG_MAX == PY_SSIZE_T_MAX == (1 << 31) - 1: class MyArray(Array): _type_ = c_longlong _length_ = 1 << 29 arr = MyArray() for i in range(3):

[issue31638] zipapp module should support compression

2017-09-29 Thread Zhiming Wang
New submission from Zhiming Wang : Currently (up to 3.7.0a1) archives generated by the zipapp module are uncompressed, which are unnecessarily large for large projects. It's easy to add deflate compression support, and Python loads compressed archives just fine. I already have a patch availabl

[issue31638] zipapp module should support compression

2017-09-29 Thread Zhiming Wang
Change by Zhiming Wang : -- keywords: +patch pull_requests: +3803 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue31637] integer overflow in the size of a ctypes.Array

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't this a duplicate of issue1621? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Pytho

[issue25351] pyvenv activate script failure with specific bash option

2017-09-29 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 90f1d989594f3340c5ffaa2cf9cef1876ac6bb89 by Vinay Sajip (Sorin Sbarnea) in branch 'master': bpo-25351: avoid activate failure on strict shells (GH-3804) https://github.com/python/cpython/commit/90f1d989594f3340c5ffaa2cf9cef1876ac6bb89 --

[issue31637] integer overflow in the size of a ctypes.Array

2017-09-29 Thread Oren Milman
Oren Milman added the comment: oh, i missed that. sorry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue31637] integer overflow in the size of a ctypes.Array

2017-09-29 Thread Oren Milman
Change by Oren Milman : -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue25351] pyvenv activate script failure with specific bash option

2017-09-29 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +3804 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue25351] pyvenv activate script failure with specific bash option

2017-09-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset a5610e07460a8df4b0923a32d37234cd535ec952 by Victor Stinner (Miss Islington (bot)) in branch '3.6': [3.6] bpo-25351: avoid activate failure on strict shells (GH-3804) (#3820) https://github.com/python/cpython/commit/a5610e07460a8df4b0923a32d37234c

[issue25351] pyvenv activate script failure with specific bash option

2017-09-29 Thread STINNER Victor
STINNER Victor added the comment: The bug has been fixed in Python 3.6 and 3.7 (master), thank you Sorin Sbarnea! Python 3.4 and 3.5 don't accept bug fixes anymore, only security fixes: https://devguide.python.org/#status-of-python-branches -- resolution: -> fixed stage: patch review

[issue31627] test_mailbox fails if the hostname is empty

2017-09-29 Thread R. David Murray
R. David Murray added the comment: A system with no hostname can be considered to be improperly configured, but it doesn't look like this would weaken the test, so I think it is OK. -- ___ Python tracker ___

[issue29843] errors raised by ctypes.Array for invalid _length_ attribute

2017-09-29 Thread Segev Finer
Change by Segev Finer : -- pull_requests: +3805 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue31627] test_mailbox fails if the hostname is empty

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +3806 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue31627] test_mailbox fails if the hostname is empty

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1621] Do not assume signed integer overflow behavior

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Martin, do you mind to create a PR for your ctypes_v2.patch? -- ___ Python tracker ___ ___ Python

[issue31637] integer overflow in the size of a ctypes.Array

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- superseder: -> Do not assume signed integer overflow behavior ___ Python tracker ___ ___ Python-bugs

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Mark Dickinson
Mark Dickinson added the comment: There's also the (lesser) issue that we're using C `int`s for things that should really be `ssize_t`s. But that can be fixed / changed separately for the fix for this issue. > I'll see if I can find time for a fix this evening (UTC+1). Yep, sorry; this didn'

[issue29843] errors raised by ctypes.Array for invalid _length_ attribute

2017-09-29 Thread Oren Milman
Change by Oren Milman : -- pull_requests: +3807 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-09-29 Thread Oren Milman
Change by Oren Milman : -- pull_requests: +3808 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue31625] stop using ranlib

2017-09-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset d15108a4789aa1e3c12b2890b770550c90a30913 by Benjamin Peterson in branch 'master': stop using ranlib (closes bpo-31625) (#3815) https://github.com/python/cpython/commit/d15108a4789aa1e3c12b2890b770550c90a30913 -- resolution: -> fixed

[issue31625] stop using ranlib

2017-09-29 Thread STINNER Victor
STINNER Victor added the comment: Buildbots are unhappy :-( Compilation failed on: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/962/steps/compile/logs/stdio http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Non-Debug%203.x/builds/964/

[issue30188] test_nntplib: random EOFError in setUpClass()

2017-09-29 Thread STINNER Victor
STINNER Victor added the comment: Recent failure: http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%203.x/builds/1080/steps/test/logs/stdio == ERROR: test_with_statement (test.test_nntplib.NetworkedNN

[issue31638] zipapp module should support compression

2017-09-29 Thread Éric Araujo
Change by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-09-29 Thread Matt Pr
New submission from Matt Pr : Doing a cross domain iframe test. `domain1.html` has iframe pointing at `domain2.html` which has iframe pointing at `domain3.html`. `domain{1,2,3}.com` are all configured to point at `127.0.0.1` in my `/etc/hosts` file. Loaded up `http://domain1.com:8000/domain1

[issue31582] Add _pth breadcrumb to sys.path documentation

2017-09-29 Thread Éric Araujo
Change by Éric Araujo : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Pyth

[issue31634] Consider installing wheel in ensurepip by default

2017-09-29 Thread Éric Araujo
Change by Éric Araujo : -- nosy: +dstufft, merwok, ncoghlan versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.8 ___ Python tracker ___ ___

[issue31625] stop using ranlib

2017-09-29 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +3809 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue31638] zipapp module should support compression

2017-09-29 Thread Éric Araujo
Change by Éric Araujo : -- keywords: +needs review nosy: +paul.moore versions: -Python 3.8 ___ Python tracker ___ ___ Python-bugs-li

[issue31625] stop using ranlib

2017-09-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 6fb0e4a6d085ffa4e4a6daaea042a1cc517fa8bc by Benjamin Peterson in branch 'master': explicitly list objects for the ar command (#3824) https://github.com/python/cpython/commit/6fb0e4a6d085ffa4e4a6daaea042a1cc517fa8bc -- resolution: ->

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Nitish
Nitish added the comment: > PR 3816 fixes the symptom, but not the core issue -- an overflow check > depending on undefined behaviour. I don't understand this check completely actually. When exactly is an int too large to convert? -- ___ Python tr

[issue31625] stop using ranlib

2017-09-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks ;-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue31634] Consider installing wheel in ensurepip by default

2017-09-29 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Nitish
Nitish added the comment: >> PR 3816 fixes the symptom, but not the core issue -- an overflow check >> depending on undefined behaviour. > I don't understand this check completely actually. When exactly is an int too > large to convert? We see if digits * bits_per_char + PyLong_SHIFT -1 over

[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +3810 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue28280] Always return a list from PyMapping_Keys/PyMapping_Values/PyMapping_Items

2017-09-29 Thread Oren Milman
Oren Milman added the comment: I would be happy to write a PR that implements that. However, i am not sure which way is better to construct a list from the return value (an iterable, hopefully) of keys() etc.: - Call PyList_Type() (in each of PyMapping_Keys() etc.) on the iterable, and overwr

[issue15037] curses.unget_wch and test_curses fail when linked with ncurses 5.7 and earlier

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is easy to write a workaround for the first case (but it is not ). The workaround for the second case would be too complex. I prefer to skip the test. Unfortunately the version of ncurses is not exposed on Python level, thus the skipping is OS-specific.

[issue31640] Document exit() from parse_args

2017-09-29 Thread Charles Merriam
New submission from Charles Merriam : It is unexpected to testers and users to ArgParse that it terminates the process; one usually expects an error code. Fix by modifying documentation to section 16.4.4 The parse_args() Method. Change the words "Return the populated namespace." to "Return t

[issue31638] zipapp module should support compression

2017-09-29 Thread Paul Moore
Paul Moore added the comment: Definitely. The reason it uses uncompressed files is simply an oversight on my part - I hadn't realised the default for zipfile was uncompressed. -- ___ Python tracker _

[issue31602] assertion failure in zipimporter.get_source() in case of a bad zlib.decompress()

2017-09-29 Thread Brett Cannon
Change by Brett Cannon : -- assignee: -> brett.cannon nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue31640] Document exit() from parse_args

2017-09-29 Thread R. David Murray
R. David Murray added the comment: I think this is reasonable, but do note that this is covered in 16.4.4.2, and the fact that help exits is actually a property of help, not parse_args. That is, the docs are correct and complete as they stand, but I agree that it would be helpful to have the

[issue31638] zipapp module should support compression

2017-09-29 Thread Paul Moore
Paul Moore added the comment: New changeset d87b105ca794addf92addb28293c92a7ef4141e1 by Paul Moore (Zhiming Wang) in branch 'master': bpo-31638: Add compression support to zipapp (GH-3819) https://github.com/python/cpython/commit/d87b105ca794addf92addb28293c92a7ef4141e1 -- _

[issue31638] zipapp module should support compression

2017-09-29 Thread Paul Moore
Change by Paul Moore : -- assignee: -> paul.moore resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +3811 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The error is raised when the number of underscores is at least (PyLong_SHIFT - 1) // bits_per_char. -- ___ Python tracker ___ _

[issue31619] Strange error when convert hexadecimal with underscores to int

2017-09-29 Thread Stefan Krah
Stefan Krah added the comment: > We see if digits * bits_per_char + PyLong_SHIFT -1 overflows an int? Yes, but the check is too late: UB can already occur in this calculation and then all bets are off. It looks like 'n' was Py_ssize_t in 2.7. :) -- nosy: +skrah _

[issue28280] Always return a list from PyMapping_Keys/PyMapping_Values/PyMapping_Items

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PySequence_List() is the simplest way in C. I don't know whether we need special error messages now. But for compatibility keep them. -- ___ Python tracker ___

[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-09-29 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +3812 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8b4ff53c440dfcde40fbeb02c5e666c85190528f by Serhiy Storchaka (Oren Milman) in branch 'master': bpo-31285: Remove splitlines identifier from Python/_warnings.c (#3803) https://github.com/python/cpython/commit/8b4ff53c440dfcde40fbeb02c5e666c85190

[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I just missed PR 3803. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31602] assertion failure in zipimporter.get_source() in case of a bad zlib.decompress()

2017-09-29 Thread Brett Cannon
Brett Cannon added the comment: New changeset 01c6a8859ef2ff5545a87cf537573bd342c848bf by Brett Cannon (Oren Milman) in branch 'master': bpo-31602: Fix an assertion failure in zipimporter.get_source() in case of a bad zlib.decompress() (GH-3784) https://github.com/python/cpython/commit/01c6a8

[issue31602] assertion failure in zipimporter.get_source() in case of a bad zlib.decompress()

2017-09-29 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-09-29 Thread Matt Pr
Matt Pr added the comment: It has been pointed out to me that this issue may be related to chrome making multiple requests in parallel. A test with wget seems to support this. wget -E -H -k -K -p http://domain1.com:8000/domain1.html ...does not hang, whereas requests from chrome do hang. On

[issue31285] a SystemError and an assertion failure in warnings.warn_explicit()

2017-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 66c2b9f13ef2197a5212fd58372173124df76467 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31285: Remove splitlines identifier from Python/_warnings.c (GH-3803) (#3829) https://github.com/python/cpython/commit/66c2b9f13ef21

[issue31623] Allow to build MSI installer from the official tarball

2017-09-29 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > Assuming 3.4 is packagable using msi and hg is the only problem, I presume > you could use an hg-git adapter to get an hg checkout to build from. An official source tarball, by definition, should be able to be built from itself, and contain tools for that. If

[issue31641] concurrent.futures.as_completed() no longer accepts arbitrary iterables

2017-09-29 Thread Łukasz Langa
New submission from Łukasz Langa : bpo-27144 introduced a regression for `as_completed()`: it used to accept arbitrary iterables but now requires sequences, otherwise raising an exception like: Traceback (most recent call last): File "sandcastle/worker/sandcastle_worker.py", line 1266, in g

[issue31642] None value in sys.modules no longer blocks import

2017-09-29 Thread Christian Heimes
New submission from Christian Heimes : Since Python 3.6, the blocking of imports is broken for 'from package import module' imports. $ mkdir a $ touch a/__init__.py a/b.py >>> import sys >>> sys.modules['a.b'] = None >>> from a import b >>> b is None True >>> import a.b Traceback (most recent

[issue31642] None value in sys.modules no longer blocks import

2017-09-29 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue31642] None value in sys.modules no longer blocks import

2017-09-29 Thread Christian Heimes
Change by Christian Heimes : -- stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue31642] None value in sys.modules no longer blocks import

2017-09-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue31641] concurrent.futures.as_completed() no longer accepts arbitrary iterables

2017-09-29 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue31642] None value in sys.modules no longer blocks import

2017-09-29 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue31641] concurrent.futures.as_completed() no longer accepts arbitrary iterables

2017-09-29 Thread Ned Deily
Ned Deily added the comment: Sounds like we need to get this fixed for 3.6.3 final which is scheduled for Monday (3 days). Or revert the previous fix. -- ___ Python tracker _

[issue31641] concurrent.futures.as_completed() no longer accepts arbitrary iterables

2017-09-29 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +3813 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31582] Add _pth breadcrumb to sys.path documentation

2017-09-29 Thread Steve Dower
Steve Dower added the comment: Sounds like a good idea. I hope that sys.path initialization is documented as well for POSIX as it is for Windows, as that will make this a simple "for X, click here; for Y, click here" patch. Otherwise, someone will need to figure out exactly what rules are fo

[issue31641] concurrent.futures.as_completed() no longer accepts arbitrary iterables

2017-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 574562c5ddb2f0429aab9af762442e6f9a3f26ab by Łukasz Langa in branch 'master': bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (#3830) https://github.com/python/cpython/commit/574562c5ddb2f0429aab9af762442e6f9a3f26ab --

[issue31641] concurrent.futures.as_completed() no longer accepts arbitrary iterables

2017-09-29 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +3814 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue31643] test_uuid: test_getnode and test_windll_getnode fail if connected to the Internet via an Android phone

2017-09-29 Thread Ivan Pozdeev
New submission from Ivan Pozdeev : Ethernet emulation for some devices like Android phones' tethering use all-zero MAC addresses (which is okay since they don't actually pass Ethernet frames to other NICs). This results in a node ID of 0 if I'm currently connected to the Net via such a device.

[issue31641] concurrent.futures.as_completed() no longer accepts arbitrary iterables

2017-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9ef28b6ad3d5aff767e3d852499def8b5ae5ff5d by Łukasz Langa (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` (GH-3830) (#3831) https://github.com/python/cpython/commit/9ef28b6ad

[issue31644] bug in datetime.datetime.timestamp

2017-09-29 Thread Kadir Liano
New submission from Kadir Liano : datetime.datetime(2014,3,9,2).timestamp() returns 1394352000.0 datetime.datetime(2014,3,9,3).timestamp() returns 1394352000.0 -- components: Library (Lib) messages: 303362 nosy: kliano priority: normal severity: normal status: open title: bug in datetime

[issue31555] Windows pyd slower when not loaded via load_dynamic

2017-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue is more likely to get attention if there is a difference in 3.6, or even better, 3.7. -- nosy: +terry.reedy ___ Python tracker ___

[issue31641] concurrent.futures.as_completed() no longer accepts arbitrary iterables

2017-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: Fix is already landed in 3.6 and master. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

  1   2   >