[issue40564] Using zipfile.Path with several files prematurely closes zip

2020-05-08 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +jaraco ___ Python tracker <https://bugs.python.org/issue40564> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42531] importlib.resources.path() raises TypeError for packages without __file__

2020-12-02 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +barry, jaraco -brett.cannon ___ Python tracker <https://bugs.python.org/issue42531> ___ ___ Python-bugs-list mailing list Unsub

[issue42564] "from .__init__ import ..." syntax imports a duplicate module

2020-12-04 Thread Brett Cannon
Brett Cannon added the comment: I agree with Serhiy; don't do this. The only way we could fix this would be to always set a `__init__` module for every package implicitly, but then that would break anyone who wanted to clear out a package in sys.modules as the `__init__` referen

[issue26131] Raise ImportWarning when loader.load_module() is used

2020-12-04 Thread Brett Cannon
Brett Cannon added the comment: New changeset 2de5097ba4c50eba90df55696a7b2e74c93834d4 by Brett Cannon in branch 'master': bpo-26131: Deprecate usage of load_module() (GH-23469) https://github.com/python/cpython/commit/2de5097ba4c50eba90df55696a7b2e

[issue26131] Raise ImportWarning when loader.load_module() is used

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

[issue42564] "from .__init__ import ..." syntax imports a duplicate module

2020-12-07 Thread Brett Cannon
Brett Cannon added the comment: You could propose your backwards-incompatible proposals on python-ideas, Greg, and see if you get any uptake. -- ___ Python tracker <https://bugs.python.org/issue42

[issue26131] Raise ImportWarning when loader.load_module() is used

2020-12-09 Thread Brett Cannon
Brett Cannon added the comment: What is "VendorImporter" (see the message of the ImportWarning)? That's not in the stdlib, so it looks like your system is injecting something via some `.pth` file or environment variable that doesn'

[issue42125] linecache cannot get source for the __main__ module with a custom loader

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

[issue39041] Support GitHub Actions in CI

2020-12-16 Thread Brett Cannon
Brett Cannon added the comment: Your question is best directed at https://discuss.python.org/c/core-workflow/8, Daniel. -- ___ Python tracker <https://bugs.python.org/issue39

[issue42667] shelve module is not thread-safe during accessing different databases from different threads

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

[issue42811] Update docs for importlib.util.resolve_name() to use __spec__ instead of __package__

2021-01-02 Thread Brett Cannon
New submission from Brett Cannon : Since importlib now prefers `__spec__` over `__package__`, https://docs.python.org/3/library/importlib.html#importlib.util.resolve_name should be updated to use `__spec__.parent` instead in the. example. -- assignee: brett.cannon components

[issue40059] Provide a toml module in the standard library

2021-01-02 Thread Brett Cannon
Change by Brett Cannon : -- versions: -Python 3.10, Python 3.9 ___ Python tracker <https://bugs.python.org/issue40059> ___ ___ Python-bugs-list mailin

[issue29708] support reproducible Python builds

2021-01-04 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue29708> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17343] Add a version of str.split which returns an iterator

2021-01-04 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue17343> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42811] Update docs for importlib.util.resolve_name() to use __spec__.parent instead of __package__

2021-01-05 Thread Brett Cannon
Change by Brett Cannon : -- title: Update docs for importlib.util.resolve_name() to use __spec__ instead of __package__ -> Update docs for importlib.util.resolve_name() to use __spec__.parent instead of __package__ ___ Python tracker <

[issue42811] Update docs for importlib.util.resolve_name() to use __spec__.parent instead of __package__

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

[issue42839] SourceFileLoader does not (fully) accept path-like objects

2021-01-06 Thread Brett Cannon
Brett Cannon added the comment: importlib is probably not os.PathLike-clean due to its bootstrapping restrictions of not getting to use anything implemented in Python from 'os' (i.e. if it isn't being managed in posixmodule.c then it probably won't work). If you follo

[issue42811] Update docs for importlib.util.resolve_name() to use __spec__.parent instead of __package__

2021-01-07 Thread Brett Cannon
Brett Cannon added the comment: New changeset ca8e96d1edbeb536f58da91e607082463398fce1 by Miss Islington (bot) in branch '3.8': bpo-42811: Update importlib.utils.resolve_name() docs to use __spec__.parent (GH-24100) (GH-24144) https://github.com/python/cpyt

[issue43037] Importlib reload by module name (String)

