[issue38938] Possible performance improvement for heaqq.merge()

2019-11-30 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue38938> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38200] Adding itertools.pairwise to the standard library?

2019-11-30 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue38200> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39883] Use BSD0 license for code in docs

2020-06-26 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue39883> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread bbayles
bbayles added the comment: Thanks for the note. I've merged in master and fixed a conflict in the test file. In an earlier rev I tried to do the argument parsing without ast.literal_eval, but found it awkward to support all the ways [1] can manifest. You might have a better idea?

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-12 Thread bbayles
bbayles added the comment: I'm currently having difficulty getting either cx_Freeze or PyInstaller to work with Python 3.8, which is hindering testing. I also no longer have easy access to a Windows environment. If I change the implementation to use -m instead of -c would you be ab

[issue32248] Port importlib_resources (module and ABC) to Python 3.7

2018-01-11 Thread bbayles
Change by bbayles : -- pull_requests: +5016 ___ Python tracker <https://bugs.python.org/issue32248> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32102] Add "capture_output=True" option to subprocess.run

2018-01-11 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5015 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32102> ___ _

[issue32146] multiprocessing freeze_support needed outside win32

2018-01-12 Thread bbayles
bbayles added the comment: I ran into this issue, and found references to it on StackOverflow [1] and GitHub [2] as well. I found that the problem applies to both the 'spawn' and 'forkserver' start methods on Linux. I made an attempt to implement dancol's f

[issue32146] multiprocessing freeze_support needed outside win32

2018-01-15 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5049 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32146> ___ _

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-01-20 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5101 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32502> ___ _

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-21 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5110 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32304> ___ _

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-22 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue32304> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-01-22 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue32502> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32102] Add "capture_output=True" option to subprocess.run

2018-01-22 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue32102> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-01-23 Thread bbayles
Change by bbayles : -- pull_requests: +5136 ___ Python tracker <https://bugs.python.org/issue32502> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-25 Thread bbayles
Change by bbayles : -- pull_requests: +5175 ___ Python tracker <https://bugs.python.org/issue32304> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-25 Thread bbayles
Change by bbayles : -- pull_requests: +5176 ___ Python tracker <https://bugs.python.org/issue32304> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21417] Compression level for zipfile

2018-01-28 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue21417> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21417] Compression level for zipfile

2018-01-28 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5222 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue21417> ___ _

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2018-01-28 Thread bbayles
New submission from bbayles : tarfile.open() allows for specifying both a compression type and a compression level. However, the compresslevel parameter doesn't work when using the xz modes. import tarfile good_archive = tarfile.open('/tmp/dummy.tar.gz', 'w:

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2018-01-28 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5232 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32695> ___ ___ Python-

[issue32146] multiprocessing freeze_support needed outside win32

2018-01-30 Thread bbayles
bbayles added the comment: I presume it's too late to get my pull request in for 3.7, but perhaps we could get a note in the documentation for this before release? That could be as simple as: .. warning:: The ``'spawn'`` and ``'forkserver'`` start me

[issue32728] Extend zipfile's compression level support to LZMA

2018-01-30 Thread bbayles
New submission from bbayles : In [1] (issue 21417), support for setting an archive (or its files) compression level was added to the zipfile module. That currently works for the ZIP_DEFLATED and ZIP_BZIP2 compression methods, but not for ZIP_LZMA. This is because zipfile includes its own

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2018-02-03 Thread bbayles
bbayles added the comment: In working on a patch I convinced myself that a better change might just be to document that you can use the *preset* keyword for LZMA compression instead of *compresslevel*. -- ___ Python tracker <ht

[issue32728] Extend zipfile's compression level support to LZMA

2018-02-04 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5361 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32728> ___ ___ Python-

[issue32146] multiprocessing freeze_support needed outside win32

2018-02-24 Thread bbayles
Change by bbayles : -- pull_requests: +5626 ___ Python tracker <https://bugs.python.org/issue32146> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32017] profile.Profile() has no method enable()

2018-02-25 Thread bbayles
bbayles added the comment: I'm afraid that profile.Profile and cProfile.Profile behave pretty differently, and there's not a good way to bring the methods from the C version to the Python version. The example at [1] shows a cProfile.Profile object being instantiated and enable

[issue32017] profile.Profile() has no method enable()

2018-02-25 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5659 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32017> ___ _

[issue32017] profile.Profile() has no method enable()

2018-02-25 Thread bbayles
bbayles added the comment: I've made a pull request that clarifies things in the docs. As csabella notes, there are some more differences that could be pointed out. The 'subcalls' and 'builtins' arguments could be explained as well. Nonetheless, I think the PR

[issue17286] Make subprocess handling text output with universal_newlines more obious

2018-02-25 Thread bbayles
bbayles added the comment: This is fixed in 3.7 with the `text` parameter. See GitHub PR 4049: https://github.com/python/cpython/pull/4049 -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue17

[issue19894] zipfile ignores deflate level settings in zipinfo object

2018-02-25 Thread bbayles
bbayles added the comment: This was fixed in issue 21417, in Github PR 5385: https://github.com/python/cpython/pull/5385 -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue19

