[issue35522] os.stat().st_ctime and time.time() mismatch

2018-12-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: In the future, please describe your problem here, on the bug tracker, not just by linking to Stackoverflow. You asked: "Why is the file creation time [less than] the time measured before it is created?" (You actually say "greater than" on Stackoverflow, b

[issue31727] FTP_TLS errors when use certain subcommands

2018-12-18 Thread Paul Wilkinson
Paul Wilkinson added the comment: This issue does appear to be related to the FTP server (or presumably the SSL library on the FTP server). A test against `test.rebex.net` works with OpenSSL 1.0.1t (on Debian) and LibreSSL 2.2.7 (macOS 10.14.2) while a test against my web host fails on both

[issue31784] Implementation of the PEP 564: Add time.time_ns()

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 62a68b762a479a72c3defba9ace5f72a0063c5c6 by Victor Stinner in branch 'master': bpo-31784: Use time.time_ns() in uuid.uuid1() (GH-11189) https://github.com/python/cpython/commit/62a68b762a479a72c3defba9ace5f72a0063c5c6 -- _

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10443 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35516] platform.system_alias(): add macOS support

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10444 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35516] platform.system_alias(): add macOS support

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: Ronald Oussoren: > The patch does not use the version information passed in to calculate the > marketing version. That's a problem when passing in low-level information > from a system running a different version of macOS (for example passing in > the low-le

[issue35522] os.stat().st_ctime and time.time() mismatch

