[issue35305] subprocess.Popen(['/sbin/ldconfig', '-p'], stdin=PIPE) itself hangs/deadlocks (Linux)

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35305] subprocess.Popen(['/sbin/ldconfig', '-p'], stdin=PIPE) itself hangs/deadlocks (Linux)

2018-11-26 Thread INADA Naoki
INADA Naoki added the comment: > What is also useful to know, is that I'm observing this on a legacy RHEL 6 > system *with a customized kernel* part of the Scyld ClusterWare > (https://www.penguincomputing.com/products/software/scyld-clusterware/) that > *cannot* be updated: Do you mean

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2018-11-26 Thread Kevin Funk
Kevin Funk added the comment: I just ran into this, under Python 3.6. IMHO, the error message should be improved, even when the mode was not passed explicitly. Can someone reopen this? -- nosy: +kfunk ___ Python tracker

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2018-11-26 Thread Kevin Funk
Kevin Funk added the comment: It's Python 3.6 from CentOS 6. In my particular case I'm lacking the lzma module. But for figuring that out I had to add the explicit modes to the `tarfile.open` calls in my Python script. -- ___ Python tracker

[issue35314] fnmatch failed with leading caret (^)

2018-11-26 Thread Cyker Way
New submission from Cyker Way : In short, `fnmatch.fnmatch` doesn't match shell result. To test this, create a dir with 2 files: `a.py` and `b.py`. Then `ls [!b].py` and `ls [^b].py` will both show `a.py`. However, `fnmatch.fnmatch('a.py', '[!b].py')` returns `True` but

[issue35315] Error (Segmentation fault - core dumped) while installing Python3.5.2

2018-11-26 Thread Ruchi kumari
Ruchi kumari added the comment: Does Python3.5.6 has inbuilt installed modules like requests etc. On Mon, Nov 26, 2018, 16:36 Christian Heimes > Christian Heimes added the comment: > > Python 3.5.2 is no longer supported. The latset 3.5 release is >

[issue35035] Documentation for email.utils is named email.util.rst

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35315] Error (Segmentation fault - core dumped) while installing Python3.5.2

2018-11-26 Thread Christian Heimes
Christian Heimes added the comment: No, requests is developed and shipped by a different team. No version of Python from python.org has requests pre-installed. -- ___ Python tracker

[issue35315] Error (Segmentation fault - core dumped) while installing Python3.5.2

2018-11-26 Thread Ruchi kumari
Ruchi kumari added the comment: What about modules like urllib3 etc. On Mon, Nov 26, 2018, 16:48 Christian Heimes > Christian Heimes added the comment: > > No, requests is developed and shipped by a different team. No version of > Python from python.org has requests pre-installed. > >

[issue35313] test_embed fails in travis CI when tests are executed from a virtual environment

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset e88553c3742507ba83590ecca44ae7f134f38410 by Victor Stinner in branch '3.7': bpo-35313: Fix test_embed when run from venv (GH-10713) (GH-10715) https://github.com/python/cpython/commit/e88553c3742507ba83590ecca44ae7f134f38410 --

[issue35313] test_embed fails in travis CI when tests are executed from a virtual environment

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9962 stage: -> patch review ___ Python tracker ___ ___

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: > I just ran into this, under Python 3.6. How did you install Python? What is your OS? -- ___ Python tracker ___

[issue35227] [RFE] tarfile: support adding file objects without prior known size

2018-11-26 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi @mgorny, the changeset in PR 10714 should do what you are looking for. -- ___ Python tracker ___

[issue35227] [RFE] tarfile: support adding file objects without prior known size

2018-11-26 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +9963 stage: -> patch review ___ Python tracker ___ ___

