Change by Eric Snow :
--
nosy: +eric.snow
type: -> behavior
versions: +Python 3.6
___
Python tracker
<https://bugs.python.org/issue35470>
___
___
Python-
Change by Eric Snow :
--
nosy: +barry, brett.cannon
___
Python tracker
<https://bugs.python.org/issue35526>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Lindblad added the comment:
Should windows-steps.yml (line 11) and windows-appx-test.yml committed 6 Dec.
(line 39) both read EXTERNALS_DIR?
--
___
Python tracker
<https://bugs.python.org/issue34
Change by Eric Snow :
--
nosy: +eric.snow
___
Python tracker
<https://bugs.python.org/issue34522>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Eric Snow :
--
nosy: +eric.snow
___
Python tracker
<https://bugs.python.org/issue35381>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
New changeset a909460a09cca79bd051c45b02e650862a57dbd9 by Eric Snow (Michael
Felt) in branch 'master':
bpo-34569: Fix subinterpreter 32-bit ABI, pystate.c/_new_long_object()
(gh-9127)
https://github.com/python/cpyt
Eric Snow added the comment:
Thanks, Michael.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Eric Snow :
The code in Modules/signalsmodule.c (as well as a few other places in the code)
has a concept of a "main" thread. It's the OS thread where Py_Initialize() was
called (and likely the process's original thread). For various good reasons,
w
Eric Snow added the comment:
New changeset fdf282d609fd172d52b59a6f1f062eb701494528 by Eric Snow in branch
'master':
bpo-35423: Stop using the "pending calls" machinery for signals. (gh-10972)
https://github.com/python/cpython/commit/fdf282d609fd172d52b5
Change by Eric Snow :
--
keywords: +patch
pull_requests: +11123
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Eric Snow :
--
keywords: +patch, patch
pull_requests: +11123, 11124
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Eric Snow :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Eric Snow :
--
pull_requests: +11360
___
Python tracker
<https://bugs.python.org/issue33608>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Eric Snow :
--
pull_requests: +11360, 11361
___
Python tracker
<https://bugs.python.org/issue33608>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Eric Snow :
--
pull_requests: +11360, 11361, 11362
___
Python tracker
<https://bugs.python.org/issue33608>
___
___
Python-bugs-list mailing list
Unsub
Change by Eric Fahlgren :
--
type: -> crash
___
Python tracker
<https://bugs.python.org/issue35785>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Eric Fahlgren :
When argparse is configured with an option that takes arguments, then the
script is invoked with the switch but no arguments, a nonsensical exception is
raised during gettext processing.
In the 3.7.1 source, the error is at line 2077 of argparse.py, where
Eric Fahlgren added the comment:
After a bit more digging, it's a side effect of having the locale set with
'Plural-Forms'. I've attached the resulting .mo file, but since it's a binary,
I'm not sure it will work cross-platform, so here's how to recreate
Eric Fahlgren added the comment:
Thanks, I installed 3.7.2 on one of our non-production machines and it appears
that gettext has been fixed, so I'm closing this.
> python -V
Python 3.7.2
> python bpo35785.py --foo
usage: bpo35785.py [-h] [--foo FOO]
bpo35785.py: error: arg
Eric Snow added the comment:
Hi Ma Lin! Thanks for the suggestion. We appreciate your interest in making
Python better.
It's unclear from your messages what is motivating your request. You mentioned
middle school students, but that didn't sound like your actual motivator.
Kn
New submission from Eric Snow :
tl;dr Should all objects in sys.modules look like module objects?
In #35791 Ronald described a problem with a "module" added to sys.modules that
does not have all the attributes a module should have. He also mentioned a
similar problem with ty
Eric Snow added the comment:
FYI, I opened #35806 for typing.io.
--
___
Python tracker
<https://bugs.python.org/issue35791>
___
___
Python-bugs-list mailin
Eric Snow added the comment:
Thanks for clarifying, Ma Lin. At this point there just isn't enough strong
justification for making any change here. So I'm closing the issue.
Also, making a PR for this likely wouldn't be the best use of your time.
However, if you
Eric Snow added the comment:
Thanks for doing this, Raymond!
FYI, I found a couple of places where it still refers to OrderedDict:
1. in the doc entry in collections.rst [1]
2. in the docstring [2]
[1]
https://github.com/python/cpython/commit/0bb4bdf0d93b301407774c4ffd6df54cff947df8#diff
Eric Snow added the comment:
Also, there's a potentially misleading detail that you might consider
correcting in the text. However, making it correct might make it slightly less
clear, so it's a bit of a judgement call on how important it is to be explicit
here. (FWIW, I think
Eric Snow added the comment:
If you prefer, I'd be glad to open separate issues for either thing.
--
___
Python tracker
<https://bugs.python.org/is
Eric Snow added the comment:
FWIW, both PEP 468 (kwargs order) and PEP 520 (class definition order) specify
order-preserving mapping rather than dict. The main difference is that they
are about language features rather than something out of the stdlib
Change by Eric Snow :
--
nosy: +eric.snow
___
Python tracker
<https://bugs.python.org/issue35134>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Eric Snow :
--
nosy: +eric.snow
___
Python tracker
<https://bugs.python.org/issue35258>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Eric Snow :
In November Victor created the Include/cpython directory and moved a decent
amount of public (but not limited) API there. This included the
PyInterpreterState struct. I'd like to move it into the "internal" headers
since it is somewhat
Change by Eric Snow :
--
keywords: +patch
pull_requests: +11623
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Eric Snow :
--
keywords: +patch, patch
pull_requests: +11623, 11624
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Eric Snow :
--
keywords: +patch, patch, patch
pull_requests: +11623, 11624, 11625
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Eric Snow added the comment:
FWIW, I was hoping to the same for PyThreadState but it looks like 6 of its
fields are exposed in "stable" header files via the following macros:
# Include/object.h
Py_TRASHCAN_SAFE_BEGIN
Py_TRASHCAN_SAFE_END
Include.ceval.h
Py_EnterRec
New submission from Lee Eric :
Hi,
I'm not sure if this is the right place to ask after I exhausted several
communication ways. I'm trying to use standard ssl module to get the server
certificate details. If I understand correctly, the certificate I can get only
when the TLS/SSL
Eric Snow added the comment:
FTR, I've had a number of extensive conversations with Davin (over the last
year and a half) about this feature. His choices seemed reasonable (caveat:
I'm not an expert on multiprocessing) and the feature seemed desirable. I did
not rev
Change by Eric Snow :
--
nosy: +eric.snow
___
Python tracker
<https://bugs.python.org/issue32417>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
tl;dr It's too late to change anything here. Also, is it actually a problem in
practice?
At this point enhancements can not go into 2.7 (you're welcome to appeal to the
release manager). The changes to `PyStructSequence` (from bpo-1820) appea
Eric Snow added the comment:
[1] https://devguide.python.org/#status-of-python-branches
--
___
Python tracker
<https://bugs.python.org/issue35914>
___
___
Pytho
Eric Snow added the comment:
FWIW, if folks *are* checking for tuple (and I'd love to know why) then I'd
recommend that they not. :) A more Pythonic (and arguably generally better)
approach would be to stick tightly to what data you need and take advantage of
duck-typing. Whe
Eric Snow added the comment:
Sounds good. I hope that helped.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Eric Snow :
--
pull_requests: -11713
___
Python tracker
<https://bugs.python.org/issue28411>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Eric Snow :
--
pull_requests: -11714
___
Python tracker
<https://bugs.python.org/issue28411>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
FTR, gh-9047 (for issue #34572) mentions this issue.
--
___
Python tracker
<https://bugs.python.org/issue28411>
___
___
Python-bug
Change by Eric Snow :
--
assignee: -> eric.snow
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue28411>
___
___
Python-bugs-list
Eric Snow added the comment:
Perhaps PyImport_GetModule() should aquire-release the module's lock before the
lookup? This would effectively be a call to _lock_unlock_module() in
importlib._bootstrap.
The alternative is to encourage using PyImport_Import() instead, like the PR
has
Change by Eric Snow :
--
pull_requests: -11625
___
Python tracker
<https://bugs.python.org/issue35886>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Eric Snow :
--
pull_requests: -11624
___
Python tracker
<https://bugs.python.org/issue35886>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
Thanks, Antoine.
--
___
Python tracker
<https://bugs.python.org/issue34572>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
Yeah, that makes sense.
--
___
Python tracker
<https://bugs.python.org/issue35943>
___
___
Python-bugs-list mailing list
Unsub
Eric Snow added the comment:
@Victor, do you see any problems with doing this? It will help simplify other
changes I'm working on.
--
___
Python tracker
<https://bugs.python.org/is
Change by Eric Snow :
--
nosy: +ncoghlan
___
Python tracker
<https://bugs.python.org/issue35886>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Eric Snow :
(also see issue #35886)
In November Victor created the Include/cpython directory and moved a decent
amount of public (but not limited) API there. This included the PyThreadState
struct. I'd like to move it into the "internal" headers since
Eric Snow added the comment:
Is "long long" (AKA int64_t) 32 bits or 64 bits on a 32-bit platform? It it's
always 32 bits then there is no problem here. Otherwise I agree we have a
problem to fix. My understanding is that it is the former
Eric Snow added the comment:
Having slept on it and given the extra info you've provided I'm more
comfortable with the proposed solution now. :)
So the result will be that on 32-bit architectures only 32-bit (signed) ints
will be allowed through channels. On 64-bit platforms (
Change by Eric Snow :
--
components: +Interpreter Core -Extension Modules
stage: patch review -> commit review
status: open -> pending
___
Python tracker
<https://bugs.python.org/i
Eric Snow added the comment:
FTR, issue #34569 covered similar ground.
--
status: pending -> open
___
Python tracker
<https://bugs.python.org/issu
Eric Snow added the comment:
+Nick (who may have some insight here)
--
nosy: +eric.snow, ncoghlan
___
Python tracker
<https://bugs.python.org/issue35
Eric Snow added the comment:
On Tue, Feb 12, 2019 at 3:57 AM STINNER Victor wrote:
> A long term solution would to enable -I behavior by default: don't add the
> current directory to sys.path when using -c CMD.
>From what I can recall, it was a conscious decision to
Eric Snow added the comment:
related: issue #13475
--
___
Python tracker
<https://bugs.python.org/issue35969>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
@Guido, I recall a while back you explained the value of adding CWD to
sys.path. Would you mind providing some insight here?
--
nosy: +gvanrossum
___
Python tracker
<https://bugs.python.org/issue35
Eric Snow added the comment:
related: issue #13475
--
___
Python tracker
<https://bugs.python.org/issue35971>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
Note that I've asked Guido to comment about CWD in sys.path on issue #35969.
--
___
Python tracker
<https://bugs.python.org/is
Eric Snow added the comment:
New changeset 16f842da3c862d76a1177bd8ef9579703c24fa5a by Eric Snow (Alexey
Izbyshev) in branch 'master':
bpo-35972: _xxsubinterpreters: Fix potential integer truncation on 32-bit in
channel_send() (gh-11822)
https://github.com/python/cpyt
Eric Snow added the comment:
Thanks, Alexey!
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Eric Snow added the comment:
FWIW, subclassing builtin types is a relatively new thing. There are still a
number of lingering (older) implementation details throughout CPython that were
written assuming no subclassing. I'd guess that this is one of them.
--
nosy: +eric.snow
Eric Snow added the comment:
ack
--
___
Python tracker
<https://bugs.python.org/issue35972>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Eric Snow added the comment:
Alexey, even though the refleak does not appear to be related to your earlier
PR, you are welcome to keep working on this issue. :) If you do then please
add me as a reviewer on whatever PR you make. Also, I'd be glad to answer any
questions you have abou
Eric Snow added the comment:
FYI, the _xxsubinterpreters module serves several purposes. First, it allows
us to more thoroughly test the subinterpreter functionality of CPython (doing
so via _testembed and _testcapi is messy), effectively in
test__xxsubinterpreters. Second, it is the
Eric Snow added the comment:
On Wed, Feb 13, 2019 at 8:42 AM Antoine Pitrou wrote:
> Antoine Pitrou added the comment:
>
> By "relatively new thing", you mean less than 20 years old? :-)
Yeah, looks like it was in the 2.2 release (Dec 2001) for PEP 253.
Anyway, I know o
Eric Snow added the comment:
On Wed, Feb 13, 2019 at 10:56 AM Steve Dower wrote:
> Nick, Victor, Eric, (others?) - are you interested in having a virtual
> whiteboard session to brainstorm how the "perfect" initialization looks? And
> probably a follow-up to brainsto
Eric Snow added the comment:
On Wed, Feb 13, 2019 at 5:09 PM Steve Dower wrote:
> This is why I'm keen to design the ideal *user* API first (that is, write the
> examples of how you would use it) and then figure out how we can make it fit.
> It's kind of the opposite
Eric Snow added the comment:
Thanks, Serhiy. While the benchmark suite is our best tool available for
measuring performance, I'm not sure what slowdown is significant in those
results.
@Victor, any thoughts?
--
___
Python tracker
&
Eric Snow added the comment:
Thanks, Alexey. I've merged the PR.
As to finding and fixing leaks, I'd welcome any help you have to offer. :)
Feel free to open an separate issue. One issue covering all the ones you find
should be enough. If you find any non-trivial leaks or ot
Change by Eric Snow :
--
nosy: +eric.snow
___
Python tracker
<https://bugs.python.org/issue35810>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
Thanks, Victor!
python-dev:
https://mail.python.org/pipermail/python-dev/2019-February/156344.html
Also, my PR already has a What's New entry in the porting section. :)
--
___
Python tracker
<https://bugs.py
Eric Snow added the comment:
@Stefan, is it a problem for Cython if the relevant fields are exposed via
C-API functions rather than directly on PyThreadState?
--
___
Python tracker
<https://bugs.python.org/issue35
Eric Snow added the comment:
Thanks for clarifying. :)
On Mon, Feb 18, 2019 at 1:17 PM Stefan Behnel wrote:
> The exception fields are performance critical, and we try hard to make them
> visible to the C compiler so that swapping around exception state eats up as
> little CP
Eric Frederich added the comment:
I'm wondering if I'm experiencing this same issue.
In a simple directory with a foo.py and a bar.py where foo tries to import from
bar I cannot get it to work with the embeddable 3.6.0 zip, but the standard
3.6.0 that gets "installed" wor
Eric Frederich added the comment:
I can confirm that this is NOT fixed in 3.6.1rc1 embeddable zip.
This is extremely easy to reproduce. Look at the contents of foo.py and
bar.py. Just throw them in the same directory and try to run
C:\path\to\extracted\python.exe foo.py
--
versions
Eric Appelt added the comment:
Thank you for the review and suggestions Nick, Serhiy, and all. I believe that
I have implemented the suggestions here and on github into a new commit on my
pull request which moves the test into an existing module and removes the
notion of a table in favor of a
New submission from Eric Hopper:
The types.coroutine decorator for Python 3.6 (and I suspect for Python 3.6.1 as
well) simply monkey patches the function it's passed and then returns it. This
results in behavior that I found somewhat surprising.
def bar():
yield 5
foo = types.coro
Eric Hopper added the comment:
Here's an update to types.coroutine that fixes the problem for me.
--
Added file: http://bugs.python.org/file46756/types.coroutine.py
___
Python tracker
<http://bugs.python.org/is
Changes by Eric Appelt :
--
pull_requests: +1343
___
Python tracker
<http://bugs.python.org/issue30096>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Appelt added the comment:
I created a PR to update the documentation to use this pattern and follow
Raymond's suggestion of showing both ways to define an abc.
In order to make the examples comprehensible when read from beginning to end, I
reordered the classes so that abc.A
Changes by Eric Appelt :
--
pull_requests: +1360
___
Python tracker
<http://bugs.python.org/issue30117>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Appelt added the comment:
I added a PR to fix these two (in my opinion) spurious failure conditions in
the lib2to3.tests.test_parser.TestParserIdempotency test_parser test with the
following changes to the test:
1. Use the same encoding found in the initial file to write a temp file for
Changes by Eric Wieser :
--
nosy: +Eric.Wieser
___
Python tracker
<http://bugs.python.org/issue30140>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Lebigot added the comment:
Good reference.
Another one would be
https://docs.python.org/3/reference/expressions.html#unary-arithmetic-and-bitwise-operations,
which explicitly indicates that it only makes sense for integer types (which
is useful to keep in mind, as one may think that it
Changes by Eric Snow :
--
nosy: +eric.snow
___
Python tracker
<http://bugs.python.org/issue29723>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Eric Snow :
--
pull_requests: +1732
___
Python tracker
<http://bugs.python.org/issue28411>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Eric Snow :
--
pull_requests: +1734
___
Python tracker
<http://bugs.python.org/issue29102>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
Yes, I still need it. :)
--
___
Python tracker
<http://bugs.python.org/issue29102>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Eric Snow :
--
pull_requests: +1818
___
Python tracker
<http://bugs.python.org/issue22257>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Eric Snow :
--
pull_requests: +1819
___
Python tracker
<http://bugs.python.org/issue22257>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eric Snow added the comment:
New changeset e377416c10eb0bf055b0728cdcdc4488fdfd3b5f by Eric Snow in branch
'master':
bpo-29102: Add a unique ID to PyInterpreterState. (#1639)
https://github.com/python/cpython/commit/e377416c10eb0bf055b0728cdcdc44
Changes by Eric Snow :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Eric Snow added the comment:
New changeset 6b4be195cd8868b76eb6fbe166acc39beee8ce36 by Eric Snow in branch
'master':
bpo-22257: Small changes for PEP 432. (#1728)
https://github.com/python/cpython/commit/6b4be195cd8868b76eb6fbe166acc3
New submission from Eric Snow:
For a variety of reasons, I'd like to be able to manage subinterpreters from
Python code. An initial effort would add a _interpreters module to the stdlib
that exposes the basic functionality of the corresponding C-API.
--
assignee: eric.snow
compo
Changes by Eric Snow :
--
pull_requests: +1839
___
Python tracker
<http://bugs.python.org/issue30439>
___
___
Python-bugs-list mailing list
Unsubscribe:
1501 - 1600 of 6312 matches
Mail list logo