Brett Cannon added the comment:
It's sounding like it might be worth the effort then to make lib2to3's parser
not be a "hidden" thing in lib2to3, break it out as a new parser module (I have
no stance on name), and then deprecate the old parser module. I think this was
discussed a
Brett Cannon added the comment:
I would be curious to hear what Pablo has to say with the new parser having
landed and if there's something we should be exposing from that code to replace
what's in 'parser' today? (Either w/o semantic change or a new API
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
RE: " So basically you'd remove the whole feature just cause one package no
one installs abuses it. Doesn't make sense."
No, the point being made is *at least* one package that was found on PyPI
is abusing it, so it exists and we need to consider the p
Brett Cannon added the comment:
It's 3.8 time now. :) Should we try and resolve this?
--
___
Python tracker
<https://bugs.python.org/issue32387>
___
___
Pytho
Change by Brett Cannon :
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue36043>
___
Brett Cannon added the comment:
Anyone have an opinion about the __getitem__ proposal? I'm fine with it but I
wanted to make sure other import + namespace folks don't disagree.
--
___
Python tracker
<https://bugs.python.org/issue35
Change by Brett Cannon :
--
nosy: +davin, pitrou
___
Python tracker
<https://bugs.python.org/issue36153>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Yes, the Mac installer should have installed everything, but software isn't
perfect. :) I would try installing again.
--
nosy: +brett.cannon, ned.deily, ronaldoussoren
___
Python tracker
<https://bugs.python.
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue36128>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
And I don't know what a good solution would be. :) I.e. should some other
exception be raised? Should it be ignored? I just don't know personally.
--
___
Python tracker
<https://bugs.python.org/issue36
Brett Cannon added the comment:
I consider this an enhancement since you do have a loop in your symlinks and so
having it not exactly work isn't totally shocking. But that doesn't mean that
if someone can come up with a reasonable solution to fixing this annoyance it
woudn't be accepted
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue29757>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
As stated on the PR, changing the code isn't going to be worth it, but updating
the docs would be nice.
--
___
Python tracker
<https://bugs.python.org/issue36
Brett Cannon added the comment:
I think upgrading the scripts to read from pyvenv.cfg is a separate issue per
activation script (e.g. an issue for PowerShell, an issue for fish, etc.) as
this could be done piecemeal.
One benefit to doing this is it would help move towards the activation
Change by Brett Cannon :
--
nosy: +barry, eric.smith, eric.snow, ncoghlan
___
Python tracker
<https://bugs.python.org/issue35843>
___
___
Python-bugs-list mailin
Brett Cannon added the comment:
Can this be closed?
--
___
Python tracker
<https://bugs.python.org/issue35321>
___
___
Python-bugs-list mailing list
Unsub
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue12317>
___
___
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 1dc5cb9cb3447211069a7788208254b1cfa8ec98 by Brett Cannon (Nina
Zakharenko) in branch 'master':
bpo-35887: Add make regen-importlib step to importlib._bootstrap docstring
(GH-11777)
https://github.com/python/cpython/commit
Change by Brett Cannon :
--
title: Missing component in table after getElementsByTagName("nn") ->
[xml.minidom] Missing component in table after getElementsByTagName("nn")
___
Python tracker
<https://
Brett Cannon added the comment:
First, Cheryl, thanks for taking this on!
I think one way to potentially simplify this whole situation about the
whitespace for the prompt is to actually store the raw value that gets passed
into EnvBuilder instead of the prompt as formatted
Change by Brett Cannon :
--
nosy: +steven.daprano
___
Python tracker
<https://bugs.python.org/issue35698>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
title: Division by 2 in statistics.median -> [statistics] Division by 2 in
statistics.median
___
Python tracker
<https://bugs.python.org/issu
Change by Brett Cannon :
--
title: 3.8 needlessly breaks weak references for UUIDs -> [uuid] 3.8 breaks
weak references for UUIDs
___
Python tracker
<https://bugs.python.org/issu
Change by Brett Cannon :
--
components: +Library (Lib), Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue35
Change by Brett Cannon :
--
title: Enable manylinux1 builds on Pipelines -> Enable manylinux1 builds on
Pipelines for CI testing
___
Python tracker
<https://bugs.python.org/issu
Change by Brett Cannon :
--
nosy: +michael.foord, rbcollins
___
Python tracker
<https://bugs.python.org/issue35676>
___
___
Python-bugs-list mailing list
Unsub
Brett Cannon added the comment:
If someone can get a PR into a state that is acceptable, then this can be
resolved, Arthur. But at this point that hasn't occurred.
--
___
Python tracker
<https://bugs.python.org/issue2
Brett Cannon added the comment:
New changeset 83da926b89daf80013ea966037c2c0e1e9d25c6b by Brett Cannon (Anthony
Shaw) in branch 'master':
bpo-35488: Add tests for ** glob matching in pathlib (GH-11171)
https://github.com/python/cpython/commit/83da926b89daf80013ea966037c2c0e1e9d25c6b
New submission from Brett Cannon :
When creating the pyvenv.cfg file, the prompt setting should be stored there so
that tools can introspect on it (e.g. VS Code could read the value to tell
users the name of the venv they have selected in the status bar).
--
assignee: brett.cannon
Change by Brett Cannon :
--
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue35661>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
priority: normal -> low
___
Python tracker
<https://bugs.python.org/issue35661>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Brett Cannon :
https://gregoryszorc.com/blog/2018/12/18/distributing-standalone-python-applications/
claims it doesn't work.
--
components: Library (Lib)
messages: 332314
nosy: brett.cannon
priority: low
severity: normal
stage: test needed
status: open
title: See
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue22166>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +lukasz.langa
___
Python tracker
<https://bugs.python.org/issue35520>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue35498>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue35488>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
RE: "PEP-302 and PEP-451 are the definitive specifications for how
sys.meta_path is supposed to work"
That's actually not true. In the case of import the language reference is
considered the reference for import:
https://docs.python.org/3
Brett Cannon added the comment:
New changeset d5176fe2bcd35dc8d70d13220b58fa7ccd05b47a by Brett Cannon (Miss
Islington (bot)) in branch '3.7':
bpo-35450: reflect in docs that venv module is not always creating a copy of
the Python binary (GH-11144) (GH-11167)
https://github.com/python
Brett Cannon added the comment:
New changeset 1fb312ce1f147ea84ecb6f5993a20d1a85c53dc3 by Brett Cannon (Miss
Islington (bot)) in branch '3.6':
bpo-35450: reflect in docs that venv module is not always creating a copy of
the Python binary (GH-11144) (GH-11168)
https://github.com/python
Change by Brett Cannon :
--
title: Document add_signal_handler -> [asyncio] Document loop.add_signal_handler
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
Obviously if you're willing to create a PR, Marcin, that would be great!
--
___
Python tracker
<https://bugs.python.org/issue35
Brett Cannon added the comment:
Correct, that should say something like "copy/symlink of the Python
binary/binaries (as appropriate by the platform or arguments used at
environment creation time)."
--
nosy: +brett.cannon
___
Pyth
Change by Brett Cannon :
--
stage: -> needs patch
versions: +Python 3.5, Python 3.6, Python 3.8
___
Python tracker
<https://bugs.python.org/issue35450>
___
_
Brett Cannon added the comment:
This was fixed by https://github.com/python/cpython/pull/10934
--
nosy: +brett.cannon
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Change by Brett Cannon :
--
title: The math module should provide a function for computing binomial
coefficients -> Add a function for computing binomial coefficients to the math
module
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
PRs should always be against 'master' unless the issue is already fixed there.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue35
Change by Brett Cannon :
--
nosy: +jvr
___
Python tracker
<https://bugs.python.org/issue35376>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue35376>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue35376>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
New changeset 3cf74384b53b998fa846dc2590cedf9ad2a0d5fd by Brett Cannon
(Anirudha Bose) in branch 'master':
bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests
(GH-8520)
https://github.com/python/cpython/commit
Brett Cannon added the comment:
How did you make a recursive generator? The 'yield' would have paused
execution. Do you have code you can share to reproduce? Otherwise blowing your
stack out is normal behaviour in a function which you can deal with by lowering
your stack depth
Brett Cannon added the comment:
I agree that this shouldn't change and at best can be a documentation update to
mention the fact that importlib.import_module() doesn't restrict itself to
valid syntax names on purpose.
--
assignee: -> docs@python
components: +Documentation
n
Brett Cannon added the comment:
It's because the module was originally kept compatible with Python 1.5.2:
https://www.python.org/dev/peps/pep-0291/#backward-compatible-packages-modules-and-tools
--
nosy: +brett.cannon
___
Python tracker
<ht
Brett Cannon added the comment:
It will because your file change happens so quickly by script that your file
system isn't leading to a different mtime on the source, and so the bytecode
isn't being regenerated. When you do it by hand you're physically slow enough
to have the file copies
Brett Cannon added the comment:
You can use importlib.resources to read data files and such from within a
package as an alternative.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue35
Brett Cannon added the comment:
The docs do not specify that has_location is read-only:
https://docs.python.org/3/library/importlib.html#importlib.machinery.ModuleSpec.has_location
.
And PEPs are not updated once they are implemented as that would mean we would
have to perpetually update
Brett Cannon added the comment:
I can replicate.
Do note, though, that PEPs are not documentation once they are implemented; at
that point the official docs are what should be followed.
--
components: +Interpreter Core -Library (Lib)
nosy: -docs@python
stage: -> test needed
t
Brett Cannon added the comment:
I think the only thing missing from your list, Andrew, is updating docstrings
and such to mention is_alive() instead of isAlive().
--
___
Python tracker
<https://bugs.python.org/issue35
Brett Cannon added the comment:
Gotcha, thanks for the clarification!
Unfortunately I don't think we will be able to accommodate your feature
request. It's duplicating an API to simply save calling list() which is the
idiomatic way to convert an iterable into a concrete sequence
Brett Cannon added the comment:
Yeah, it's a tough call because it's one of those things others have probably
worked around already, so backporting would break the work-arounds.
If you don't want to bother backporting, Serhiy, I think it would be fine to
not do
Brett Cannon added the comment:
I guess the question is whether any other Python implementation is threadless?
E.g. is MicroPython? If it even has threads then I agree about deprecating the
module.
But if MicroPython does support threads we should keep the module. That would
mean updating
Brett Cannon added the comment:
The "unstable" name bugs me as it suggests we might change it without notice
which isn't true at all. It's more a limited versus broad API. So maybe rename
the directory "broad"?
--
nosy: +brett.cannon
__
Brett Cannon added the comment:
Thanks for the PR!
--
___
Python tracker
<https://bugs.python.org/issue28401>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
title: Incomplete error handling in the compiler's compiler_call() ->
Incomplete error handling in Python/compile.c:compiler_call()
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
Care to open a PR to fix this?
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue35283>
___
___
Python-bug
Change by Brett Cannon :
--
type: crash -> behavior
___
Python tracker
<https://bugs.python.org/issue35283>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue26415>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
I don't quite follow what you're after as it sounds the same as calling
`list(test_suite)`. Am I missing something or are you just trying to avoid the
list creation?
--
nosy: +brett.cannon
___
Python tracker
Change by Brett Cannon :
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
There is not "find best encoding" code, hence why so much code out there uses
chardet. :)
This might also tie into issue #33944 and the idea of rethinking .pth files.
--
nosy: +brett.cannon
___
Pyth
Change by Brett Cannon :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue35
Brett Cannon added the comment:
No, it's not a problem, just a potential enhancement.
--
nosy: +brett.cannon, paul.moore, steve.dower, tim.golden, zach.ware
type: compile error -> enhancement
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
I'm with Serhiy that exceptions should not be swallowed up unless there's a
very good reason to, and in this instance there isn't if there's a bug in code
as that low of a level as debugging that would be atrocious.
--
nosy: +brett.cannon
resolution
Brett Cannon added the comment:
New changeset 12e696b4f071ffe0d585b7f0d0d8020fd328bfdd by Brett Cannon
(Stéphane Wirtel) in branch 'master':
bpo-35042: Use the :pep: role where a PEP is specified (#10036)
https://github.com/python/cpython/commit/12e696b4f071ffe0d585b7f0d0d8020fd328bfdd
Brett Cannon added the comment:
I'm not sure if it's still relevant. :) Feel free to look at the code and come
back here with a recommendation as to whether this is still necessary or not.
--
___
Python tracker
<https://bugs.python.org/issue18
Change by Brett Cannon :
--
resolution: -> wont fix
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
Making this a feature request.
--
nosy: +brett.cannon
title: functools.lru_cache does not work with coroutines -> [functools] provide
an async-compatible version of functools.lru_cache
type: -> enhancement
versions: -Python 3.5, Python 3.6,
Brett Cannon added the comment:
There aren't any type hints in the 'ast' module in Python itself, so this is an
issue with typeshed. Closing as "third party".
--
nosy: +brett.cannon
resolution: -> third party
stage: -> resolved
status
Change by Brett Cannon :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Brett Cannon :
--
assignee: -> brett.cannon
___
Python tracker
<https://bugs.python.org/issue35003>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Brett Cannon :
Having venv install files into Scripts/ on Windows but into bin/ on UNIX is
troublesome for anything that tries to be cross-platform regarding virtual
environments. Having a way to create a virtual environment on Windows where
bin/ is used over Scripts
Brett Cannon added the comment:
I think there might be more going on here as the build target as it uses the
built Python which has special logic to notice it is being built in a checkout.
Did you launch the build from a directory other than the git checkout? Or were
you trying to do
Brett Cannon added the comment:
So the documentation reads that way because it was originally written for
strftime and has been repurposed to represent both. If the code does the right
thing then adding a note that strptime supports single digits accurately would
probably be a welcome pull
Brett Cannon added the comment:
The failure line that Cheryl found in her traceback is at
https://github.com/python/cpython/blob/master/Lib/importlib/_bootstrap.py#L101 .
Maybe Antoine has an idea since he did a bunch of work on import locking?
--
nosy: +pitrou
Change by Brett Cannon :
--
nosy: +asvetlov
___
Python tracker
<https://bugs.python.org/issue34802>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue30964>
___
___
Python-bugs-list
Change by Brett Cannon :
--
nosy: +davin, pitrou
___
Python tracker
<https://bugs.python.org/issue34781>
___
___
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:
Thanks for the understanding, Pierre (and thanks for the work on Brython!).
On Sat., Sep. 15, 2018, 08:25 Pierre Quentel,
wrote:
>
> Pierre Quentel added the comment:
>
> Brett,
>
> Thanks for taking the time, you and other core devs
Change by Brett Cannon :
--
keywords: +patch
pull_requests: +8746
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32718>
___
___
Py
Brett Cannon added the comment:
I'm agreeing with all the other core devs (other than Victor ;) that I don't
quite think this should go in. While I appreciate the work Pierre put into the
PR, I just can't find myself to want to deal with future bug reports for this
while http.server
Brett Cannon added the comment:
So it sounds like that maybe we need to decide if we are going to replace
zipimport with Serhiy's Python version. And if we do decide to go with the
Python code then it should get updated to use _imp._fix_co_filename().
Regardless of the decision, obviously
Brett Cannon added the comment:
Karthikeyan is right that translation bugs should be reported on the GitHub
project for the translation.
--
nosy: +brett.cannon
resolution: -> third party
stage: -> resolved
status: open -> closed
_
Brett Cannon added the comment:
Maybe I'm missing something, but who is racing whom in this case? All the
examples people have shared are simply running the test module directly which
means there's no parallelism in the execution of the test runner with other
tests. Does unittest.main
Brett Cannon added the comment:
I'm personally in no rush and I assume Serhiy isn't either with 3.8 cut-off
quite a ways out, so I see no rush.
--
___
Python tracker
<https://bugs.python.org/issue25
Change by Brett Cannon :
--
title: Zipfile encryption function -> Add encryption support to zipfile
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
I think Serhiy's PR is basically done, so now the question is do we want to
merge it in and drop the C code? ;)
I obviously say yes because this is I/O-bound code and so the switch shouldn't
be enough of a performance hit to warrant blocking the gain
Brett Cannon added the comment:
I'm not questioning if people have ever created a base exception for an entire
package, I'm just asking how often it's actually used when the base exception
didn't make sense outside of the rule-of-thumb Nathaniel is pointing out?
For instance, it could makes
901 - 1000 of 5790 matches
Mail list logo