[issue35305] subprocess.Popen(['/sbin/ldconfig', '-p'], stdin=PIPE) itself hangs/deadlocks (Linux)

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Are you able to reproduce the issue with Python 3? Can you please also try http://pypi.org/project/subprocess32/? -- ___ Python tracker ___

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2018-11-26 Thread Kevin Funk
Kevin Funk added the comment: (Sorry: I just noticed the Python 3.6 I'm using is /not/ from distro packages. The issue remains, though, the Python exception could be more descriptive.) -- ___ Python tracker

[issue35313] test_embed fails in travis CI when tests are executed from a virtual environment

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset a6537fb7c2f7a007b4ab616c4617afd56d18347d by Victor Stinner in branch 'master': bpo-35313: Fix test_embed when run from venv (GH-10713) https://github.com/python/cpython/commit/a6537fb7c2f7a007b4ab616c4617afd56d18347d --

[issue14418] Document differences in SocketServer between Python 2.6 and 2.7

2018-11-26 Thread Martin Panter
Martin Panter added the comment: Regarding the first point, “finish” is no longer called after an exception. This was apparently changed in 2.7.4 (see Issue 14574), but Geoffrey was referring to older documentation. Regarding the second point, about ECONNRESET vs graceful shutdown, this

[issue35307] Command line help example is missing "--prompt" option

2018-11-26 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +9961 stage: -> patch review ___ Python tracker ___ ___

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35300] Document what functions are suitable for use with the lru_cache

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Thanks Raymond, I concur that updating the doc is the proper fix :) -- ___ Python tracker ___

[issue35315] Error (Segmentation fault - core dumped) while installing Python3.5.2

2018-11-26 Thread Ruchi kumari
New submission from Ruchi kumari : Regularly getting segmentation fault (core dumped) while trying to install Python3.5.2. Also seeing the following warning while doing ./configure configure: WARNING: linux/random.h: present but cannot be compiled configure: WARNING: linux/random.h:

[issue35315] Error (Segmentation fault - core dumped) while installing Python3.5.2

2018-11-26 Thread Christian Heimes
Christian Heimes added the comment: Python 3.5.2 is no longer supported. The latset 3.5 release is https://www.python.org/downloads/release/python-356/. -- nosy: +christian.heimes ___ Python tracker

[issue35313] test_embed fails in travis CI when tests are executed from a virtual environment

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9964 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35313] test_embed fails in travis CI when tests are executed from a virtual environment

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9965 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35313] test_embed fails in travis CI when tests are executed from a virtual environment

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the bug report, it should now be fixed :-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7 ___ Python tracker

[issue35313] test_embed fails in travis CI when tests are executed from a virtual environment

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset f0b366a8d7e0f12d4448f570e990de414f4afca7 by Victor Stinner in branch 'master': bpo-35313: Cleanup test_embed.py (GH-10716) https://github.com/python/cpython/commit/f0b366a8d7e0f12d4448f570e990de414f4afca7 --

[issue35315] Error (Segmentation fault - core dumped) while installing Python3.5.2

2018-11-26 Thread Christian Heimes
Christian Heimes added the comment: bugs.python.org is a bug tracker, not a support forum. Please use the Python mailing list https://www.python.org/community/lists/. -- resolution: -> out of date stage: -> resolved status: open -> closed ___

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
New submission from STINNER Victor : test_datetime currently leaks memory blocks: test_datetime leaked [3, 4, 3] memory blocks, sum=10 Attached patch should be added to Lib/test/ to only run a minimum set of tests which reproduce the bug. -- files: datetimetester.py messages: 330482

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file47949/datetimetester.py ___ Python tracker ___ ___ Python-bugs-list

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: C:\vstinner\python\master>python -m test -R 3:20 -u all test_datetime Running Debug|x64 interpreter... Run tests sequentially 0:00:00 [1/1] test_datetime beginning 23 repetitions 12345678901234567890123 ... test_datetime leaked [1, 2, 1, 1,

[issue34482] datetime: Tests for potential crashes due to non-UTF-8-encodable strings

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: It seems like thie issue introduced a memory leak: bpo-35322 . -- nosy: +vstinner ___ Python tracker ___

[issue35323] Windows x86 executable installer can't install

2018-11-26 Thread liang feng
New submission from liang feng <1590...@139.com>: see log -- files: Python 3.7.1 (32-bit)_20181127100820.log messages: 330486 nosy: outofthink priority: normal severity: normal status: open title: Windows x86 executable installer can't install versions: Python 3.7 Added file:

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +9982 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset da324d53d420347344236ff64cf5eb9b675d6f86 by Benjamin Peterson (E. M. Bray) in branch 'master': closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712)

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 716a8089b04095acaba493925751df194a4916bb by Miss Islington (bot) in branch '3.7': closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712)

