Change by Brett Cannon :
--
pull_requests: +30436
pull_request: https://github.com/python/cpython/pull/32410
___
Python tracker
<https://bugs.python.org/issue47
Change by Brett Cannon :
--
pull_requests: +30426
pull_request: https://github.com/python/cpython/pull/32392
___
Python tracker
<https://bugs.python.org/issue47
Brett Cannon added the comment:
New changeset 32b33879c2e19cde735c1971b06869976200e1d8 by Brett Cannon in
branch 'main':
bpo-47061: use `warnings._deprecated()` with asynchat, asyncore, and smtpd
(GH-32350)
https://github.com/python/cpython/commit/32b33879c2e19cde735c1971b06869
Change by Brett Cannon :
--
pull_requests: +30402
pull_request: https://github.com/python/cpython/pull/32350
___
Python tracker
<https://bugs.python.org/issue47
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 c1d93b6411f975d67e43942f1a2745a22983c18c by Brett Cannon in
branch 'main':
bpo-47061: deprecate the `aifc` module (GH-32134)
https://github.com/python/cpython/commit/c1d93b6411f975d67e43942f1a2745
Change by Brett Cannon :
--
nosy: +barneygale
___
Python tracker
<https://bugs.python.org/issue39090>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue46390>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue47176>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue45886>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue23325>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
pull_requests: +30214
pull_request: https://github.com/python/cpython/pull/32134
___
Python tracker
<https://bugs.python.org/issue47
Brett Cannon added the comment:
New changeset af341ebf00d9a45cadea4c07810564d8e8962b96 by Hugo van Kemenade in
branch '3.9':
[3.9] bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12
(GH-31891) (#31998)
https://github.com/python/cpyt
Brett Cannon added the comment:
One thing I forgot to mention is that I will be updating What's New as the code
deprecations land.
--
___
Python tracker
<https://bugs.python.org/is
Brett Cannon added the comment:
bpo-47025 is a bigger discussion about bytes paths that probably needs to be
resolved first before worrying about zipimport.
--
___
Python tracker
<https://bugs.python.org/issue47
Change by Brett Cannon :
--
dependencies: +bytes do not work on sys.path
___
Python tracker
<https://bugs.python.org/issue47026>
___
___
Python-bugs-list mailin
Change by Brett Cannon :
--
priority: normal -> deferred blocker
___
Python tracker
<https://bugs.python.org/issue47061>
___
___
Python-bugs-list mai
Brett Cannon added the comment:
The first PR for documenting the modules is up. Once this gets merged and
backported I will add a helper function in `warnings` and then make the
appropriate code changes.
--
___
Python tracker
<ht
Change by Brett Cannon :
--
keywords: +patch
pull_requests: +30074
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/31984
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
Merged into `main`, but the backports to 3.10 and 3.9 failed.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue47
Change by Brett Cannon :
--
title: Document PEP 594 deprecations -> Deprecate modules listed in PEP 594
___
Python tracker
<https://bugs.python.org/issu
New submission from Brett Cannon :
https://peps.python.org/pep-0594/
The SC has asked that all modules deprecated by PEP 594 have the documented
deprecation backported. The message should also not have any specific removal
version to avoid any potential delay, but then making the bugfix-only
Change by Brett Cannon :
--
dependencies: +PEP 594: Document removal of asynchat, asyncore and smtpd
___
Python tracker
<https://bugs.python.org/issue47
Brett Cannon added the comment:
I think it depends on whether we want to say the standard/included/built-in
import mechanisms don't support byte paths, or byte paths are entirely not
supported even for 3rd-party code? I definitely think we should at least do the
former, but I'm h
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue47025>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
"Practically nothing can be reused - there's no registry, no shebang handling,
and our process launching on Windows is already very complex (and has to remain
that way for compatibility)."
I do process the shebang to restrict searching,
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.11
___
Python tracker
<https://bugs.python.org/issue46860>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
New changeset 50ec3453c50c490eca7e990103c79671bd08ab2e by Brett Cannon in
branch 'main':
bpo-46860: Respect `--with-suffix` on case-insensitive file systems (GH-31593)
https://github.com/python/cpython/commit/50ec3453c50c490eca7e990103c796
Brett Cannon added the comment:
For me it took `docker run -v (pwd):/src quay.io/tiran/cpython_autoconf` (on
fish and didn't run `docker pull` ahead of time).
@tiran are you okay if we document your image and how to run it at
https://devguide.python.org/setup/?highlight=autoconf#regen
Change by Brett Cannon :
--
keywords: +patch
pull_requests: +29716
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31593
___
Python tracker
<https://bugs.python.org/issu
New submission from Brett Cannon :
If you use `--with-suffix` on a case-insensitive file system it is ultimately
ignored and forced to `.exe`.
PR incoming.
--
assignee: brett.cannon
components: Build
messages: 414051
nosy: brett.cannon
priority: normal
severity: normal
status: open
Brett Cannon added the comment:
This is by design and thus not a security hole or bug.
Also, for any future security issues, please disclose them responsibly by
following the instructions at https://www.python.org/dev/security/ .
--
nosy: +brett.cannon
resolution: -> not a
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue46835>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
superseder: -> [venv] Adding a .gitignore file to virtual environments
___
Python tracker
<https://bugs.python.org/issu
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue46337>
___
___
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
Brett Cannon added the comment:
New changeset c2735b75afd530631efde4ddd3cb24bbdc285559 by Miss Islington (bot)
in branch '3.10':
bpo-46678: Fix Invalid cross device link in Lib/test/support/import_helper.py
(GH-31204) (GH-31207)
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 06e1701ad3956352bc0f42b8f51c2f8cc85bf378 by Barney Gale in branch
'main':
bpo-46556: emit `DeprecationWarning` from `pathlib.Path.__enter__()` (GH-30971)
https://github.com/python/cpython/commit/06e1701ad3956352bc0f42b8f51c2f
Brett Cannon added the comment:
Dumping my personal notes here as backup and in case anyone else wants to know
how this is going.
1. `__package__`
- [x] Make sure all uses of the attribute fall back on `__spec__` (done
way back when)
- [x] Add an `ImportWarning` when the
Change by Brett Cannon :
--
dependencies: +Use specs instead of just __loader__ in C code
___
Python tracker
<https://bugs.python.org/issue21762>
___
___
Pytho
Brett Cannon added the comment:
@eryksun I'm not seeing what's wrong with your example. Would you mind pointing
out what you expect the result to be?
And are you saying on Windows you have to resolve the drive separately from the
working directory and then concat
Brett Cannon added the comment:
New changeset 18cb2ef46c9998480f7182048435bc58265c88f2 by Barney Gale in branch
'main':
bpo-29688: document and test `pathlib.Path.absolute()` (GH-26153)
https://github.com/python/cpython/commit/18cb2ef46c9998480f7182048435bc
Change by Brett Cannon :
--
priority: normal -> low
___
Python tracker
<https://bugs.python.org/issue39602>
___
___
Python-bugs-list mailing list
Unsubscrib
Brett Cannon added the comment:
New changeset 305588c67cdede4ef127ada90c1557bc1ef7c200 by Hugo van Kemenade in
branch 'main':
bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pre-existing
footnote (GH-30354)
https://github.com/python/cpyt
Brett Cannon added the comment:
New changeset 305588c67cdede4ef127ada90c1557bc1ef7c200 by Hugo van Kemenade in
branch 'main':
bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pre-existing
footnote (GH-30354)
https://github.com/python/cpyt
Brett Cannon added the comment:
So which inconsistency do you want to change because you listed three and this
is only one issue. 😉
I'm going to assume the "even though sys.modules has `None`" case, which I
think is an oversight and should probably get fixed, but I also
Brett Cannon added the comment:
This is working as intended. Because you don't have a `__init__.py` file in
your `tests` directory, Python considers it a potential namespace package. As
such, Python keeps searching for a "normal" package that defines `__init__.py`
for the sa
Brett Cannon added the comment:
New changeset dbd1dc23f60a6883adf1d18e660f163fa76b8ba9 by Miss Islington (bot)
in branch '3.10':
[3.10] bpo-46044: Annotate deprecated sdists formats (GH-30043) (#30154)
https://github.com/python/cpython/commit/dbd1dc23f60a6883adf1d18e660f16
Brett Cannon added the comment:
New changeset 8202a7e3dd55d551906390742fc748d0747256b8 by Miss Islington (bot)
in branch '3.9':
[3.9] bpo-46044: Annotate deprecated sdists formats (GH-30043) (GH-30155)
https://github.com/python/cpython/commit/8202a7e3dd55d551906390742fc748
Brett Cannon added the comment:
Nah, I don't think setuptools cares about this doc update.
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.pyth
Brett Cannon added the comment:
I opened https://github.com/python/steering-council/issues/92 for the SC to
discuss stdlib additions in case I am not re-elected.
--
___
Python tracker
<https://bugs.python.org/issue40
Brett Cannon added the comment:
I am not opening a new discussion; this is just recording this fact here as it
has come up in other places on the internet.
--
___
Python tracker
<https://bugs.python.org/issue31
Brett Cannon added the comment:
> I just noticed that tomli has dropped support for Python 3.6. That's a road
> block for general adoption of the package in the Python ecosystem.
It's already in pip, so I think it's already generally adopted 😉.
https://github.com/pypa/
Brett Cannon added the comment:
> https://web.dev/webassembly-threads/ suggests otherwise.
It actually doesn't as that post isn't for WASI, it's for WASM in the browser
(I chose my acronyms carefully 😉).
WASI is like POSIX for WebAssembly, so it's meant for de
Brett Cannon added the comment:
This has unfortunately turned out to be a blocker on getting WASI support as
there's not direct threading support in WebAssembly.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/is
Change by Brett Cannon :
--
assignee: -> brett.cannon
___
Python tracker
<https://bugs.python.org/issue21762>
___
___
Python-bugs-list mailing list
Unsubscrib
Brett Cannon added the comment:
> "Ultimately, the loader set the values of __file__ and/or __cached__"
Change it to "sets" and +1 from me!
--
___
Python tracker
<https://
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue45902>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
To help keep links up-to-date, Pyodide now lives at:
https://github.com/pyodide/pyodide/tree/main/cpython
--
___
Python tracker
<https://bugs.python.org/issue40
Brett Cannon added the comment:
Do we need to care about our `config.guess` being updated as well? This is a
totally ignorant question based on
https://github.com/WebAssembly/wasi-sdk#notes-for-autoconf mentioning
`config.guess`.
--
___
Python
Brett Cannon added the comment:
My last message had a couple of typos; should have been `wasm32-wasi` and
"Discord", not "Discovery".
--
___
Python tracker
<https://bug
Brett Cannon added the comment:
LLVM considers `was32-wasi` an alias for `wasm32-unknown-wasi`. Verified on the
WebAssembly Discover server at
https://discord.com/channels/453584038356058112/596492540388179976/898618010221310062.
--
___
Python
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue41498>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
@christian are you using this issue for your pkg-config work, or should I close
this?
--
___
Python tracker
<https://bugs.python.org/issue45
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 99aad31b7ad493d4feea04064bcd6b04061477f9 by Brett Cannon in
branch '3.10':
[3.10] bpo-45250: fix docs regarding `__iter__` and iterators being
inconsistently required by CPython (GH-29170) (GH-29650)
https://github.com/python/cpyt
Change by Brett Cannon :
--
pull_requests: +27888
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29650
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
New changeset be36e0634060c7d5dee8e8876fb888bbb53d992a by Brett Cannon in
branch 'main':
bpo-45250: fix docs regarding `__iter__` and iterators being inconsistently
required by CPython (GH-29170)
https://github.com/python/cpyt
Brett Cannon added the comment:
> Hopefully tomli being less than a year old should not be a blocker, after
> all, TOML v1.0.0 is itself less than a year old.
It's actually rather important as the semantics of how things work will
effectively be locked in once a module is added to
Brett Cannon added the comment:
> I'd love it if we could make this happen for Python 3.11. What can I do to
> help, e.g. would it be helpful if I drafted a PEP?
A PEP isn't necessarily required right now as
https://discuss.python.org/t/how-do-we-want-to-manage-additions
Brett Cannon added the comment:
> Is traditional cross-compiling work still useful these days anyway?
Yes for things like WebAssembly where there is no equivalent of an emulated CPU
under QEMU.
--
___
Python tracker
<https://bugs.pyth
Brett Cannon added the comment:
SGTM!
--
___
Python tracker
<https://bugs.python.org/issue45573>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
FYI the long-term plan is to deprecate pkgutil, so I would use newer APIs as
provided by importlib.
--
___
Python tracker
<https://bugs.python.org/issue45
Brett Cannon added the comment:
I also support the idea of adding an `allow_Z` or some equivalent keyword
parameter to isoformat() and then allowing for `Z` in `fromisoformat()`.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.
Brett Cannon added the comment:
> Wouldn't a nicer resolution for this be to change `iter`
Unfortunately that isn't backwards-compatible. Some people may explicitly want
their iterators to not be iterables to guarantee that people who want an
iterator get a fresh/new one inste
Brett Cannon added the comment:
> Could Brett or you please add those notes back ? There's no other place
where such details are documented.
It really depends on what "details" you're referring to. Most of what I removed
were things like "Module by "
Brett Cannon added the comment:
The full name argument approach comes from PEP 302.
But you want the full name as you are otherwise missing potentially key
information for the finder. For instance, if you manipulate __path__, then it's
just some random directory you're searchi
Brett Cannon added the comment:
> I am curious, what is `fullname` supposed to mean then? "full" in what sense?
You can still specify the full name of the module you're trying to import, but
you also need to pass in the location information for that module.
Brett Cannon added the comment:
create_module() being empty is on purpose:
https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.create_module
. You only define create_module() if you need a specific type of object for
the module instance
Brett Cannon added the comment:
You didn't specify the path to search in to find `a`.
https://docs.python.org/3/library/importlib.html#importlib.machinery.PathFinder.find_spec
says that PathFinder only has class methods, which means find_spec() won't
know where 'namespace
Change by Brett Cannon :
--
pull_requests: +27455
pull_request: https://github.com/python/cpython/pull/29181
___
Python tracker
<https://bugs.python.org/issue45
Change by Brett Cannon :
--
pull_requests: +27450
pull_request: https://github.com/python/cpython/pull/29177
___
Python tracker
<https://bugs.python.org/issue45
Brett Cannon added the comment:
I also need to leave a comment on
https://github.com/python/typeshed/issues/6030 if/when this is fixed.
--
___
Python tracker
<https://bugs.python.org/issue45
Brett Cannon added the comment:
> One thing I would strongly suggest for consistent terminology: Make
> "iterator" mean an object that has both "__next()__" and "__iter()__".
The point of this issue, though, is to not make that claim as it's in
Change by Brett Cannon :
--
keywords: +patch
pull_requests: +27443
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29170
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
New changeset 01cf4fb9c1aa567484c2ffb1b11f9b3fe9949b05 by Brett Cannon in
branch 'main':
bpo-45548: Make `Modules/Setup` easier to read (GH-29143)
https://github.com/python/cpython/commit/01cf4fb9c1aa567484c2ffb1b11f9b
Change by Brett Cannon :
--
pull_requests: +27419
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29143
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
This was taken care of by https://github.com/python/cpython/pull/29049/.
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
Sure, if you want to go full PEP on this I'm happy to be a co-author if the end
goal is to ditch the (now) extraneous attributes.
--
___
Python tracker
<https://bugs.python.org/is
Brett Cannon added the comment:
It's an interesting question. Probably should add the new APIs. As for dropping
the old ones, we would have to check if we have been raising deprecation
warnings as appropriate or if it's just a documenta
Brett Cannon added the comment:
Status is now:
- math/cmath conflict with a build rule in Makefile.pre.in
- _dbm needs more logic/comments (at least on macOS)
- nis needs more logic/comments (at least on macOS)
And the following modules are completely missing from the file:
- _bz2
- _ctypes
Change by Brett Cannon :
--
keywords: +patch
pull_requests: +27391
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29115
___
Python tracker
<https://bugs.python.org/issu
New submission from Brett Cannon :
`Modules/Setup` is currently incomplete/broken. Some things are completely
missing from it, while others won't work if you uncomment them in the file.
When trying to compile a completely static CPython interpreter I ran into the
following i
Brett Cannon added the comment:
I say make it writable.
--
___
Python tracker
<https://bugs.python.org/issue45540>
___
___
Python-bugs-list mailing list
Unsub
Brett Cannon added the comment:
> The spec identifies how a module should be loaded (or how it was loaded and
> should be reloaded). We should be careful to preserve that identify and not
> invite uses to modify the spec after (or while) the module is loaded.
But they may want to
Brett Cannon added the comment:
> What benefit would be gained?
The ABCs are broader than what the import system actually requires due to their
helper methods. So for typing purposes they are actually not a perfect fit.
> That should probably be a separate issue/PR in either case.
Change by Brett Cannon :
--
title: Deprecate __loader__, __package__, __file__, and __cached__ on modules
-> Deprecate __loader__, __package__, and __cached__ on modules
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
Should we register with the ABC or is it time to do proper typing.Protocol
classes and have the ABCs inherit from those?
--
___
Python tracker
<https://bugs.python.org/issue35
1 - 100 of 5894 matches
Mail list logo