Change by Brett Cannon :
--
title: Link to instructions to change PowerShell execution policy for venv
activation -> [venv] Link to instructions to change PowerShell execution policy
for venv activation
___
Python tracker
<https://bugs.pyth
Change by Brett Cannon :
--
title: Add a CLI flag to venv to use the pwd basename as the prompt -> [venv]
Add a CLI flag to venv to use the pwd basename as the prompt
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
Any more feedback from anyone on the idea of using the basename of a directory
if specified for `--prompt`?
--
___
Python tracker
<https://bugs.python.org/issue38
Brett Cannon added the comment:
I think "Python learners deserve to know about "site-packages" and (optionally)
"dist-packages" " is a bit strong of a statement. I don't think the tutorial
covers how to install third-party package which is what goes into
Brett Cannon added the comment:
Pablo, is this still a thing to care about?
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue1531
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue1596321>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue1674555>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue2636>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
resolution: wont fix ->
___
Python tracker
<https://bugs.python.org/issue4347>
___
___
Python-bugs-list mailing list
Unsubscrib
Brett Cannon added the comment:
Pablo, is this still an issue?
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue4347>
___
___
Python-bug
Brett Cannon added the comment:
Can I just say that "ulp" is totally non-obvious what that even means unless
you have a specific math background?
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.o
Brett Cannon added the comment:
And sorry if that last response from me came off as grumpy; it wasn't meant to.
I just had no clue what you were adding based on the name.
--
___
Python tracker
<https://bugs.python.org/is
Brett Cannon added the comment:
Can this now be closed, Vinay?
--
___
Python tracker
<https://bugs.python.org/issue38901>
___
___
Python-bugs-list mailin
Brett Cannon added the comment:
So I think this is way too marginal a use-case to expand the API to let loaders
inject themselves into the semantics of it.
I assume going with option 1 but raising an ImportWarning would be too noisy
for your use-case? If not I'm totally fine with
Brett Cannon added the comment:
@valentyn just assume it's good enough unless some asks otherwise. People are
probably too busy right now to be looking at this and so you might be waiting a
while for a more definitive answer.
--
___
P
Brett Cannon added the comment:
Paul, your attitude on this issue has unfortunately begun violating the PSF
Code of Conduct which this issue tracker adheres to. I realize you're
frustrated that the change you are after is not happening, but that doesn't
mean you can deride other
Brett Cannon added the comment:
This is already covered in https://www.python.org/dev/peps/pep-0594/ for
removal in 3.10, so probably best to help get that PEP accepted first then deal
with the removal.
--
___
Python tracker
<ht
Brett Cannon added the comment:
Is sys.path[0] always absolute, or is it just a side-effect of the site module
(i.e. is it absolute even with -S)?
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue39
Change by Brett Cannon :
--
priority: normal -> low
___
Python tracker
<https://bugs.python.org/issue39383>
___
___
Python-bugs-list mailing list
Unsubscrib
Brett Cannon added the comment:
There's no deprecation warning because how do you warn about that? You raise
DeprecationWarning about an exception you have yet to raise?
And I personally think calling this unfair is a bit harsh.
--
___
P
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue35003>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
The problem with the hybrid exception is that importlib would then still raise
a different exception from import itself, so the discrepancy would persist. And
if you updated import you could then break people in another way where they
were catching ValueError
Brett Cannon added the comment:
Sorry, you're right; I forgot importlib got it "right" while import got it
"wrong". :)
--
___
Python tracker
<https:
Brett Cannon added the comment:
It's covered in the language reference where import semantics are explained. It
isn't explicitly called out in higher-level docs that I'm aware of because it
only really comes up in edge cases like importing in a thread which we actively
di
Brett Cannon added the comment:
https:/go.microsoft.com/fwlink/?LinkID=135170 is the link to the MS docs.
The command is:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
--
___
Python tracker
<https://bugs.python.
Change by Brett Cannon :
--
versions: +Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue10572>
___
___
Python-bugs-list mailing list
Unsub
Brett Cannon added the comment:
In case anyone cares, this is still a thing.
--
___
Python tracker
<https://bugs.python.org/issue10572>
___
___
Python-bug
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue8400>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue8627>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue8901>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue8912>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue8987>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue13328>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue13886>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue13306>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
I'm going to close this as I think this belongs more on PyPI than in the stdlib
(feel free to re-open if you disagree, Nick).
--
nosy: +brett.cannon
resolution: -> rejected
stage: needs patch -> resolved
status: ope
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue11978>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue12915>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue11549>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue11553>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
> When was this change made?
It has always been this way, so no change here. We have actually improved the
situation over the years with attempts at better locking in importlib itself.
--
___
Python tracker
<
Brett Cannon added the comment:
I don't think this should be done (and I honestly would have disagreed with the
Popen change for its 'env' argument or any other place that is dealing with
environment variables). Environment variables are strings, period, so they
should be sp
Brett Cannon added the comment:
Was the Makefile updated to install Lib/test/test_import/date/unwritable?
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue39
Brett Cannon added the comment:
Do note that virtual environments are not designed to be portable in general,
so this would be a fundamental change in the design and purpose of virtual
environments.
--
nosy: +brett.cannon, vinay.sajip
___
Python
Brett Cannon added the comment:
> but now it's too change to change it again :-)
I actually don't think it is if we want to revert this. We can raise a
deprecation warning if the call to os.fsencode() leads to a value different
than its argument and say that people are expec
Brett Cannon added the comment:
Did the Windows-equivalent project files also get updated?
--
___
Python tracker
<https://bugs.python.org/issue39459>
___
___
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue14787>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16027>
___
___
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/issue16748>
___
___
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/issue16721>
___
___
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/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/issue16101>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue15987>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 :
--
versions: +Python 3.9 -Python 3.4
___
Python tracker
<https://bugs.python.org/issue15911>
___
___
Python-bugs-list mailing list
Unsub
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:
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 :
--
keywords: +easy
___
Python tracker
<https://bugs.python.org/issue14678>
___
___
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 :
--
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/issue14019>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Since Eric never replied I'm just closing this.
--
___
Python tracker
<https://bugs.python.org/issue15600>
___
___
Pytho
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:
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
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:
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
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:
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.
-
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 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
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 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
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:
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
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:
@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:
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:
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:
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 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
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:
> 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
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:
@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:
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:
Thanks!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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, swgmma!
--
___
Python tracker
<https://bugs.python.org/issue39808>
___
___
Python-bugs-list mailing list
Unsubscribe:
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:
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
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue16845>
___
___
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/issue16894>
___
___
Python-bugs-list mailing list
Unsubscribe:
1601 - 1700 of 5934 matches
Mail list logo