[issue35323] Windows x86 executable installer can't install

2018-11-26 Thread liang feng
liang feng <1590...@139.com> added the comment: the file didn't download complete,change other computer download, it's fine -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think a setter was added for has_location (msg205384) and docs were updated as part of the patch but the PEP was not updated? . A setter for has_location : https://hg.python.org/cpython/rev/e961a166dc70 --

[issue35310] select which was interrupted by EINTR isn't re-run if the timeout has passed

2018-11-26 Thread Brian Maissy
Brian Maissy added the comment: The current behavior is: > select() is not retried, and the rlist is returned as-is (with fds in it > which are not ready for reading) Yes, this is a bug. It results in select() indicating that fd are ready for reading when they, in fact, are not.

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Objects/unicodeobject.c: In function ‘_PyUnicode_FastFill’: Objects/unicodeobject.c:10126:24: warning: passing argument 2 of ‘unicode_fill’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] unicode_fill(kind, data, fill_char,

[issue35310] select which was interrupted by EINTR isn't re-run if the timeout has passed

2018-11-26 Thread Brian Maissy
Change by Brian Maissy : -- nosy: +oranav ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31241] ast col_offset wrong for list comprehensions, generators and tuples

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b619b097923155a7034c05c4018bf06af9f994d0 by Serhiy Storchaka in branch 'master': bpo-31241: Fix AST node position for list and generator comprehensions. (GH-10633)

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Gregory, could you please make a look at PR 5914? Differences from PR 4329: * Any item of args can be an iterable of bytes and path-like objects on Windows (not just a first item as in PR 4329). * Accepts bytes and path-like objects as executable on

[issue34893] Add 2to3 fixer to change send and recv methods of socket object.

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I concur with Raymond. Thank you for the patch, but this seems too error-prone to commit. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue34978] check type of object in fix_dict.py in 2to3

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm disinclined to change the fix here after it's existed in this for for 10 years. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue35324] ssl: FileNotFoundError when do handshake

2018-11-26 Thread joseph...@yahoo.com
New submission from joseph...@yahoo.com : After upgrade my python from 3.6 to 3.7, one of my program got following error msgs and I suppose it is related to the 'ssl' module: Traceback (most recent call last): File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py",

[issue35325] imp.find_module() return value documentation discrepancy

2018-11-26 Thread Stefan Bauer (TraceTronic)
New submission from Stefan Bauer (TraceTronic) : I’d like to report a discrepancy between the documentation and implementation of the method imp.find_module(). The documentation currently says “If the module does not live in a

[issue31241] ast col_offset wrong for list comprehensions, generators and tuples

2018-11-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9967 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14418] Document differences in SocketServer between Python 2.6 and 2.7

2018-11-26 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6f5fa1b4be735159e964906ab608dc467476e47c by Victor Stinner in branch '3.7': bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) (GH-10718) https://github.com/python/cpython/commit/6f5fa1b4be735159e964906ab608dc467476e47c --

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9968 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I remember some related issues raised in the past about the same test failing on freebsd machines : issue31628 and issue15750 (some more detail on msg168747) -- nosy: +xtreak ___ Python tracker

[issue34100] Same constants in tuples are not merged while compile()

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

[issue35314] fnmatch failed with leading caret (^)

2018-11-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35316] test_eintr fails randomly on macOS

