[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:

[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 ___ ___ Python-bugs-li

[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: https://mail.py

[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 thi

[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 ___ ___ Python-bugs-l

[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

[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: https://mail.py

[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 ___

[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 ___ ___

[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 ___

[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 seems

[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

[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 ___ ___ Python-bugs-list

[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 ___ ___

[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 -- __

[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 `fnmatch.fnmatch('a.py

[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: check

[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 ___

[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 > https://www.python.org/downloads/release/p

[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: https://ma

[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: https://ma

[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. > > --

[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 ___ Pyt

[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 -- __

[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 -- __

[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: https://mail

[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 -- no

[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 ___ ___ P

[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: https:/

[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 -- ___

[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: https://ma

[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: https://ma

[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: +serhiy.storch

[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 --

[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 to

[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: https://ma

[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 unittest.mock.patch

[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 STD-1DST,M

[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 ___ ___

[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

[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 _

[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: mktime

[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 __

[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

[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

[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 (test_uti

[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 ___ ___ Python-bugs-l

[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 __

[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 --

[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: +9970 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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 test_threa

[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

[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 maili

[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(). -

[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: https://mai

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

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 6f8cab0db044132c6192d6ac1536d28cf72c9d27 by Miss Islington (bot) (Julien Palard) in branch '3.7': [3.7] bpo-35255: Doc: Delete now useless Windows FAQ section (GH-10557) (GH-10722) https://github.com/python/cpython/commit/6f8cab0db044132c6192d6

[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: https://mai

[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 miss-islington
miss-islington added the comment: New changeset 7f93f93fa68f54c1bc128d58fa17536245396de3 by Miss Islington (bot) (Julien Palard) in branch '3.6': [3.6] bpo-35255: Doc: Delete now useless Windows FAQ section (GH-10557) (GH-10725) https://github.com/python/cpython/commit/7f93f93fa68f54c1bc128d

[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

[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 li

[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: htt

[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 ___ __

[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 prov

[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) >

[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: https://ma

[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: https://mail.pyt

[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 --

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

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: I close again the bug. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

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

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9975 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9976 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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 5a8c240b1d97de0bd6ced2a57cbcf26da19c1fcc by Victor Stinner in branch 'master': bpo-35134: Add Include/cpython/pyerrors.h (GH-10727) https://github.com/python/cpython/commit/5a8c240b1d97de0bd6ced2a57cbcf26da19c1fcc -- _

[issue31171] multiprocessing.BoundedSemaphore of 32-bit python could not work while cross compiling on linux platform

2018-11-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +benjamin.peterson, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

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

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: > Under this condition, either select() should be re-run with a timeout of 0, > or the fd lists should be emptied before returning. What is the current behavior? Are you trying to fix a bug? -- nosy: +vstinner __

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c281ed403fd915284d5bba2405d7c47f8195066 by Serhiy Storchaka (Zhiming Wang) in branch 'master': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) https://github.com/python/cpython/commit/8c281ed403fd915284d5bba2405d7

[issue35308] webbrowser regression: BROWSER env var not respected

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c281ed403fd915284d5bba2405d7c47f8195066 by Serhiy Storchaka (Zhiming Wang) in branch 'master': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) https://github.com/python/cpython/commit/8c281ed403fd915284d5bba2405d7

[issue35308] webbrowser regression: BROWSER env var not respected

2018-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +9977 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +9978 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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 4060283fcec7bb2bde4eb3c42b0a6ec99cf1d391 by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/abstract.h (GH-10728) https://github.com/python/cpython/commit/4060283fcec7bb2bde4eb3c42b0a6ec99cf1d391 -- __

[issue35308] webbrowser regression: BROWSER env var not respected

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 2a37f013ec81099a6156160ce66803b2609bb7f4 by Miss Islington (bot) in branch '3.7': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) https://github.com/python/cpython/commit/2a37f013ec81099a6156160ce66803b2609bb7f4 --

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 2a37f013ec81099a6156160ce66803b2609bb7f4 by Miss Islington (bot) in branch '3.7': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) https://github.com/python/cpython/commit/2a37f013ec81099a6156160ce66803b2609bb7f4 --

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

2018-11-26 Thread Brett Cannon
Brett Cannon added the comment: Yeah, it's a tough call because it's one of those things others have probably worked around already, so backporting would break the work-arounds. If you don't want to bother backporting, Serhiy, I think it would be fine to not do it. -- _

[issue35281] Allow access to unittest.TestSuite tests

2018-11-26 Thread Brett Cannon
Brett Cannon added the comment: Gotcha, thanks for the clarification! Unfortunately I don't think we will be able to accommodate your feature request. It's duplicating an API to simply save calling list() which is the idiomatic way to convert an iterable into a concrete sequence. And providi

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2018-11-26 Thread Brett Cannon
Brett Cannon added the comment: I think the only thing missing from your list, Andrew, is updating docstrings and such to mention is_alive() instead of isAlive(). -- ___ Python tracker _

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

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9979 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9980 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Same error: https://travis-ci.org/python/cpython/jobs/459983088 -- ___ Python tracker ___ ___ Pyt

  1   2   >