2021-01-27 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the idea, Stefan, but I'm going to close this as something we don't want to do. `importlib.reload()` purposefully takes a module object as that's what is going to get mutated/changed and it must already exist. The other importlib f

[issue43058] setting a logging Handler name

2021-01-28 Thread Brett Cohen
New submission from Brett Cohen : When using the logging module to add a new handler, the documentation doesn't mention the ability to set the name of the handler. It turns out that it's actually a supported feature by using: handler_instance.set_name("YOUR_NAME_HERE

[issue38302] [3.10] __pow__ and __rpow__ are not reached when __ipow__ returns NotImplemented for **=

2021-02-01 Thread Brett Cannon
Brett Cannon added the comment: I'm totally fine with pushing this until b1 since this has been broken for ages. -- ___ Python tracker <https://bugs.python.org/is

[issue42129] Support resources in namespace packages

2021-02-17 Thread Brett Cannon
Brett Cannon added the comment: I would harmonize towards what the concrete implementations are doing since people who don't implement the defaults will get the appropriate results regardless. An entry in What's New will cover any potential notification of the change since you can

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2021-02-19 Thread Brett Cannon
Brett Cannon added the comment: Since this is still open I would assume it never made it in. -- ___ Python tracker <https://bugs.python.org/issue28007> ___ ___

[issue38302] [3.10] __pow__ and __rpow__ are not reached when __ipow__ returns NotImplemented for **=

2021-02-19 Thread Brett Cannon
Change by Brett Cannon : -- pull_requests: +23367 pull_request: https://github.com/python/cpython/pull/24587 ___ Python tracker <https://bugs.python.org/issue38

[issue38302] [3.10] __pow__ and __rpow__ are not reached when __ipow__ returns NotImplemented for **=

2021-02-26 Thread Brett Cannon
Brett Cannon added the comment: New changeset cc02b4f2e810ab524d845daa18bc94df5b092dd8 by Alex in branch 'master': bpo-38302: __pow__/__rpow__ now called when __ipow__ returns NotImplemented (#16459) https://github.com/python/cpython/commit/cc02b4f2e810ab524d845daa18bc94

[issue38302] [3.10] __pow__ and __rpow__ are not reached when __ipow__ returns NotImplemented for **=

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

[issue14678] Update zipimport to support importlib.invalidate_caches()

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

[issue14678] Update zipimport to support importlib.invalidate_caches()

2021-03-08 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.10 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue14678> ___ ___ Python-bugs-list mailing list Unsub

[issue43456] Remove _xxsubinterpreters from sys.stdlib_module_names

2021-03-09 Thread Brett Cannon
New submission from Brett Cannon : I noticed that _xxsubinterpreters is in sys.stdlib_module_names but none of the other `_xx` modules are included (nor is 'test'). Since _xxsubinterpreters is only meant for testing (ATM) I think it should probably be left out. -- component

[issue43456] Remove _xxsubinterpreters from sys.stdlib_module_names

2021-03-10 Thread Brett Cannon
Brett Cannon added the comment: Thanks, Victor! And I will independently say that my use of sys.stdlib_module_names suggests the list seems accurate(and is useful)! -- ___ Python tracker <https://bugs.python.org/issue43

[issue38870] Expose ast.unparse in the ast module

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

[issue23389] pkgutil.find_loader raises an ImportError on PEP 420 implicit namespace packages

2020-05-22 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue23389> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23721] Set up a daily test coverage run

2020-05-22 Thread Brett Cannon
Brett Cannon added the comment: We have coverage after every push now at https://codecov.io/gh/python/cpython. -- ___ Python tracker <https://bugs.python.org/issue23

[issue23738] Clarify documentation of positional-only default values

2020-05-22 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue23738> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23794] http package should support HTTP/2

2020-05-22 Thread Brett Cannon
Brett Cannon added the comment: And now there's https://pypi.org/project/httpcore/ which wraps h2 and h11 into a single, low-level API. -- ___ Python tracker <https://bugs.python.org/is

[issue23794] http package should support HTTP/2

2020-05-22 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue23794> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-25 Thread Brett Cannon
Brett Cannon added the comment: > Is this an axiom or is the reasoning written down somewhere? It should be written down in the devguide at devguide.python.org. I agree with Serhiy that this isn't really adding anything by making the code that much more readable, idiomatic, or f

[issue23721] Set up a daily test coverage run

2020-05-25 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40753] Remove Python 2 compatibility code from pathlib

