[issue30939] Sphinx 1.6.3 deprecation warning for sphinx.util.compat.Directive in docs builds

2017-07-16 Thread Brett Cannon
Brett Cannon added the comment: I wonder if we should pin sphinx directly instead of the approximate pin we have now to prevent this sort of thing in the future? I had figured they wouldn't introduce a new warning in a bugfix release but I was wrong in that assumption. On Sat, Jul 15, 201

[issue29144] Implicit namespace packages in Python 3.6

2017-07-19 Thread Brett Cannon
Brett Cannon added the comment: Without looking into what changed, I say Python 3.6 being more strict in what is a namespace package is reasonable and setuptools needs to be better about installing pkg_resources-using __init__.py files

[issue30978] str.format_map() silences exceptions in __getitem__

2017-07-21 Thread Brett Cannon
Brett Cannon added the comment: I'm -0 on the backport since as Raymond and Eric pointed out it won't benefit currently working code and I personally don't like changing what exception is raised in a bugfix release. -- nosy

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-28 Thread Brett Cannon
Brett Cannon added the comment: I also can't reproduce on Python 3.6 on Windows 10, so I'm closing this. Looking at your SO question I noticed you didn't specify `python3` but `python` which suggests a venv, so I'm wondering if that's mucking with things? You also d

[issue31113] Stack overflow with large program