[issue21417] Compression level for zipfile

2018-02-26 Thread bbayles
bbayles added the comment: I made a comment about that in the pull request that went unchallenged ([1]), but I'm happy to change it. [1] https://github.com/python/cpython/pull/5385#pullrequestreview-92055354 -- ___ Python tracker &

[issue32959] zipimport fails when the ZIP archive contains more than 65535 files

2018-02-27 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue32959> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32974] Add bitwise operations and other missing comparison methods to Python's IP address module

2018-02-28 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue32974> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32933] mock_open does not support iteration around text files.

2018-03-04 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue32933> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue28788] ConfigParser should be able to write config to a given filename, not only into file object

2018-03-05 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue28788> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue31528] Let ConfigParser parse systemd units

2018-03-05 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue31528> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue33034] urllib.parse.urlparse and urlsplit not raising ValueError for bad port

2018-03-10 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue33034> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue33038] GzipFile doesn't always ignore None as filename

2018-03-10 Thread bbayles
bbayles added the comment: da, would you mind if I add a test and a news entry to your patch and submit it as a Github pull request? -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue33

[issue32996] Improve What's New in 3.7

2018-03-11 Thread bbayles
bbayles added the comment: Two things I'm familiar with that should probably be mentioned in the Library updates: * bpo-32102: New argument capture_output for subprocess.run * bpo-21417: Added support for setting the compression level for zipfile.ZipFile. -- nosy: +bb

[issue33038] GzipFile doesn't always ignore None as filename

2018-03-12 Thread bbayles
Change by bbayles : -- pull_requests: +5857 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33038> ___ ___ Python-bugs-list mai

[issue30528] ipaddress.IPv{4,6}Network.reverse_pointer is broken

2018-03-13 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue30528> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue33069] Maintainer information discarded when writing PKG-INFO

2018-03-13 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue33069> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-03-24 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue32362> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-03-24 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5964 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32362> ___ _

[issue32362] multiprocessing.connection.Connection misdocumented as multiprocessing.Connection

2018-04-29 Thread bbayles
Change by bbayles : -- pull_requests: +6343 ___ Python tracker <https://bugs.python.org/issue32362> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33038] GzipFile doesn't always ignore None as filename

2018-05-02 Thread bbayles
bbayles added the comment: Is there someone who might be in a position to review the PR? It's pretty short. -- ___ Python tracker <https://bugs.python.org/is

[issue33491] mistype of method's name

2018-05-14 Thread bbayles
bbayles added the comment: I think you'll find that your link points to the exception class `SkipTest`, which does start with a capital level. This is distinct from the `skipTest` method of `unittest.TestCase` objects, which starts with a lowercase letter. The documentation looks rig

[issue32248] Port importlib_resources (module and ABC) to Python 3.7

2018-01-10 Thread bbayles
Change by bbayles : -- pull_requests: +5006 ___ Python tracker <https://bugs.python.org/issue32248> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22454] Adding the opposite function of shlex.split()

2018-06-10 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +7228 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue22454> ___ ___ Python-

[issue22454] Adding the opposite function of shlex.split()

2018-06-10 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue22454> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33939] Raise OverflowError in __length_hint__ for consistently infinite iterators

2018-06-22 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue33939> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34132] Obscure netrc parser "bug"

2018-07-16 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue34132> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34132] Obscure netrc parser "bug"

2018-07-17 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +7856 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue34132> ___ _

[issue34132] Obscure netrc parser "bug"

2018-07-19 Thread bbayles
bbayles added the comment: I took a shot at this, but closed my PR when I found that it introduced a different regression. After playing with it for a bit, I think that this commit [1] is a bit problematic because it uses lexer.instream.readline(), which can make the line number in

[issue34132] Obscure netrc parser "bug"

2018-07-20 Thread bbayles
Change by bbayles : -- pull_requests: +7895 ___ Python tracker <https://bugs.python.org/issue34132> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34132] Obscure netrc parser "bug"

2018-07-20 Thread bbayles
bbayles added the comment: I realized that the Python 2 solution was adapt-able after all; I've re-submitted as GitHub PR 8360. https://github.com/python/cpython/pull/8360 -- ___ Python tracker <https://bugs.python.org/is

[issue34179] test_statistics fails after test_time

2018-07-21 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue34179> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34179] test_statistics fails after test_time

2018-07-21 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +7907 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34179> ___ ___ Python-

[issue34182] Lib/test/test_pydoc.py failed when ran as a script

2018-07-21 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue34182> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34182] Lib/test/test_pydoc.py failed when ran as a script

2018-07-21 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +7917 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34182> ___ ___ Python-

[issue34202] 3.6 ZipFile fails with Path

2018-07-23 Thread bbayles
Change by bbayles : -- nosy: +bbayles ___ Python tracker <https://bugs.python.org/issue34202> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28806] Improve the netrc library

2018-10-29 Thread bbayles
Change by bbayles : -- pull_requests: +9533 ___ Python tracker <https://bugs.python.org/issue28806> ___ ___ Python-bugs-list mailing list Unsubscribe: