Brett Cannon added the comment:
Now that importlib is import and it would raise OSError I'm closing this as
fixed.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.pyth
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue17004>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue17620>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Since there's work to drop __package__, closing as "won't fix".
--
resolution: -> wont fix
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<ht
Brett Cannon added the comment:
After 6 years and no really movement I don't think we are going to bother to
change the semantics for this. :)
--
resolution: -> wont fix
stage: test needed -> resolved
status: open -> closed
___
Brett Cannon added the comment:
Import now has proper messaging of the failure in the package and not an error
about being unable to import the submodule.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Pytho
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue18717>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue18834>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue19081>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
I'm going to make a call and say the chained exception should stay. If people
want to start the discussion again they can.
--
resolution: -> rejected
stage: patch review -> resolved
status: ope
Brett Cannon added the comment:
I believe this is covered in the latest docs for (at least) 3.9.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
As this was fixed in 3.3 that means all actively maintained versions have the
fix, and so closing as fixed.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracke
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue17848>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue18307>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue18269>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
I'm calling it and saying people are not expecting these semantics.
--
resolution: -> not a bug
stage: test needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.pyth
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue18961>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue18862>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
This is still a neat idea. :)
--
___
Python tracker
<https://bugs.python.org/issue19298>
___
___
Python-bugs-list mailin
Brett Cannon added the comment:
.pyc files now include their optimization levels in their file names.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
Do note that .pyc files now encode their optimization levels, so the only thing
to potentially do here is change the compiler to toss docstrings out and make
sure they are freed when they are parsed to avoid holding on to them
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue19533>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
assignee: docs@python -> brett.cannon
___
Python tracker
<https://bugs.python.org/issue19698>
___
___
Python-bugs-list mai
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue19941>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21031>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
status: pending -> open
___
Python tracker
<https://bugs.python.org/issue12238>
___
___
Python-bugs-list mai
Change by Brett Cannon :
--
nosy: -brett.cannon
status: pending -> open
___
Python tracker
<https://bugs.python.org/issue21401>
___
___
Python-bugs-list mai
Change by Brett Cannon :
--
nosy: -brett.cannon
status: pending -> open
___
Python tracker
<https://bugs.python.org/issue14126>
___
___
Python-bugs-list mai
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue36287>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
The import system makes no attempt at normalizing Unicode strings for path
comparisons. One would have to probably update FileFinder
(https://github.com/python/cpython/blob/master/Lib/importlib/_bootstrap_external.py#L1392)
somehow (assuming the appropriate
Brett Cannon added the comment:
Regardless of which module is proposed to solve this, there is still a
bootstrapping issue to consider.
--
___
Python tracker
<https://bugs.python.org/issue39
Brett Cannon added the comment:
> Mark Shannon listed flaws in the PEP 532 and suggest to withdraw this PEP.
I think you mean PEP 352? And a more formal proposal to withdraw would need to
be made and that has not happened, so assume the PEP is still accepted and
fi
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue37860>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +barry, jaraco
___
Python tracker
<https://bugs.python.org/issue39980>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
I'm also still in favour of the change. While people may have worked around
this that doesn't mean we need to keep forcing them to do so. People worked
around our lack of booleans but we chose to stil
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue22246>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Is this still important now that OSError has so many subclasses that correspond
to specific error codes?
--
___
Python tracker
<https://bugs.python.org/issue22
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue22543>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue22789>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue22858>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21724>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21737>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21736>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21760>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21550>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
versions: +Python 3.9 -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue21577>
___
___
Python-bugs-list mailin
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21614>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21199>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
`make regen-all` has probably taken care of this.
--
___
Python tracker
<https://bugs.python.org/issue21242>
___
___
Python-bug
Change by Brett Cannon :
--
versions: +Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue21243>
___
___
Python-bugs-list mailing list
Unsub
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21459>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
There are now examples in the importlib docs.
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21249>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
resolution: -> out of date
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
I don't think this is still needed as the importlib docs now has enough
examples to show people how to get to get similar results with a few method
calls.
--
resolution: -> out of date
stage: needs patch -> resolved
status: ope
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20205>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20123>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20131>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
When a replacement for pkgutil.walk_packages() is added to importlib to work
appropriately with the import system then this should be doable. See
https://bugs.python.org/issue19939 for work to replace pkgutil as appropriate
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20506>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20439>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20341>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20461>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20360>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20459>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue21078>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Since 2.7 development is done there is no compiler packages anymore to worry
about. :)
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bug
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue20899>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
These parts of the devguide don't seem to exist anymore, so I'm closing as
outdated.
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs
Brett Cannon added the comment:
No one has cared in nearly 6 years, so I'm closing as "won't fix". :)
--
resolution: -> wont fix
stage: test needed -> resolved
status: open -> closed
___
Python tracker
<ht
Brett Cannon added the comment:
All sound reasonable, Derek.
--
___
Python tracker
<https://bugs.python.org/issue38972>
___
___
Python-bugs-list mailin
Brett Cannon added the comment:
>From Victor:
* Maybe the test_importlib should before save/restore the the "Python state"
rather than modifying modules
You will have to be more specific than that as there is an import_state()
context manager to control import state via t
Brett Cannon added the comment:
The plan is to start discussing adding a TOML parser once the spec reaches 1.0
(which we will know about as one of the pip contributors also manages TOML).
--
___
Python tracker
<https://bugs.python.org/issue40
Change by Brett Cannon :
--
keywords: +patch
pull_requests: +18518
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/19158
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
New changeset 302e5a8f79514fd84bafbc44b7c97ec636302322 by Brett Cannon in
branch 'master':
bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related
methods (GH-19158)
https://github.com/python/cpyt
Change by Brett Cannon :
--
keywords: -patch
resolution: -> fixed
stage: patch review -> needs patch
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
New changeset 8dad09a2242194a4101374b91ce87bb47a487cf7 by Miss Islington (bot)
in branch '3.8':
bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related
methods (GH-19158) (#19164)
https://github.com/python/cpyt
Brett Cannon added the comment:
New changeset 2929bfb973da249ed4f056c88a69bcc48e5a4843 by Miss Islington (bot)
in branch '3.7':
bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related
methods (GH-19158) (GH-19165)
https://github.com/python/cpyt
Brett Cannon added the comment:
New changeset fc2d8d62af25be90f5fd490df141a775d9619b23 by Andy Lester in branch
'master':
bpo-39943: Remove unnecessary casts in import.c that remove constness (GH-19209)
https://github.com/python/cpython/commit/fc2d8d62af25be90f5fd490df141a7
Brett Cannon added the comment:
> Is it possible to make Travis CI required and make Azure Pipelines not
> required?
Yes, but I don't want to to do that as we have had equivalent flakiness issues
with Travis which is why it isn't required ATM.
The only way to prevent flaky
Brett Cannon added the comment:
I personally would rather not add more methods that are doing simple string
manipulations.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue40
Brett Cannon added the comment:
> I'm not aware of Travis CI current issue. There were issues in the past, as
> with any CI, right ;-) Travis CI looks quite reliable these days.
That's what everyone said when Travis was required and before it went flaky the
last time. ;)
Brett Cannon added the comment:
New changeset 45217af29c7f380089af17beb48a5ea0560bbb9d by Derek Keeler in
branch 'master':
bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131)
https://github.com/python/cpython/commit/45217af29c7f380089af17beb48a5e
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/issue39943>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
How would you propose changing the wording found at
https://docs.python.org/3/library/functions.html?highlight=__import__#__import__?
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue40
Brett Cannon added the comment:
Algorithm is documented as part of the language reference:
https://docs.python.org/3/reference/import.html
--
___
Python tracker
<https://bugs.python.org/issue40
Brett Cannon added the comment:
I personally like 3.10 as the target as that means users had at least 3 years
to move to move over. Plus we can put a warning in the What's New for 3.9 about
our plans for 3.10.
--
nosy: +brett.cannon
___
P
Brett Cannon added the comment:
The historical background is code coverage of C code seemed like a good idea,
so we set it up. :) Not much else to it.
--
___
Python tracker
<https://bugs.python.org/issue40
Brett Cannon added the comment:
That's expected because you are constructing a completely new module object
with importlib.util.module_from_spec(). You're also completely circumventing
sys.modules with the code you wrote which is the only way you would get
equivalent IDs compare
Brett Cannon added the comment:
Best place to report workflow issues or to have discussions about it is
https://github.com/python/core-workflow/. Otherwise there were so many posts I
didn't find an explicit ask of what you wanted changed, V
Brett Cannon added the comment:
Done. You will need to check that miss-islington doesn't solely rely on
required checks passing but instead all CI checks passing, otherwise this just
turned off gating for PRs when auto-merging.
And I'm going to say future requests for this sor
Change by Brett Cannon :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue40470>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Brett Cannon :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue40470>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
> Can't we be more flexible depending on the stability on CIs over the last
> weeks?
No because I'm tired of flipping CI on and off as mandatory based on the whims
of CI systems and their stability. Either people need to accept CI is flaky or
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue40350>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
versions: -Python 3.5, Python 3.6, Python 3.9
___
Python tracker
<https://bugs.python.org/issue40417>
___
___
Python-bugs-list mailin
Brett Cannon added the comment:
This can't be backported cleanly. If you're up for making PRs for 3.8 and 3.7,
Robert, we can look at applying them.
--
___
Python tracker
<https://bugs.python.o
Brett Cannon added the comment:
Thanks for all your hard work, Robert!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
@Patrick you will have to open a new issue and be very specific about what the
problem is with a reproducible code snippet to show how the current fix is
wrong (I also don't know how upgrading Django comes into play since this is not
Django's iss
1701 - 1800 of 5934 matches
Mail list logo