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/issue21550>
___
___
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/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/issue21724>
___
___
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/issue22789>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue22543>
___
___
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/issue22246>
___
___
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: +barry, jaraco
___
Python tracker
<https://bugs.python.org/issue39980>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue37860>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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/issue12238>
___
___
Python-bugs-list mai
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
___
Python tracker
<https://bugs.python.org/issue19941>
___
___
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
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:
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:
This is still a neat idea. :)
--
___
Python tracker
<https://bugs.python.org/issue19298>
___
___
Python-bugs-list mailin
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue18862>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue18961>
___
___
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/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:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue17848>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue19081>
___
___
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/issue18717>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue17620>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue17004>
___
___
Python-bugs-list mailing list
Unsubscribe:
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/issue16894>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16891>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16845>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
I've turned off the required checks for GH Actions and flipped Azure Pipelines
back on.
And to answer Victor's question, yes, you can make things conditional at the
workflow, job, and job step level. I don't know what would happen if the check
Brett Cannon added the comment:
It was an old issue that if required checks didn't run it would block, but
hopefully it's fixed. :)
I have gone ahead and removed the Azure Pipelines requirement from 3.7, 3.8,
and master and flipped on the check requirements for the one
Brett Cannon added the comment:
Thanks, swgmma!
--
___
Python tracker
<https://bugs.python.org/issue39808>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Actually, I just realized we can't make these status checks required because
they don't always run. :) Our Actions are smart enough to not run when they
aren't necessary, i.e. doc changes don't run the rest of the checks. And so
making t
Brett Cannon added the comment:
Thanks!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
New changeset 67152d0ed670227b61b5df683655b196ab04ca1a by Brett Cannon in
branch 'master':
bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719)
https://github.com/python/cpython/commit/67152d0ed670227b61b5df683655b196ab04ca1a
-
Brett Cannon added the comment:
@Antoine I just quite follow what you mean. Are you saying ditch _closed and
just leave the context manager to be a no-op?
--
___
Python tracker
<https://bugs.python.org/issue39
Brett Cannon added the comment:
Yes, I can do it.
And to answer Victor's question on the PR that he closed, we can make any
individual status check required. So probably:
- Docs
- Ubuntu
- Windows x86
- Windows x64
Just let me know when we are ready to merge a PR and I will switc
Brett Cannon added the comment:
> Can I ask what sort of backwards-compatibility guarantees Python provides for
> these cases?
A deprecation warning for two releases (i.e. two years). Then it can be
removed. So if people want to move forward with removing this then a
DeprecationW
Change by Brett Cannon :
--
nosy: +steve.dower
___
Python tracker
<https://bugs.python.org/issue39837>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
I guess a question is whether we want immutability guarantees (I for one didn't
even know you could hash Path objects until now).
I'm personally fine with that idea as it mentally makes sense to not need paths
to be mutable. But as I said, someon
Brett Cannon added the comment:
It looks like it hasn't been done, else
https://github.com/python/cpython/blob/master/Lib/zipimport.py would have some
definition of a invalidate_caches() method. And specifically the finder lacks
that method so it can be called by
https://github.com/p
Brett Cannon added the comment:
I don't know if backporting will be needed; probably depends on the CI and
whether they always pull from master or the branch that was affected. But I
just tried backporting regardless and there's conflicts, so it will have to be
don
Brett Cannon added the comment:
New changeset 766b7546a564c8e386a3c31eb06fc1b55e8f5a25 by Ammar Askar in branch
'master':
bpo-39704: Explicitly pass the path to codecov config (GH-18680)
https://github.com/python/cpython/commit/766b7546a564c8e386a3c31eb06fc1
Brett Cannon added the comment:
@ned.deily the motivation is covered in Michael's initial comment; some vendors
like to leave out the tests and not having them all under 'test' prevents that
from working cleanly. Plus it makes the tests more discoverable.
As for any of the
Brett Cannon added the comment:
@crwilcox Don't know what's left. That's probably part of the work that's left.
;) This issue is so old that it's possibly out-of-date since zipimport got
rewritten in pure Python.
--
_
Brett Cannon added the comment:
A use-case of "closing" a path is to cheaply flag that a path object is no
longer valid, e.g. you deleted the underlying file and so you don't want others
using the object anymore without paying the penalty of having to do the I/O to
trigger
New submission from Brett Cannon :
Codecov provides a GH Action for uploading coverage reports which we might as
well use instead of their bash uploader:
https://github.com/marketplace/actions/codecov.
--
messages: 362839
nosy: brett.cannon, steve.dower
priority: normal
severity
Brett Cannon added the comment:
The codecov config lives at
https://github.com/python/cpython/blob/master/.github/codecov.yml and the docs
for the file are at https://docs.codecov.io/docs/codecov-yaml. Specifically,
the comment feature is covered at
https://docs.codecov.io/docs/pull
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue39715>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
The 3.8.1 license can be found at
https://github.com/python/cpython/blob/v3.8.1/LICENSE. But the reason you are
seeing the license as under 3.8.2rc2 is because that's the version the 3.8 docs
is showing, not 3.8.1. So there's no license missing, y
New submission from Brett Cannon :
The docs mention __total__, but there's no mention of how to actually set that
attribute, nor what it actually represents.
P.S. https://github.com/python/cpython/blob/master/Lib/typing.py#L16 says
TypedDict "may be added soon"; I think
Brett Cannon added the comment:
The problem is you would have to say the same thing for all functions that
return a list or touch the file system. So it's typically better to just assume
unsorted and you can't expect idempotent results when dealing with the OS.
-
Brett Cannon added the comment:
distutils might get pulled out at some point to it's at the bottom of the
priority list for now.
Basically move the tests for a package to under Lib/test under the proper
subpackage name and make sure the tests didn't break due to the move. That
Brett Cannon added the comment:
Someone probably needs to go through the stdlib to find which modules have
tests outside of Lib/test/, and then figure out if there is still any
justification for that. If there isn't then they should be moved to Lib
Change by Brett Cannon :
--
assignee: brett.cannon ->
___
Python tracker
<https://bugs.python.org/issue37130>
___
___
Python-bugs-list mailing list
Unsubscrib
Brett Cannon added the comment:
So I tried making pathlib.PurePath handle "." more like ".." and tests started
failing all over the place in test_pathlib, which means it would be a change in
semantics and could start silently breaking people as most of the checks are
for
Brett Cannon added the comment:
I just merged Hai Shi's PR, so I'm going to close assuming that took care of
all the instances.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Pyt
Brett Cannon added the comment:
New changeset 46874c26ee1fc752e2e6930efa1d223b2351edb8 by Hai Shi in branch
'master':
bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254)
https://github.com/python/cpython/commit/46874c26ee1fc752e2e6930efa1d22
Brett Cannon added the comment:
Since Eric never replied I'm just closing this.
--
___
Python tracker
<https://bugs.python.org/issue15600>
___
___
Pytho
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue14019>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue14067>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue14604>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
keywords: +easy
___
Python tracker
<https://bugs.python.org/issue14678>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Do we still care about this, Eric?
--
versions: +Python 3.9 -Python 3.3
___
Python tracker
<https://bugs.python.org/issue14
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue15693>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue15867>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
versions: +Python 3.9 -Python 3.4
___
Python tracker
<https://bugs.python.org/issue15911>
___
___
Python-bugs-list mailing list
Unsub
Change by Brett Cannon :
--
title: can't step through _frozen_importlib/importlib._bootstrap using gdb ->
can't step through _frozen_importlib/importlib._bootstrap using pdb
___
Python tracker
<https://bugs.pytho
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue15987>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16101>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16392>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16217>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16651>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16721>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16737>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16748>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
This is still occurring. Probably need to add `and sys.ignore_environment` to
https://github.com/python/cpython/blob/0cd5bff6b7da3118d0c5a88fc2b80f80eb7c3059/Lib/importlib/_bootstrap_external.py#L38.
--
versions: +Python 3.9 -Python 3.6
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16027>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue14787>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
> Suffice to say, is there a significant reason to not allow it?
We have to support that use-case forever. ;) In all seriousness, relative paths
get tricky when you forget to resolve the path as appropriate (and in a way
that people expect) and it requi
401 - 500 of 5894 matches
Mail list logo