Change by Gregory P. Smith :
--
pull_requests: +18075
stage: commit review -> patch review
pull_request: https://github.com/python/cpython/pull/18718
___
Python tracker
<https://bugs.python.org/issu
Gregory P. Smith added the comment:
keeping this open while i investigate if fixing 3.8 and 3.7 is feasible. if
nothing else i'll try to add a note to the docs about the issue in 3.5-3.8 with
a code sample suggested workaround.
--
resolution: -> fixed
stage: patch review ->
Gregory P. Smith added the comment:
New changeset 02673352b5db6ca4d3dc804965facbedfe66425d by Gregory P. Smith in
branch 'master':
bpo-39769: Fix compileall ddir for subpkgs. (GH-18676)
https://github.com/python/cpython/commit/02673352b5db6ca4d3dc804965facbedfe66425d
Change by Gregory P. Smith :
--
title: Submit the re, json, & csv modules to oss-fuzz testing -> Submit the re,
json, csv, & struct modules to oss-fuzz testing
___
Python tracker
<https://bugs.python.
Gregory P. Smith added the comment:
the concept of a native _Bool seems fuzzy. the important thing for the struct
module is to consume sizeof _Bool bytes from the input stream. how those are
interpreted is up to the platform. So if the platform says a bool is 8 bytes
and it only ever
Change by Gregory P. Smith :
--
components: +Extension Modules
nosy: +gregory.p.smith
stage: -> needs patch
type: -> behavior
___
Python tracker
<https://bugs.python.org/i
Change by Gregory P. Smith :
--
keywords: +patch
pull_requests: +18036
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/18676
___
Python tracker
<https://bugs.python.org/issu
Gregory P. Smith added the comment:
belated postmortem: if there had been tests against the filename encoded in the
pycs living in subdirs as generated by compile_dir, this regression would not
have happened.
--
___
Python tracker
<ht
Gregory P. Smith added the comment:
meaning this regression was introduced in 3.5.
--
versions: +Python 3.5
___
Python tracker
<https://bugs.python.org/issue39
Gregory P. Smith added the comment:
The regression was caused by the parallelization enhancement implementation
from https://bugs.python.org/issue16104
--
___
Python tracker
<https://bugs.python.org/issue39
Gregory P. Smith added the comment:
This caused a regression in behavior. compileall.compile_dir()'s ddir=
parameter no longer does the right thing for any subdirectories.
https://bugs.python.org/issue39769
--
nosy: +gregory.p.smith
___
Python
Gregory P. Smith added the comment:
https://bugs.python.org/issue39769 may be of interest. compileall's ddir= does
not behave properly in recursive subdirectories, it did the right thing in 2.7
which is similar to a combination of compile_dir(dir, prependdir=ddir,
stripdir=dir) after
Gregory P. Smith added the comment:
Ironically 3.9a4 gains some compileall enhancements that could be used as an
awkward workaround from https://bugs.python.org/issue38112:
python 2.7 compile_dir(d, ddir="") behavior can be had with
python 3.9a4 compile_dir(d, prependdir="&q
Gregory P. Smith added the comment:
This has probably been happening for many 3 releases. I noticed it on 3.6 when
investigating a problem with wrong paths in tracebacks coming from code which
we used compileall.compile_dir(src_root, quiet=1, ddir=") on.
I'm guessing ddir= (-d on th
New submission from Gregory P. Smith :
Easiest to demonstrate as such:
```shell
#!/bin/bash
mkdir bug
touch bug/__init__.py
mkdir bug/foo
touch bug/foo/__init__.py
touch bug/foo/bar.py
python3 -m compileall -d "" bug
python2 -m compileall -d "" bug
echo "prefix
Gregory P. Smith added the comment:
Reopening so that spending time on deciding this in the future at least stays
on my radar.
Your workaround sounds like the reasonable, if understandably not pretty
approach for now.
--
resolution: wont fix -> remind
status: closed ->
Change by Gregory P. Smith :
--
keywords: +3.4regression, 3.5regression
___
Python tracker
<https://bugs.python.org/issue25960>
___
___
Python-bugs-list mailin
Gregory P. Smith added the comment:
yes, Popen's use of a lock since that change means that Popen.wait() cannot be
called in an asynchronous context where its own execution could be blocking the
execution of code that would unlock the lock.
at this point we should probably just document
Gregory P. Smith added the comment:
Noted, but making it a keyword only argument would break a lot of existing code
that has always just been passing three positional args. Needless pain.
--
stage: patch review -> resolved
status: open ->
Gregory P. Smith added the comment:
Christian added the SHA3 support so is probably best to comment on this. The
way our hashlib code is structured we always use the
https://github.com/python/cpython/tree/master/Modules/_sha3 implementation
rather than OpenSSL for these algorithms due
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue39536>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by Gregory P. Smith :
--
versions: +Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue29249>
___
___
Python-bugs-list mailin
Gregory P. Smith added the comment:
thanks everyone!
--
resolution: -> fixed
stage: patch review -> commit review
status: open -> closed
versions: +Python 3.9
___
Python tracker
<https://bugs.python.or
Gregory P. Smith added the comment:
backport automation appears unhappy at the moment. I'm keeping this open and
assigned to me to manually run cherry_picker on this for 3.8 and 3.7 (if still
open for non-security fixes).
--
assignee: -> gregory.p.smith
stage: patch rev
Gregory P. Smith added the comment:
New changeset d3ae95e1e945ed20297e1c38ba43a18b7a868ab6 by Gregory P. Smith
(Alex Rebert) in branch 'master':
bpo-35182: fix communicate() crash after child closes its pipes (GH-17020)
(GH-18117)
https://github.com/python/cpython/commit
Gregory P. Smith added the comment:
fwiw, no need to remove that message. We'll want to make the docs clear that
this does not apply to Windows. :)
--
___
Python tracker
<https://bugs.python.org/issue39
New submission from Gregory P. Smith :
For more context, see https://bugs.python.org/issue39375 which seeks to
document the existing caveats.
POSIX lacks any APIs to access the process global environment in a thread safe
manner. Given this, we could _consider_ preventing os.putenv
Gregory P. Smith added the comment:
https://bugs.python.org/issue39376 tracks possible interpreter behavior changes.
--
___
Python tracker
<https://bugs.python.org/issue39
New submission from Gregory P. Smith :
The underlying API calls made by os.putenv() and os.environ[name] = value
syntax are not thread safe on POSIX systems. POSIX _does not have_ any thread
safe way to access the process global environment.
In a pure Python program, the GIL prevents
Gregory P. Smith added the comment:
Thanks Daniel!
--
nosy: +gregory.p.smith
resolution: -> fixed
stage: -> commit review
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Gregory P. Smith :
--
nosy: +christian.heimes
___
Python tracker
<https://bugs.python.org/issue37218>
___
___
Python-bugs-list mailing list
Unsub
Change by Gregory P. Smith :
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue28254>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Gregory P. Smith :
--
versions: +Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python
3.7
___
Python tracker
<https://bugs.python.org/issue13
Gregory P. Smith added the comment:
i believe new work will be done via the new issue. marking this closed. if
there is something not covered by issue38576 that remains, please open a new
issue for it. new discussion on this long issue is easy to get lost in.
--
resolution
Change by Gregory P. Smith :
--
priority: normal -> high
___
Python tracker
<https://bugs.python.org/issue38576>
___
___
Python-bugs-list mailing list
Un
Gregory P. Smith added the comment:
Strictly speaking not all of those _need_ to be touched given the old name is
always going to exist for backwards compatibility. But I agree that we should
update them as part of this regardless.
I'd go forward with a PR.
The only fallout I expect
Gregory P. Smith added the comment:
do we have any buildbots using -X showrefcount?
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue38
Bruno P. Kinoshita added the comment:
Tested locally on Win10 pro, and both suggestions of steve.dower worked. I've
put a PR (https://github.com/python/cpython/pull/17435) based on his second
suggestion.
The rationale being that that way, the format function (zip/bztar/etc) will get
Change by Bruno P. Kinoshita :
--
keywords: +patch, patch
pull_requests: +16914, 16915
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17435
___
Python tracker
<https://bugs.python.org/issu
Change by Bruno P. Kinoshita :
--
keywords: +patch
pull_requests: +16914
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17435
___
Python tracker
<https://bugs.python.org/issu
Bruno P. Kinoshita added the comment:
I think eryksun is correct. Reproduced it locally. Setting to read-only
initially did not raise the issue, but then as administrator I removed the
inherited permissions and set it to read-only for my user, then it raised the
exact same WinError 5
Bruno P. Kinoshita added the comment:
I think this needs a script to reproduce the problem.
Tested first with Anaconda Python 3.7.1 on Win10 Pro. Not able to reproduce the
issue. Smae with the latest version.
Using Python master and Win10Pro and timezone set to NZ (not that really
matter
Change by Bruno P. Kinoshita :
--
pull_requests: +16878
stage: commit review -> patch review
pull_request: https://github.com/python/cpython/pull/17397
___
Python tracker
<https://bugs.python.org/issu
Gregory P. Smith added the comment:
sweet! =)
--
versions: +Python 3.9 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue33387>
___
___
Python-bug
Gregory P. Smith added the comment:
+1 to re-exposing a way to do PEP-523.
PEP-523 added a public API, we unintentionally hid it behind the mask of
Py_BUILD_CORE_MODULE in 3.8. We shouldn't remove PEP-523's abilities without a
deprecation cycle. But given the use cases tend to be "
Change by Gregory P. Smith :
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue38500>
___
___
Python-bugs-list mailing list
Unsubscribe:
Bruno P. Kinoshita added the comment:
Done. Rebased on master too, and edited commit message & GH PR title. Thanks
Giampaolo!
--
___
Python tracker
<https://bugs.python.org/iss
Bruno P. Kinoshita added the comment:
I really liked that improvement, and didn't think it needed to be removed.
That's why the PR reverts it partially. I think the os.stat improvements were
in the other methods changed, and should not be changed in my PR - unless I
changed it by accident
Bruno P. Kinoshita added the comment:
Hi Giampaolo,
I think it is more or less the same as the previous code, which was using
os.list to return a list in memory. My first tentative fix was:
def copytree(src, ...):
entries = os.list(src)
return _copytree(entries=entries
Change by pmp-p :
--
nosy: +twouters
___
Python tracker
<https://bugs.python.org/issue38791>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue38791>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Bruno P. Kinoshita added the comment:
Hi,
I did a quick `git bisect` using the example provided, and looks like this
regression was added in the fix for bpo-33695, commit
19c46a4c96553b2a8390bf8a0e138f2b23e28ed6.
It looks to me that the iterator returned by with os.scandir
Change by Bruno P. Kinoshita :
--
keywords: +patch
pull_requests: +16604
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/17098
___
Python tracker
<https://bugs.python.org/issu
Change by Bruno P. Kinoshita :
--
pull_requests: +16605
pull_request: https://github.com/python/cpython/pull/17098
___
Python tracker
<https://bugs.python.org/issue33
Gregory P. Smith added the comment:
.cleandoc is _probably_ more of what people want than .dedent? I hadn't
bothered to even try to pick between the two yet.
--
___
Python tracker
<https://bugs.python.org/issue36
Gregory P. Smith added the comment:
Another option not using a new letter: A triple-backtick token.
def foo():
value = ```this is a
long multi line string i don't want indented.
```
A discuss thread was started so I reconnected it with this issue. See
https
Change by Gregory P. Smith :
--
keywords: +patch
pull_requests: +16569
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/17058
___
Python tracker
<https://bugs.python.org/issu
New submission from Gregory P. Smith :
importlib is full of str.format calls, modernizing it to use f-strings is a
slight performance win and much more readable.
--
assignee: gregory.p.smith
messages: 356005
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title
New submission from Gregory P. Smith :
We started down this path in https://bugs.python.org/issue31961 but had to
revert part of that before 3.7 as the implementation was incomplete making it
inconsistent across platforms. https://github.com/python/cpython/pull/4329.
Specifically accepting
New submission from Gregory P. Smith :
Creating an enum subclass (ie: defining an enum) is slow. This dramatically
impacts startup time of Python programs that import a bunch of potentially
needed constant definitions at startup before any proper code executes.
How slow? So slow
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue38634>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue3>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by pmp-p :
--
nosy: +pmpp
___
Python tracker
<https://bugs.python.org/issue28833>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by Gregory P. Smith :
--
stage: -> needs patch
___
Python tracker
<https://bugs.python.org/issue38576>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Gregory P. Smith :
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue38576>
___
___
Python-bugs-list mailing list
Unsubscribe:
Gregory P. Smith added the comment:
I'm marking this fixed, technically it still exists in 2.7. it'll be up to
someone who cares about making a change to 2.7 to make a PR to go in there for
the final release. It has existed so long, I doubt it matters there.
--
resolution
Gregory P. Smith added the comment:
(read that as: feel free to keep the behavior for co_filename and path[0] and
lets see what happens :)
--
___
Python tracker
<https://bugs.python.org/issue20
Gregory P. Smith added the comment:
I think sys.argv[0] is the important one as program logic often tends to use
that as an input.
I'm honestly unsure of if this will be as much of a problem for .co_filename or
sys.path[0].
--
___
Python tracker
Gregory P. Smith added the comment:
There isn't really much we can do without a reasonable repeatable way to
reproduce the problem.
--
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue38
Change by Gregory P. Smith :
--
title: Make lib2to3 grammar more closely match Python -> Make lib2to3 grammar
better match Python, support the := walrus
___
Python tracker
<https://bugs.python.org/issu
Change by Gregory P. Smith :
--
assignee: -> gregory.p.smith
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue36541>
___
___
Python-
Change by Gregory P. Smith :
--
versions: +Python 2.7
___
Python tracker
<https://bugs.python.org/issue33348>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Gregory P. Smith :
--
assignee: -> gregory.p.smith
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue33348>
___
___
Python-
Change by Gregory P. Smith :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> lib2to3 doesn't parse f(*[] or [])
versions: +Python 3.8, Python 3.9 -Python 3.6
___
Python tracker
<https://
Change by Gregory P. Smith :
--
versions: +Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue33348>
___
___
Python-bugs-list mailin
Change by Gregory P. Smith :
--
versions: +Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue36541>
___
___
Python-bugs-list mailin
Gregory P. Smith added the comment:
Please revert. An absolute path changes semantics in many real world
situations (altering symlink traversals, etc). People expect the current
sys.argv[0] behavior which is "similar to C argv" and matches what was passed
on the interpreter co
Gregory P. Smith added the comment:
Thanks Girts!
--
resolution: -> fixed
stage: patch review -> commit review
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Gregory P. Smith :
--
assignee: -> gregory.p.smith
nosy: +gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue30618>
___
___
Python-
Gregory P. Smith added the comment:
can this be closed?
--
nosy: +gregory.p.smith
status: pending -> open
___
Python tracker
<https://bugs.python.org/issu
Gregory P. Smith added the comment:
Can you please open a separate issue for CVE-2019-18348? It is easier to track
that way.
(META: In general I think the CVE process is being abused and that these really
did not deserve that treatment. https://lwn.net/Articles/801157/ is good
reading
Change by Gregory P. Smith :
--
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue34776>
___
___
Python-bugs-list mailing list
Unsubscribe:
pack and run::
python demo.py
Release info and download page:
https://pypi.org/project/roundup
Source and documentation is available at the website:
http://roundup-tracker.org/
Mailing lists - the place to ask questions:
https://sourceforge.net/p/roundup/mailman/
About Roundup
Change by Gregory P. Smith :
--
resolution: -> fixed
stage: patch review -> commit review
status: open -> closed
versions: +Python 3.9 -Python 3.8
___
Python tracker
<https://bugs.python.or
Gregory P. Smith added the comment:
New changeset f33c57d5c780da1500619f548585792bb5b750ee by Gregory P. Smith in
branch 'master':
bpo-33604: Raise TypeError on missing hmac arg. (GH-16805)
https://github.com/python/cpython/commit/f33c57d5c780da1500619f548585792bb5b750ee
Change by Gregory P. Smith :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Gregory P. Smith added the comment:
If I compile my own 3.7.5 and 3.8.0 both with --enable-optimizations, I am
unable to reproduce this.
greg@zoonaut:~/sandbox/python/cpython/lh$ ../b37/python permutations2x2
--max_depth 6 | egrep "^# Total_Time"
# Total_Time: 75.92
greg@zoonaut
Gregory P. Smith added the comment:
BTW, if you want the type annotation that'd be used for this, 3.8 effectively
removes the Optional[] from the one listed in:
https://github.com/python/typeshed/blob/master/stdlib/2and3/hmac.pyi#L16
Change by Gregory P. Smith :
--
assignee: -> gregory.p.smith
___
Python tracker
<https://bugs.python.org/issue33604>
___
___
Python-bugs-list mailing list
Un
Gregory P. Smith added the comment:
Thanks for the feedback. Better late than never. :)
A default algorithm is a bad thing when it comes to authentication. Explicit
is better than implicit. A default regularly becomes obsolete as math and
cryptanalysis methods move forward and need
Change by Gregory P. Smith :
--
pull_requests: +16362
stage: commit review -> patch review
pull_request: https://github.com/python/cpython/pull/16805
___
Python tracker
<https://bugs.python.org/issu
Gregory P. Smith added the comment:
I assume the CI systems are shared and potentially noisy. It should be easier
to look at some logs from slower buildbots. but sadly test_subprocess has
fallen off the list of "10 slowest tests" that timing info is supplied for.
concurre
Gregory P. Smith added the comment:
New changeset 4f0587f161786318cdfa22c42459676fa42aacb6 by Gregory P. Smith in
branch '3.8':
[3.8] bpo-38456: Use /bin/true in test_subprocess (GH-16737)
https://github.com/python/cpython/commit/4f0587f161786318cdfa22c42459676fa42aacb6
Change by Gregory P. Smith :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue38473>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Gregory P. Smith :
--
pull_requests: +16316
pull_request: https://github.com/python/cpython/pull/16737
___
Python tracker
<https://bugs.python.org/issue38
Gregory P. Smith added the comment:
New changeset 67b93f80c764bca01c81c989d74a99df208bea4d by Gregory P. Smith in
branch 'master':
bpo-38456: Use /bin/true in test_subprocess (GH-16736)
https://github.com/python/cpython/commit/67b93f80c764bca01c81c989d74a99df208bea4d
Change by Gregory P. Smith :
--
keywords: +patch
pull_requests: +16315
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16736
___
Python tracker
<https://bugs.python.org/issu
New submission from Gregory P. Smith :
test_subprocess is one of our long running tests, this slows down CI and
buildbots. There is room for improvement in its total execution time.
Use this issue as a rollup issue for any such work. we need to keep it
reliable, just focus on reducing
Gregory P. Smith added the comment:
Now to see if the more esoteric config buildbots find any platform issues to
address...
--
resolution: -> fixed
stage: patch review -> commit review
status: open -> closed
___
Python tracke
Gregory P. Smith added the comment:
New changeset f3751efb5c8b53b37efbbf75d9422c1d11c01646 by Gregory P. Smith in
branch 'master':
bpo-38417: Add umask support to subprocess (GH-16726)
https://github.com/python/cpython/commit/f3751efb5c8b53b37efbbf75d9422c1d11c01646
801 - 900 of 5107 matches
Mail list logo