2020-05-26 Thread Brett Cannon
Brett Cannon added the comment: If you can't find the guidance then please either open an issue or submit a PR to update the devguide with the info. As for why your other PR was accepted, that was fixing an actual bug in the docstring. This one has absolutely no semantic change to P

[issue40474] Code coverage report not entirely accurate

2020-05-28 Thread Brett Cannon
Brett Cannon added the comment: New changeset d9c1f1991969e99791de75b2bc935e6445bc5dcd by lrjball in branch 'master': bpo-40474: Updated coverage.yml to better report coverage stats (#19851) https://github.com/python/cpython/commit/d9c1f1991969e99791de75b2bc935e6445bc5dcd -

[issue40474] Code coverage report not entirely accurate

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

[issue24651] Mock.assert* API is in user namespace

2020-05-29 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24651> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24391] Better repr for threading objects

2020-05-29 Thread Brett Cannon
Brett Cannon added the comment: Assigning to Serhiy in case he wants to finish this. -- assignee: -> serhiy.storchaka ___ Python tracker <https://bugs.python.org/issu

[issue24391] Better repr for threading objects

2020-05-29 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24391> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23967] Make inspect.signature expression evaluation more powerful

2020-05-29 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue23967> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24165] Free list for single-digits ints

2020-05-29 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24165> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24048] remove_module() needs to save/restore exception state

2020-05-29 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24048> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24048] remove_module() needs to save/restore exception state

2020-05-29 Thread Brett Cannon
Brett Cannon added the comment: Assigning to Nick to decide if he wants to backport it to 3.7 before it's no longer possible. -- assignee: -> ncoghlan ___ Python tracker <https://bugs.python.org

[issue25268] Support pointing frozen modules to the corresponding source files, if available.

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue25268> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25150] 3.5: Include/pyatomic.h is incompatible with OpenMP (compilation of the third-party module fails on Python 3.5)

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue25150> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2020-06-05 Thread Brett Cannon
Brett Cannon added the comment: imp has been moved to DeprecationWarning and I think its usage in the stdlib has been dealt with at this point. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Pytho

[issue24929] _strptime.TimeRE should not enforce range in regex

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24929> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24914> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch nosy: +brett.cannon nosy_count: 3.0 -> 4.0 pull_requests: +19877 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20658 ___ Python tracker <https://bugs.p

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- assignee: docs@python -> brett.cannon versions: +Python 3.10 -Python 3.6 ___ Python tracker <https://bugs.python.org/issu

[issue24792] zipimporter masks import errors

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24792> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24725] test_socket testFDPassEmpty fails on OS X 10.11+ with "Cannot allocate memory"

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24725> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24670] os.chdir breaks result of os.path.abspath(__file__) and os.path.realpath(__file__)

2020-06-05 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue24670> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19468] Relax the type restriction on reloaded modules

2020-06-05 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the PR, Furkan ! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-08 Thread Brett Cannon
Brett Cannon added the comment: New changeset 3ab3475c42c8ee5580f4ea1aeda73ebc8e5d5478 by Brett Cannon in branch 'master': bpo-24914: mention Python supports multiple paradigms in the FAQ (#20658) https://github.com/python/cpython/commit/3ab3475c42c8ee5580f4ea1aeda73e

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-08 Thread Brett Cannon
Brett Cannon added the comment: New changeset 14073c509058f8efeb5ea7f7693bf84f410d24b7 by Miss Islington (bot) in branch '3.8': bpo-24914: mention Python supports multiple paradigms in the FAQ (GH-20658) (GH-20738) https://github.com/python/cpyt

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

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

[issue24914] Python: Not just OO style but this is not mentioned on python.org or in FAQ

2020-06-08 Thread Brett Cannon
Brett Cannon added the comment: New changeset b155381314c632e7dd452fbade3903e58657cfc7 by Miss Islington (bot) in branch '3.9': bpo-24914: mention Python supports multiple paradigms in the FAQ (GH-20658) (GH-20737) https://github.com/python/cpyt

[issue40847] New parser considers empty line following a backslash to be a syntax error, old parser didn't

2020-06-10 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue40847> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37674] Is imp module deprecated or pending deprecation?

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

[issue40965] Segfault when importing unittest module via C API

2020-06-15 Thread Brett Cannon
Change by Brett Cannon : -- title: Segfault when importing unittest module -> Segfault when importing unittest module via C API ___ Python tracker <https://bugs.python.org/issu

