Steve Dower added the comment:
(Also, the behavior of Py_GetProgramFullPath is intentional, but we do have
another bug somewhere to be able to override it for embedding purposes.
sys.executable should be None when it does not contain a suitable path for
running the normal Python interpreter
Steve Dower added the comment:
New changeset 1a89cb5c479d8e4f467d7f96e1781c7275cefa88 by Steve Dower (Miss
Islington (bot)) in branch '3.7':
bpo-34582: Adds JUnit XML output for regression tests (GH-9210)
https://github.com/python/cpython/commit/1a89cb5c479d8e4f467d7f96e1781c
Steve Dower added the comment:
New changeset c9276495fc497898544a38b244b38ff61797f32d by Steve Dower (Miss
Islington (bot)) in branch '3.6':
bpo-34582: Adds JUnit XML output for regression tests (GH-9210)
https://github.com/python/cpython/commit/c9276495fc497898544a38b244b38f
Steve Dower added the comment:
This looks like something particular to Tcl/Tk, and my best guess from a very
quick look at your logs is that there's a malware scanner preventing the files
from being deleted for some reason (perhaps it's triggering an extended scan of
one of the f
Steve Dower added the comment:
(Excuse the GitHub syntax - was about to post it there, but it got long enough
to belong here)
Regarding the `_dirnameW` discussion, fixing `_dirname` would be ideal, but
that is bloating out your PR quite a bit :)
The "right" function to us
Change by Steve Dower :
--
nosy: -steve.dower
___
Python tracker
<https://bugs.python.org/issue34694>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
This change breaks a number of tests when run on a proper installation, since
we still need to copy pythonXY.dll or else python.exe refuses to start.
Since I'm fixing these tests today, I'll also fix this issue.
--
assignee: ->
Change by Steve Dower :
--
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue26119>
___
___
Change by Steve Dower :
--
pull_requests: +8872
___
Python tracker
<https://bugs.python.org/issue34011>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
Looking closer at the logs, it's the usual problem of not being able to upgrade
a per-user install into an all-users install.
If you look at the logs closely, it's *uninstalling* the Just for Me install,
not installing it.
The best option in this
Steve Dower added the comment:
New changeset f14c28f39766855420dd58d209da4ad847f3030e by Steve Dower in branch
'master':
bpo-34011: Fixes missing venv files and other tests (GH-9458)
https://github.com/python/cpython/commit/f14c28f39766855420dd58d209da4a
Steve Dower added the comment:
I agree with this only applying to 3.8 - removing the copied files on earlier
versions seems like an unnecessary risk to compatibility.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.6, P
Steve Dower added the comment:
It should just be gathering SSL error codes before acquiring the GIL, which
could switch thread and then get the wrong code.
Of course, it's possible it is in the backport. How easily can you test against
master? (I'm AFK, so can't easily do any
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: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue33782>
___
Steve Dower added the comment:
I meant returning the full name of the process is intentional. But you're right
that overriding it should actually override it.
I found the prior bug at issue33180, but I'm closing it in favour of this one.
I don't have fully fleshed out seman
Steve Dower added the comment:
Closing in favour of issue34725
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
I'm going to just close this without fixing 3.5. If there's demand, we can
consider it, but at this stage it's so easy for people to migrate to 3.6 or
later that I'm sure that's already been done.
--
resolution: ->
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: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
Fixed, with a fix for the regression coming in issue34759
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Steve Dower :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> SSLSocket read/write thread-unsafety
___
Python tracker
<https://bugs.python
Steve Dower added the comment:
Still needs a backport to 2.7
--
___
Python tracker
<https://bugs.python.org/issue21983>
___
___
Python-bugs-list mailin
Change by Steve Dower :
--
pull_requests: +8925
___
Python tracker
<https://bugs.python.org/issue34582>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
New changeset 57675090b0fe7d6c7d72e56384dc2ff6798f1723 by Steve Dower in branch
'master':
bpo-34582: Update syntax of Azure Pipelines builds (GH-9521)
https://github.com/python/cpython/commit/57675090b0fe7d6c7d72e56384dc2f
Change by Steve Dower :
--
pull_requests: +8934
___
Python tracker
<https://bugs.python.org/issue34582>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Steve Dower :
--
pull_requests: +8935
___
Python tracker
<https://bugs.python.org/issue34582>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
New changeset 657fdf2eba617ade49052de91cafeb373b652077 by Steve Dower (Miss
Islington (bot)) in branch '3.7':
bpo-34582: Update syntax of Azure Pipelines builds (GH-9521)
https://github.com/python/cpython/commit/657fdf2eba617ade49052de91cafeb
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:
It certainly doesn't match "which" semantics, but given the F_OK and X_OK flags
I can see cases where it ought not to. I'm not sure it does what it implies for
those either though.
I can see uses for "find files according to 'whic
Steve Dower added the comment:
I'll pass it along in case someone is collecting statistics on the team, but
unless it's consistently broken for us (e.g. as apt-get was recently) there's
not much value in opening a bug. Transient failures occur, ultimately, and
nobody needs e
Steve Dower added the comment:
I don't think anything has been agreed upon.
Currently, the launched program name is used for some things other than setting
sys.executable, and I believe it should continue to be used for those. But
there are also needs for overriding sys.executable
Steve Dower added the comment:
Reading the docs, I'm pretty sure we need a new Py_SetProgramFullPath()
function. Py_SetProgramName explicitly is only providing a hint to figure out
the file containing the executable, and I really want this to make my new
launcher feasible:
Change by Steve Dower :
--
nosy: +eric.snow, ncoghlan
___
Python tracker
<https://bugs.python.org/issue34725>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
I'll get it.
--
assignee: -> steve.dower
versions: +Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org
Change by Steve Dower :
--
keywords: +patch
pull_requests: +9102
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34902>
___
___
Py
Steve Dower added the comment:
New changeset 4313a293dae579f3406aa94508ff3803a79b0344 by Steve Dower in branch
'master':
bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719)
https://github.com/python/cpython/commit/4313a293dae579f3406aa94508ff38
Steve Dower added the comment:
I didn't hear any public announcement, so perhaps not. I'll ask the team.
--
___
Python tracker
<https://bugs.python.o
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
Sounds like what happened is they *fixed* the error message when you use an
invalid VMname. Previously it was falling back to the default, which happened
to be the one we thought we were asking for.
I've asked for a more public feed of impactful change
Steve Dower added the comment:
Perhaps surprisingly, Brett is :)
This is best reported at https://github.com/Microsoft/ptvsd, so I'd suggest
just taking it over there. If it turns out to be a Python issue, we'll bring it
back.
--
nosy: +br
Steve Dower added the comment:
Until someone creates and enables a Sphinx extension/option to only generate
ASCII output, it will remain. Volunteers are welcome
--
___
Python tracker
<https://bugs.python.org/issue32
Steve Dower added the comment:
> Py_SetProgramName() should be a relative or absolute path that can be used to
> set sys.executable and other values appropriately.
Key point here is *can be*, but it doesn't have to be. Given it has fallbacks
all the way to "python"
Steve Dower added the comment:
New changeset 6261ae9b01fb8429b779169f8de37ff567c144e8 by Steve Dower
(animalize) in branch 'master':
bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758)
https://github.com/python/cpython/commit/6261ae9b01fb8429b779169f8de37f
Steve Dower added the comment:
Thanks, that looks perfect!
--
___
Python tracker
<https://bugs.python.org/issue32174>
___
___
Python-bugs-list mailing list
Unsub
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
We'll need to bring in venv specialists to check whether using it outside of
Py_Main() is valid. Or perhaps you could explain what you are actually trying
to do?
I don't believe it is necessary when you are calling Py_SetPath yourself, and
only t
Steve Dower added the comment:
Yes, looks like TCP_KEEPIDLE is only available from 1709, so it should get the
same handling as the TCP_KEEPCNT. If TCP_KEEPALIVE is just a synonym, then it
applies for both.
--
___
Python tracker
<ht
Steve Dower added the comment:
Thanks for spotting this!
There's no "rationale" for hiding the output - what happened is I streamlined
the test suite to always capture output, instead of some tests deciding whether
they ought to capture it or not (and some doing incredibly we
Steve Dower added the comment:
I meant why are you using an embedded application with a virtual environment?
What sort of application do you have that requires users to configure a virtual
environment, rather than providing its own set of libraries?
The embedding scenarios I'm awa
New submission from Steve Dower :
The Windows Store can now install unrestricted apps, which means we can provide
the Python interpreter in there.
Advantages:
* far more reliable installation
* can have specific executables on PATH
* automatic updates
* other apps can act as extensions (with
Change by Steve Dower :
--
keywords: +patch
pull_requests: +9229
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34725>
___
___
Py
Change by Steve Dower :
--
pull_requests: +9230
___
Python tracker
<https://bugs.python.org/issue34725>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Steve Dower :
--
versions: +Python 3.8 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue34725>
___
___
Python-bugs-list mailing list
Unsub
Steve Dower added the comment:
Agreed with Eric. json.dump needs to produce valid JSON, which requires keys to
be strings.
Try using pickle if you need to preserve full Python semantics.
--
nosy: +steve.dower
resolution: -> not a bug
stage: -> resolved
status: open -&g
Steve Dower added the comment:
When you run the installer, it should create log files in your %TEMP%
directory. Could you find and attach those here please?
There's a chance it is detecting that your system is unsupported. If you are
still using Windows Vista, ensure you have installe
Steve Dower added the comment:
I haven't looked at the logs, but there shouldn't be any problem with
33-bit/64-bit here. Windows doesn't separate processes like that.
Perhaps we have builds with slightly different names (casing?) that are failing
Steve Dower added the comment:
I requested Victor review on my PR, but if anyone else is able to please feel
free.
--
___
Python tracker
<https://bugs.python.org/issue34
Steve Dower added the comment:
I'm 99% sure that with issue34725 I'll be able to make "pip --user" the default
when using this install, as well as making the commands globally available
(i.e. "python[3[.8]]", "pip[3[.8]]&q
Steve Dower added the comment:
(And I'll deal with that 1% at the PyPA sprints next weekend. We are due for a
new pip insertion anyway, so I guess that'll come for 3.7.2.)
--
___
Python tracker
<https://bugs.python.o
Steve Dower added the comment:
Make sure your system is fully up to date and you have rebooted before/after
installing Python.
That error means that system files are not installed correctly, which either
means you are suffering corruption or you have pending installations waiting
for a
Steve Dower added the comment:
That variable should be inferred somewhere, either in PC/pyconfig.h or
pyport.h. If there's a way to also infer it on 64-bit MinGW then we would
consider a patch for that.
--
___
Python tracker
&
Steve Dower added the comment:
Sorry for missing the PR. One little tweak for consistency, but otherwise it
looks fine.
--
___
Python tracker
<https://bugs.python.org/issue34
Steve Dower added the comment:
New changeset fa5329424f4206630c34f75629fa78738db647f0 by Steve Dower (Jeremy
Kloth) in branch 'master':
bpo-34980: P/Invoke QueryFullProcessImageName to get process names (GH-9901)
https://github.com/python/cpyt
Steve Dower added the comment:
Unfortunately, this isn't really a safe cast, as we're going from void to
non-void return value.
On x86 with current calling conventions, this is okay, since the return value
is in a register that does not change or require cleanup by the caller.
Steve Dower added the comment:
Jeremy - feel free to close this when you're happy with the buildbot results.
--
stage: patch review -> commit review
___
Python tracker
<https://bugs.python.org
Steve Dower added the comment:
Agreed, it no longer matches os.normpath()'s declared behavior by not trimming
the end separator.
It's obviously too late for the current release (I'd hope Django is one of the
projects running tests against RC's, but I guess not :( ), but
Steve Dower added the comment:
In your %TEMP% directory there will be some log files starting with "Python".
Could you find and attach them to this bug so we can take a look?
Also, could you provide the link to the download you us
Steve Dower added the comment:
That's unfortunate that you can't find the log files. Without them, there's
nothing we can do to help.
Can you try running the installer again? On the last (error) page there should
be a link to the main log file.
--
versions: +Python
Steve Dower added the comment:
New changeset d03b7757811ae51277f8ed399a9a0fd78dfd3425 by Steve Dower (Tim
Graham) in branch 'master':
bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082)
https://github.com/python/cpython/commit/d03b7757811ae51277f8ed399a9a0f
New submission from Steve Dower :
We have much simpler needs for distutils that don't require the more complex
build/dependencies we currently have.
We should remove the extra native module and just shell out to vswhere.exe,
which is always included in the VS installer in a known loc
Change by Steve Dower :
--
keywords: +patch
pull_requests: +9428
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Steve Dower :
--
pull_requests: +9429
___
Python tracker
<https://bugs.python.org/issue31047>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Steve Dower :
--
pull_requests: +9430
___
Python tracker
<https://bugs.python.org/issue31047>
___
___
Python-bugs-list mailing list
Unsubscribe:
Steve Dower added the comment:
New changeset a7ffb663953bc84452af1e5f4089359d54e226b5 by Steve Dower in branch
'3.7':
[3.7] bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082)
https://github.com/python/cpython/commit/a7ffb663953bc84452af1e5f408935
Steve Dower added the comment:
New changeset 4aa1fda7069642c21c1ee570c4ba2a657e5e by Steve Dower in branch
'3.6':
bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082)
https://github.com/python/cpython/commit/4aa1fda7069642c21c1ee570c4ba44
Steve Dower added the comment:
Thanks, Tim!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
New changeset 53125a53f483db0af76249b6af6efcdc200eb421 by Steve Dower in branch
'master':
bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095)
https://github.com/python/cpython/commit/53125a53f483db0af76249b6af6efc
Change by Steve Dower :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.6
___
Python tracker
<https://bugs.python.or
Steve Dower added the comment:
Please do!
--
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue30410>
___
___
Python-bugs-list mailin
Change by Steve Dower :
--
keywords: +patch
pull_requests: +9559
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34977>
___
___
Py
Steve Dower added the comment:
I don't know what is on your syllabus, but you might have more luck with
Anaconda or WinPython than Python 2.7 or 3.4 (which is how far back you'd have
to go to get a different installer).
--
___
Pyth
Steve Dower added the comment:
I'll mark this easy as well, since adding that handler is straightforward.
Unless someone knows a reason we shouldn't do that either.
--
keywords: +easy
versions: +Python 3.7, Python 3.8
___
Python track
Steve Dower added the comment:
Can you save your file in gbk encoding? That will be an immediate fix.
I don't know that we can/should change the encoding we read without checking
with everyone who writes out .pth files. (+Jason as a start here, but I suspect
there are more tools that
Steve Dower added the comment:
Those are just the distutils tests failing, which probably means the extra
environment variables or paths involved in the PGO profiling run are confusing
the logic for detecting when it is running in a source tree.
We should fix it, but it won't affect e
Steve Dower added the comment:
Most people building Python from the devguide are doing it for contributions,
so I'd be very hesitant to change the default recommendations. But we should
highlight how to make a working installable build (including the extra
dependencies) and the c
Steve Dower added the comment:
How much have you edited the error messages you are posting? Those two build
commands shouldn't be next to each other (the tests should be in between), so
perhaps something is wrong in that script? Or maybe you trimmed the output
before pasti
Steve Dower added the comment:
If you're able, you might be the best person to do some of those updates right
now :) The rest of us will have to set aside time to get back up to speed on
some of the details, and while we'll likely have to do that to review changes
anyway, at le
Steve Dower added the comment:
That error is a bug in the test, but it only shows up on an error path anyway.
Without removing the extra None we don't get to see the actual error output.
I can't look into this over the next week or two, but a quick glance at the
original PR looks
Steve Dower added the comment:
Does it actually try to upgrade the launcher? This is a case that was
deliberately designed and tested before release, though it's possible that
there's some mix of versions that is new.
The box is checked to indicate that the launcher will be instal
Steve Dower added the comment:
Yes, seems like we should be opening the file in binary mode, though I haven't
tried it. The CRT's interpretation of text mode really isn't compatible with
Python's own interpretation of text mode, and chaining them ma
Steve Dower added the comment:
New changeset e851049e0e045b5e0f9d5c6b8a64d7f6b8ecc9c7 by Steve Dower in branch
'3.7':
bpo-34725: Adds _Py_SetProgramFullPath so embedders may override sys.executable
(GH-9861)
https://github.com/python/cpython/commit/e851049e0e045b5e0f9d5c6b8a64d7
Steve Dower added the comment:
New changeset 177a41a07b7d13c70d068ea0962f07e625ae171e by Steve Dower in branch
'master':
bpo-34725: Adds _Py_SetProgramFullPath so embedders may override sys.executable
(GH-9860)
https://github.com/python/cpyt
Steve Dower added the comment:
The next releases of 3.7 and 3.8 will include _Py_SetProgramFullPath()
functions for embedders to set the eventual value of sys.executable before
calling Py_Initialize(). It's undocumented and not guaranteed stable (and
indeed, it looks like Victor is al
Steve Dower added the comment:
You might consider adding this support to setuptools rather than CPython. The
distutils module is basically closed to non-essential enhancements like this,
and will eventually be deprecated for public use (which means totally unused on
Windows and only used to
Steve Dower added the comment:
There's been progress in terms of setuptools eventually adopting distutils, so
that looks likely and we're basically planning on it. Adding this as an
enhancement to setuptools is going to be a better approach than adding it to
distutils in
Steve Dower added the comment:
Are you awaiting those calls (and the write())? I can't tell at first glance
whether you need to, but it seems like missing await there would cause your
problem.
--
___
Python tracker
<https://bugs.py
Steve Dower added the comment:
Looks like it's available.
It will be a new subprocess option to not create a new window. The underlying
issue is that some applications always request a console, and if your own
application doesn't have one then Windows will create it. Normally you
Steve Dower added the comment:
I still think the best option is a command line flag like "--open-in-homedir"
that causes Idle to do a chdir to the user's documents folder. This way we can
put a static option in the start menu item in the installer and not worry about
the lim
4001 - 4100 of 5794 matches
Mail list logo