2018-11-26 Thread STINNER Victor
New submission from STINNER Victor : test_sleep() of test_eintr fails on VSTS/macOS. select.select() sleeps 200 ms, the process is supposed to get a signal every 100 ms, but the test says that the signal handler was not called during the test. All tests pass, the issue seems to be specific

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2018-11-26 Thread Tom Dalton
Tom Dalton added the comment: I've just come across this too, so would be great if the patch can be progressed. -- nosy: +tom.dalton.fanduel ___ Python tracker ___

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2018-11-26 Thread Tom Dalton
Tom Dalton added the comment: Here's a minimal example so my comment is not totally vacuous: ``` import unittest from unittest import mock class Foo: @classmethod def bar(cls, baz): pass class TestFoo(unittest.TestCase): def test_bar(self): with

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: mktime_bug.py: script to reproduce the bug. -- Added file: https://bugs.python.org/file47946/mktime_bug.py ___ Python tracker ___

[issue35314] fnmatch failed with leading caret (^)

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: '^' is not considered as a special character in shell-style wildcards. Use '!' for negating the character set: '[!b].py'. https://docs.python.org/3/library/fnmatch.html `man bash` describes the behavior of Bash, not Python. -- nosy:

[issue31628] test_emails failure on FreeBSD

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-35317. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset fc4a44b0c3a69390eca4680d89c2ae5fe967f882 by Victor Stinner in branch '3.6': bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) (GH-10718) (GH-10720) https://github.com/python/cpython/commit/fc4a44b0c3a69390eca4680d89c2ae5fe967f882

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Python 3.6, 3.7 and master have been fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New failure on AppVeyor: FAIL: test_thread_time (test.test_time.TimeTestCase) -- Traceback (most recent call last): File "C:\projects\cpython\lib\test\test_time.py", line 553, in

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Oh, the tests fail since 2012 at least on FreeBSD: https://bugs.python.org/issue15750#msg168741 """ On the FreeBSD 8.2 build slave: == ERROR: test_localtime_daylight_false_dst_true

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 75e4699b31d1d88abad097ad13466c5c07711324 by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/unicodeobject.h (GH-10680) https://github.com/python/cpython/commit/75e4699b31d1d88abad097ad13466c5c07711324 --

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9971 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread Miro Hrončok
Miro Hrončok added the comment: I found a C reproducer and reported to Fedora glibc tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1653340 -- nosy: +hroncok ___ Python tracker

[issue15750] test_localtime_daylight_false_dst_true raises OverflowError: mktime argument out of range

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-35317. -- resolution: fixed -> duplicate superseder: -> test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone ___ Python tracker

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6eb996685e25c09499858bee4be258776e603c6f by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/object.h (GH-10679) https://github.com/python/cpython/commit/6eb996685e25c09499858bee4be258776e603c6f --

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Oh. In my previous attempt, I changed the minimum time from 20 ms to 15 ms. But I didn't notice that one check uses assertLess() rather than assertGreaterEqual(). So I wrote PR 10724 to change the maximum from 15 ms to 30 ms in test_thread_time().

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Miro Hrončok: > I found a C reproducer and reported to Fedora glibc tracker: > https://bugzilla.redhat.com/show_bug.cgi?id=1653340 Nice, I wrote almost the same one :-) See attached mktime_bug.c: $ gcc mktime_bug.c -o mktime_bug $ ./mktime_bug TZ=CET:

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: I'm able to reproduce the issue on FreeBSD 12.0-RC2: vstinner@freebsd$ TZ=CET ./python -m test test_email -m 'test_localtime_daylight_*' -v (...) Tests result: SUCCESS vstinner@freebsd$ TZ=UTC ./python -m test test_email -m 'test_localtime_daylight_*' -v

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9969 stage: -> patch review ___ Python tracker ___ ___

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9970 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 65c216e74f7957006ef7653b7e2afe83007c45ce by Victor Stinner in branch 'master': bpo-33723: Fix test_time.test_thread_time() (GH-10724) https://github.com/python/cpython/commit/65c216e74f7957006ef7653b7e2afe83007c45ce --

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +9974 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2018-11-26 Thread R. David Murray
R. David Murray added the comment: Without looking at doctest.py, yes. I believe the doctests in that file should be already plugged in to the unittest framework, so adding new testcase containing a non-doctest unit test should work fine. -- ___

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 5350dd1b50e60882a2da6d53ed27e02d2b698f2e by Miss Islington (bot) in branch '3.7': bpo-33723: Fix test_time.test_thread_time() (GH-10724) https://github.com/python/cpython/commit/5350dd1b50e60882a2da6d53ed27e02d2b698f2e --