2017-08-07 Thread Brett Cannon
Brett Cannon added the comment: One fix at a time. 😉 On Mon, Aug 7, 2017, 07:52 Jeremy Kloth, wrote: > > Jeremy Kloth added the comment: > > The PR resolved the stack overflow in dfs(), however it now fails in the > stackdepth() routine (technically, the stackdept

[issue27869] test failures under Bash on Windows / WSL

2017-08-08 Thread Brett Cannon
Brett Cannon added the comment: Running with `./python -m test -u all -j0` causes test_ssl to hang so that needs to also be skipped (otherwise failures look to be the same from a test module level): 19 tests failed: test_asyncio test_asyncore test_epoll test_fcntl test_ftplib

[issue31143] lib2to3 requires source files for fixes

2017-08-10 Thread Brett Cannon
Brett Cannon added the comment: Simplest way is to do https://docs.python.org/3/library/importlib.html#importlib.util.find_spec and see if a spec can be found for the module in question. That will do the search for the module but it won't load it. This does dictate that you know the nam

[issue31143] lib2to3 requires source files for fixes

2017-08-11 Thread Brett Cannon
Brett Cannon added the comment: You're technically right, Verdan, but pkgutils is kind of a hack as it isn't always using standard APIs to achieve its goals, so I personally never recommend using the module unless absolutely necessary and you know exactly how brittle

[issue31072] add filter to zipapp

2017-08-11 Thread Brett Cannon
Brett Cannon added the comment: What about simply 'filter' as a name? or 'path_filter'? -- nosy: +brett.cannon ___ Python tracker <http://bug

[issue31195] Make any() and all() work with async generators

2017-08-13 Thread Brett Cannon
New submission from Brett Cannon: It would be great if I could do something like: if any(x for async x in aiter()): ... But as of right now, any() complains that "TypeError: 'async_generator' object is not iterable". I would assume that any() and all() could be

[issue31195] Make any() and all() work with async generators

2017-08-14 Thread Brett Cannon
Brett Cannon added the comment: I figured there was something. :( Closing this as "rejected". -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <http://bugs

[issue18156] Add an 'attr' attribute to AttributeError

2017-08-18 Thread Brett Cannon
Changes by Brett Cannon : -- keywords: -easy ___ Python tracker <http://bugs.python.org/issue18156> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31109] zipimport argument clinic conversion

2017-08-18 Thread Brett Cannon
Brett Cannon added the comment: New changeset 02f3b7d5ab2206d256879e5a8a34f560218ed397 by Brett Cannon (Yaron de Leeuw) in branch 'master': bpo-31109: Convert zipimport to use Argument Clinic (GH-2990) https://github.com/python/cpython/commit/02f3b7d5ab2206d256879e5a8a34f5

[issue31109] zipimport argument clinic conversion

2017-08-19 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue31109> ___

[issue31291] an assertion failure in zipimport.zipimporter.get_data()

2017-08-28 Thread Brett Cannon
Brett Cannon added the comment: I don't think this is a bad thing. This is duck-typing at work to be flexible where the type doesn't really matter, just the provided interface. If someone happens to provide an object that doesn't do the right thing then that's their fault

[issue31291] an assertion failure in zipimport.zipimporter.get_data()

2017-08-28 Thread Brett Cannon
Brett Cannon added the comment: If it will crash the interpreter then that's different. If that turns out to be the case then please come back here and we can rework the issue and PR to prevent that by being better about checking return values or resulting exception

[issue31291] an assertion failure in zipimport.zipimporter.get_data()

2017-08-28 Thread Brett Cannon
Brett Cannon added the comment: Could you paste in what the crash looks like? E.g. is it a segfault, SystemError, etc.? And you can tweak the PR or just open a new one if you would rather that fixes the crash itself without taking away duck typing

[issue31291] an assertion failure in zipimport.zipimporter.get_data()

2017-08-28 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: rejected -> stage: resolved -> status: closed -> open ___ Python tracker <http://bugs.python.org/issue31291> ___ ___

[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-28 Thread Brett Cannon
Changes by Brett Cannon : -- title: an assertion failure in zipimport.zipimporter.get_data() -> zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str ___ Python tracker <http://bugs.python.org/issu

[issue31315] assertion failure in imp.create_dynamic(), when spec.name is not a string

2017-08-31 Thread Brett Cannon
Brett Cannon added the comment: I'm about to go on vacation so I might not be right of mind to comment, but I think throwing a TypeError is valid if it's triggering an assertion error that is already there. P.S. Thanks for all the fuzz testing you'

[issue31315] assertion failure in imp.create_dynamic(), when spec.name is not a string

2017-08-31 Thread Brett Cannon
Brett Cannon added the comment: Yes, I'm saying that instead of hitting the C-level assertion error an explicit TypeError should be raised (or some other change like calling str() on the object). Either way, a C-level assertion from valid Python code i

[issue31355] Remove Travis CI macOS job: rely on buildbots

2017-09-19 Thread Brett Cannon
Brett Cannon added the comment: Should this be closed? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue31355> ___ ___ Python-bugs-list m

[issue31415] Add -X option to show import time

2017-09-19 Thread Brett Cannon
Brett Cannon added the comment: What does the "[us]" mean? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue31415> ___ ___

[issue31415] Add -X option to show import time

2017-09-20 Thread Brett Cannon
Brett Cannon added the comment: Ah, OK. Then I wouldn't put it in square brackets as it seems to suggest it's somehow disconnected from the number. -- ___ Python tracker <https://bugs.python.o

[issue31554] Warn when __loader__ != __spec__.loader

2017-09-22 Thread Brett Cannon
New submission from Brett Cannon: There a couple of places where __loader__ is directly used (the biggest one probably being importlib.reload()). It would probably be good to warn when module.__loader__ != module.__spec__.loader like we do for __package__ to start transitioning people over to

[issue35131] Cannot access to customized paths within .pth file

2018-11-19 Thread Brett Cannon
Brett Cannon added the comment: There is not "find best encoding" code, hence why so much code out there uses chardet. :) This might also tie into issue #33944 and the idea of rethinking .pth files. -- nosy: +brett.cannon ___ Pyth

[issue28401] Don't support the PEP384 stable ABI in pydebug builds

2018-11-19 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35281] Allow access to unittest.TestSuite tests

2018-11-20 Thread Brett Cannon
Brett Cannon added the comment: I don't quite follow what you're after as it sounds the same as calling `list(test_suite)`. Am I missing something or are you just trying to avoid the list creation? -- nosy: +brett.cannon ___ Pyth

[issue26415] Excessive peak memory consumption by the Python parser

2018-11-21 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue26415> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-11-21 Thread Brett Cannon
Change by Brett Cannon : -- type: crash -> behavior ___ Python tracker <https://bugs.python.org/issue35283> ___ ___ Python-bugs-list mailing list Unsubscrib

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

2018-11-21 Thread Brett Cannon
Brett Cannon added the comment: Care to open a PR to fix this? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue35283> ___ ___ Python-bug

[issue35284] Incomplete error handling in Python/compile.c:compiler_call()

2018-11-21 Thread Brett Cannon
Change by Brett Cannon : -- title: Incomplete error handling in the compiler's compiler_call() -> Incomplete error handling in Python/compile.c:compiler_call() ___ Python tracker <https://bugs.python.org

[issue28401] Don't support the PEP384 stable ABI in pydebug builds

2018-11-21 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the PR! -- ___ Python tracker <https://bugs.python.org/issue28401> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35134] Add a new Include/unstable/ subdirectory for the "unstable" API

2018-11-22 Thread Brett Cannon
Brett Cannon added the comment: The "unstable" name bugs me as it suggests we might change it without notice which isn't true at all. It's more a limited versus broad API. So maybe rename the directory "broad"? -- nosy: +brett.cannon

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

2018-11-22 Thread Brett Cannon
Brett Cannon added the comment: I guess the question is whether any other Python implementation is threadless? E.g. is MicroPython? If it even has threads then I agree about deprecating the module. But if MicroPython does support threads we should keep the module. That would mean updating

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

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

[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 <https://bugs.python.org/issue35

[issue35321] None _frozen_importlib.__spec__.origin attribute

2018-11-27 Thread Brett Cannon
Brett Cannon added the comment: I can replicate. Do note, though, that PEPs are not documentation once they are implemented; at that point the official docs are what should be followed. -- components: +Interpreter Core -Library (Lib) nosy: -docs@python stage: -> test needed t

[issue35320] Writable __spec__.has_location attribute

2018-11-27 Thread Brett Cannon
Brett Cannon added the comment: The docs do not specify that has_location is read-only: https://docs.python.org/3/library/importlib.html#importlib.machinery.ModuleSpec.has_location . And PEPs are not updated once they are implemented as that would mean we would have to perpetually update

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

2018-11-27 Thread Brett Cannon
Brett Cannon added the comment: You can use importlib.resources to read data files and such from within a package as an alternative. -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue35

[issue35343] Importlib.reload has different behaviour in script and interactive mode

2018-11-29 Thread Brett Cannon
Brett Cannon added the comment: It will because your file change happens so quickly by script that your file system isn't leading to a different mtime on the source, and so the bytecode isn't being regenerated. When you do it by hand you're physically slow enough to have

[issue35346] Modernize Lib/platform.py code

2018-11-29 Thread Brett Cannon
Brett Cannon added the comment: It's because the module was originally kept compatible with Python 1.5.2: https://www.python.org/dev/peps/pep-0291/#backward-compatible-packages-modules-and-tools -- nosy: +brett.cannon ___ Python tracker &

[issue35358] Document that importlib.import_module accepts names that are not valid Python syntax

2018-11-30 Thread Brett Cannon
Brett Cannon added the comment: I agree that this shouldn't change and at best can be a documentation update to mention the fact that importlib.import_module() doesn't restrict itself to valid syntax names on purpose. -- assignee: -> docs@python components: +Docum

[issue35354] Generator functions stack overflow

2018-11-30 Thread Brett Cannon
Brett Cannon added the comment: How did you make a recursive generator? The 'yield' would have paused execution. Do you have code you can share to reproduce? Otherwise blowing your stack out is normal behaviour in a function which you can deal with by lowering your stack

[issue33747] Failed separate test_patch_propogrates_exc_on_exit in test_unittest

2018-12-07 Thread Brett Cannon
Brett Cannon added the comment: New changeset 3cf74384b53b998fa846dc2590cedf9ad2a0d5fd by Brett Cannon (Anirudha Bose) in branch 'master': bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520) https://github.com/python/cpyt

[issue35376] modulefinder skips nested modules with same name as top-level bad module

2018-12-07 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue35376> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35376] modulefinder skips nested modules with same name as top-level bad module

