Change by Eryk Sun :
--
components: +Interpreter Core -Library (Lib)
versions: +Python 3.10 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue28
Change by Eryk Sun :
--
Removed message: https://bugs.python.org/msg359933
___
Python tracker
<https://bugs.python.org/issue28166>
___
___
Python-bugs-list mailin
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue29996>
___
___
Python-bug
Change by Eryk Sun :
--
Removed message: https://bugs.python.org/msg291198
___
Python tracker
<https://bugs.python.org/issue29996>
___
___
Python-bugs-list mailin
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue30405>
___
___
Python-bug
Eryk Sun added the comment:
See also bpo-30405, which has more discussion about supporting PEP 514 in the
launcher.
--
___
Python tracker
<https://bugs.python.org/issue27
Change by Eryk Sun :
--
Removed message: https://bugs.python.org/msg293989
___
Python tracker
<https://bugs.python.org/issue30405>
___
___
Python-bugs-list mailin
Change by Eryk Sun :
--
components: -ctypes
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue30
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue29178>
___
___
Python-bug
Change by Eryk Sun :
--
components: +Extension Modules, Interpreter Core
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue29
Change by Eryk Sun :
--
Removed message: https://bugs.python.org/msg291089
___
Python tracker
<https://bugs.python.org/issue29971>
___
___
Python-bugs-list mailin
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue36305>
___
___
Python-bug
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue32862>
___
___
Change by Eryk Sun :
--
components: +Extension Modules -Library (Lib)
versions: +Python 3.10, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue32
Eryk Sun added the comment:
I'd prefer to change os.kill() to take the code path that generates a console
control event only when the pid value is negative (i.e. a process group ID),
with -1 reserved to send the event to all processes in the console session
(i.e. console process gr
Change by Eryk Sun :
--
Removed message: https://bugs.python.org/msg256166
___
Python tracker
<https://bugs.python.org/issue23948>
___
___
Python-bugs-list mailin
Eryk Sun added the comment:
The signal.signal() docs should explain that only SIGINT and SIGBREAK can be
signaled from another process, and only if the current process is a console
application. A link to os.kill() could be added, which should explain their use
as signals in relation to
Eryk Sun added the comment:
I'm no longer interested in solving the SIGINT event problem locally at the
wait site. A common implementation of _Py_Sleep, _Py_WaitForSingleObject, and
_Py_WaitForMultipleObjects is needed. _winapi.WaitForSingleObject would call
_Py_WaitForSingleObjec
Change by Eryk Sun :
--
title: shutil.chown on Windows -> shutil.chown should not be defined in Windows
___
Python tracker
<https://bugs.python.org/issu
Eryk Sun added the comment:
Apparently there's no one else interested in implementing shutil.chown() in
Windows. Okay, but as long as that's the case, the definition should be skipped
in Windows, which is an easy problem.
--
components: -IO
keywords: +easy
versions: +P
Eryk Sun added the comment:
I thought this was a good idea at the time, but a core dev never took up the
mantle in over 4 years, and no one else showed interest.
--
resolution: -> rejected
stage: patch review -> resolved
status: open -&g
Change by Eryk Sun :
--
resolution: -> duplicate
stage: needs patch -> resolved
status: open -> closed
superseder: -> shutil.which wrong result on Windows
___
Python tracker
<https://bugs.python
Eryk Sun added the comment:
Regarding Toby's patch:
Probably _is_windows_nt_internal_command() isn't needed or desired. It's more
of a command-line parsing issue, rather than a file-search issue. For example,
CMD will search for an internal name if it's quoted in
Eryk Sun added the comment:
> But please discuss it in another issue.
What's returned by locale.get_locale_encoding() and
locale.get_current_locale_encoding() is relevant to adding them as new
functions and is a chance to implement this correctly in Windows.
You're right t
Eryk Sun added the comment:
Thank you for thoughtful and detailed answer, Paul.
--
___
Python tracker
<https://bugs.python.org/issue43484>
___
___
Python-bug
Eryk Sun added the comment:
That it allows creating the datetime instance looks like a bug to me, i.e. a
time before 0001-01-01 00:00 UTC is invalid. What am I misunderstanding?
--
nosy: +eryksun
___
Python tracker
<https://bugs.python.
Eryk Sun added the comment:
I suppose if you really need a plain `pip` command, you could reinstall with
`python.exe -m pip install --force-reinstall pip`.
--
nosy: +eryksun
___
Python tracker
<https://bugs.python.org/issue43
Eryk Sun added the comment:
> But it is not what I want for now. I want to ignore UTF-8 mode
> when `encoding="locale"` is specified.
> This is almost "only in Windows" issue, and users can use
> `encoding="mbcs"` in Windows-only script.
Why is it
Eryk Sun added the comment:
> If Python calls setlocale() per default now, it has served its purpose.
Except not for embedding applications if configure_locale [1] isn't set. But in
that case determining the default locale isn't Python's problem to solve.
> My assumptio
Eryk Sun added the comment:
> Read the ANSI code page on Windows,
I don't see why the Windows implementation is inconsistent with POSIX here. If
it were changed to be consistent, the default encoding at startup would remain
the same, since setlocale(LC_CTYPE, "") uses the
Eryk Sun added the comment:
I'm closing this as not a bug. You showed that all of the criteria used in a
non-shallow comparison are the same on your end, i.e. they're both regular
files with the same reported size and the same contents. Something is going on,
which is a mystery
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue33030>
___
___
Python-bug
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue21130>
___
___
Python-bug
Change by Eryk Sun :
--
stage: patch review -> needs patch
title: super call in ctypes sub-class fails in 3.6 -> super call in ctypes
subclass fails
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
Eryk Sun added the comment:
The ctypes issue is bpo-12836, which has a suggested solution. This issue is a
third-party problem introduced by a workaround, which needs to be addressed at
the source, such as with helper functions and subclasses that close the loop.
--
resolution
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue32745>
___
___
Python-bug
Change by Eryk Sun :
--
versions: +Python 3.10 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue27274>
___
___
Python-bugs-list mailing list
Unsub
Change by Eryk Sun :
--
components: +ctypes
___
Python tracker
<https://bugs.python.org/issue24823>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eryk Sun added the comment:
> The Documentation component is for issues that only change the docs
That's not clear in the triaging guide for the multi-select component field.
(However, it is clearly stated as such for the GitHub PR label
"type-documentation".) If that
Change by Eryk Sun :
--
components: +Extension Modules -Build
versions: +Python 3.10 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue28
Change by Eryk Sun :
--
versions: +Python 3.10 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue27318>
___
___
Python-bugs-list mailing list
Unsub
Eryk Sun added the comment:
One issues with versioned "X.Y" executables is interference with normal
handling of the ".exe" extension. For example, in "python3.10" the ".10"
counts as an extension, so normally ".exe" won't be appended w
Eryk Sun added the comment:
Windows Vista is no longer a concern, so find_windows_browsers() doesn't have
to worry about the KEY_WOW64_* flags. IMO, it should get the browser's real
name (the default value of the key) and the fully-qualified path of the
executable, instead of
Change by Eryk Sun :
--
components: +Windows
dependencies: +[Windows] support args and cwd in os.startfile()
nosy: +paul.moore, tim.golden, zach.ware
versions: +Python 3.10 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue8
New submission from Eryk Sun :
bpo-8232 has a patch to add an `arguments` parameter to os.startfile(). This
improvement is needlessly tied to that issue. It's useful in general as a safer
way to execute applications and scripts compared to using subprocess.Popen()
with shell=True. It
Eryk Sun added the comment:
FYI, the 3rd field is Field3Value, defined in "PCbuild/python.props" as the
value `MicroVersionNumber*1000 + ReleaseLevelNumber*10 + ReleaseSerial`. It
gets set as the FIELD3 macro in "PCbuild/pyproject.props", which gets used in
the definitio
Eryk Sun added the comment:
> Shouldn't the behaviour for _thread.interrupt_main() be always to
> interrupt the main thread.
The underlying C API function, PyErr_SetInterrupt(), simulates SIGINT without
actually sending the signal to the process via kill() or raise(), but the
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue25386>
___
___
Python-bug
Change by Eryk Sun :
--
components: -IO
___
Python tracker
<https://bugs.python.org/issue33240>
___
___
Python-bugs-list mailing list
Unsubscribe:
Eryk Sun added the comment:
> Explorer keeps handles open to directories to get updates via
> ReadDirectoryChangesExW. It opens watched directories with
> shared delete access, so deleting the child succeeds. But as
> discussed above, the directory isn't unlinked from t
Eryk Sun added the comment:
> What I would expect is a consistent behaviour and as a
> user I am not interested in inner guts of differences
> between filesystems.
It's already consistent. msg360033 contains a misunderstanding about what write
permission on a file means in Un
Change by Eryk Sun :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> venv activate bash script has wrong line endings in Windows
___
Python tracker
<https://bugs.python
Eryk Sun added the comment:
The POSIX "Lib/venv/scripts/common/activate" script needs a line-ending
exception in ".gitattributes":
https://github.com/python/cpython/blob/master/.gitattributes
--
title: python -m venv activation issue when using cygwin on windo
Change by Eryk Sun :
--
versions: -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue43395>
___
___
Python-bugs-list mailing list
Unsub
Change by Eryk Sun :
--
components: +Library (Lib)
versions: -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue42855>
___
___
Python-bug
Change by Eryk Sun :
--
components: +Extension Modules, Interpreter Core
versions: +Python 3.10, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue21
Eryk Sun added the comment:
> Given that extra info, I'd say we're fine to document that our timeouts
> can't do any better than the OS, which "for example, is typically
> around 15ms on Windows", and recommend using non-blocking calls
> instead.
The 1
Eryk Sun added the comment:
See the related discussion in bpo-41299. The system interrupt period can be
lowered to 1 ms with timeBeginPeriod() -- or lower with undocumented
NtSetTimerResolution(). This affects the resolution of dispatcher waits such as
Sleep() and WaitForSingleObject(), as
Eryk Sun added the comment:
> For the other 10% (diagnostic logging), it would be nice to have a
> better option than running "cmd /c ver"
CMD's VER command (cmd!eVersion) calls GetVersion(), for which, in its case,
the API calls the internal function GetVersion_Curre
Change by Eryk Sun :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> shutil.copy raises IsADirectoryError when the directory does
not actually exist
___
Python tracker
<https://bugs.python
Change by Eryk Sun :
--
stage: test needed -> needs patch
title: Windows py.exe launcher fail to handle quote correctly -> Windows py
launcher fails to handle a quoted version argument
versions: +Python 3.10, Python 3.9 -Python 3.6, Pyth
Change by Eryk Sun :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Add support for Path.absolute()
___
Python tracker
<https://bugs.python
Change by Eryk Sun :
--
Removed message: https://bugs.python.org/msg289517
___
Python tracker
<https://bugs.python.org/issue29688>
___
___
Python-bugs-list mailin
Eryk Sun added the comment:
The narrow scope of this issue could be implemented by defining a scheme for
local builds in the PythonCore key -- such as "X.Ys[-32]". The build process
would create or update the
"HKCU\Software\Python\PythonCore\X.Ys[-32]\InstallPat
Change by Eryk Sun :
--
title: venv says to use python3 which does not exist in 3.6.4 -> Use the py
launcher in venv Windows examples
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issu
Eryk Sun added the comment:
I wonder if this should be handled more productively by supporting a `daemon`
parameter. In POSIX, use the double fork technique for creating a daemon
process. In Windows, use DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP |
CREATE_BREAKAWAY_FROM_JOB. For a daemon
Eryk Sun added the comment:
> Python is conceptually multi-platform, so its behavior on
> Linux and Windows should be as much consistent as possible.
It's not expected for the behavior of all Popen() parameters to be the same on
all platforms. For example, the behavior and capa
Eryk Sun added the comment:
winrshost.exe runs Python with its standard I/O redirected to pipes, so
sys.stdin.read(1) blocks the main thread while waiting for the synchronous read
to complete. If the user types something, then the read completes and the main
thread can call the SIGINT
Eryk Sun added the comment:
Note that the following recommendation for getting the system version was
removed in late 2019 [1][2]:
To obtain the full version number for the operating system,
call the GetFileVersionInfo function on one of the system
DLLs, such as Kernel32.dll
Eryk Sun added the comment:
The issues brought up here are addressed in a more direct, comprehensive, and
productive way in PR 1927 for bpo-30555.
--
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder: -> _io._WindowsConsoleIO b
Eryk Sun added the comment:
As discussed in msg337357, the Windows API does not support setting the current
working directory to a path that starts with \\?\ or \\.\. It's dysfunctional
in many cases. Anyway, using a \\?\ path does not remove the length limit on
the working directory,
Eryk Sun added the comment:
I'm certain this is a third-party problem -- something like AppLocker or an
anti-malware program that's limiting filesystem access. It's not a bug in
Python, which simply uses FindFirstFileW() and FindNextFileW() in the normal
way.
--
Eryk Sun added the comment:
The complexity of mixing standard I/O from the shell and external programs is a
limitation of the Windows command line. Each program could choose to use the
system (or process) ANSI or OEM code page, the console session's input or
output code page, UTF-8, o
Change by Eryk Sun :
--
resolution: -> third party
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue33603>
___
___
Change by Eryk Sun :
--
status: open -> pending
___
Python tracker
<https://bugs.python.org/issue27346>
___
___
Python-bugs-list mailing list
Unsubscrib
Eryk Sun added the comment:
bpo-38671 has PR 17716 pending approval, which addresses the problem in
msg309102 by ensuring that a non-strict resolve begins by getting the absolute
path via nt._getfullpathname().
--
resolution: -> duplicate
stage: needs patch -> resolved
status
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue31665>
___
___
Eryk Sun added the comment:
PR 1927 is a definite improvement. By using _get_osfhandle() instead of caching
the handle value, it guarantees that access to the original console file can be
saved and restored via `fd_save = dup(fd)` and `dup2(fd_save, fd)`. It also
allows duping a new open of
Eryk Sun added the comment:
The need for asynchronous I/O (i.e. FILE_FLAG_OVERLAPPED) with
ReadFileScatter() and WriteFileGather() makes them a poor fit for POSIX
os.readv() and os.writev(), since we can't open the file with open() or
os.open(). Python's socket module opens
Change by Eryk Sun :
--
components: -Windows
title: Pathlib.replace cannot move file to a different drive on Windows if
filename different -> Support moving across filesystems in pathlib.Path, as
shutil.move() does
versions: +Python 3.10, Python 3.8, Python 3.9 -Python
Change by Eryk Sun :
--
dependencies: +Python interactive console doesn't use sys.stdin for input
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/is
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue17620>
___
___
Python-bug
Eryk Sun added the comment:
bpo-33016 fixed the problem with the inconsistent dwFlags argument passed to
GetFinalPathNameByHandleW().
We do need the ability to get the NT name in order to implement samefile() and
sameopenfile() reliably in all cases -- i.e. when the volume serial number
Eryk Sun added the comment:
PEP 11 says that "[a] new feature release X.Y.0 will support all Windows
releases whose extended support phase is not yet expired". There was no such
thing as Extended Security Updates (ESU) when that provision was accepted. As
defined by PEP 11, extend
Eryk Sun added the comment:
"C:\some\path/some/file.txt" is a valid file path. The Windows file API
normalizes most paths, except for verbatim paths that start with exactly
"\\?\". Path normalization includes replacing forward slashes with backslashes.
If you provide th
Change by Eryk Sun :
--
title: multprocessing errors on Windows: WriteFile() argument 1 must be int,
not None; OSError: handle is closed -> multiprocessing Manager error: send()
called for a closed connection
type: crash -> behavior
versions: +Python 3.10, Python 3.8, Pyth
Eryk Sun added the comment:
This issue is similar to bpo-25117 in terms of the installer failing to run
Python for post-installation tasks. The complication in this case is that a
subsequent repair doesn't install pip.
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Pytho
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.5, Python 3.6, Python
3.7
___
Python tracker
<https://bugs.python.org/issue29
Eryk Sun added the comment:
I tested installing 3.10 in session 0 for the current user, as a user with the
batch logon right. The installation succeeded. If you're running as SYSTEM,
then installing for the current user doesn't see reasonable to me. I won't test
that c
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.9 -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue25166>
___
___
Python-bug
Eryk Sun added the comment:
Maybe it's worth adding a recommendation in the docs to reboot and try to
repair an installation that fails in the final stage due to ucrt not being
fully installed yet, i.e. missing api-ms-win-crt-*.dll. Or maybe this case can
be detected and display a me
Eryk Sun added the comment:
The current help text attempts to explain point 2, in terms of an active
virtual environment, shebangs, the PY_PYTHON[2|3] environment variables, and
the py.ini [defaults]. It's a lot to say succinctly in a few lines of text. A
shortened URL that links t
Change by Eryk Sun :
--
versions: +Python 3.10, Python 3.9 -Python 3.5, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue36880>
___
___
Eryk Sun added the comment:
> So no, while unresolved, this bug report should not be closed.
The implied question was whether you or the core devs on the nosy list, upon
further consideration, wanted to resolve the issue by rejecting the request,
but it had simply been forgotten about fo
Change by Eryk Sun :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue34840>
___
Change by Eryk Sun :
--
type: behavior -> enhancement
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.5, Python 3.6, Python
3.7
___
Python tracker
<https://bugs.python.org/issu
Eryk Sun added the comment:
I think the documentation of ctypes.PyDLL and ctypes.pythonapi is good enough
as is.
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Eryk Sun :
--
assignee: -> docs@python
components: +Library (Lib)
type: -> enhancement
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.5, Python 3.6, Python
3.7
___
Python tracker
<https://bugs.python.org/i
Eryk Sun added the comment:
> The proposal in this issue is to have a public standard library API,
> which I'm calling ‘tempfile.makepath’,
It's a few years later, and tempfile.mktemp() still exists and works without
raising a deprecation warning. Of course it's still ma
Eryk Sun added the comment:
The pathlib documentation of Path.rename() says "[o]n Unix, if target exists
and is a file, it will be replaced silently if the user has permission". This
leaves the behavior on Windows in question. The reader has to scroll down to
the correspondenc
501 - 600 of 2115 matches
Mail list logo