[issue41011] [venv] record which executable and command were used to create a virtual environment

2020-06-17 Thread Brett Cannon
New submission from Brett Cannon : When a virtual environment is created, the resulting pyvenv.cfg specifies the directory which contained the Python executable and the version of Python (see https://github.com/python/cpython/blob/master/Lib/venv/__init__.py#L147). Unfortunately that may not

[issue41035] zipfile.Path does not work properly with zip archives where paths start with /

2020-06-20 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +alanmcintyre, serhiy.storchaka, twouters ___ Python tracker <https://bugs.python.org/issue41035> ___ ___ Python-bugs-list m

[issue41035] zipfile.Path does not work properly with zip archives where paths start with /

2020-06-20 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +jaraco ___ Python tracker <https://bugs.python.org/issue41035> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41154] test_pkgutil:test_name_resolution fails on some platforms

2020-06-29 Thread Brett Cannon
Brett Cannon added the comment: I wonder if it's a problem from Unicode representation since I don't think importlib tries to have a standard normalization form of Unicode. I could see that leading to how the file system encoded something differing from how it was encoded in the

[issue41177] ConvertingList and ConvertingTuple lack iterators and ConvertingDict lacks items()

2020-06-30 Thread Brett Hannigan
New submission from Brett Hannigan : The logging.config module uses three internal data structures to hold items that may need to be converted to a handler or other object: ConvertingList, ConvertingTuple, and ConvertingDict. These three objects provide interfaces to get converted items

[issue41177] ConvertingList and ConvertingTuple lack iterators and ConvertingDict lacks items()

2020-07-01 Thread Brett Hannigan
Change by Brett Hannigan : -- versions: -Python 3.10 ___ Python tracker <https://bugs.python.org/issue41177> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41177] ConvertingList and ConvertingTuple lack iterators and ConvertingDict lacks items()

2020-07-06 Thread Brett Hannigan
Brett Hannigan added the comment: I encountered the need for the iterators when trying to create a subclass of the QueueHandler class that would manage both the QueueHandler and the QueueListener. The implementation is very similar to that described in this Medium post: https://medium.com

[issue41177] ConvertingList and ConvertingTuple lack iterators and ConvertingDict lacks items()

2020-07-06 Thread Brett Hannigan
Brett Hannigan added the comment: Thanks. I don't know why it still says CLA not signed - I signed it a week ago, but I'll try to figure that out this week. -- ___ Python tracker <https://bugs.python.o

[issue41177] ConvertingList and ConvertingTuple lack iterators and ConvertingDict lacks items()

2020-07-06 Thread Brett Hannigan
Brett Hannigan added the comment: O.K. CLA is now signed and if I check on the "check-yourself" with my github user it is showing that I have signed it now. -- ___ Python tracker <https://bugs.python.o

[issue41282] Deprecate and remove distutils

2020-07-13 Thread Brett Cannon
Brett Cannon added the comment: FYI PEP 387 (which I expect will be accepted once I catch up from vacation) specified deprecations are to be public for two releases before removal or approval from the SC for a shorter cycle. So if distutils is deprecated in 3.10 then it can be removed in

[issue41323] Perform "peephole" optimization directly on control-flow graph.

2020-07-17 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue41323> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41327] Windows Store "stub" Python executables give confusing behaviour