2018-12-07 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +jvr ___ Python tracker <https://bugs.python.org/issue35376> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35376] modulefinder skips nested modules with same name as top-level bad module

2018-12-07 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue35376> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35376] modulefinder skips nested modules with same name as top-level bad module

2018-12-07 Thread Brett Cannon
Brett Cannon added the comment: PRs should always be against 'master' unless the issue is already fixed there. -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.o

[issue35431] Add a function for computing binomial coefficients to the math module

2018-12-07 Thread Brett Cannon
Change by Brett Cannon : -- title: The math module should provide a function for computing binomial coefficients -> Add a function for computing binomial coefficients to the math module ___ Python tracker <https://bugs.python.org/issu

[issue35429] Incorrect use of raise NotImplemented

2018-12-07 Thread Brett Cannon
Brett Cannon added the comment: This was fixed by https://github.com/python/cpython/pull/10934 -- nosy: +brett.cannon stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-11 Thread Brett Cannon
Change by Brett Cannon : -- stage: -> needs patch versions: +Python 3.5, Python 3.6, Python 3.8 ___ Python tracker <https://bugs.python.org/issue35450> ___ _

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-11 Thread Brett Cannon
Brett Cannon added the comment: Correct, that should say something like "copy/symlink of the Python binary/binaries (as appropriate by the platform or arguments used at environment creation time)." -- nosy: +brett.cannon ___ Pyth

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-11 Thread Brett Cannon
Brett Cannon added the comment: Obviously if you're willing to create a PR, Marcin, that would be great! -- ___ Python tracker <https://bugs.python.org/is