[issue35227] [RFE] tarfile: support adding file objects without prior known size

2018-11-26 Thread Michał Górny
Michał Górny added the comment: Thanks a lot! I've left a few comments based on eyeball review. I'm going to test it later today. -- ___ Python tracker ___

[issue34100] Same constants in tuples are not merged while compile()

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset c2e1607a51d7a17f143b5a34e8cff7c6fc58a091 by Miss Islington (bot) (INADA Naoki) in branch 'master': bpo-34100: Merge constants recursively (GH-8341) https://github.com/python/cpython/commit/c2e1607a51d7a17f143b5a34e8cff7c6fc58a091 --

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +9966 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 59423e3ddd736387cef8f7632c71954c1859bed0 by Victor Stinner in branch 'master': bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) https://github.com/python/cpython/commit/59423e3ddd736387cef8f7632c71954c1859bed0 --

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
New submission from STINNER Victor : The two following tests fail on glibc-2.28.9000-19.fc30.x86_64 on Fedora Rawhide depending on the timezone. Australia/Lord_Howe: ok EDT4: fail EST+05EDT,M3.2.0,M11.1.0: ok Europe/Kiev: ok Europe/Minsk: ok MSK-03: fail MST+07MDT,M4.1.0,M10.5.0: ok

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Change by Steve Dower : -- Removed message: https://bugs.python.org/msg330453 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Steve Dower added the comment: For my own reference, some issues I found installing this package on a clean machine: * requires Developer Mode (until I get the sccd file signed - just sideloading is not sufficient) * requires vcruntime140.dll to be included in the package (workaround is to

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Steve Dower added the comment: For my own reference, some issues I found installing this package on a clean machine: * requires Developer Mode (until I get the sccd file signed - just sideloading is not sufficient) * requires vcruntime140.dll to be included in the package (workaround is to

[issue35319] pkgutil.get_data() is a wrapper for a deprecated class

2018-11-26 Thread Kevin Norris
New submission from Kevin Norris : pkgutil.get_data()'s documentation[1] says it is a wrapper for importlib.abc.ResourceLoader.get_data(), but the latter's documentation[2] says the whole class is deprecated since 3.7. Please either: A. Formally deprecate pkgutil.get_data() (and ideally

[issue24209] Allow IPv6 bind in http.server

2018-11-26 Thread Lisa Roach
Change by Lisa Roach : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35318] Check accuracy of str() doc string for its encoding argument

2018-11-26 Thread Raymond Hettinger
New submission from Raymond Hettinger : The "encoding" parameter is documented to default to sys.getdefaultencoding(). That may be true but there doesn't seem to be a way to use that default because objects will all have a __str__ or __repr__ that will be run instead.

[issue35318] Check accuracy of str() doc string for its encoding argument

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: >>> str(buffer, errors='strict') 'lim x ⟶ ∞, 1/sin²(x)' -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue35318] Check accuracy of str() doc string for its encoding argument

2018-11-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: We may need to reword this a bit to show that the default system encoding only applies if "errors" is specified; otherwise, the argument pattern is mysterious. -- ___ Python tracker

[issue35318] Check accuracy of str() doc string for its encoding argument

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is not it exactly what the docsting says? > If encoding or > errors is specified, then the object must expose a data buffer > that will be decoded using the given encoding and error handler. > Otherwise, returns the result of object.__str__() (if defined) >

[issue35255] delete "How do I extract the downloaded documentation" section in Windows FAQ

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35255] delete "How do I extract the downloaded documentation" section in Windows FAQ

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +9973 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35035] Documentation for email.utils is named email.util.rst

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35255] delete "How do I extract the downloaded documentation" section in Windows FAQ

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +9972 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >