[issue36597] Travis CI: doctest failure

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12702 stage: -> patch review ___ Python tracker ___ ___

[issue27860] Improvements to ipaddress module

2019-04-11 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +12701 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2019-04-11 Thread Michal
Michal added the comment: I would like to fix this problem if nobody is against that. I stumbled upon the very same thing recently and I think it would be a nice opportunity to contribute. -- nosy: +mic4ael ___ Python tracker

[issue13282] the table of contents in epub file is too long

2019-04-11 Thread Ben Creasy
Ben Creasy added the comment: Not sure if this is filed elsewhere, but the contents on the page at https://docs.python.org/3/contents.html could really use a collapse button, and could start automatically collapsed. The first half of the page is "What's new" for the past few Python versions

[issue36597] Travis CI: doctest failure

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: Well, same problem with Sphinx 1.8.5. No idea why the job started to fail. -- ___ Python tracker ___

[issue36416] bytes.rpartition bug in online documentation

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: New changeset efc48701496ef020e896fc6a91af3c0c612ac69a by Inada Naoki (pewscorner) in branch 'master': bpo-36416: Correct bytes.rpartition documentation (GH-12543) https://github.com/python/cpython/commit/efc48701496ef020e896fc6a91af3c0c612ac69a --

[issue36596] tarfile module considers anything starting with 512 bytes of zero bytes to be a valid tar file

2019-04-11 Thread Carl Harris
Change by Carl Harris : -- nosy: +hitbox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36580] unittest.mock does not understand dataclasses

2019-04-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Below is a even more simpler reproducer without dataclasses. 'name' is not listed as a class attribute in dir(Person) since it's not defined with a value but 'age' is with zero. Python seems to not to list something not defined with a value in

[issue13282] the table of contents in epub file is too long

2019-04-11 Thread Ben Creasy
Change by Ben Creasy : -- nosy: +jcrben ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33722] Document builtins in mock_open

2019-04-11 Thread Jay Crotts
Change by Jay Crotts : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36598] mock side_effect should be checked for iterable not callable

2019-04-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am not sure if the snippets you are referring to are from testing-cabal/mock repo which could be different from master branch. Current code is at [0] if effect is not None: if _is_exception(effect): raise effect elif not

[issue36597] Travis CI: doctest failure

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: > As far as reading your first report, this is happen only in your local environment. See the beginning of my first message, the doctest prevents me to merge a PR. But I tested on the master branch without my change, and I get the same issue locally, and

[issue28009] core logic of uuid.getnode() is broken for netstat

2019-04-11 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +12704 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36600] re-enable test in nntplib

2019-04-11 Thread Marcin Niemira
New submission from Marcin Niemira : Disabled test in not failing anymore. ```./python -m test -u all -v test_nntplib -m test_article_head_body == CPython 3.8.0a3+ (heads/feature/pep-572-improvement-in-smtplib-dirty:f4efa312d1, Apr 8 2019, 21:0) [GCC 7.3.0] ==

[issue36601] signals can be caught by any thread

2019-04-11 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Also note that the documentation of the signal module already has the correct wording: Python signal handlers are always executed in the main Python thread, even if the signal was received in another thread. --

[issue1583] Patch for signal.set_wakeup_fd

2019-04-11 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > signalmodule.c has a hack to limit it to the main thread. The Python signal handler always runs in the main thread, but the signal can be caught by any thread. In other words, trip_signal() can be run by any thread. --

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: > See the beginning of my first message, the doctest prevents me to merge a PR. You did not show travis build link which failed other than "obj dead or exiting" error. Don't all other errors happened only on your environment? If no, please link to travis

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +12703 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +12705 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32308] Replace empty matches adjacent to a previous non-empty match in re.sub()

2019-04-11 Thread Anders Hovmöller
Anders Hovmöller added the comment: Just as a comparison, sed does the 3.6 thing: > echo foo | sed 's/\(.*\)/x\1y/g' xfooy -- ___ Python tracker ___

[issue36602] Recursive directory list with pathlib.Path.iterdir

2019-04-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: On Thu, Apr 11, 2019 at 5:19 PM STINNER Victor wrote: > Really? When I click on https://travis-ci.org/python/cpython/jobs/518572326 > (the second link of my first message), I still see: > > """ > Warning, treated as error: >

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: I think PR-12776 fixed "obj dead or exiting" error. https://travis-ci.org/python/cpython/jobs/518656385 -- ___ Python tracker ___

[issue36599] weakref document says dict order is unstable

2019-04-11 Thread Inada Naoki
New submission from Inada Naoki : https://docs.python.org/3/library/doctest.html#warnings "For example, when printing a dict, Python doesn’t guarantee that the key-value pairs will be printed in any particular order," This example should be rewritten with set. -- assignee:

[issue36575] Use _PyTime_GetPerfCounter() in lsprof

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

[issue1583] Patch for signal.set_wakeup_fd

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: Please don't discuss on closed issues. Either reopen the issue or open a new issue. -- nosy: +vstinner ___ Python tracker ___

[issue36560] test_functools leaks randomly 1 memory block

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: Patch making check on memory block leaks stricter: diff --git a/Lib/test/libregrtest/refleak.py b/Lib/test/libregrtest/refleak.py index 235d6bfd3a..dfadabdef6 100644 --- a/Lib/test/libregrtest/refleak.py +++ b/Lib/test/libregrtest/refleak.py @@ -130,7 +130,7

[issue36597] Travis CI: doctest failure

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: > It seems it is caused by non English locale. Right, but why did it start to fail since yesterday? > You may run doctest with existing Python, not Python 3.8. I used the command from the .travis.yml job: "... make -C Doc/ PYTHON=../python "...". It

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: New changeset 57b1a2862a99677f09614e9e456d36aae9ddd87c by Inada Naoki in branch 'master': bpo-36597: fix random doctest failure (GH-12776) https://github.com/python/cpython/commit/57b1a2862a99677f09614e9e456d36aae9ddd87c --

[issue35070] test_posix fails on macOS 10.14 Mojave

2019-04-11 Thread Dave Page
Dave Page added the comment: I'm seeing what appears to my uneducated eyes to be the same failure on Mojave, on a brand new machine which is entirely standalone: 12:16:00 0:00:07 load avg: 4.24 [133/416/1] test_posix failed 12:16:00 test test_posix failed -- Traceback (most recent call

[issue36602] Recursive directory list with pathlib.Path.iterdir

2019-04-11 Thread SilentGhost
SilentGhost added the comment: Is the behaviour you're proposing any different from using Path.rglob('*')? -- nosy: +SilentGhost ___ Python tracker ___

[issue36597] Travis CI: doctest failure

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a release blocker to not forget it. I disabled the Travis CI doctest job to repair the CI, but we have to investigate why it started to fail yesterday. -- nosy: +lukasz.langa priority: normal -> release blocker

[issue36597] Travis CI: doctest failure

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: 8 hours ago, the job still passed at the top of the the master branch (commit a9bd8925c7fa50dd3cfab125b824ec192133ef49): https://travis-ci.org/python/cpython/jobs/518281237 "Successfully installed Jinja2-2.10.1 MarkupSafe-1.1.1 Pygments-2.3.1 Sphinx-2.0.1

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: > > It seems it is caused by non English locale. > > Right, but why did it start to fail since yesterday? Is it an error start to fail since yesterday? As far as reading your first report, this is happen only in your local environment. > > You may run doctest

[issue36597] Travis CI: doctest failure

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset adff01e81d291c698581eadd693caa43ae5c78ac by Victor Stinner in branch 'master': bpo-36597: Disable Travis CI doctest job (GH-12775) https://github.com/python/cpython/commit/adff01e81d291c698581eadd693caa43ae5c78ac --

[issue36416] bytes.rpartition bug in online documentation

2019-04-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +12708 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36575] Use _PyTime_GetPerfCounter() in lsprof

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: New changeset 536a35b3f14888999f1ffa5be7239d0c26b73d7a by Inada Naoki in branch 'master': bpo-36575: lsprof: Use _PyTime_GetPerfCounter() (GH-8378) https://github.com/python/cpython/commit/536a35b3f14888999f1ffa5be7239d0c26b73d7a --

[issue36593] Trace function interferes with MagicMock isinstance?

2019-04-11 Thread Ned Batchelder
Ned Batchelder added the comment: BTW, this started as a bug against coverage.py: https://github.com/nedbat/coveragepy/issues/795 There are some more details there, including the fact that it must be a Python trace function; a C trace function seems not to cause the problem. --

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: New changeset ac31da8f3710f9f9b8dbb4c36b2108fb1e5b4a48 by Inada Naoki in branch '3.7': bpo-36597: fix random doctest failure (GH-12778) https://github.com/python/cpython/commit/ac31da8f3710f9f9b8dbb4c36b2108fb1e5b4a48 --

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: Currently, I'm using the following patch to try to detect bpo-33803 bug using my GC object debugger. It's still a work-in-progress. diff --git a/Lib/site.py b/Lib/site.py index ad1146332b..e184080b19 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -638,3

[issue34652] never enable lchmod on Linux

2019-04-11 Thread Joshua Root
Joshua Root added the comment: The follow-up fix (AC_CHECK_FUNC -> AC_CHECK_FUNCS) still needs to be backported to 2.7. Currently the lack of it causes lchmod to be disabled on all platforms, not just Linux. -- nosy: +jmr ___ Python tracker

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: On Thu, Apr 11, 2019 at 11:49 AM STINNER Victor wrote: > > File "library/unittest.mock-examples.rst", line ?, in default > Failed example: > m.one().two().three() > Expected: > > Got: > obj dead or exiting > I'm not sure where "obj is dead or

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2b00db68554422ec37faba2a80179a0172df6349 by Victor Stinner in branch 'master': bpo-36389: _PyObject_IsFreed() now also detects uninitialized memory (GH-12770) https://github.com/python/cpython/commit/2b00db68554422ec37faba2a80179a0172df6349

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12707 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: New changeset b3c92c6ae923ffb2b9ac5f80b28ecd689de48662 by Inada Naoki in branch 'master': bpo-36597: fix weakref example code (GH-12779) https://github.com/python/cpython/commit/b3c92c6ae923ffb2b9ac5f80b28ecd689de48662 --

[issue36599] doctest document says dict order is unstable

2019-04-11 Thread Inada Naoki
Change by Inada Naoki : -- title: weakref document says dict order is unstable -> doctest document says dict order is unstable ___ Python tracker ___

[issue36597] Travis CI: doctest failure

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

[issue36601] signals can be caught by any thread

2019-04-11 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : Because of some discussion that is happening on #1583 I noticed this bit of code in the OS-level signal handler (set by the C function sigaction() or signal()): static void signal_handler(int sig_num) { /* See NOTES section above */ if (getpid() ==

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12709 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36600] re-enable test in nntplib

2019-04-11 Thread Marcin Niemira
Change by Marcin Niemira : -- keywords: +patch pull_requests: +12710 stage: -> patch review ___ Python tracker ___ ___

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: "Object dead or exiting" is a less frequent random error with doctest. I am not sure from where it occurs but occurs for different tests at different times and is overlooked in Travis since the next runs are fine. Sample old builds :

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: https://github.com/python/cpython/blob/master/Doc/library/weakref.rst#finalizer-objects >>> obj = Object() >>> weakref.finalize(obj, print, "obj dead or exiting") #doctest:+ELLIPSIS >>> exit()

[issue36597] Travis CI: doctest failure

2019-04-11 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +12706 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32308] Replace empty matches adjacent to a previous non-empty match in re.sub()

2019-04-11 Thread Anders Hovmöller
Anders Hovmöller added the comment: This was a really bad idea in my opinion. We just found this and we have no way to know how this will impact production. It's really absurd that re.sub('(.*)', r'foo', 'asd') is "foo" in python 1 to 3.6 but 'foofoo' in python 3.7. -- nosy:

[issue36416] bytes.rpartition bug in online documentation

2019-04-11 Thread miss-islington
miss-islington added the comment: New changeset 04b114eede82c7ffd7b3d9b40e8bf707780b022b by Miss Islington (bot) in branch '3.7': bpo-36416: Correct bytes.rpartition documentation (GH-12543) https://github.com/python/cpython/commit/04b114eede82c7ffd7b3d9b40e8bf707780b022b -- nosy:

[issue36416] bytes.rpartition bug in online documentation

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

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

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36601] signals can be caught by any thread

2019-04-11 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +12711 stage: -> patch review ___ Python tracker ___ ___

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4c409beb4c360a73d054f37807d3daad58d1b567 by Victor Stinner in branch 'master': bpo-36389: Change PyMem_SetupDebugHooks() constants (GH-12782) https://github.com/python/cpython/commit/4c409beb4c360a73d054f37807d3daad58d1b567 --

[issue36602] Recursive directory list with pathlib.Path.iterdir

2019-04-11 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12712 stage: -> patch review ___ Python tracker ___ ___

[issue36597] Travis CI: doctest failure

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: > You did not show travis build link which failed other than "obj dead or > exiting" error. Really? When I click on https://travis-ci.org/python/cpython/jobs/518572326 (the second link of my first message), I still see: """ Warning, treated as error:

[issue36469] Stuck during interpreter exit, attempting to take the GIL

2019-04-11 Thread Remy Noel
Remy Noel added the comment: @eric.snow Unless you confirm there is no way to figure out which thread is/was holding the GIL from a debugging session on the running process, I'll get rid of it at the end of the week. Should i close the ticket then or will you do it ? Thanks. --

[issue32949] Simplify "with"-related opcodes

2019-04-11 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36602] Recursive directory list with pathlib.Path.iterdir

2019-04-11 Thread Laurie Opperman
New submission from Laurie Opperman : Currently, 'pathlib.Path.iterdir' can only list the contents of the instance directory. It is common to also want the contents of subdirectories recursively. The proposal is for 'pathlib.Path.iterdir' to have an argument 'recursive' which when 'True'

[issue36593] Trace function interferes with MagicMock isinstance?

2019-04-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think I got to this. See issue12370 (Use of super overwrites use of __class__ in class namespace) . msg138712 suggests a workaround to alias super at the module level. unittest.mock has the below line and NonCallableMock has __class__ defined as

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-11 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +12714 stage: -> patch review ___ Python tracker ___ ___

[issue32616] Significant performance problems with Python 2.7 built with clang 3.x or 4.x

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: I'm using Mojave. I don't have regression. $ /usr/local/bin/python2 x.py # Homebrew python@2 1.681729 $ /usr/bin/python x.py # System python2 1.891549 Could someone using High Sierra or Sierra test it? x.py is test script in

[issue16712] collections.abc.Sequence should not provide __reversed__

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: I close this issue because Reversible ABC was added. It's sad that Sequnce.__reversed__ is just makes reversed() slow without any benefit. But removing it without breaking backward compatibility is not easy for now. -- resolution: -> wont fix stage:

[issue18697] Unify arguments names in Unicode object C API documentation

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2281] Enhanced cPython profiler with high-resolution timer

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: I think https://bugs.python.org/issue36575 fixed this. -- nosy: +inada.naoki resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue18748] io.IOBase destructor silence I/O error on close() by default

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- title: libgcc_s.so.1 must be installed for pthread_cancel to work -> io.IOBase destructor silence I/O error on close() by default ___ Python tracker

[issue36604] Add recipe to itertools

2019-04-11 Thread Bjorn Madsen
New submission from Bjorn Madsen : I would like to add a recipe to the itertools documentation (if it belongs there?) The recipe presents a method to generate set(powerset([iterable])) in a fraction of the runtime. I thought others might find this method helpful and pushed it to github

[issue32451] python -m venv activation issue when using cygwin on windows

2019-04-11 Thread Andrew Stanton
Andrew Stanton added the comment: I dont think this is a Cygwin only problem, as this is happening to me when running WSL (Windows subsystem for Linux). I can run Scripts\Activate.ps1 from powershell, Scripts\activate.bat from cmd, but running scripts/activate from wsl reports this same

[issue35232] Add `module`/`qualname` arguments to make_dataclass for picklability

2019-04-11 Thread Antony Lee
Change by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36378] Add support to load from paths to json.load

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: I close this because PR is closed already, and same idea was discussed on -ideas ML. -- nosy: +inada.naoki resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue18748] libgcc_s.so.1 must be installed for pthread_cancel to work

2019-04-11 Thread STINNER Victor
STINNER Victor added the comment: I looked at this old issue. First of all, "bug.py" filename is accurate: this program contains a bug, but it's non-obvious. * the main thread opens a file which gets the file descriptor 3 * a new thread is spawns which indirectly closes this file descriptor

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-11 Thread Michael Felt
Michael Felt added the comment: Was: root@x064:[/data/prj/python/python3-3.8]./python Python 3.8.0a3+ (heads/bpo-28009-2-dirty:2fb2bc81c3, Apr 11 2019, 07:09:55) [C] on aix6 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.platform 'aix6' >>>

[issue35232] Add `module`/`qualname` arguments to make_dataclass for picklability

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

[issue36600] re-enable test in nntplib

2019-04-11 Thread SilentGhost
Change by SilentGhost : -- components: +Tests nosy: +vstinner type: -> behavior versions: +Python 3.7, Python 3.8 ___ Python tracker ___

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2019-04-11 Thread Jeremy McMillan
Jeremy McMillan added the comment: I think the code in SaltStack to handle scoped IPv6 addresses is mature, so please look at these examples. https://github.com/saltstack/salt/blob/2085cb1078f187adf82a0cf19b39d350ff1bbd50/salt/_compat.py#L125 --

[issue18748] libgcc_s.so.1 must be installed for pthread_cancel to work

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12713 stage: resolved -> patch review ___ Python tracker ___ ___

[issue32616] Significant performance problems with Python 2.7 built with clang 3.x or 4.x

2019-04-11 Thread Inada Naoki
Inada Naoki added the comment: https://github.com/Homebrew/homebrew-core/blob/b2aff6271caa04508fb1529fdd5edbb22f4e7f21/Formula/python%402.rb#L75-L82 Homebrew checks compiler version too. I don't think it's worth enough to add more code to avoid this trouble. -- resolution: -> wont

[issue13927] Document time.ctime format

2019-04-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: I guess what I'm thinking of `Www Mmm dd hh:mm:ss ` as representing isn't so much a format, but rather a literal replacement of where each value has a placeholder in the string (that is, a pattern). So, even if `Www` doesn't mean anything, to me it

[issue36603] should pty.openpty() set pty/tty inheritable?

2019-04-11 Thread cagney
New submission from cagney : pty.openpty(), on systems with a working os.openpty() / openpty(3) executes: if (openpty(_fd, _fd, NULL, NULL, NULL) != 0) goto posix_error; if (_Py_set_inheritable(master_fd, 0, NULL) < 0) goto error; if (_Py_set_inheritable(slave_fd,

[issue13927] Document time.ctime format

2019-04-11 Thread Harmandeep Singh
Harmandeep Singh added the comment: This is not python compatible format, I want something like "%a %b %d %H:%M:%S %Y" to explain it. -- ___ Python tracker ___

[issue19770] NNTP: add post_message wrapper to post Email Message objects

2019-04-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks David! If someone is looking for an issue to work on, I'll keep this one in mind with the caveat that it won't be reviewed during the sprints. And if no one works on it at that time, then it might be a good first issue afterwards. I'm updating the

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-04-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12715 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36604] Add recipe to itertools

2019-04-11 Thread SilentGhost
Change by SilentGhost : -- assignee: -> docs@python components: +Documentation -Extension Modules nosy: +docs@python, rhettinger versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue36603] should pty.openpty() set pty/tty inheritable?

2019-04-11 Thread Hugh Redelmeier
Change by Hugh Redelmeier : -- nosy: +hugh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36602] Recursive directory list with pathlib.Path.iterdir

2019-04-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > I believe `rglob("*")` is eager, while `iterdir` is lazy. rglob and glob also return a generator. Slightly related, pathlib.walk was proposed in the past in python-ideas : https://mail.python.org/pipermail/python-ideas/2017-April/045398.html

[issue36596] tarfile module considers anything starting with 512 bytes of zero bytes to be a valid tar file

2019-04-11 Thread Eitan Adler
Change by Eitan Adler : -- nosy: +eitan.adler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34652] never enable lchmod on Linux

2019-04-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: We can take a PR to fix that. On Thu, Apr 11, 2019, at 04:42, Joshua Root wrote: > > Joshua Root added the comment: > > The follow-up fix (AC_CHECK_FUNC -> AC_CHECK_FUNCS) still needs to be > backported to 2.7. Currently the lack of it causes lchmod to

[issue26205] Inconsistency concerning nested scopes

2019-04-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: Assigning to @Mariatta for the sprints. -- assignee: docs@python -> Mariatta nosy: +Mariatta, cheryl.sabella versions: +Python 3.7, Python 3.8 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker

[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

2019-04-11 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue13927] Document time.ctime format

2019-04-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: I would like to help get this issue merged as it's already been approved by a core developer. Does anyone object to the change? Victor made a suggestion on the PR for alternative wording and I wanted to give others a chance to comment on that. Also,

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

2019-04-11 Thread SilentGhost
SilentGhost added the comment: PR on github, Alex -- nosy: +SilentGhost ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36603] should pty.openpty() set pty/tty inheritable?

2019-04-11 Thread SilentGhost
Change by SilentGhost : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36591] Should be a typing.UserNamedTuple

2019-04-11 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> levkivskyi nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36599] doctest document says dict order is unstable

2019-04-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Go ahead and change it to: "For example, when printing a set, Python doesn’t guarantee that the else will be printed in any particular order," -- nosy: +rhettinger ___ Python tracker

[issue36604] Add recipe to itertools

2019-04-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thank you for the suggestion and the nice work. I'm going to decline adding this to our docs because it isn't in the spirit of the other recipes (reasonably common task, reasonably simple, and/or showing off effective combinations of the other

  1   2   >