2020-07-17 Thread Brett Cannon
Brett Cannon added the comment: Closing as "third-party" as those stubs are controlled by Microsoft Windows and has nothing to do with us as a project beyond that they install the Windows Store copy that Steve uploads (although this is all feedback to Steve who has connecti

[issue41406] BufferedReader causes Popen.communicate losing the remaining output.

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

[issue36661] Missing dataclass decorator import in dataclasses module docs

2020-07-28 Thread Brett Cannon
Brett Cannon added the comment: Thanks for noticing, Karl! -- ___ Python tracker <https://bugs.python.org/issue36661> ___ ___ Python-bugs-list mailing list Unsub

[issue36661] Missing dataclass decorator import in dataclasses module docs

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

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-07-28 Thread Brett Cannon
New submission from Brett Cannon : "Geometry managers are used to specify the relative positioning of the positioning of widgets within their container". Remove "of the positioning". -- assignee: docs@python components: Documentation keywords: newcomer friendly m

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-07-28 Thread Brett Cannon
New submission from Brett Cannon : The example for https://docs.python.org/3.8/library/tkinter.html#coupling-widget-variables is missing: 1. Imports 2. Code to launch the example -- assignee: docs@python components: Documentation keywords: easy messages: 374522 nosy: brett.cannon

[issue41426] [curses] Grammar mistake in curses.getmouse() docs

2020-07-28 Thread Brett Cannon
New submission from Brett Cannon : https://docs.python.org/3/library/curses.html#curses.getmouse "this method should be call to retrieve" "call" -> "called" -- assignee: docs@python components: Documentation keywords: newcomer friendly messages: 37452

[issue41426] [curses] Grammar mistake in curses.getmouse() docs

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

[issue41177] ConvertingList and ConvertingTuple lack iterators and ConvertingDict lacks items()

2020-07-30 Thread Brett Hannigan
Brett Hannigan added the comment: Just wanted to check-in to see if there were any updates on my proposed PR? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-08-18 Thread Brett Cannon
New submission from Brett Cannon : https://docs.python.org/3/reference/datamodel.html#object.__ror__ has a note saying: "If the right operand's type is a subclass of the left operand's type and that subclass provides the reflected method for the operation, this method will be

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-08-18 Thread Brett Cannon
Change by Brett Cannon : -- assignee: docs@python -> brett.cannon ___ Python tracker <https://bugs.python.org/issue41584> ___ ___ Python-bugs-list mai

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-08-18 Thread Brett Cannon
Brett Cannon added the comment: Or to be more clear, the RHS subclass must provide a **different** implementation of the method than the LHS. -- ___ Python tracker <https://bugs.python.org/issue41

[issue35024] Incorrect logging in importlib when '.pyc' file creation fails

2020-08-18 Thread Brett Cannon
Brett Cannon added the comment: It looks like it! Thanks, Irit! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41584] Clarify documentation for binary arithmetic operation subclass __r*__ precedence

2020-08-19 Thread Brett Cannon
Brett Cannon added the comment: Right, there is a `lhs.__rsub__ is not rhs.__rsub__` check which needs to be clearly communicated in that note. -- ___ Python tracker <https://bugs.python.org/issue41

[issue38302] __pow__ and __rpow__ are not reached when __ipow__ returns NotImplemented for **=

2020-08-23 Thread Brett Cannon
Brett Cannon added the comment: It turns out **= ONLY calls __ipow__ and neither __pow__ or __rpow__ as the data model says should be called. - Data Model: https://docs.python.org/3/reference/datamodel.html#object.__ipow__ - PyNumber_InPlacePower(): https://github.com/python/cpython/blob

[issue41154] test_pkgutil:test_name_resolution fails on macOS HFS+ file systems

2020-08-31 Thread Brett Cannon
Brett Cannon added the comment: I think if we can craft a skip check that is targeted enough then that's our best solution, but barring that then skipping for all of macOS wouldn't be the end of the world (maybe a slightly less brute force is a macOS ver

[issue41688] Document how **= does not fall back on **

2020-09-01 Thread Brett Cannon
Change by Brett Cannon : -- assignee: docs@python -> brett.cannon ___ Python tracker <https://bugs.python.org/issue41688> ___ ___ Python-bugs-list mai

[issue38302] __pow__ and __rpow__ are not reached when __ipow__ returns NotImplemented for **=

2020-09-01 Thread Brett Cannon
Brett Cannon added the comment: I have opened https://bugs.python.org/issue41688 to track the documentation fixes so that this can become a release blocker for Python 3.10. -- priority: high -> release blocker versions: -Python 3.8, Python

[issue41688] Document how **= does not fall back on **

2020-09-01 Thread Brett Cannon
New submission from Brett Cannon : https://bugs.python.org/issue38302 covers fixing the fact that `a **= b` does not fall back on `a = a ** b` when `__ipow__` is defined for PYthon 3.10. For older versions of CPython with the bug we should document the slip in semantics. -- assignee

[issue41688] Document how **= does not fall back on **

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

[issue25330] Docs for pkgutil.get_data inconsistent with semantics

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

[issue25330] Docs for pkgutil.get_data inconsistent with semantics

2020-09-11 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +twouters ___ Python tracker <https://bugs.python.org/issue25330> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25643] Python tokenizer rewriting

2020-09-11 Thread Brett Cannon
Brett Cannon added the comment: @serhiy: did you still want to commit this? -- ___ Python tracker <https://bugs.python.org/issue25643> ___ ___ Python-bugs-list m

<    14   15   16   17   18   19   20   21   22   23   >