Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Steve Dower added the comment:
Everyone probably noticed, but I closed all the other distutils-tagged issues
(as stated in the PEP), so now this is the only one left.
Anything new that is opened that relates to distutils either needs to be a
release blocker (very unlikely), or closed and
Steve Dower added the comment:
shutil.which is the supported replacement for that function.
--
___
Python tracker
<https://bugs.python.org/issue21821>
___
___
Steve Dower added the comment:
I just installed aiohttp into 3.10.0a5 without issue, though some packages did
have to rebuild. I'm very much leaning towards marking this as external, but
interested to hear whether Giovanni has done something different that should
have w
Steve Dower added the comment:
Existing distutils bugs are closed under PEP 632. New issues will be considered
if they are release blockers, but (by definition) no existing issue meets this
bar.
--
resolution: -> out of date
stage: -> resolved
status: open -&g
Steve Dower added the comment:
Yeah, system policy is not something we can work around.
If you can, maybe try installing for all users? (Under customised install
options.) You might have to right click the installer and run as an
administrator, which sometimes helps get around these
Steve Dower added the comment:
Oh, you might also be able to install Python from the Microsoft Store more
easily - open the Store app and search for it. It's identical, just packaged
differently.
--
___
Python tracker
<https://bugs.py
Change by Steve Dower :
--
keywords: +patch
pull_requests: +23286
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24485
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
New changeset b74396c3167cc780f01309148db02709bc37b432 by Steve Dower in branch
'master':
bpo-43166: Disable ceval.c optimisations for Windows debug builds (GH-24485)
https://github.com/python/cpython/commit/b74396c3167cc780f01309148db027
Steve Dower added the comment:
Eryk answered the question sufficiently, here's the link to the
add_dll_directory docs:
https://docs.python.org/library/os.html#os.add_dll_directory
--
resolution: -> not a bug
stage: -> resolved
status: ope
Steve Dower added the comment:
In principle I agree, but need to spend some time thinking about the
compatibility implications. We've already changed the download page for 3.10,
so changing the download names as well won't hurt too much - I don't think
there's a real nee
Steve Dower added the comment:
The new property should go into PCbuild/pyproject.props, but otherwise seems
like an okay change.
It *will* cause any string literals (const char *) to be UTF-8, but they ought
to all be ASCII anyway. It shouldn't affect resource files, because those ha
Steve Dower added the comment:
I think you copy-pasted that code snippet incorrectly, because it has
mismatched quotes.
Can you paste the correct code?
Also, please attach both files that are not comparing equal, ideally in a ZIP
file (to avoid any modifications in transit), so that we can
Steve Dower added the comment:
I think so, yeah. We shouldn't have any string literals that are non-ASCII, but
if we do then it's almost certainly an improvement for them to be UTF-8.
--
___
Python tracker
<https://bugs.python.o
Steve Dower added the comment:
I don't think this is resolvable without either being fixed by WiX Toolset or
us completely rewriting the installer. And they've already shown very little
interest in fixing this.
That said, WiX Toolset was eventually funded to fix the MSI hijac
Steve Dower added the comment:
I'm afraid there's nowhere near enough context in your post for us to look into
this.
Can you provide some code that you think *should* work but does not? Ideally in
a post (as in, it should be that short) or as an
Steve Dower added the comment:
This line won't work on Windows: shell.run("rm -rf .cache".split(),
cwd=repository)
You should probably use shutil.rmtree(".cache") instead if you want it
to be cross platform.
--
_
Change by Steve Dower :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue43
Steve Dower added the comment:
> since they're allowed, I think importlib at least could try to resolve
> relative paths in a copy of sys.path before searching.
I agree with this fix. They can be resolved for each new import, if we think
that's an important behaviour to
Steve Dower added the comment:
Is this the same as the other issue where get_locale is normalising the result
according to some particular glibc logic and isn't at all portable?
--
___
Python tracker
<https://bugs.python.org/is
Steve Dower added the comment:
Looks like someone increased the size of locals in the ceval functions.
If any new buffers have been added recently, moving the processing into a
helper function or using a single buffer instead of allocating them in separate
if/case blocks can help reduce it
Steve Dower added the comment:
Looks like we missed Christian's last message...
Have OpenSSL made an updated release? If this issue is as bad as the short
description above sounds, I expect they would have.
It's possible to rebuild with the patch, but easier if it's a
Steve Dower added the comment:
Same as issue33935, but since the newer issue has proposed solutions on it
already, I'm preferring to keep that one open.
--
resolution: -> duplicate
stage: test needed -> resolved
status: open -> closed
Steve Dower added the comment:
Closed due to PEP 632 (distutils is now deprecated).
Changes to support this should go into setuptools or another build backend. I'm
already trying to get some resources together to help these other projects
build/test on ARM64, so that should help. If so
Steve Dower added the comment:
That's the best solution.
Alternatively, you can install the debug binaries of CPython using the option
in the installer, recompile 3rd party packages from source, and use true debug
builds that way.
Unfortunately, there's not much we can do about
Steve Dower added the comment:
Probably an easy fix, if someone has a Win7 machine around to test on (which I
don't these days). There are some UI level comparisons in the bootstrapper C++
file under Tools/msi that probably need fixing.
Not urgent. Won't be long until Win10 is th
Steve Dower added the comment:
New changeset b4af629f4d4868ef74ee298d66259fae78c7fd89 by Austin Lamb in branch
'master':
bpo-42825: Enable /OPT:REF (GH-24098)
https://github.com/python/cpython/commit/b4af629f4d4868ef74ee298d66259f
Steve Dower added the comment:
The ping was enough. Thanks!
--
assignee: -> steve.dower
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Steve Dower added the comment:
This should mean that you haven't got the Windows SDK installed, though it
might mean that you've got a *newer* WinSDK where they've changed the
registration format.
But more likely you deselected it when installing C++ support through Visual
Steve Dower added the comment:
Assuming you installed pip using the installer, repair should bring it back.
Do you still have installer logs? They would be in %TEMP% and start with
"python". We'll need at least the main log and the pip log, but if you want to
just zip them al
Steve Dower added the comment:
Thanks! Interestingly, it seems like it ought to have re-run, but
decided not to. I wonder if there's been some change to how Windows
Installer deals with using registry keys to control custom actions?
Unfortunately, MSI is an incredibly complicated inst
Steve Dower added the comment:
Thanks for the ping. I'll try and check in later this week to finish it up.
--
___
Python tracker
<https://bugs.python.org/is
Steve Dower added the comment:
> I did not have the latest installed which is Win10SDK_10.0.18362, therefore
> it did trigger that original error in msg387518.
Did you have any other version installed? It should include one by
default, which is why we don't mention it i
Steve Dower added the comment:
This seems like a good change to me. Making sure that the implementation is
easily patchable sounds like a good plan, though I don't have any specific
suggestions on what would be best.
--
nosy: +steve.
Steve Dower added the comment:
> FYI, in Windows 10, deleting files and directories now tries a POSIX delete
Yeah, FWIW, I haven't been able to get clear guidance on what I can/cannot
publicly announce we've done in this space. But since you've found it I guess I
ca
Steve Dower added the comment:
I'm not sure we ever meant for LoadLibrary("python3.dll") to actively load the
concrete python3X.dll. The APIs are the same, so you can (should) LoadLibrary
the one that you want.
It's when you use static imports in extensions that it
Steve Dower added the comment:
Yeah, but in that scenario, it is just as good to LoadLibrary("python39.dll")
and use it as if it was LoadLibrary("python3.dll") because the interaction
model is identical.
The only reason to load python3.dll explicitly is if you are not
Steve Dower added the comment:
Sorry, I can't help. My employer has strict rules about reviewing GPL code like
that in your linked repository.
I'd suggest checking your thread management in native code. Each new thread
created in Python will create a new native thread, and t
Steve Dower added the comment:
We already have a separate recursion limit for debug builds on Windows, so it's
probably best all around to reduce that (if it's only recursion tests that are
failing). That way, we won't forget to fix up debugging later if/when we
Steve Dower added the comment:
Hmm, yeah, it seems like the debug-specific definition has gone. Wonder when
that happened.
In that case, go ahead and revert, but I'd suggest doing it by just removing
the new Py_DEBUG condition rather than undoing all the changes. Should be
nothing
Steve Dower added the comment:
So somehow Windows made a rebuild *without* having to touch
kernel32.dll, which is fairly impressive.
That version number comes from kernel32.dll, because there's no good way
to get the build number via an API and also avoid compatibility settings
lying
Steve Dower added the comment:
For modifying an environment variable, please clone the entire path MSI and use
an Environment element to update it. Should be a little simpler than that one,
because it's a constant.
I'm always very hesitant to modify system-wide (or user-wide) set
Steve Dower added the comment:
The reason to avoid the GetVersion API is that certain automatic
compatibility modes will lie about what the version number is, and
people complained that it was wrong (kind of like this complaint ;) ).
Reading the version from a system DLL bypasses that risk
Steve Dower added the comment:
Maybe as a global setting, the better thing to copy is the button at the end of
installation that offers to change the long path policy?
That would give a bit more room that a checkbox to explain what is being set
and what the implications are, which will help
Steve Dower added the comment:
Jason, this issue and the associated PR are out of date and should not be
merged.
The PR also only affects completely unused code, so it has no value whatsoever
being in CPython. I don't really care too much about the unused code, but I
will *insist* o
Steve Dower added the comment:
To clarify my position on this (as the PEP author):
* audit hooks added *after* initialization (including via the Python API) are
not intended for security, but for logging/debugging, and so bypasses are not
considered security issues
* audit hooks added
New submission from Steve Dower :
I heard [1] that rtree support would be very useful in SQLite. We should see
whether enabling it is safe/easy/cheap and then do it.
1: https://twitter.com/Jamieallencook/status/1368221499794976775?s=20
--
components: Build, Library (Lib), Windows
Change by Steve Dower :
--
nosy: +ghaering
___
Python tracker
<https://bugs.python.org/issue43440>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
Thanks, Pablo! Nice patch.
This can be backported, btw. New audit events are allowed to be added in minor
releases (they just cannot be changed).
--
versions: +Python 3.8, Python 3.9
___
Python tracker
<ht
Steve Dower added the comment:
New changeset 31818e98d3b845d815e9caf2a3d330341bdc1b33 by Erlend Egeberg
Aasland in branch 'master':
bpo-43440 : Enable SQLite R*Tree support for windows builds (GH-24797)
https://github.com/python/cpython/commit/31818e98d3b845d815e9caf2a3d330
Steve Dower added the comment:
Perfect, thanks!
Callbacks are a bigger ask, but I don't have any fundamental opposition to
them. Probably worth opening a new issue, as it'll affect all platforms (I
assume).
And yeah, the setup.py in the CPython repo doesn't impact any of the
Steve Dower added the comment:
New changeset 8c862e51248c5ebfec787badec88eb58c9267e1e by Zackery Spytz in
branch 'master':
bpo-39631: Fix file association MIME type in the Windows installer (GH-20205)
https://github.com/python/cpython/commit/8c862e51248c5ebfec787badec88eb
Steve Dower added the comment:
New changeset 711f9e180a48baba62301735b7f1a58ef0d0e93a by Minmin Gong in branch
'master':
bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206)
https://github.com/python/cpython/commit/711f9e180a48baba62301735b7f1a5
Steve Dower added the comment:
Actually, now that I've gone and hit merge, I've changed my mind about the NEWS
entry. I'll add it.
--
___
Python tracker
<https://bugs.pyt
Steve Dower added the comment:
Thanks!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Steve Dower :
--
keywords: +patch
pull_requests: +19517
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/20226
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
pull_requests: +19518
pull_request: https://github.com/python/cpython/pull/20227
___
Python tracker
<https://bugs.python.org/issue39
Steve Dower added the comment:
If someone remembers where the other "shebangs on Windows don't make sense"
issue is, I think we can close this one in favour of that.
Though it's also an important point for issue40667 - if "python.exe" becomes
the launcher,
Steve Dower added the comment:
> To avoid this, process() can set a flag based on the image name that prevents
> calling maybe_handle_shebang().
Or the other solution, which is stop treating "usr/bin/env" as "search PATH" -
I'm sure there's another iss
Steve Dower added the comment:
New changeset 92327a9913150f5bb55b2727a2c5d50f9b7b6e55 by Steve Dower in branch
'master':
bpo-39631: Adds NEWS entry (GH-20227)
https://github.com/python/cpython/commit/92327a9913150f5bb55b2727a2c5d5
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
Sorry, Windows 7 is no longer supported in Python 3.9. You'll need to update,
ideally to Windows 10, but if you want to stay on Windows 8.1 then I believe
that one's supported until Python 3.10.
--
resolution: -> not a bug
stage: ->
Steve Dower added the comment:
It looks fine to me, but we probably want to clearly document it as
unsupported/likely to change between releases/etc., especially since it's
relying on an assumption that we want to change (one static runtime per
pr
Change by Steve Dower :
--
nosy: -miss-islington
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10 -Python 3.8
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
New changeset 448325369ff73011d34d6c3a493014fe3ead8843 by Rotuna in branch
'master':
bpo-23082: Better error message for PurePath.relative_to() from pathlib
(GH-19611)
https://github.com/python/cpython/commit/448325369ff73011d34d6c3a493014
Steve Dower added the comment:
I think we can safely say this is by design (I know Jason got his backport
working).
> Understood. However, this statement assumes the "correct path" is the most
> precise path to resolve the target. If you instead define "correct pat
Steve Dower added the comment:
> how could one write the `cmd.exe` `dir` command using Python?
I haven't checked, but if the dir command resolves the entire symlink chain
rather than one step at a time, you'd use realpath (though that seems unlikely,
tbh).
Failing that, yo
Steve Dower added the comment:
After thinking this through some more, I don't think this solves the problem,
but only changes it. And we're better off leaving things as they are than just
moving them around.
--
resolution: -> rejected
stage: patch review -> resol
Steve Dower added the comment:
I've checked and merged the cpython-source-deps update. (For everyone's info, I
downloaded the sources myself and checked hashes/etc. as per normal, even
though I eventually merged the PR and tagged i
Steve Dower added the comment:
> import subprocess
> subprocess._cleanup = lambda: None
--
___
Python tracker
<https://bugs.python.org/issue37380>
___
___
Steve Dower added the comment:
There are non-binding CI tests run with Github Actions (post-merge) that test
from a layout, and last I checked they were all passing. Nobody is really
monitoring it but me though, as it isn't a buildbot.
The Windows installer also runs pip and IDLE
Steve Dower added the comment:
That's correct, though I thought PEP 528 and 529 applied earlier than that?
Around 3.6, I thought.
Feel free to make a doc update though. That reference is definitely out of date.
--
___
Python tracker
&
Steve Dower added the comment:
Python now decodes bytes back into a str when used as a path, so the behaviour
is identical.
Someone else might feel comfortable doing the patch, I didn't mean to imply
that you had to. Only that it is a valid fix and won't be a was
Steve Dower added the comment:
New changeset c897bbdb284c3780ef6cec8a3870935a6bb7 by Zackery Spytz in
branch 'master':
bpo-40831: Remove an incorrect statement in the Windows docs (GH-20570)
https://github.com/python/cpython/commit/c897bbdb284c3780ef6cec8a38
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
Can anyone confirm that you've got an active code page of something other than
1252 ("standard" US English)? I'm not able to reproduce this easily, and I
wonder if it's because of that setting.
Easiest way to check is in
Steve Dower added the comment:
> Let's promote ePub and PDF instead.
Find a good viewer we can bundle with the installer with equivalent
search/index functionality and we can consider it.
More realistically, including the docs as unbundled HTML files and relying on
the default br
New submission from Steve Stagg :
The input `p=p=` causes python 3.10 to crash.
I bisected the change, and the behavior appears to have been introduced by
16ab07063cb564c1937714bd39d6915172f005b5 (bpo-40334: Correctly identify invalid
target in assignment errors (GH-20076) )
Steps to
New submission from Steve Stagg :
The following command causes python to segfault:
$ echo "f'{yield}'" | python/bin/python3
Bisect tracked this down to:
c5fc15685202cda73f7c3f5c6f299b0945f58508 (bpo-40334: PEP 617 implementation:
New PEG parser for CPython (GH-19503))
T
Change by Steve Dower :
--
keywords: +patch
pull_requests: +19934
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/20724
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
assignee: -> steve.dower
___
Python tracker
<https://bugs.python.org/issue40861>
___
___
Python-bugs-list mailing list
Unsubscrib
Steve Dower added the comment:
We either need someone to contribute a fix to
sphinxcontrib\htmlhelp\templates\project.hhp (bearing in mind that this *must*
be optional, as it breaks search), or write code to patch the generated file
between generation and use (which is probably hard).
And
Steve Dower added the comment:
New changeset 3a3a30c5a4622e18be9f7e4a239dc9e0d7c8054c by Steve Dower in branch
'master':
bpo-40861: Enable optimizations when building liblzma (GH-20724)
https://github.com/python/cpython/commit/3a3a30c5a4622e18be9f7e4a239dc9
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Steve Dower :
Currently, it's just stored as global state in signalmodule.c and forgotten
about. It probably needs to become module state, and the signal module needs
better initialization/shutdown.
--
components: Windows
messages: 371036
nosy: eric
New submission from Steve Dower :
In time.sleep on Windows, if the WaitForSingleObject call fails, the call
returns success. It essentially looks like the timeout was 0.
Errors should be highly unlikely, as the event object is leaked (see
issue40912), but if they _do_ occur, we should raise
Steve Dower added the comment:
That was a *big* patch to importlib.resources... And newly defined and
standardised protocols? That seems like a lot to bring in without having gone
through a PEP anyway, despite the minor bug that has drawn attention to it.
I don't think backports shou
Steve Dower added the comment:
add_dll_directory can be safely used within your library, so if you have any
.py files that will be imported first (such as your package __init__.py), you
can add it then. The safest way is to use something like:
with os.add_dll_directory(THE_DIR):
import
Steve Dower added the comment:
We can close it. bdist_msi isn't recommended for any reason, and cx_Freeze
isn't ours.
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs
Steve Dower added the comment:
The current "using" doc page is way too in-depth, but I'm actually okay with
the idea of having a "Did you mean to launch Python? Press 'Start' and type
'Python' to find it" message on the Modify page of the instal
Steve Dower added the comment:
Thanks for confirming that reality aligns with the documentation.
> when doing the same and passing `shell=True` to the POpen() call, there is no
> such initial folder in the lookup
Correct, because a fully qualified path to cmd.exe is used, and cmd
Steve Dower added the comment:
Yeah, I'll get onto it now.
--
___
Python tracker
<https://bugs.python.org/issue40164>
___
___
Python-bugs-list mailing list
2101 - 2200 of 6138 matches
Mail list logo