Change by Brett Cannon :
--
nosy: +jaraco
___
Python tracker
<https://bugs.python.org/issue40564>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +barry, jaraco -brett.cannon
___
Python tracker
<https://bugs.python.org/issue42531>
___
___
Python-bugs-list mailing list
Unsub
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
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
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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'
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue42125>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue42667>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
versions: -Python 3.10, Python 3.9
___
Python tracker
<https://bugs.python.org/issue40059>
___
___
Python-bugs-list mailin
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue29708>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue17343>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
<
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
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>
___
___
Change by Brett Cannon :
--
pull_requests: +23367
pull_request: https://github.com/python/cpython/pull/24587
___
Python tracker
<https://bugs.python.org/issue38
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
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Brett Cannon :
--
versions: +Python 3.10 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue14678>
___
___
Python-bugs-list mailing list
Unsub
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
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue38870>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue23389>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue23738>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue23794>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
-
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24651>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24391>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue23967>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24165>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24048>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue25268>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue25150>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24929>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24914>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
assignee: docs@python -> brett.cannon
versions: +Python 3.10 -Python 3.6
___
Python tracker
<https://bugs.python.org/issu
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24792>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24725>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue24670>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue40847>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Brett Cannon :
--
nosy: +alanmcintyre, serhiy.storchaka, twouters
___
Python tracker
<https://bugs.python.org/issue41035>
___
___
Python-bugs-list m
Change by Brett Cannon :
--
nosy: +jaraco
___
Python tracker
<https://bugs.python.org/issue41035>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Brett Hannigan :
--
versions: -Python 3.10
___
Python tracker
<https://bugs.python.org/issue41177>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Change by Brett Cannon :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue41323>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue41406>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Thanks for noticing, Karl!
--
___
Python tracker
<https://bugs.python.org/issue36661>
___
___
Python-bugs-list mailing list
Unsub
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Brett Cannon :
--
assignee: docs@python -> brett.cannon
___
Python tracker
<https://bugs.python.org/issue41584>
___
___
Python-bugs-list mai
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
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
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
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
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
Change by Brett Cannon :
--
assignee: docs@python -> brett.cannon
___
Python tracker
<https://bugs.python.org/issue41688>
___
___
Python-bugs-list mai
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
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
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue25330>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +twouters
___
Python tracker
<https://bugs.python.org/issue25330>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
@serhiy: did you still want to commit this?
--
___
Python tracker
<https://bugs.python.org/issue25643>
___
___
Python-bugs-list m
1801 - 1900 of 5934 matches
Mail list logo