[issue35465] [asyncio] Document loop.add_signal_handler

2018-12-12 Thread Brett Cannon
Change by Brett Cannon : -- title: Document add_signal_handler -> [asyncio] Document loop.add_signal_handler ___ Python tracker <https://bugs.python.org/issu

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-14 Thread Brett Cannon
Brett Cannon added the comment: New changeset 1fb312ce1f147ea84ecb6f5993a20d1a85c53dc3 by Brett Cannon (Miss Islington (bot)) in branch '3.6': bpo-35450: reflect in docs that venv module is not always creating a copy of the Python binary (GH-11144) (GH-11168) https://github.

[issue35450] venv module doesn't create a copy of python binary by default

2018-12-14 Thread Brett Cannon
Brett Cannon added the comment: New changeset d5176fe2bcd35dc8d70d13220b58fa7ccd05b47a by Brett Cannon (Miss Islington (bot)) in branch '3.7': bpo-35450: reflect in docs that venv module is not always creating a copy of the Python binary (GH-11144) (GH-11167) https://github.

[issue35486] subprocess module import hooks breaks back compatibility

2018-12-17 Thread Brett Cannon
Brett Cannon added the comment: RE: "PEP-302 and PEP-451 are the definitive specifications for how sys.meta_path is supposed to work" That's actually not true. In the case of import the language reference is considered the reference for import: https://docs.python.

[issue35488] pathlib Path.match does not behave as described

2018-12-17 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue35488> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35498] Parents objects in pathlib.Path don't support slices as __getitem__ arguments

2018-12-17 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue35498> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 <https://bugs.python.org/issue35520> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22166] test_codecs leaks references

2018-12-20 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue22166> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35556] See if frozen modules can use relative imports

2018-12-21 Thread Brett Cannon
New submission from Brett Cannon : https://gregoryszorc.com/blog/2018/12/18/distributing-standalone-python-applications/ claims it doesn't work. -- components: Library (Lib) messages: 332314 nosy: brett.cannon priority: low severity: normal stage: test needed status: open title

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
Change by Brett Cannon : -- priority: normal -> low ___ Python tracker <https://bugs.python.org/issue35661> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue35661> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
New submission from Brett Cannon : When creating the pyvenv.cfg file, the prompt setting should be stored there so that tools can introspect on it (e.g. VS Code could read the value to tell users the name of the venv they have selected in the status bar). -- assignee: brett.cannon

[issue35488] pathlib Path.match does not behave as described

