Brett Cannon added the comment:
@Brian: And thanks for the experiment! It was an interesting idea to consider.
--
___
Python tracker
<https://bugs.python.org/issue37
Brett Cannon added the comment:
@Brian: Probably not. The worry that came up during the steering council
meeting was bifurcating the docs could cause confusion as to why it was
different, which one was more "right", etc.
--
___
Pyth
Brett Cannon added the comment:
The imports are on purpose but they are not required for import to run, just
like importlib.resources isn't necessary.
--
___
Python tracker
<https://bugs.python.org/is
Brett Cannon added the comment:
To help short-circuit this discussion and focus on the desired solution, the
steering council came to a decision that can be seen at
https://github.com/python/steering-council/issues/12#issuecomment-498874939 :
- for Python 3.8 specifically, we think it makes
Brett Cannon added the comment:
"I'm sorry, I thought "fantasy" was good metaphor."
No problem! Saying something is "fantasy" like "it's based on fantasy" -- in
North America at least -- is like sayin
Brett Cannon added the comment:
+1 for Serhiy's suggestion
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue37163>
___
___
Pytho
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue36964>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
"if you coded bad and it doesn't work, it's your fault."
I disagree. Your request changes what VIRTUAL_ENV gets set to, correct?
Changing it suddenly for users doesn't mean their code was bad, it means we
changed something on them.
Brett Cannon added the comment:
Let's please keep this respectful. Saying people are basing things "on fantasy"
or that "people need to develop reading skills" is not helpful.
--
___
Python tracker
<https:
Change by Brett Cannon :
--
nosy: +gpolo, serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue37149>
___
___
Python-bugs-list mailing list
Unsub
Brett Cannon added the comment:
Changing VIRTUAL_ENV will break code, so I'm not sure if it's worth changing.
--
___
Python tracker
<https://bugs.python.o
Brett Cannon added the comment:
FYI when Guido said "call on the steering council" I think he meant open an
issue at https://github.com/python/steering-council/issues as this will get
lost otherwise (i.e. Guido already removed himself from the nosy list so this
already doesn&
Change by Brett Cannon :
--
stage: -> test needed
___
Python tracker
<https://bugs.python.org/issue37130>
___
___
Python-bugs-list mailing list
Unsubscrib
Brett Cannon added the comment:
The inconsistency is a bit weird. Looking at
https://github.com/python/cpython/blob/master/Lib/pathlib.py#L825 the question
is why is self.name not being set for '.' but it is for '..'. I suspect there's
special-casing for '.
Brett Cannon added the comment:
RE: "I think it needs significant benefits for typical users, not only for
Instagram. If only Instagram get benefit from this, keep it as Instagram's
internal patch."
But who's typical in this case? You? Me? We're talking code obj
Brett Cannon added the comment:
I agree with Eric. While I understand what Serhiy is saying about code objects
being more than a bytearray of bytecode, the buffer protocol is still a view on
an object, and that view happens to be for a subset which I think is acceptable
as I think of what a
Brett Cannon added the comment:
@Carl Feel free to open new issues for whatever you need. :)
--
___
Python tracker
<https://bugs.python.org/issue21156>
___
___
Brett Cannon added the comment:
I was just saying that this is an enhancement request, no judgment about
whether we want to solve the enhancement request.
--
___
Python tracker
<https://bugs.python.org/issue35
Brett Cannon added the comment:
You can open a new PR with co-author or basing off of their fork if it's still
around.
--
___
Python tracker
<https://bugs.python.org/is
Brett Cannon added the comment:
Virtual environments are not designed to be portable. For instance, if you have
entry points installed then moving them to another machine would break their
shebang lines. And even if you do it on your local machine there's no guarantee
something else w
Brett Cannon added the comment:
@lys.nikolaou it looks like there was an initial PR, but it only updated things
for Bash and not for all the other shells that we support for virtual
environments.
--
nosy: +brett.cannon
___
Python tracker
<ht
Brett Cannon added the comment:
This isn't a bug because the CSV format isn't malformed (which would be
appropriate for csv.Error), but the file itself isn't appropriate encoded (or
the proper encoding wasn't specified (hence UnicodeDecodeError). So the
exception is app
Brett Cannon added the comment:
Actually find_module() should be deprecated and find_spec() should be defined
instead (and the same goes for load_module(); see bpo-9699). So I'm personally
fine w/ making this a doc problem w/ the plan to eventually deprecate the
m
Brett Cannon added the comment:
I don't think it's option C. As for whether A or B I don't know. Wouldn't hurt
to ask on python-dev if no one comes forward with a more authoritative answer.
--
___
Python tracker
<
Brett Cannon added the comment:
Also note that inspect.getcallargs() has been deprecated since Python 3.5:
https://docs.python.org/3/library/inspect.html#inspect.getcallargs.
Since the function is deprecated I'm closing as "won't fix".
--
nosy: +brett.cannon
reso
Brett Cannon added the comment:
Can this be closed, Nick?
--
___
Python tracker
<https://bugs.python.org/issue24048>
___
___
Python-bugs-list mailing list
Unsub
Brett Cannon added the comment:
Since I'm not bothered enough to check if this is still an issue I'm fine with
closing this.
--
resolution: -> out of date
stage: test needed -> resolved
status: open -> closed
___
Pyt
Brett Cannon added the comment:
RE: "if a function continues to work correctly throughout the span of a Python
X version, why does it need to be removed?"
In this case the argument is whether inspect.getfullargspec() works correctly
in the face of positional-only parameters. Th
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
I don't see anything wrong with the idea.
--
___
Python tracker
<https://bugs.python.org/issue22640>
___
___
Python-bugs-l
Brett Cannon added the comment:
New changeset 1a2252ed39bc1b71cdaa935d7726d82909af93ab by Brett Cannon (Zackery
Spytz) in branch 'master':
bpo-36594: Fix incorrect use of %p in format strings (GH-12769)
https://github.com/python/cpython/commit/1a2252ed39bc1b71cdaa935d7726d8
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue34616>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
New changeset 81c5a905951aaf46f292eb459c32649c0b74ef61 by Brett Cannon (Marco
Rougeth) in branch 'master':
bpo-36232: Improve error message on dbm.open() when the db doesn't exist
(GH-12060)
https://github.com/python
Brett Cannon added the comment:
If I remember correctly the un-deprecation was because 2/3 code could only use
getfullargspec() to get all relevant details. Since we're so close to being
done w/ Python 2 I think this might be the last change to make to them,
document their deprecation,
Brett Cannon added the comment:
Steve's right that we can't change the indexes on those functions for
pre-existing values, so appending to the end is the only real option in that
case. I still think they should both be deprecated due to how limiting their
APIs are.
Obviously
Change by Brett Cannon :
--
assignee: docs@python -> barry
___
Python tracker
<https://bugs.python.org/issue35181>
___
___
Python-bugs-list mailing list
Un
Brett Cannon added the comment:
This seems fine to me and I can't think of any negatives. Can anyone think of
why this might be a bad idea? (Messing with how sys.path is used is just so
fundamental I'm being paranoid. :)
--
nosy: +eric.snow
Brett Cannon added the comment:
There is probably validation code in len(), but the method itself can do
whatever it wants if you call it directly. So the documentation is accurate in
saying the method _should_ return >= 0 but that there's nothing strictly
enforcing that in Python
Brett Cannon added the comment:
This is by design in the Windows installer. You can check a box to put
python3.6 on PATH if you want.
If you want the Python Launcher on UNIX, see
https://crates.io/crates/python-launcher.
--
nosy: +brett.cannon
resolution: -> not a bug
st
Brett Cannon added the comment:
I'm -1 on pulling `request` up to implicitly be part of the `urllib` namespace
without an import. `os.path` is the only exception that I know of in the stdlib
and that's historical (it predates packages existing in the language).
Otherwise the propo
Brett Cannon added the comment:
Basically _thread.RLock was added without an equivalent in _dummy_thread. Add
that and it will fix the issue. It probably wouldn't be too hard since you have
to implement it as if it's single-threaded and there's already a lock class in
_dummy
Brett Cannon added the comment:
I also don't think it's critical to make examples within a module's docs work
like a doctest. Plus I discourage importing objects directly off of modules
anyway and this would actually promote that.
--
nosy
Brett Cannon added the comment:
If you look at that commit that Thomas made all it did was change where the
string was grabbed from, not what type of object was used. So it doesn't make
any sense as to why that would cause any specific change, so I think this may
be doctest
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 a6de52c74d831e45ee0ff105196da8a58b9e43cd by Brett Cannon (josh)
in branch 'master':
bpo-32913: Added re.Match.groupdict example to regex HOWTO (GH-5821)
https://github.com/python/cpython/commit/a6de52c74d831e45ee0ff105196da8
Brett Cannon added the comment:
@mollison: would you like to open a PR w/ how you would expect it to be
formatted?
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue36
Brett Cannon added the comment:
Thanks for the idea, but this would break way too much code to warrant changing
it. Plus making this act differently just in the single-item case is too much
special-casing/surprise.
--
resolution: -> rejected
stage: -> resolved
status
Brett Cannon added the comment:
RE: "does it mean we dont need this to work anymore as was earlier put in the
PEP?"
Correct, we aren't going to implement that part of the PEP ever.
--
___
Python tracker
<https://bugs.pyt
Brett Cannon added the comment:
I realized another solution to this is to make the argument positional-only,
then the name simply doesn't matter. Probably unnecessary breakage, though.
--
versions: +Python 3.8
___
Python tracker
&
Brett Cannon added the comment:
Boy, having a postional-only parameter in that first position would have been
handy when we created this API (as Matthias pointed out). :)
The 'exec' keyword-only parameter is obviously the safest option here.
Making the first parameter positiona
Change by Brett Cannon :
--
components: +Library (Lib)
nosy: +davin, pitrou
___
Python tracker
<https://bugs.python.org/issue36586>
___
___
Python-bugs-list m
Brett Cannon added the comment:
It's more of a "can't be an instance method" than a strict "only classmethod".
Can I ask why you want it to be a strictmethod instead of a classmethod? I
personally don't want to change the docs as I think that encourages
Brett Cannon added the comment:
Could you explain a bit more, Victor, about why you want to avoid importing
hashlib and OpenSSL so much?
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue36
Brett Cannon added the comment:
So Terry is correct in so much as there is no parameter name. :) Both of the
functions in question are positional-only, so the name actually doesn't matter
beyond giving a way to reference the parameter in the documentation.
So thanks for the PR, Marco
Brett Cannon added the comment:
Actually, it's even more subtle as the arguments are positional-only.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/is
Change by Brett Cannon :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
@Davin is there an issue for that and thus this issue can then be closed? Or
did you want to re-purpose this issue to track that? Either way I'm assigning
the issue to you to let you decide which way you want to go. :)
--
assignee: docs@p
Brett Cannon added the comment:
Did you mean importlib.reload() instead of sys.reload()?
And technically it would *if* you're okay with the other side-effects of
reloading, e.g. making sure no one has a reference to any objects from the
module's namespace which won't chang
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue32413>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
RE: "And do you think polling for a new magic attribute is the right
approach?": my thinking behind that idea is that by standardizing the function
name it's easy to tell if there's a cache, but you can also do away with the
registrati
Brett Cannon added the comment:
I'm going to agree w/ Serhiy and say thanks to Steve for the idea but for
maintainability purposes we should keep the CLI of both modules simple and only
for critical operations.
--
nosy: +brett.cannon
___
P
Change by Brett Cannon :
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue31182>
___
___
Brett Cannon added the comment:
Please provide code which consistently causes the crash, otherwise your use of
ctypes makes the very likely not Python's fault and nearly impossible to debug
without a working example.
--
nosy: +brett.cannon
status: open ->
Change by Brett Cannon :
--
nosy: -brett.cannon
status: pending -> open
___
Python tracker
<https://bugs.python.org/issue36463>
___
___
Python-bugs-list mai
Brett Cannon added the comment:
I'm already going through the "CLA not signed" issues and cleaning them up, so
there's no need for anyone to duplicate my work.
And this is not a steering council concern but a core-workflow concern.
--
resolution: -> not a
Brett Cannon added the comment:
Thanks, everyone!
--
nosy: +brett.cannon
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Brett Cannon added the comment:
You can also leave a comment in the other issue saying there's more details
in the closed duplicate.
On Thu, Mar 28, 2019 at 9:54 AM Karthikeyan Singaravelan <
rep...@bugs.python.org> wrote:
>
> Karthikeyan Singaravelan added the comment:
&g
Brett Cannon added the comment:
Closing as a duplicate of issue36260.
--
nosy: +brett.cannon
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Cpython/Lib vulnerability found and request a patc
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue36453>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Brett Cannon :
--
title: get_importer only return the first valid path_hook(importer) ->
pkgutil.get_importer only return the first valid path_hook(importer)
___
Python tracker
<https://bugs.python.org/issu
Brett Cannon added the comment:
To clarify, this is for pkgutil.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue36453>
___
___
Pytho
Brett Cannon added the comment:
I've gone ahead and merged Pierre's fix (thanks!), but I'm not sure if
SharedMemoryManager should stay in the shared_memory docs or if it should move
over to multiprocessing.manager.
Davin, any input on that?
--
nosy
Brett Cannon added the comment:
I actually still think we should remove serve.py as the person who had needed
to clean up that directory when we realized we had massive bitrot in /Tools. :)
I don't' think that just because Debian packages means we need to continue
supporting and m
Brett Cannon added the comment:
New changeset 360e1e4c519cfc139de707bcdd1e6c871eec79ee by Brett Cannon
(Stéphane Wirtel) in branch 'master':
bpo-36345: Add a new example in the documentation of wsgiref (#12511)
https://github.com/python/cpython/commit/360e1e4c519cfc139de707bcdd1e6c
Change by Brett Cannon :
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue36404>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
Thanks, mental!
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Brett Cannon :
--
nosy: -brett.cannon
___
Python tracker
<https://bugs.python.org/issue36085>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
I agree with Eric.
Thanks for the idea, Ivan, but I'm closing this as an idea we won't be pursuing.
--
nosy: +brett.cannon
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Brett Cannon added the comment:
Pulling in Eric and Nick as they have played w/ the C API more recently.
--
nosy: +eric.snow, ncoghlan
___
Python tracker
<https://bugs.python.org/issue36
Brett Cannon added the comment:
I guess my confusion comes from the fact that test_venv in isolation is a
totally fine test suite, it just fails when test_multiprocessing runs it due to
something multiprocessing-related.
I've tried tweaking the title to reflect the fact that i
Brett Cannon added the comment:
Thanks!
--
nosy: +brett.cannon
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Brett Cannon :
--
nosy: +steve.dower
___
Python tracker
<https://bugs.python.org/issue36343>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brett Cannon added the comment:
So this is a test_multiprocessing issue? If it is then the title is misleading.
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue36
Brett Cannon added the comment:
I agree that if it's a good example of using wsgiref then it should exist in
the wsgiref docs as an example. Then that would mean dropping the script and
updating the Makefile.
--
nosy: +brett.cannon
___
P
Brett Cannon added the comment:
Unfortunately not because there is no warning being raised currently about the
deprecation (it's only documented as deprecated;
https://github.com/python/cpython/commit/44f602dd3b452bbacd3c85b1e5f9873c892b46e3).
A PR raising an appropriate deprecation f
Change by Brett Cannon :
--
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue36315>
___
___
Python-bug
Brett Cannon added the comment:
(And sorry about stealing this from you, Terry; I forgot to flip the assignment
while I was looking into this.)
--
___
Python tracker
<https://bugs.python.org/issue36
Change by Brett Cannon :
--
stage: patch review -> commit review
___
Python tracker
<https://bugs.python.org/issue36298>
___
___
Python-bugs-list mai
Brett Cannon added the comment:
Got a patch up if either of you would like to review.
--
___
Python tracker
<https://bugs.python.org/issue36298>
___
___
Pytho
Change by Brett Cannon :
--
keywords: +patch
pull_requests: +12325
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36298>
___
___
Py
Brett Cannon added the comment:
I have a fix en-route.
--
___
Python tracker
<https://bugs.python.org/issue36298>
___
___
Python-bugs-list mailing list
Unsub
Change by Brett Cannon :
--
assignee: terry.reedy -> brett.cannon
nosy: -terry.reedy
stage: needs patch ->
title: Lib/pyclbr.py fails when package spec cannot be determined ->
Lib/pyclbr.py crashes when the package spec cannot be determined by importlib
versions: -P
Change by Brett Cannon :
--
nosy: +benjamin.peterson, brett.cannon, serhiy.storchaka, yselivanov
___
Python tracker
<https://bugs.python.org/issue36290>
___
___
Brett Cannon added the comment:
@eamanu tests are basically always necessary. :)
--
___
Python tracker
<https://bugs.python.org/issue36287>
___
___
Python-bug
Brett Cannon added the comment:
We could also have a new namespace package which is *just* for startup
injection so it wasn't such a hack to tie into the codecs startup code.
--
___
Python tracker
<https://bugs.python.org/is
Brett Cannon added the comment:
Yep, if it's the same problem then close this as a dupe and just poke the other
issue.
--
___
Python tracker
<https://bugs.python.org/is
Brett Cannon added the comment:
Limiting the version scope to 3.6 until someone reproduces on 3.7 and/or 3.8.
--
nosy: +brett.cannon
versions: -Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue36
Brett Cannon added the comment:
And security issues should be reported according to
https://www.python.org/news/security/ .
--
nosy: +brett.cannon
___
Python tracker
<https://bugs.python.org/issue36
Brett Cannon added the comment:
@Xavier different needs; AST and CST are at different stages of compilation.
--
___
Python tracker
<https://bugs.python.org/issue36
Change by Brett Cannon :
--
assignee: brett.cannon -> cheryl.sabella
___
Python tracker
<https://bugs.python.org/issue35661>
___
___
Python-bugs-list mai
801 - 900 of 5894 matches
Mail list logo