Eric L. added the comment:
Very confusing but very interesting. I'm trying to follow as I'm the main
maintainer of the rdiff-backup software, which goes cross-platforms, so these
small differences might become important.
Now, looking into the docs, following your explanations,
New submission from Eric L. :
The os.path documentation at https://docs.python.org/3/library/os.path.html
states that:
> Vice versa, using bytes objects cannot represent all file names on Windows
> (in the standard mbcs encoding), hence Windows applications should use string
> o
Eric L. added the comment:
The question is if only the statement that bytes are deprecated is wrong, but
also if the long path feature is supported with bytes or not. As written, I'm a
Linux guy, I don't feel like I have the pre-requisites to check thi
New submission from Eric L. :
In chapter 3.1.2. Removing the MAX_PATH Limitation of
https://docs.python.org/3/using/windows.html#removing-the-max-path-limitation
(also in 3.9 and 3.10), it is written that "(Use of bytes as paths is
deprecated on Windows, and this feature is not avai
Eric L. added the comment:
Well, your decision but, as a user of the library, it didn't feel like a new
feature just like a bug to be fixed, the main issue being the inconsistent
handling of bytes vs. str.
--
___
Python tracker
&
Eric L. added the comment:
On 24/05/2020 20:30, Serhiy Storchaka wrote:
> Maybe just document that tempdir should be a string?
I would definitely prefer to have bytes paths considered as 1st class
citizen.
--
___
Python tracker
<
Eric L. added the comment:
On 23/05/2020 21:41, Gregory P. Smith wrote:
> Could you please turn that into a Github PR?
I can, if you don't tell me that I need to setup a full-blown Python
development environment to do this.
--
___
Python
Eric L. added the comment:
Sorry, I uploaded by mistake an early version of the patch. The new one is the
one I had actually tested (the old one would fail with mixing bytes and string
under certain circumstances, I can't remember any more).
--
Added file: https://bugs.pytho
Eric L. added the comment:
In the meantime, I noticed the following in addition:
[ericl@tuxedo ~]$ python3.9
Python 3.9.0a6 (default, Apr 28 2020, 00:00:00)
[GCC 10.0.1 20200430 (Red Hat 10.0.1-0.14)] on linux
Type "help", "copyright", "credits" or "licens
New submission from Eric L. :
tempfile fails on mixed str and bytes when setting tempfile.tempdir to a
non-existent bytes path but succeeds when set to an existing bytes path.
$ python3.9
Python 3.9.0a6 (default, Apr 28 2020, 00:00:00)
[GCC 10.0.1 20200430 (Red Hat 10.0.1-0.14)] on linux
Eric L. Frederich <[EMAIL PROTECTED]> added the comment:
If we put the following one liner right after sqlite_inc_paths is
defined it will add include directories based on the PATH environment
variable.
sqlite_inc_paths.extend([re.sub('/bin[/]?$', '/include', p) for
New submission from Eric L. Frederich <[EMAIL PROTECTED]>:
In setup.py, the paths that it searches for sqlite in is hard coded in a
list sqlite_inc_paths.
This should also search any path in either $PATH or $LD_LIBRARY_PATH.
This is necessary for non-default installations of sqlite for
12 matches
Mail list logo