2019-01-06 Thread Brett Cannon
Brett Cannon added the comment: New changeset 83da926b89daf80013ea966037c2c0e1e9d25c6b by Brett Cannon (Anthony Shaw) in branch 'master': bpo-35488: Add tests for ** glob matching in pathlib (GH-11171) https://github.com/python/cpython/commit/83da926b89daf80013ea966037c2c0

[issue2506] Add mechanism to disable optimizations

2019-01-08 Thread Brett Cannon
Brett Cannon added the comment: If someone can get a PR into a state that is acceptable, then this can be resolved, Arthur. But at this point that hasn't occurred. -- ___ Python tracker <https://bugs.python.org/i

[issue35676] unittest assert helper methods have incorrect signature in docs

2019-01-08 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +michael.foord, rbcollins ___ Python tracker <https://bugs.python.org/issue35676> ___ ___ Python-bugs-list mailing list Unsub

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-08 Thread Brett Cannon
Change by Brett Cannon : -- title: Enable manylinux1 builds on Pipelines -> Enable manylinux1 builds on Pipelines for CI testing ___ Python tracker <https://bugs.python.org/issu

[issue35692] pathlib.Path.exists() on non-existent drive raises WinError instead of returning False

2019-01-09 Thread Brett Cannon
Change by Brett Cannon : -- components: +Library (Lib), Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue35

[issue35701] [uuid] 3.8 breaks weak references for UUIDs

2019-01-10 Thread Brett Cannon
Change by Brett Cannon : -- title: 3.8 needlessly breaks weak references for UUIDs -> [uuid] 3.8 breaks weak references for UUIDs ___ Python tracker <https://bugs.python.org/issu

[issue35698] [statistics] Division by 2 in statistics.median

2019-01-10 Thread Brett Cannon
Change by Brett Cannon : -- title: Division by 2 in statistics.median -> [statistics] Division by 2 in statistics.median ___ Python tracker <https://bugs.python.org/issu

[issue35698] Division by 2 in statistics.median

2019-01-10 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +steven.daprano ___ Python tracker <https://bugs.python.org/issue35698> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35737] crypt AuthenticationError introduced with new Linux kernel

2019-01-14 Thread Brett R
New submission from Brett R : We are seeing a crash apparently in crypt.py when invoked via SaltStack and have narrowed it down to some change in the Linux kernel introduced by this security update: https://access.redhat.com/errata/RHSA-2018:3083 Linux kernel 3.10.0-862.14.4.el7.x86_64 works

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-15 Thread Brett Cannon
Brett Cannon added the comment: First, Cheryl, thanks for taking this on! I think one way to potentially simplify this whole situation about the whitespace for the prompt is to actually store the raw value that gets passed into EnvBuilder instead of the prompt as formatted for the

[issue35736] [xml.minidom] Missing component in table after getElementsByTagName("nn")

2019-01-15 Thread Brett Cannon
Change by Brett Cannon : -- title: Missing component in table after getElementsByTagName("nn") -> [xml.minidom] Missing component in table after getElementsByTagName("nn") ___ Python tracker <https://

[issue35737] crypt AuthenticationError introduced with new Linux kernel

2019-02-05 Thread Brett R
Brett R added the comment: Karthikeyan, Thank you for looking into this. I have been trying, in the background, to make further progress on this issue but progress is slow and other issues crop up. While the version of Python here is old, it was the latest in RHEL/CentOS 7.5. We are trying

[issue35887] Doc string for updating the frozen version of importlib in _bootstrap.py incorrect

2019-02-13 Thread Brett Cannon
Brett Cannon added the comment: New changeset 1dc5cb9cb3447211069a7788208254b1cfa8ec98 by Brett Cannon (Nina Zakharenko) in branch 'master': bpo-35887: Add make regen-importlib step to importlib._bootstrap docstring (GH-11777) https://github.com/python/cpyt

[issue35887] Doc string for updating the frozen version of importlib in _bootstrap.py incorrect

2019-02-14 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue12317] inspect.getabsfile() is not documented

2019-02-14 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue12317> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35321] None _frozen_importlib.__spec__.origin attribute