2018-12-18 Thread Rohit Biswas
Rohit Biswas added the comment: Thanks for your reply. It makes sense to me and was very informative. I understand and would explain the problem in the bug tracker itself in the future. I reported this as a potential bug but it seems like it isn't really. So, I'm resolving it as not a bug.

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The breakage was caused by the index entry for ''' (triple single quote). After removing it a correct CHM file is created. -- ___ Python tracker _

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-18 Thread Ma Lin
Ma Lin added the comment: amazing, you did find it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10445 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: Ok, I closed my PR 11186 which modified architecture() to only return struct.calcsize('P') if the executable argument is equal to sys.executable. > please read the doc-string of the platform.architecture() function (or ask > the person who wrote most of the

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: Oops, my PR 11169 used the wrong issue number: bpo-35257 instead of bpo-35502. Anyway, I closed it, the change is too complex. -- IMHO the root issue is the handling of the SyntaxError exception in XMLPullParser.feed(). I wrote a fix, but I don't have the b

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is not easy to avoid reference cycles if use a generator function. And generator function is much faster than an implementation as a class with the __next__ method. We need to access the iterator object from the code of the generator function, and this

[issue35461] Document C API functions which swallow exceptions

2018-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b by Serhiy Storchaka in branch 'master': bpo-35461: Document C API functions which suppress exceptions. (GH-9) https://github.com/python/cpython/commit/3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b

[issue35461] Document C API functions which swallow exceptions

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10447 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35461] Document C API functions which swallow exceptions

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10446 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35523] Remove ctypes old workaround: creating the first instance of a callback

2018-12-18 Thread STINNER Victor
New submission from STINNER Victor : ctypes._reset_cache() contains the following code: # XXX for whatever reasons, creating the first instance of a callback # function is needed for the unittests on Win64 to succeed. This MAY # be a compiler bug, since the problem occurs only when

[issue35524] using/windows launcher image might be deprecated

2018-12-18 Thread Jules Lasne
New submission from Jules Lasne : https://docs.python.org/3/_images/win_installer.png This image corresponds to the Python 3.5 installer. Would it be useful to get a new screenshot of the latest installer ? I can do it if needed -- assignee: docs@python components: Documentation mess

[issue35524] using/windows launcher image might be deprecated

2018-12-18 Thread Jules Lasne
Jules Lasne added the comment: There is also a conflict between the image and the text: Under `Selecting a custom install`, a line says ``` To perform an all-users installation, you should select “Customize installation”. In this case: ``` But the screenshot of the installer shows that you ca

[issue35509] Unable to inherit from logging.Formatter

2018-12-18 Thread Luna Chen
Luna Chen added the comment: Hi Chih-Hsuan Yen, I will check this out and let you know the outcome. Thanks! :) -- ___ Python tracker ___ _

[issue35523] Remove ctypes old workaround: creating the first instance of a callback

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10448 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue35523] Remove old ctypes callback workaround: creating the first instance of a callback

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- title: Remove ctypes old workaround: creating the first instance of a callback -> Remove old ctypes callback workaround: creating the first instance of a callback ___ Python tracker

[issue35509] Unable to inherit from logging.Formatter

2018-12-18 Thread Luna Chen
Luna Chen added the comment: Hi Chih-Hsuan Yen, I have noticed in your `__init__` method, you have `super().__init__(self)`, I'm just wondering if the `self` argument is intentional, as the `Foo` object is to become the format itself? Because inheritance seems to work fine for me with `supe

[issue35523] Remove old ctypes callback workaround: creating the first instance of a callback

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset e6b247c8e524dbe5fc03b3492f628d0d5348bc49 by Victor Stinner in branch 'master': bpo-35523: Remove ctypes callback workaround (GH-11211) https://github.com/python/cpython/commit/e6b247c8e524dbe5fc03b3492f628d0d5348bc49 -- __

[issue30525] Expose SCTs on TLS connections

2018-12-18 Thread Christian Heimes
Christian Heimes added the comment: I looked into the matter. It's certainly doable to have simple CT validation. A custom CT policy is a bit more work, as I would have to provide a callback and two new types. * a method to load CT log config, SSL_CTX_set_ctlog_list_file() * a method to enab

[issue35523] Remove old ctypes callback workaround: creating the first instance of a callback

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: I will keep an eye on buildbots next days. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue17679] sysconfig generation uses some env variables multiple times

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: I don't think that the attached patch is correct. See attached install.diff: difference without/with 00178-dont-duplicate-flags-in-sysconfig.patch on Python installed in /usr/bin/python3. Example of bug: 'TESTRUNNER': 'LD_LIBRARY_PATH=/builddir/build/BUI

[issue17679] sysconfig generation uses some env variables multiple times

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: build.diff: Difference without/with the patch on Python build from source. Example: - CPPFLAGS = "-I. -I./Include" + CPPFLAGS = "-I. -I/Include" This change is wrong: /Include directory doesn't exist. Another example: - LIBPL = "/usr/loca

[issue34238] When BROWSER is set on Mac webbrowser.register_standard_browsers doesn't work

2018-12-18 Thread Jason
Jason added the comment: Yes, it does. I haven't tried that code, but it looks similar to a fix I implemented locally. Jason O'Gray On Sun, Dec 2, 2018 at 2:41 PM Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Karthikeyan Singaravelan added the comment: > > > However, I think

[issue10496] Python startup should not require passwd entry

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10449 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10496] Python startup should not require passwd entry

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 17d0c0595e101c4ce76b58e55de37e6b5083e6cd by Victor Stinner in branch 'master': bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931) https://github.com/python/cpython/commit/17d0c0595e101c4ce76b58e55de37e6b5083e6cd -

[issue35525] Incorrect keyword name in NNTP.starttls() documentation

2018-12-18 Thread Colin McPhail
New submission from Colin McPhail : The library documentation for nntplib.NNTP.starttls() says that it takes a keyword parameter called ssl_context. The source code referenced via the link at the top of the nntplib documentation shows the keyword is actually called context. The result is a Ty

[issue10496] Python startup should not require passwd entry

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10450 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue10496] Python startup should not require passwd entry

2018-12-18 Thread miss-islington
miss-islington added the comment: New changeset 6e96fb44f12c2e9d7ab0d14a21f2aa85ecaa2f83 by Miss Islington (bot) in branch '3.7': bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931) https://github.com/python/cpython/commit/6e96fb44f12c2e9d7ab0d14a21f2aa85ecaa2f83 --

[issue35526] __future__.barry_as_FLUFL documented as mandatory for Python 3.9

2018-12-18 Thread ChrisRands
New submission from ChrisRands : A festive bug report: >>> from __future__ import barry_as_FLUFL >>> barry_as_FLUFL.mandatory (3, 9, 0, 'alpha', 0) So barry_as_FLUFL is documented to become mandatory for Python 3.9. Note that mandatory here means that the feature becomes permanent without the

[issue35526] __future__.barry_as_FLUFL documented as mandatory for Python 3.9

2018-12-18 Thread ChrisRands
ChrisRands added the comment: SO question where this derived from: https://stackoverflow.com/questions/53830960/can-all-future-statements-be-removed-from-a-python-code-without-affecting-i -- ___ Python tracker

[issue10496] Python startup should not require passwd entry

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset ea6b322829c62951362f267d7afdd262aa2b3e2c by Victor Stinner in branch '2.7': bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931) (GH-11213) https://github.com/python/cpython/commit/ea6b322829c62951362f267d7afdd262aa2b3e2c

[issue10496] Python startup should not require passwd entry

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: A few minor tests are still failing when the uid doesn't exist in the password database, but the main issue in pwdhas been fixed and distutils should work more or lesss. I close this 8 years old issue. Thanks to everyone who has been involved in helping to f

[issue35348] Problems with handling the file command output in platform.architecture()

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: The initial issue has been fixed, I close the issue. Thanks for the review and feedback! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35524] using/windows launcher image might be deprecated

2018-12-18 Thread Zachary Ware
Change by Zachary Ware : -- assignee: docs@python -> steve.dower components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ _

[issue35526] __future__.barry_as_FLUFL documented as mandatory for Python 3.9

2018-12-18 Thread Eric Snow
Change by Eric Snow : -- nosy: +barry, brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35524] using/windows launcher image might be deprecated

2018-12-18 Thread Steve Dower
Steve Dower added the comment: That option is only for the py.exe launcher and not the whole installation (notice the target path is still under C:\Users). Having an updated image would be fine, though the only difference should be the version number. If you can provide a similar sized image

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2018-12-18 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2018-12-18 Thread Yury Selivanov
Yury Selivanov added the comment: Dima, we'll likely address this in 3.8, when we land new SSL implementation. Meanwhile you can use uvloop where all these bugs should be fixed. -- ___ Python tracker _

[issue35526] __future__.barry_as_FLUFL documented as mandatory for Python 3.9

2018-12-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Let's extend the "joke" and make it mandatory in Python 4! :) -- ___ Python tracker ___ ___ Pyth

[issue35516] platform.system_alias(): add macOS support

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 60875db2f67815d7d181c552bfac59e8c97619e3 by Victor Stinner in branch 'master': bpo-35516: platform.system_alias() don't replace Darwin (GH-11207) https://github.com/python/cpython/commit/60875db2f67815d7d181c552bfac59e8c97619e3 -- ___

[issue35516] platform.system_alias(): add macOS support

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue22703] Idle Code Context menu entrie(s)

2018-12-18 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +10451 stage: needs patch -> patch review ___ Python tracker ___ ___ P

[issue17561] Add socket.create_server_sock() convenience function

2018-12-18 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: +10452 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue17561] Add socket.create_server_sock() convenience function

2018-12-18 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35461] Document C API functions which swallow exceptions

2018-12-18 Thread miss-islington
miss-islington added the comment: New changeset f265afec1c2a5acb8cb9c9ddb6cd45f7465c6eb5 by Miss Islington (bot) in branch '3.7': bpo-35461: Document C API functions which suppress exceptions. (GH-9) https://github.com/python/cpython/commit/f265afec1c2a5acb8cb9c9ddb6cd45f7465c6eb5 -

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d2a75c67830d7c9f59e4e9b60f36974234c829ef by Serhiy Storchaka in branch 'master': bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. (GH-11170) https://github.com/python/cpython/commit/d2a75c67830d7c9f59e4e9b60f36974234c829ef

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10453 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue17561] Add socket.create_server_sock() convenience function

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue35526] __future__.barry_as_FLUFL documented as mandatory for Python 3.9

2018-12-18 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +10454 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue35499] "make profile-opt" overrides CFLAGS_NODIST

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: Oh wait, "make build_all_generate_profile" and "make profile-opt" have another issue. They modify LDFLAGS, whereas PGO flags seem to be very specific to the compiler, not to the linker. I reopen the issue. build_all_generate_profile: $(MAKE) @DEF_MA

[issue35499] "make profile-opt" overrides CFLAGS_NODIST

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10455 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue35527] Make fields selectively immutable in dataclasses

2018-12-18 Thread Raymond Hettinger
New submission from Raymond Hettinger : The unsafe_hash option is unsafe only because it doesn't afford mutability protections. This can be mitigated with selective immutability. @dataclass class Person: ssn: int = field(immutable=True) birth_city: int = field(immutable=True) name

[issue35526] __future__.barry_as_FLUFL documented as mandatory for Python 3.9

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35465] [asyncio] Document loop.add_signal_handler

2018-12-18 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset e3666fc8effb05b555121f4ab7388df59e21f8b4 by Yury Selivanov (Hrvoje Nikšić) in branch 'master': bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145) https://github.com/python/cpython/commit/e3666fc8effb05b555121f4ab7388df59e21

[issue35465] [asyncio] Document loop.add_signal_handler

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10456 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35520] Python won't build with dtrace enabled on some systems.

2018-12-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue35465] [asyncio] Document loop.add_signal_handler

2018-12-18 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue34764] Improve documentation example for using iter() with sentinel value

2018-12-18 Thread ChrisRands
Change by ChrisRands : -- keywords: +patch pull_requests: +10457 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue35502] Memory leak in xml.etree.ElementTree.iterparse

2018-12-18 Thread miss-islington
miss-islington added the comment: New changeset 60c919b58bd3cf8730947a00ddc6a527d6922ff1 by Miss Islington (bot) in branch '3.7': bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. (GH-11170) https://github.com/python/cpython/commit/60c919b58bd3cf8730947a00ddc6a527d6922ff1 -

[issue35424] multiprocessing.Pool: emit ResourceWarning

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10458 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-18 Thread Steve Dower
Steve Dower added the comment: It looks like generally the ' entity does not work in the CHM index - there should be b' and u' entries as well, but they show up as b and u (whereas b" and u" are fine). Substituting ' seems to work fine, but I had to do that manually in the hhk file and then

[issue34833] [CI] Azure Pipeline: Initialize Agent failed

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently, so I close the issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker _

[issue35465] [asyncio] Document loop.add_signal_handler

2018-12-18 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 12f3979b3807b448ca070b44bbc1597cf800f8a4 by Yury Selivanov (Miss Islington (bot)) in branch '3.7': bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145) (GH-11221) https://github.com/python/cpython/commit/12f3979b3807b448ca0

[issue35527] Make fields selectively immutable in dataclasses

2018-12-18 Thread Yury Selivanov
Yury Selivanov added the comment: +1. I've tried to use `field(frozen=True)` today and was surprised it's not supported. -- nosy: +yselivanov ___ Python tracker ___

[issue23057] [Windows] asyncio: support signal handlers on Windows (feature request)

2018-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset b5c8cfa1da17c6f3acac80a0afca7f7104fb9589 by Andrew Svetlov (Vladimir Matveev) in branch 'master': bpo-23057: add loop self socket as wakeup fd for signals (#11135) https://github.com/python/cpython/commit/b5c8cfa1da17c6f3acac80a0afca7f7104fb9589

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: Even if the code isn't perfect, I didn't see the failure recently. So I close the bug again. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: Ok, let's keep this permanent temporary fix (test skipped until someone finds a solution). I close the issue. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue23057] [Windows] asyncio: support signal handlers on Windows (feature request)

2018-12-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.6, Python 3.7 ___ Python tracker ___

[issue35394] Add __slots__ = () to asyncio protocols

2018-12-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this is a Sphinx bug. It should work around limitations of the CHM compiler. -- ___ Python tracker ___ ___

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-18 Thread Steve Dower
Steve Dower added the comment: I've got an alternate PR to do the fixup in an extension, as well as fixing two other minor build problems for docs (on Windows). -- ___ Python tracker ___

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-18 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +10459 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue31731] [2.7] test_io: race condition in test_interrupted_write_text() (test_io hangs on x86 Gentoo Refleaks 2.7)

2018-12-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10460 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35528] [DOC] [LaTeX] Sphinx 2.0 uses GNU FreeFont as default for xelatex

2018-12-18 Thread jfbu
New submission from jfbu : Not sure if any issue at all, but as said in title, starting with Sphinx 2.0 (Spring 2019), XeLaTeX will be configured to use by default GNU FreeFont, (see https://github.com/sphinx-doc/sphinx/blob/master/CHANGES), and this means new dependency (for documentation bu

[issue31731] [2.7] test_io: race condition in test_interrupted_write_text() (test_io hangs on x86 Gentoo Refleaks 2.7)

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: > AMD64 FreeBSD 10.x Shared 3.7 issue: I wrote PR 11225 which may fix it. -- ___ Python tracker ___

[issue14094] ntpath.realpath() should use GetFinalPathNameByHandle()

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: Any update on this issue? -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-

[issue35012] [3.7] test_multiprocessing_spawn hangs randomly on AppVeyor

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: I haven't seen this bug for 2 months, I'm unable to reproduce the bug and I don't know how to fix it. I close the bug as out of date. Reopen it if it comes back. -- resolution: -> out of date stage: -> resolved status: open -> closed _

[issue31731] [2.7] test_io: race condition in test_interrupted_write_text() (test_io hangs on x86 Gentoo Refleaks 2.7)

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 05c9d31eb62cc45dc3c55a5cdb7cbc713d0421db by Victor Stinner in branch 'master': bpo-31731: Fix test_io.check_interrupted_write() (GH-11225) https://github.com/python/cpython/commit/05c9d31eb62cc45dc3c55a5cdb7cbc713d0421db -- __

[issue31731] [2.7] test_io: race condition in test_interrupted_write_text() (test_io hangs on x86 Gentoo Refleaks 2.7)

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10461 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35424] multiprocessing.Pool: emit ResourceWarning

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6cdce3ddef805e11d75142f3e20e23c3fe21fdf4 by Victor Stinner in branch 'master': bpo-35424: Fix test_multiprocessing_main_handling (GH-11223) https://github.com/python/cpython/commit/6cdce3ddef805e11d75142f3e20e23c3fe21fdf4 -- _

[issue35424] multiprocessing.Pool: emit ResourceWarning

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10462 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31731] [2.7] test_io: race condition in test_interrupted_write_text() (test_io hangs on x86 Gentoo Refleaks 2.7)

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: The test can be fixed in Python 2.7 by exposing pthread_sigmask() somehow, or at least pthread_sigmask(SIG_BLOCK, [SIGALARM]), but honestly, I don't think that it's worth it. The test only very rarely hangs, and the bug has already been fixed in Python 3. I

[issue31731] [2.7] test_io: race condition in test_interrupted_write_text() (test_io hangs on x86 Gentoo Refleaks 2.7)

2018-12-18 Thread miss-islington
miss-islington added the comment: New changeset 729fc5d2acab9eb672c4804092236af5362a4c66 by Miss Islington (bot) in branch '3.7': bpo-31731: Fix test_io.check_interrupted_write() (GH-11225) https://github.com/python/cpython/commit/729fc5d2acab9eb672c4804092236af5362a4c66 -- nosy: +m

[issue10320] printf %qd is nonstandard

2018-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +10463 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35424] multiprocessing.Pool: emit ResourceWarning

2018-12-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset c74e7c48ba4f8437d4c8b402098b8cefc33a28a9 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-35424: Fix test_multiprocessing_main_handling (GH-11223) (GH-11227) https://github.com/python/cpython/commit/c74e7c48ba4f8437d4c8b402098b8cefc

[issue35529] A reference counting bug in ctypes

2018-12-18 Thread Zackery Spytz
New submission from Zackery Spytz : In PyCFuncPtr_FromDll(), "dll" will leak if an error occurs in _validate_paramflags() or GenericPyCData_new(). -- components: Extension Modules, ctypes messages: 332101 nosy: ZackerySpytz priority: normal severity: normal status: open title: A refere

[issue35529] A reference counting bug in ctypes

2018-12-18 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +10464 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue10320] printf %qd is nonstandard

2018-12-18 Thread miss-islington
miss-islington added the comment: New changeset 53e2248a94cd89e65326c5cfd400f74a88552d8c by Miss Islington (bot) in branch '2.7': bpo-10320: Replace nonstandard sprintf() length modifier in ctypes' PyCArg_repr(). (GH-10853) https://github.com/python/cpython/commit/53e2248a94cd89e65326c5cfd40

[issue35530] Counter-intuitive logging API

2018-12-18 Thread Victor Porton
New submission from Victor Porton : The following script: #/usr/bin/env python3 import logging logger = logging.getLogger(name='main') logger.setLevel(logging.INFO) logger.error('XXX') logging.error('ZZZ') logger.error('XXX') outputs XXX ERROR:root:ZZZ ERROR:main:XXX That is counter-intuitiv

[issue10320] printf %qd is nonstandard

2018-12-18 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +10465 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35499] "make profile-opt" overrides CFLAGS_NODIST

2018-12-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: But the `build_all_generate_profile` build is an intermediate instrumented interpreter build, it isn't shipped and things like PGO often require flags that the linker sees in order to generate the instrumented binary. If those are left off of the link step

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-12-18 Thread Cheryl Sabella
Cheryl Sabella added the comment: For M1 and M2 - #22703. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35531] xml.etree.ElementTree Elment.find bug, fails to find tag

2018-12-18 Thread Justin
New submission from Justin : When the following text it loaded in to an ElementTree Element, the find method is unable to find one of the elements without a namespace assigned to it. ``` import xml.etree.ElementTree as ElementTree xml_text = """ http://schemas.xmlsoap.org/soap/envelope/";>a:Ac

[issue35531] xml.etree.ElementTree Elment.find bug, fails to find tag

2018-12-18 Thread Justin
Justin added the comment: Issue was user error. I though that find did a full search of the tree when it only searches children. Solution is: ele = xml.find('.//faultstring') -- resolution: -> not a bug stage: -> resolved status: open -> closed

  1   2   >