Change by Steve Dower :
--
pull_requests: +20641
pull_request: https://github.com/python/cpython/pull/21499
___
Python tracker
<https://bugs.python.org/issue41
Change by Steve Dower :
--
title: test_subprocess timing out randomly on Windows ->
test_subprocess.test_pause_reading timing out randomly on Windows
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
FYI, issue41304 fixed a regression in this patch in 3.7 and later. The
regression shipped in 3.8.4 and 3.9.0b4, but will be fixed in the subsequent
releases.
--
___
Python tracker
<https://bugs.python.
Steve Dower added the comment:
For clarity, this was caused by the fix for issue29778, and was only released
in 3.8.4 and 3.9.0b4. No other versions had a release before the fix was merged.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -&g
Steve Dower added the comment:
This is now assigned CVE-2020-15801
--
title: python 38 embed ignore python38._pth file on windows -> [CVE-2020-15801]
python 38 embed ignore python38._pth file on windows
___
Python tracker
<https://bugs.pyth
Change by Steve Dower :
--
pull_requests: +20658
pull_request: https://github.com/python/cpython/pull/21521
___
Python tracker
<https://bugs.python.org/issue41
Steve Dower added the comment:
New changeset 79ed1a53fa44a1b74e3c24c9d5f698abd9610921 by Miss Islington (bot)
in branch '3.8':
bpo-41304: Update NEWS to include CVE-2020-15801 reference (GH-21521)
https://github.com/python/cpython/commit/79ed1a53fa44a1b74e3c24c9d5f698
Steve Dower added the comment:
New changeset a16ac4e43c8ed15bf2fca52df3a0a5de26ad2705 by Miss Islington (bot)
in branch '3.9':
bpo-41304: Update NEWS to include CVE-2020-15801 reference (GH-21521)
https://github.com/python/cpython/commit/a16ac4e43c8ed15bf2fca52df3a0a5
Steve Dower added the comment:
It already returns a non-zero exit code (should be (IIRC) 9009 to match the
built-in cmd.exe result), and I've been trying to get the message added for at
least a year now.
Unfortunately, I can only push it so far before it has to work through the
Wi
Steve Dower added the comment:
It's already gone through the correct channels, so any other submissions will
be duped by the triagers.
The best person to post at is me, but I've suffered enough for it :) I'm
pushing.
--
___
Steve Dower added the comment:
I wonder whether we should be more specific about the shells that shlex works
for? Since WSL makes *sh (Bash, Dash, Sh, etc.) easily available on Windows,
and I believe PowerShell on Linux keeps its own quoting rules
Steve Dower added the comment:
> Python-3.8.4rc1 and Python-3.9.0b4 are still with SQLite-3.31.1.
Someone still had to send a PR to update the main build. It's not automatic,
otherwise you wouldn't be able to reproduce older builds.
I'll do it now. It'll
Change by Steve Dower :
--
pull_requests: +20713
pull_request: https://github.com/python/cpython/pull/21570
___
Python tracker
<https://bugs.python.org/issue40
Steve Dower added the comment:
New changeset 84761c3cc4bac31d471e371c53a338686d4b0241 by Steve Dower in branch
'master':
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
https://github.com/python/cpython/commit/84761c3cc4bac31d471e371c53a338
Steve Dower added the comment:
Closing this one now.
Let's use a new issue next time there's a need to update SQLite.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<h
Steve Stagg added the comment:
This appears to be a bug with the google colab site.
For whatever reason, if you try to evaluate a statement that is a line with a
leading comma (afaik, never valid python), then colab does something wierd by
wrapping the arguments in quotes, and evaluating
Steve Dower added the comment:
> Windows 10 has a "Feedback Hub" to report problems and search for existing
> feedback that's similar.
This is the correct channel, but ultimately the "real" issue tracker is
private, so all you'll ever get is &quo
New submission from Steve Dower :
The uuid module calls platform.system() multiple times, even when the result is
known from sys.platform. We can avoid some of these.
--
assignee: steve.dower
components: Library (Lib)
messages: 374079
nosy: steve.dower
priority: normal
severity
Change by Steve Dower :
--
keywords: +patch
pull_requests: +20726
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21586
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
New changeset bf2f76ec0976c09de79c8827764f30e3b6fba776 by Steve Dower in branch
'master':
bpo-41364: Reduce import overhead of uuid module (GH-21586)
https://github.com/python/cpython/commit/bf2f76ec0976c09de79c8827764f30
Change by Steve Dower :
--
pull_requests: +20730
pull_request: https://github.com/python/cpython/pull/21591
___
Python tracker
<https://bugs.python.org/issue41
Steve Dower added the comment:
New changeset a18f22ab11a7bfb5ff3e74c737ca9e1bebe4abf9 by Steve Dower in branch
'3.8':
bpo-41364: Reduce import overhead of uuid module (GH-21586)
https://github.com/python/cpython/commit/a18f22ab11a7bfb5ff3e74c737ca9e
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
It seems like you're trying to launch the python.exe that is created for a
virtual environment rather than the actual one. This probably means that at
some point you created a virtual environment and updated your file association
to launch it.
The best
Steve Dower added the comment:
> it fails with this error means you're running a virtual-environment launcher
> instead of a base Python executable.
Exactly. It sounds like you probably searched for pythonw.exe and found the one
in Lib/venv/scripts/nt instead of the actual one.
Steve Stagg added the comment:
It's possible that RPi.GPIO (or another C extension) is mis-managing reference
counts, resulting in it freeing or trying to free an object at the wrong time.
If that object is a common value, or the branch that causes the refcount issue
is uncommon, i
Steve Stagg added the comment:
Joan, is that your *actual* password in the example code? If so, I'd recommend
changing it wherever you've used it.
--
nosy: +stestagg
___
Python tracker
<https://bugs.python.o
Steve Dower added the comment:
I thought we already made it fail? (Checks) No we did not. Guess I
misremembered that.
I'll fix this tomorrow. We need it, or else we'll be inundated with these
reports for the entire life of 3.9.
--
assignee: -> steve.dower
pri
Steve Dower added the comment:
Assuming it fits, I'm going to update the 3.9+ post-install message to this
(assume the HTML renders normally). Any comments?
New to Python? Start with the <a
href="https://docs.python.org/[ShortVersion]/tutorial/index.html">online
tuto
Steve Dower added the comment:
Added a screenshot, after tweaking the spacing just a little.
--
Added file: https://bugs.python.org/file49343/postinstall.png
___
Python tracker
<https://bugs.python.org/issue40
Change by Steve Dower :
--
keywords: +patch
pull_requests: +20799
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21656
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
pull_requests: -20800
___
Python tracker
<https://bugs.python.org/issue40947>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Steve Dower :
--
nosy: +steve.dower
nosy_count: 2.0 -> 3.0
pull_requests: +20800
pull_request: https://github.com/python/cpython/pull/21656
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
keywords: +patch
pull_requests: +20801
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21656
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
nosy: -steve.dower
___
Python tracker
<https://bugs.python.org/issue40947>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
I changed the middle paragraph to this:
See <a
href="https://docs.python.org/[ShortVersion]/whatsnew/[ShortVersion].html">what's
new</a> in this release, or find more info about <a
href="https://docs.python.org/[ShortVersion
Steve Dower added the comment:
New changeset 37a06cbe5c17c2aa6ad938339fd42531a8a0bea0 by Steve Dower in branch
'master':
bpo-41412 and bpo-40948: Windows installer updates (GH-21656)
https://github.com/python/cpython/commit/37a06cbe5c17c2aa6ad938339fd425
Steve Dower added the comment:
New changeset 37a06cbe5c17c2aa6ad938339fd42531a8a0bea0 by Steve Dower in branch
'master':
bpo-41412 and bpo-40948: Windows installer updates (GH-21656)
https://github.com/python/cpython/commit/37a06cbe5c17c2aa6ad938339fd425
Steve Dower added the comment:
Leaving this open until we can validate on the next release. I don't have
convenient access to old versions of Windows anymore (and don't have time to
deal with inconvenient access this week).
--
priority: release blocker -> deferred
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
I just started running into a failure that looks like this on some private
builds (Xcode_11.3.1 on macOS-10.14.6-x86_64-i386-64bit):
==
FAIL: test_setsid (test.test_posix.TestPosixSpawnP
Steve Dower added the comment:
At a glance, it looks like ENTER_PYTHON will *restore* the GIL on the current
thread, but it may be coming in on a thread that's never seen the GIL before.
"The GIL" is actually the Python thread state, which is actually a per-thread
data s
Steve Dower added the comment:
It might help, but it will leave your install broken in a number of other ways.
For other people finding this issue, please share your install logs (look in
%TEMP% for the most recently created set of "python*.log" files). Also share
your PATH, PYTH
Change by Steve Dower :
--
components: +Installation
___
Python tracker
<https://bugs.python.org/issue40395>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
Yes, if you use -E then you need to provide the dependencies in some other way.
The option is there to suppress network access at build time, not to build
without those modules.
--
___
Python tracker
<ht
Steve Dower added the comment:
Oh great, it's one of these style changes :)
You probably want to define some macros for those barriers so the added
optional nesting doesn't come back to bite us later.
Otherwise, best of luck! Let me know if I can help out (for now I'm jus
Steve Dower added the comment:
As Eryk says, the defaults include the "py" launcher, which is now recommended
at the end of installation. Python is also available from the Start
menu/screen, and PEP 514 allows other tools to reliably detect and offer Python
installs.
Modifying P
New submission from Steve Dower :
I'm doing the PR now, based on the latest versions available today:
https://pypi.org/project/pip/20.2.1/
https://pypi.org/project/setuptools/49.2.1/
If you're a maintainer and there's a reason to not update to to the latest,
please let me kn
Change by Steve Dower :
--
keywords: +patch
pull_requests: +20892
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21748
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
Test failure on Windows. I'll take a look tomorrow.
==
FAIL: test_with_pip (test.test_venv.EnsurePipTest)
--
Traceback
New submission from Steve Dower :
At some point, Windows started displaying an authenticated certificate property
as the display name in UAC prompts, rather than the file properties.
Currently our SigningDescription is set to the build identifier, which is not a
nice display name. We should
Change by Steve Dower :
--
keywords: +patch
pull_requests: +20899
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21754
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
Yes, it only affects Windows OS.
On all other platforms, the python38._pth file is _always_ ignored. We have not
implemented this support for those platforms.
--
___
Python tracker
<https://bugs.python.
Steve Dower added the comment:
New changeset 777b611c8c5676b80898a429f71d28e59bddc49d by Steve Dower in branch
'master':
bpo-41492: Fixes the description appearing in UAC prompts on Windows (GH-21754)
https://github.com/python/cpython/commit/777b611c8c5676b80898a429f71d28
Steve Dower added the comment:
The issue above doesn't appear to repro on 3.9, so I guess master has started
leaking a file handle, presumably in zipimport.
I'll see what I can track down, but can't be sure I'll have enough time to get
it done for RC, so if anyone el
Steve Dower added the comment:
Okay, I've tracked it down to the new importlib.readers.ZipReader class keeping
the zip file open, presumably until it gets GC'd. This is used by certifi to
extract the CA certs from the whl when ensurepip is doing the self-install from
the mou
Steve Dower added the comment:
Added some test cases to the PR that directly trigger the issue, specifically
this one:
def test_entered_path_does_not_keep_open(self):
# This is what certifi does on import to make its bundle
# available for the process duration.
c
Change by Steve Dower :
--
pull_requests: +20919
pull_request: https://github.com/python/cpython/pull/21774
___
Python tracker
<https://bugs.python.org/issue41
Change by Steve Dower :
--
pull_requests: +20920
pull_request: https://github.com/python/cpython/pull/21775
___
Python tracker
<https://bugs.python.org/issue41
Steve Dower added the comment:
GitHub Actions has decided not to run CI today, so you'll have to look at Azure
Pipelines for the test failures:
https://dev.azure.com/Python/cpython/_build/results?buildId=67152&view=logs&j=c83831cd-3752-5cc7-2f01-8276919eb334&t=5a421c
Steve Dower added the comment:
New changeset 135de08128a76f49752ac57c316129500275e828 by Steve Dower in branch
'3.8':
bpo-41490: Update ensurepip to install pip 20.2.1 and setuptools 49.2.1
(GH-21775)
https://github.com/python/cpython/commit/135de08128a76f49752ac57c316129
Change by Steve Dower :
--
versions: -Python 3.8
___
Python tracker
<https://bugs.python.org/issue41490>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
New changeset 70e9243a55be9c32b41f2149cdfa3957f96f8471 by Steve Dower in branch
'3.9':
bpo-41490: Update ensurepip to install pip 20.2.1 and setuptools 49.2.1
(GH-21774)
https://github.com/python/cpython/commit/70e9243a55be9c32b41f2149cdfa39
Change by Steve Dower :
--
versions: -Python 3.9
___
Python tracker
<https://bugs.python.org/issue41490>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
The Python 3.8 and 3.3 installers will not conflict at all, as they are
completely different.
If that is your log file, we'll also need the file in your %TEMP% directory
that includes "core_JustForMe" in the name, as that's the subinsta
Steve Dower added the comment:
The trailing colon is unnecessary, and likely to cause more issues, but the
same thing occurs for Path('NUL').resolve()
This is probably best handled as issue37517, where you'll find more background
on the error messages.
But I believe that p
Steve Dower added the comment:
So it'll take a bit more rearranging to get everything to fit - I've attached
one proposal that shuffles the thanks to Mark Hammond down below the "enable
long path names" button. (It's grey text in the screenshot, but I've
Steve Dower added the comment:
Thanks, Mark. We shall not hold you solely responsible for the port any longer
;)
--
___
Python tracker
<https://bugs.python.org/issue41
Change by Steve Dower :
--
keywords: +patch
pull_requests: +20996
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21871
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
New changeset 6444ca946984c638c67a72aac22fd6d3cc650c16 by Steve Dower in branch
'master':
bpo-41526: Fixed layout of final page of the installer (GH-21871)
https://github.com/python/cpython/commit/6444ca946984c638c67a72aac22fd6
Steve Dower added the comment:
Fixes merged, just need Ćukasz to confirm it'll be in 3.9.0 and we can resolve
this.
--
nosy: +lukasz.langa
___
Python tracker
<https://bugs.python.org/is
Steve Dower added the comment:
This is normal, if obscure, behaviour. Pythonw starts without a console, and so
stdout is not connected to anything. As a result, you can't print (or pprint).
You'll need to set sys.stdout to something or provide a file if you want to
print output.
Steve Dower added the comment:
Thanks for the report! This should be in the next 3.9 RC.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
I'm inclined to agree that it should pass silently in this case, as if it were
printing with print() rather than .write().
What better meaning is there for sys.stdout == None than "no output"?
--
versions: +Python 3
Steve Dower added the comment:
Are you able to capture a process dump at the hang? I haven't seen this
anywhere else, and don't even know how to go about trying to reproduce it with
this information - Py_Initialize is called by every single Python process, so
there's somethin
Change by Steve Dower :
--
versions: -Python 3.5, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue41376>
___
___
Python-bugs-list mailin
Steve Dower added the comment:
Assuming the fix for this was released, given lack of other information.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Steve Dower :
Currently, the user site packages on Windows is %APPDATA%\Python\PythonXY. This
can cause conflicts between the 32-bit and 64-bit versions of the runtime.
We should switch the pattern to Python{sys.winver}, which is XY or XY-32, the
same as elsewhere.
This
Steve Dower added the comment:
Any input from the asyncio experts?
I don't have an issue with handling the exception in this case, and hopefully
when someone is up to the task of dealing with the range of edge cases
throughout this loop implementation, hopefully they can get the orderi
Steve Dower added the comment:
> The problem is that Powershell has case-sensitive commands and pip is trying
> to call path completely in minor case
This is not normal configuration. I'm not sure what you've done here, but
please open a new issue with details about how
Steve Dower added the comment:
The curses module is currently not supported on Windows, and this patch is far
more than just updating the VS build. I've updated the title.
Refer to issue31951 for more context.
This will need more work than what's been done in the pull request,
Steve Dower added the comment:
Unfortunately, it's easier to change what we distribute, except that has
_always_ been "include" (based on a 2.4 installer I had laying around). And of
course we can't change the repo.
Still, case sensitivity is becoming more acceptable
Steve Dower added the comment:
Thanks, Ben!
--
___
Python tracker
<https://bugs.python.org/issue39010>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
> Could sigint_event be relocated to a platform-dependent extension of
> _PyRuntimeState that gets initialized and finalized independent of any module?
This, or leaving it where it is and making sure it gets initialised (it really
is about emulating c
Steve Dower added the comment:
I've considered DoSing myself a few times, but then change my mind and just
publish the release :)
A PR to change it to "(\d+\.\d+\.\d+)([a-zA-Z]+\d+)?$" would be fine, but is
not urgent. It certainly doesn't need to be backported, as thi
Change by Steve Dower :
--
keywords: +patch
pull_requests: +21185
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/22098
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
> If it is otherwise possible to user-only install both 32 and 64 bit versions,
> then using the same site-packages strikes me a bug
It's very easy to install both 32 and 64-bit runtimes (and it doesn't matter if
they're user or system
Steve Dower added the comment:
So I found the "owner" of the HTML Help component in Windows (I put owner in
quotes because this tool is _very_ maintenance mode, so nothing short of a
critical vulnerability is going to be touched) and he helped me do some
debugging.
In short, the
Steve Dower added the comment:
New changeset dd18001c308fb3bb65006c91d95f6639583a3420 by Steve Dower in branch
'master':
bpo-41627: Distinguish 32 and 64-bit user site packages on Windows (GH-22098)
https://github.com/python/cpython/commit/dd18001c308fb3bb65006c91d95f66
Steve Dower added the comment:
> With the change in PR 22098, the 32-bit interpreter will install to a
> different location.
To clarify this, I meant the 32-bit interpreter will install *packages* to a
different location (when using the user scheme).
--
assignee: -> st
Steve Dower added the comment:
Thanks for the contribution! I think I only ever tested this with the 64-bit
package... :)
Could you make it so that we include the file under both names? Just for anyone
(like me) who has hard-coded the python.props name and parametrised the
directory name
Change by Steve Dower :
--
versions: +Python 3.10, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue41744>
___
___
Python-bugs-list mailin
Steve Dower added the comment:
In general, if a bug here appears to be inactive, it's probably waiting on
someone to volunteer to move it forward. Often merely posting to a thread is
enough.
For this case, I think the best thing we can probably do is change the default
share mode for
Steve Dower added the comment:
Issue41490 can also be fixed by using FILE_SHARE_DELETE on all opened files
(and that's a release blocker, so we need to fix it somehow), and if DeleteFile
has been updated as you suggest then it might even help with the "pip replacing
its
Steve Dower added the comment:
The comment you quoted was referring to the NamedTemporaryFile(do_not_delete)
flag.
Yes, we'd have to reimplement the UCRT function using the system API.
Ultimately, it's not a great compatibility layer if you want to match POSIX
semantics and not
Steve Dower added the comment:
We'd CreateFile the file and then immediately pass it to _open_osfhandle, which
would keep the semantics the same apart from the share flags.
I'm not entirely against getting rid of O_TEXT support, but haven't taken the
time to think through t
Steve Dower added the comment:
Thanks! Just need a NEWS file (click Details next to the failed check for the
helper app). Something like "Fixes automatic import of props file when using
the Nuget package" would be good.
(Also posted
Steve Dower added the comment:
If you look at the PR into 3.9, it includes a test for this exact case. Start
by copying that into 3.10 and then make it pass and everything should be good :)
--
___
Python tracker
<https://bugs.python.
Steve Dower added the comment:
No objections. I'd guess it was a typo.
--
___
Python tracker
<https://bugs.python.org/issue41729>
___
___
Python-bugs-list m
Steve Dower added the comment:
New changeset 8f2b991eef062c22c429a96983c78be007180b66 by Zackery Spytz in
branch 'master':
bpo-41646: Mention path-like objects support in the docs for shutil.copy()
(GH-22208)
https://github.com/python/cpython/commit/8f2b991eef062c22c429a96983c78b
2301 - 2400 of 6138 matches
Mail list logo