Steve Dower added the comment:
New changeset 019e9e816882f5c43c4b833f81844b8299e815fd by Steve Dower in branch
'master':
bpo-43538: Add extra arguments to os.startfile (GH-25538)
https://github.com/python/cpython/commit/019e9e816882f5c43c4b833f81844b8299e815fd
Steve Dower added the comment:
New changeset 28575923a9ee40928a9d00a7ed997a6f6a09b8d1 by Miss Islington (bot)
in branch '3.9':
bpo-38822: Check specifically for a drive, not just a colon (GH-25540)
https://github.com/python/cpython/commit/28575923a9ee40928a9d00a7ed997a6f6a09b8d1
Steve Dower added the comment:
New changeset 9f0b3a9c8eedf694377d8638365fb9f385daa581 by Miss Islington (bot)
in branch '3.8':
bpo-38822: Check specifically for a drive, not just a colon (GH-25540)
https://github.com/python/cpython/commit/9f0b3a9c8eedf694377d8638365fb9f385daa581
Change by Steve Dower :
--
pull_requests: -24264
___
Python tracker
<https://bugs.python.org/issue38222>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Steve Dower :
--
pull_requests: -24263
___
Python tracker
<https://bugs.python.org/issue38222>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
New changeset e07d8098892e85ecc56969d2c9a5afb3ea33ce8f by Steve Dower in branch
'master':
bpo-38222: Check specifically for a drive, not just a colon (GH-25540)
https://github.com/python/cpython/commit/e07d8098892e85ecc56969d2c9a5afb3ea33ce8f
Change by Steve Dower :
--
pull_requests: -24260
___
Python tracker
<https://bugs.python.org/issue38222>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Steve Dower :
--
pull_requests: +24261
pull_request: https://github.com/python/cpython/pull/25540
___
Python tracker
<https://bugs.python.org/issue38
Change by Steve Dower :
--
nosy: +steve.dower
nosy_count: 5.0 -> 6.0
pull_requests: +24260
pull_request: https://github.com/python/cpython/pull/25540
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
assignee: -> steve.dower
versions: +Python 3.10, Python 3.8
___
Python tracker
<https://bugs.python.org/issue43607>
___
___
Python-
Change by Steve Dower :
--
keywords: +patch
pull_requests: +24259
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25539
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
Not rushing this one in, but this is a relatively straightforward addition that
will definitely be handy in some situations.
I didn't bother adding an enum for the SW_* constants, since I don't think
they'll get anywhere near enough use to justify being in our
Change by Steve Dower :
--
pull_requests: -24257
___
Python tracker
<https://bugs.python.org/issue35306>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Steve Dower :
--
keywords: +patch
pull_requests: +24258
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25538
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
pull_requests: +24257
pull_request: https://github.com/python/cpython/pull/25538
___
Python tracker
<https://bugs.python.org/issue35
Change by Steve Dower :
--
assignee: -> steve.dower
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Steve Dower added the comment:
New changeset 4696f1285d83dd7b69f459c63e14080b1f87f797 by Steve Dower in branch
'master':
bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an
invalid filename (GH-25529)
https://github.com/python/cpython/commit
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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 a911bd15a19824c92af8e90b63af4a84a9670222 by Steve Dower in branch
'master':
bpo-43915: Add PCbuild/blurb.bat to simplify Windows contributors (GH-25528)
https://github.com/python/cpython/commit/a911bd15a19824c92af8e90b63af4a84a9670222
Steve Dower added the comment:
New changeset fe63a401a9b3ca1751b81b5d6ddb2beb7f3675c1 by Steve Dower in branch
'master':
bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527)
https://github.com/python/cpython/commit/fe63a401a9b3ca1751b81b5d6ddb2beb7f3675c1
Change by Steve Dower :
--
pull_requests: +24248
pull_request: https://github.com/python/cpython/pull/25529
___
Python tracker
<https://bugs.python.org/issue35
Steve Dower added the comment:
Well, it's not so much the long command line, as having to remember which
install of Python has blurb in it. This way, it's always the same one (and
probably the copy that we installed into externals)
--
___
Python
Change by Steve Dower :
--
keywords: +patch
pull_requests: +24247
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25528
___
Python tracker
<https://bugs.python.org/issu
New submission from Steve Dower :
I'm sick of writing long commands to invoke blurb, so add a batch file to do it.
--
assignee: steve.dower
components: Build, Windows
messages: 391623
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
Change by Steve Dower :
--
keywords: +patch
pull_requests: +24246
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25527
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
I agree with Zach's comment on the PR - this topic needs an overhaul.
All the information required is going to be out there somewhere, and those of
us on this issue can help fill in any gaps, but someone will need to spend a
bit of time on research and laying
Steve Dower added the comment:
Thanks for doing the patch!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
New changeset 2a3f4899c63806439e5bcea0c30f7e6a6295a763 by Shreyan Avigyan in
branch 'master':
bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of
sys.getwindowsversion() (GH-25500)
https://github.com/python/cpython/commit
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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 dc516ef8395d15da0ab225eb0dceb2e0581f51ca by Steve Dower in branch
'master':
bpo-26227: Fixes decoding of host names on Windows from ANSI instead of UTF-8
(GH-25510)
https://github.com/python/cpython/commit/dc516ef8395d15da0ab225eb0dceb2e0581f51ca
Steve Dower added the comment:
New changeset a32f8fe7133aad4f3cf8946534e3b79a5f2659da by Saiyang Gou in branch
'master':
bpo-43756: Add new audit event for new arguments added to glob.glob (GH-25239)
https://github.com/python/cpython/commit/a32f8fe7133aad4f3cf8946534e3b79a5f2659da
Change by Steve Dower :
--
assignee: -> steve.dower
___
Python tracker
<https://bugs.python.org/issue26227>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Steve Dower :
--
keywords: +patch
pull_requests: +24228
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/25510
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
assignee: -> steve.dower
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python
Steve Dower added the comment:
New changeset 7b86e47617d81a4b14d929743425f448971e8c86 by Steve Dower in branch
'master':
bpo-43472: Ensure PyInterpreterState_New audit events are raised when called
through _xxsubinterpreters module (GH-25506)
https://github.com/python/cpython/commit
Change by Steve Dower :
--
keywords: +patch
pull_requests: +24224
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25506
___
Python tracker
<https://bugs.python.org/issu
Steve Dower added the comment:
I'll need Eric to confirm, but I think the best thing to do here is to not
release the thread state in _xxsubinterpreters.interp_create, but let
_Py_NewInterpreter() do it. That way the existing event will be raised in
interpreter-level hooks, rather than only
Steve Dower added the comment:
There's a working POC out there for modifying tuple elements that relies on the
fact that id() returns real memory addresses, so I don't see it as a harmless
thing. Also, Rust is only worrying about code that's put into its compiler,
whereas Python has
Steve Dower added the comment:
Could we have the address exposed in a way that can only be passed back into
ctypes? Or alternatively, doesn't function if ctypes is missing?
I don't like offering ways to get real memory addresses, especially for
interesting objects. At the same time, I see
Steve Dower added the comment:
Opening a PR against the master branch would be ideal. (Make sure you
forked from that branch too, or you may see lots of irrelevant changes,
which will make it impossible to review.)
--
___
Python tracker
<ht
Steve Dower added the comment:
> In that case, would you want to deprecate
> sys.getwindowsversion().platform_version?
Yeah, but I'm not so concerned about raising a warning on use. Just in
the docs will be fine. We should also add a mention that it is
extracting the value from eff
Steve Dower added the comment:
Python is a volunteer built project, so someone will need to volunteer
to write the fix. Until there is a volunteer, there is no plan. (One of
the core devs might volunteer, but there's no guarantee of that.)
If we're going to launch cmd.exe, I'd prefer
Steve Dower added the comment:
That'll be a change to PCbuild/find_python.bat that needs to be backported
then. It probably defaults to 3.7 in all branches right now, but since 3.9 is
out we can update them all to that (it downloads on demand if necessary
Steve Dower added the comment:
Yeah, it's a known limitation of the installer technology we're using.
issue25166 is the same issue, so we'll track it there.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Windows AllUsers install
Steve Dower added the comment:
Even better, one that doesn't crash but safely returns a value that can be
checked. (IIRC, we have a test that does this to ensure that structs smaller
than 9 bytes are passed on the stack.)
Half C/half Python is fine - the C bits would go into _ctypes_test.c
Steve Kelem added the comment:
Technically, you're right, however each domain his its own notion of what
"adequate coverage" means. Some projects use software code coverage. I deal
with integrated circuit observability/controllability, and stocastic functional
testing.
Until
Steve Dower added the comment:
My previous post still stands. This requires a test and then (hopefully) a fix
in ctypes or (potentially) a fix upstream in libffi.
--
___
Python tracker
<https://bugs.python.org/issue38
New submission from Steve Kelem :
The unittest module (and most other unittest modules) keep a count of the
number of functional tests run, as defined by the number of times test is
called.
I would like the option to count the number of times that assert is called.
I have to run
Steve Dower added the comment:
O_TEMPORARY is clearly not the right option here, and we should just move the
unlink call into __exit__ and attempt it even if close() has been called.
Windows's "delete on close" functionality is great, but if you haven't designed
for its seman
Steve Dower added the comment:
It's been a busy month for the SQLite team... hope they're doing okay.
Let's give this one a few weeks, just in case.
--
___
Python tracker
<https://bugs.python.org/issue43
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 67c0b3d89c4da9750fdb43fc66d3924681b22d2e by Zackery Spytz in
branch 'master':
bpo-41661: Document os.path.relpath() exception on Windows with different
drives (GH-25346)
https://github.com/python/cpython/commit
Change by Steve Dower :
--
assignee: -> steve.dower
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python
Just a short style question: When returning multiple return values, do
you use parenthesis?
E.g. would you write
def foo():
return 1, 2
a, b = foo()
or do you prefer
def foo():
return (1, 2)
(a, b) = foo()
Steve
--
https://mail.python.org/mailman/listinfo
Steve Dower added the comment:
New changeset eed7686e9fe22a3eb5e1a1fc7d27c27fca070bd1 by Steve Dower in branch
'3.8':
bpo-43105: Importlib now resolves relative paths when creating module spec
objects from file locations (GH-25121)
https://github.com/python/cpython/commit
Steve Dower added the comment:
Oh wow, that's terrible... yet another good reason not to export data values.
But yeah, filtering on the name prefix should be fine. These aren't meant to be
publicly accessible anyway.
--
___
Python tracker
<ht
Change by Steve Dower :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue39899>
___
___
Pyth
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10 -Python 3.9
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
New changeset ba1db571987c65672d9c06789e9852313ed2412a by Barney Gale in branch
'master':
bpo-39899: Don't double-check directory name if we're requesting the current
user's home directory in ntpath.expanduser() (GH-25277)
https://github.com/python/cpython
Steve Dower added the comment:
New changeset 11c3bd3f6d06649484b81a659c7bf02d6632e607 by Barney Gale in branch
'master':
bpo-40107: Switch to using io.open() for pathlib.Path.open() (GH-25240)
https://github.com/python/cpython/commit/11c3bd3f6d06649484b81a659c7bf02d6632e607
--
nosy
Steve Dower added the comment:
I got a false positive on my PR at
https://github.com/python/cpython/pull/25318/checks?check_run_id=2308871807
1 Changed variable:
[C]'const unsigned char[45154] const _Py_M__importlib_bootstrap_external' was
changed to 'const unsigned char[43681] const
Change by Steve Dower :
--
pull_requests: +24053
stage: backport needed -> patch review
pull_request: https://github.com/python/cpython/pull/25318
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
assignee: steve.dower ->
___
Python tracker
<https://bugs.python.org/issue37609>
___
___
Python-bugs-list mailing list
Unsubscrib
Steve Dower added the comment:
I just purged the CDN again and it seems to be fine now.
--
___
Python tracker
<https://bugs.python.org/issue43745>
___
___
Pytho
Change by Steve Dower :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue39899>
___
___
Python-bugs-list
Steve Dower added the comment:
New changeset 3f3d82b84823eb28abeedf317bbe107bbe7f6492 by Barney Gale in branch
'master':
bpo-39899: os.path.expanduser(): don't guess other Windows users' home
directories if the basename of the current user's home directory doesn't match
their username. (GH
Change by Steve Dower :
--
pull_requests: +23997
pull_request: https://github.com/python/cpython/pull/25261
___
Python tracker
<https://bugs.python.org/issue37
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
> Firstly, `os.path.expanduser()` is already documented to return the path
> unchanged if the home directory can't be resolved:
Ah, too bad. Doesn't prevent us from changing it, but hopefully it means that
everyone using it is already checking the
Steve Dower added the comment:
New changeset 9f578734624d1c0172220556ca97898730144172 by Steve Dower in branch
'3.8':
bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294)
https://github.com/python/cpython/commit/9f578734624d1c0172220556ca97898730144172
Change by Steve Dower :
--
pull_requests: +23994
pull_request: https://github.com/python/cpython/pull/25258
___
Python tracker
<https://bugs.python.org/issue42
Steve Dower added the comment:
New changeset 34f93002bac980176a670ce2a4038c3be84effed by Steve Dower in branch
'3.9':
bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294)
https://github.com/python/cpython/commit/34f93002bac980176a670ce2a4038c3be84effed
Steve Dower added the comment:
I think this is worth unifying, but I'm concerned about making expanduser()
return the original path on Windows - "~name" is a valid filename/relative
path, and so code that does mkdir(expanduser("~nonuser/dir")) could create
garbage in t
Steve Dower added the comment:
New changeset b05440c52b9814dbd47f679d47367e87855bd7b5 by Barney Gale in branch
'master':
bpo-39659: Route calls from pathlib.Path to os.getcwd() via the path accessor
(GH-18834)
https://github.com/python/cpython/commit/b05440c52b9814dbd47f679d47367e87855bd7b5
Change by Steve Dower :
--
pull_requests: +23993
pull_request: https://github.com/python/cpython/pull/25257
___
Python tracker
<https://bugs.python.org/issue42
Steve Dower added the comment:
The 3.8 backport is much more complicated, as we don't have access to the
PathSkipRoot function there. So we can't use the native function. There's
probably another way to implement the fix for 3.8, but I'm leaving that for
another day. Feel free to chime
Steve Dower added the comment:
New changeset 8aac1bea2eeac25a49f8912b67aacbedf9bc7934 by Barney Gale in branch
'master':
bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294)
https://github.com/python/cpython/commit/8aac1bea2eeac25a49f8912b67aacbedf9bc7934
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 abf964942f97f6489360a75fd57b5e4f41c75f57 by Barney Gale in branch
'master':
bpo-39906: Add follow_symlinks parameter to pathlib.Path.stat() and chmod()
(GH-18864)
https://github.com/python/cpython/commit/abf964942f97f6489360a75fd57b5e4f41c75f57
Steve Dower added the comment:
To remove an event, it needs to be deprecated as any public facing feature
would be deprecated. I'm not sure how we'd go about publicising it though.
There's currently no way to raise a warning, so it'd just have to be very
clearly advertised in documentation
Steve Dower added the comment:
Just needs the 3.8 backport - will get to that later tonight.
--
stage: patch review -> backport needed
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10 -Python 3.9
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
New changeset 0af99b44edf559305def22b2d68be685ce50d7f6 by Steve Dower in branch
'3.9':
bpo-43105: Importlib now resolves relative paths when creating module spec
objects from file locations (GH-25121)
https://github.com/python/cpython/commit
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
Solution 1 is definitely out, as PyArg_ParseTuple is a very valid way to
implement hooks but won't handle longer tuples.
For Solution 2, we already have some events that use a slash to indicate
"extra" information, so depending on context I'd
Change by Steve Dower :
--
pull_requests: +23975
pull_request: https://github.com/python/cpython/pull/25237
___
Python tracker
<https://bugs.python.org/issue43
Steve Dower added the comment:
New changeset 2219187cab6bca009c42b63b2f4c30b5b10c916d by Barney Gale in branch
'master':
bpo-40038: pathlib: remove partial support for preserving accessor when
modifying a path (GH-19342)
https://github.com/python/cpython/commit
Steve Dower added the comment:
New changeset 986da8effcd2e9e9334ae016928ef795fb93c373 by Barney Gale in branch
'master':
bpo-39895: Move `pathlib.Path.touch()` implementation into the path accessor.
(GH-18838)
https://github.com/python/cpython/commit/986da8effcd2e9e9334ae016928ef795fb93c373
Steve Dower added the comment:
New changeset 04732ca993fa077a8b9640cc77fb2f152339585a by Steve Dower in branch
'master':
bpo-43105: Importlib now resolves relative paths when creating module spec
objects from file locations (GH-25121)
https://github.com/python/cpython/commit
Steve Dower added the comment:
New changeset b57e045320d1d2a70eab236b7d31a3ebb75037c3 by Barney Gale in branch
'master':
bpo-39924: handle missing os functions more consistently in pathlib (GH-19220)
https://github.com/python/cpython/commit/b57e045320d1d2a70eab236b7d31a3ebb75037c3
Steve Dower added the comment:
We're updating all files now, and doing it automatically on build (or manually
with --regen).
--
assignee: -> steve.dower
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
__
Steve Dower added the comment:
New changeset 748283819043c60b1cb272c2cc9ab5b457afb03a by Steve Dower in branch
'master':
bpo-43567: Improved generated code refresh on Windows (GH-25120)
https://github.com/python/cpython/commit/748283819043c60b1cb272c2cc9ab5b457afb03a
Steve Dower added the comment:
Once issue43105 is merged, I've got a fairly simple implementation for this
using the (new) nt._path_splitroot native method, as well as improved tests
that cover both the native and emulated calculations.
--
assignee: -> steve.dower
versions: +Pyt
Steve Dower added the comment:
> Are you able to also update the embeddable packages please?
They've been updated, it's just the CDN hasn't purged those files. I
need to add those files to the script.
It should show up within 24 hours, if I don't start doing the script
toni
Steve Dower added the comment:
> I don't think that adding a parameter for opt-in for security is a good
> approach.
I meant to have it set by default on 3.10, when we do not have to worry
about breaking users.
If it takes years for users to get to 3.10, we should reevaluate our
r
Steve Dower added the comment:
A new 3.9.4 and 3.8.9 release is available for download from python.org. The
Nuget and Windows Store packages will have to remain as the original versions,
since those do not allow us to overwrite with the same version number.
--
resolution: -> fi
Steve Dower added the comment:
New changeset 611aa39142f156508945ac312724474c493a6691 by Steve Dower in branch
'3.9':
bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213)
https://github.com/python/cpython/commit/611aa39142f156508945ac312724474c493a6691
801 - 900 of 13157 matches
Mail list logo