2019-02-14 Thread Brett Cannon
Brett Cannon added the comment: Can this be closed? -- ___ Python tracker <https://bugs.python.org/issue35321> ___ ___ Python-bugs-list mailing list Unsub

[issue35843] importlib.util docs for namespace packages innaccurate

2019-02-14 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +barry, eric.smith, eric.snow, ncoghlan ___ Python tracker <https://bugs.python.org/issue35843> ___ ___ Python-bugs-list mailin

[issue35661] Store the venv prompt in pyvenv.cfg

2019-02-14 Thread Brett Cannon
Brett Cannon added the comment: I think upgrading the scripts to read from pyvenv.cfg is a separate issue per activation script (e.g. an issue for PowerShell, an issue for fish, etc.) as this could be done piecemeal. One benefit to doing this is it would help move towards the activation

[issue36029] Use consistent case for HTTP header fields

2019-02-20 Thread Brett Cannon
Brett Cannon added the comment: As stated on the PR, changing the code isn't going to be worth it, but updating the docs would be nice. -- ___ Python tracker <https://bugs.python.org/is

[issue29757] The loop in utility `socket.create_connection()` swallows previous errors

2019-02-20 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue29757> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36035] pathlib.Path().rglob() breaks with broken symlinks

2019-02-20 Thread Brett Cannon
Brett Cannon added the comment: I consider this an enhancement since you do have a loop in your symlinks and so having it not exactly work isn't totally shocking. But that doesn't mean that if someone can come up with a reasonable solution to fixing this annoyance it woudn't

[issue36035] pathlib.Path().rglob() breaks with broken symlinks

2019-02-20 Thread Brett Cannon
Brett Cannon added the comment: And I don't know what a good solution would be. :) I.e. should some other exception be raised? Should it be ignored? I just don't know personally. -- ___ Python tracker <https://bugs.python.o

[issue29688] Document Path.absolute

2017-03-03 Thread Brett Cannon
Brett Cannon added the comment: As brought up on the PR, it turns out Path.absolute() is extremely under-tested. Perhaps we should deprecate Path.absolute() instead of document it and properly test it (and the testing will be necessary to move forward with the documentation)? Path.resolve

[issue29455] Mention coverage.py in trace module documentation

2017-03-03 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +361 ___ Python tracker <http://bugs.python.org/issue29455> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29455] Mention coverage.py in trace module documentation

2017-03-03 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the PR, Marco! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue29688] Document Path.absolute

2017-03-03 Thread Brett Cannon
Brett Cannon added the comment: I've closed the PR on GitHub until we decide whether we just want to deprecate Path.absolute() in favour of Path.resolve(). -- ___ Python tracker <http://bugs.python.org/is

[issue26213] Document BUILD_*_UNPACK opcodes

2017-03-03 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: docs@python -> brett.cannon ___ Python tracker <http://bugs.python.org/issue26213> ___ ___ Python-bugs-list mai

[issue26213] Document BUILD_*_UNPACK opcodes

2017-03-03 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +366 ___ Python tracker <http://bugs.python.org/issue26213> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26213] Document BUILD_*_UNPACK opcodes

2017-03-03 Thread Brett Cannon
Changes by Brett Cannon : -- pull_requests: +367 ___ Python tracker <http://bugs.python.org/issue26213> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26213] Document BUILD_*_UNPACK opcodes

2017-03-03 Thread Brett Cannon
Brett Cannon added the comment: Thanks to Ivan for the PRs! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue27593] Deprecate sys._mercurial and create sys._git

2017-03-04 Thread Brett Cannon
Brett Cannon added the comment: git actually does not always shorten to 7 characters. In git 2.11 (I think) they shorten to the shortest length to guarantee uniqueness. So `git rev-parse --short HEAD` gives a hash of de04644627 which is 10 characters

[issue29708] support reproducible Python builds

2017-03-06 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue29708> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29716] Python 3 Module doc still sounds like __init__.py is required

2017-03-06 Thread Brett Cannon
Brett Cannon added the comment: I've gone ahead and closed this. Thanks for taking the time to check in on this, James! -- nosy: +brett.cannon resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python

<    19   20   21   22   23   24   25   26   27   28   >