[issue25148] Windows registry PythonCore key changed inconsistent with other releases

2015-12-20 Thread Steve Dower

Steve Dower added the comment:

The per-user installs collide without the name change, and since those are now 
the default, it's important to have the change. The redirection you refer to 
only occurs for HKLM and not HKCU.

The launcher was updated and tested to find all versions. If there's a bug 
here, it's in the launcher and not the registry key. The special case for the 
-32 suffix is still there, but it is not invoked for 3.5. Earlier versions will 
still check '3.4' and reject it based on the python.exe bitness when -3.4-32 is 
provided.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25914] Fix OrderedDict.__sizeof__

2015-12-20 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Proposed patch correctly calculates the size of OrderedDict (the size of an 
instance dict should not be counted) and adds exact tests for sizeof.

--
components: Extension Modules
files: odict_sizeof.patch
keywords: patch
messages: 256754
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Fix OrderedDict.__sizeof__
type: behavior
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41367/odict_sizeof.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2015-12-20 Thread STINNER Victor

STINNER Victor added the comment:

Regressions are not cool, but it was a deliberate choice to not support
bytes filenames in os.scandir(). If you use bytes, you can get filenames
which are invalid: you will be unable to use the filename with open() to
read its content for example.

Bytes filename are deprecated since python 3.2 if i recall correctly. It's
time to use the right time, it's also simpler to use on Python 3.

I suggest to document the regression rather than adding bytes support to
os.scandir or don't use scandir in os.walk().

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25915] file.write() after file.read() adds text to the end of the file

2015-12-20 Thread Adam Wasik

New submission from Adam Wasik:

>>> file = open(r"C:\adam.txt","r+")
>>> file.read()
'TEXT TEXT TEXT TEXT TEXT TEXT TEXT\nTEXT TEXT TEXT TEXT TEXT TEXT TEXT\nTEXT TE
XT TEXT TEXT TEXT TEXT TEXT\nTEXT TEXT TEXT TEXT TEXT TEXT TEXT\nTEXT TEXT TEXT
TEXT TEXT TEXT TEXT\nTEXT TEXT TEXT TEXT TEXT TEXT TEXT'
>>> file.seek(0,0)
0
>>> file.read(1)
'T'
>>> file.tell()
1
>>> file.write("NEW")
3
>>> file.tell() # Why 217 rather than 4. Text is added at the end file
217
>>>

--
components: IO
messages: 256756
nosy: Adam Wasik
priority: normal
severity: normal
status: open
title: file.write() after file.read() adds text to the end of the file
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2015-12-20 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

For softer transition we can return old os.walk() implementation for bytes (may 
be with a deprecation warning). Using os.scandir() is just an optimization, and 
this shouldn't break existing program.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25914] Fix OrderedDict.__sizeof__

2015-12-20 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +eric.snow, loewis, rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25915] file.write() after file.read() adds text to the end of the file

2015-12-20 Thread Adam Wasik

Adam Wasik added the comment:

duplicate of the issue #12215

--
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25915] file.write() after file.read() adds text to the end of the file

2015-12-20 Thread SilentGhost

Changes by SilentGhost :


--
resolution:  -> duplicate
stage:  -> resolved
superseder:  -> TextIOWrapper: issues with interlaced read-write
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread Iber Parodi Siri

New submission from Iber Parodi Siri:

The documentation of readframes (wave module) states that readframes returns a 
string of bytes, just like python 2.7, but that's not the case

in python 3.4 readframes returns byte type objects

--
assignee: docs@python
components: Documentation
messages: 256759
nosy: Iber Parodi Siri, docs@python
priority: normal
severity: normal
status: open
title: wave module readframes now returns bytes not str
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread SilentGhost

SilentGhost added the comment:

Here is the patch.

--
keywords: +needs review, patch
nosy: +SilentGhost
stage:  -> patch review
type:  -> behavior
versions: +Python 3.3, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41368/issue25916.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25917] Fixing howto links in docs

2015-12-20 Thread SilentGhost

New submission from SilentGhost:

This patch changes links from wiki to howto part of docs.

--
assignee: docs@python
components: Documentation
files: howto.diff
keywords: needs review, patch
messages: 256761
nosy: SilentGhost, docs@python
priority: normal
severity: normal
stage: patch review
status: open
title: Fixing howto links in docs
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41369/howto.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25701] Document that tp_setattro and tp_setattr are used for deleting attributes

2015-12-20 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

In 2.7 all is the same except that there is the sq_ass_slice slot and the 
PySequence_SetSlice() function.

--
Added file: http://bugs.python.org/file41370/setattr-2.7.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17868] pprint long non-printable bytes as hexdump

2015-12-20 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Withdrawn in favor of issue17530.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17868] pprint long non-printable bytes as hexdump

2015-12-20 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution: fixed -> rejected

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23808] Symlink to directory on Windows 8

2015-12-20 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
type:  -> behavior
versions: +Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-20 Thread Alessandro Cucci

Alessandro Cucci added the comment:

Uploaded a new patch. 

This time I ran tests using:
$ ./python -m test -v test_datetime

and got no errors.

I've written the c docstring, updated docs, and rewrote _format_time function.

I know it's boring review this another time, but I'm doing my best.

Thanks to all.

--
Added file: http://bugs.python.org/file41371/issue19475_v5.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25766] __bytes__ doesn't work for str subclasses

2015-12-20 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
versions:  -Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25902] Fixed various refcount issues in ElementTree iteration

2015-12-20 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25909] Incorrect documentation for PyMapping_Items and like

2015-12-20 Thread Sonali Gupta

Sonali Gupta added the comment:

The documentation now says that On success, return a list, a tuple or a 
dictionary view for PyMapping_Items, PyMapping_Values and PyMapping_Keys.

--
keywords: +patch
nosy: +mine0901
Added file: http://bugs.python.org/file41372/bug.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25752] asyncio.readline - add customizable line separator

2015-12-20 Thread Марк Коренберг

Марк Коренберг added the comment:

ReadStream.read_until() has been implemented instead enhancing readline().

--
resolution:  -> wont fix

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25902] Fixed various refcount issues in ElementTree iteration

2015-12-20 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Added tests.

--
Added file: http://bugs.python.org/file41373/etree_iter_refcount_2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25909] Incorrect documentation for PyMapping_Items and like

2015-12-20 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +martin.panter, r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25909] Incorrect documentation for PyMapping_Items and like

2015-12-20 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

> This is equivalent to the Python expression ``list(o.keys())``.

This sentence is not correct.

And comments in Include/abstract.h are not absolutely correct too.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25766] __bytes__ doesn't work for str subclasses

2015-12-20 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1e54adef4064 by Serhiy Storchaka in branch '3.5':
Issue #25766: Special method __bytes__() now works in str subclasses.
https://hg.python.org/cpython/rev/1e54adef4064

New changeset af0b95fb1c19 by Serhiy Storchaka in branch 'default':
Issue #25766: Special method __bytes__() now works in str subclasses.
https://hg.python.org/cpython/rev/af0b95fb1c19

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25898] Check for subsequence inside a sequence

2015-12-20 Thread Sebastian Linke

Sebastian Linke added the comment:

Slightly modified the implementation to return the index rather than a boolean.

--
Added file: http://bugs.python.org/file41374/subseq_index.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21579] Python 3.4: tempfile.close attribute does not work

2015-12-20 Thread Марк Коренберг

Марк Коренберг added the comment:

ping. THis is essential in our software, so we use private field in order to 
work-around this bug.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread R. David Murray

Changes by R. David Murray :


--
stage: patch review -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread R. David Murray

Changes by R. David Murray :


--
versions:  -Python 3.3, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

This is not the only place where "string of bytes" or "byte string" is used as 
a synonym to "bytes object".

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread R. David Murray

R. David Murray added the comment:

Yes, and I think it would be good to consistently use "bytes object" or similar 
wording, to avoid confusion.  But not high enough priority to do a hunt-and-fix 
(unless someone really feels like doing that).  I've got a patch pending for 
fixing it in the base64 module, as part of making other fixes to that doc, for 
example.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread SilentGhost

SilentGhost added the comment:

Here is the patch replacing exact match 'string of bytes' with :class:`bytes` 
where appropriate. No match was found in base64.

--
Added file: http://bugs.python.org/file41375/issue25916_2.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25766] __bytes__ doesn't work for str subclasses

2015-12-20 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21579] Python 3.4: tempfile.close attribute does not work

2015-12-20 Thread R. David Murray

R. David Murray added the comment:

I think it is a reasonable backward-compatibility fix to make it work as badly 
as it previously did ;).  I would not document it, and I do not consider it a 
high priority (as Serhiy said, this usage reached into object internals and 
thus was dangerous from the start).

Unless I'm missing something, there is no need to add any new features to 
support your use case, Марк, or for us to apply a backward compatibility fix 
for you to get your code working agian.  Your use case is already supported:

fd, name = tempfile.mkstemp(...)
with io.open(fd, ...) as f:
...

This has the added advantage that it will work on all python versions.  You can 
easy wrap it into a function for use in your application if you don't like 
needing two lines.

To extend support for this to Windows, we can add a feature to mkstmp to not 
use O_TEMPORARY.  Also, it would probably be worth adding the above as an 
example to the docs.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25912] Use __spec__.__name__ instead of __name__ in the docs where appropriate

2015-12-20 Thread Brett Cannon

Changes by Brett Cannon :


--
assignee: docs@python -> 
components: +Library (Lib) -Documentation
stage:  -> test needed
type:  -> enhancement
versions:  -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25912] Use __spec__.__name__ instead of __name__ in the docs where appropriate

2015-12-20 Thread Brett Cannon

Brett Cannon added the comment:

Trick with all of these suggestions is going to be thinking through 
compatibility issues from the change (which also means it can only apply to the 
default branch).

--
nosy: +brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25768] compileall functions do not document or test return values

2015-12-20 Thread Brett Cannon

Brett Cannon added the comment:

The patch LGTM, Nicholas! I'll commit it when I have a chance.

As for docs on test_importlib, nothing in the tests directory is documented to 
prevent people from depending on it since all the code in that directory is 
explicitly meant for testing Python and not general use.

--
stage:  -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25768] compileall functions do not document or test return values

2015-12-20 Thread Nicholas Chammas

Nicholas Chammas added the comment:

Alright, sounds good to me. Thank you for guiding me through the process!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25909] Incorrect documentation for PyMapping_Items and like

2015-12-20 Thread Sonali Gupta

Sonali Gupta added the comment:

Should the sentence be removed completely?
> This is equivalent to the Python expression ``list(o.keys())``.

comments in Include/abstract.h are not absolutely correct too so should 
dictionary view be included in the return of PyMapping_Values, PyMapping_Keys 
and PyMapping_Items ??

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23670] Modifications to support iOS as a cross-compilation target

2015-12-20 Thread Russell Keith-Magee

Russell Keith-Magee added the comment:

Another update - the issue with libffi has been resolved, so there is now only 
need for a single copy of libffi_ios sources. 

This directory could potentially be merged with the libffi_osx sources, except 
that libffi no longer supports PowerPC as a compilation target for OS/X builds 
(and neither does Apple). If PowerPC can be dropped from the list of supported 
platforms, libffi for OS X can be updated to the current trunk sources.

--
versions: +Python 3.4 -Python 3.5
Added file: http://bugs.python.org/file41376/20151221.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1753718] base64 "legacy" functions violate RFC 3548

2015-12-20 Thread Martin Panter

Martin Panter added the comment:

I understood “bytes-like” to mean what is now defined in the glossary: what is 
accepted by the C-level y* format for the PyArg parsing functions. I tend to 
agree with  that it may not have 
been the best term to choose when you really mean “C-contiguous buffer”.

I am understanding that you take “bytes-like” to be a more specific thing. 
Perhaps we could instead have two distinct terms, say “C-contiguous buffer”, 
which is what FileIO.write() and PyArg supports, and “byte sequence”, perhaps 
implementing an API common to bytes() and memoryview(), which is easier to work 
with using native Python.

In general, I think ctypes and array.array produce my stricter kind of 
C-contiguous buffers. But since Issue 15944 native Python code can access these 
buffers by casting to a second memoryview:

>>> c = ctypes.c_char(b"A")
>>> with memoryview(c) as array_view, array_view.cast("B") as byte_view:
... print(repr(byte_view[0]))
... 
65

Nick’s commit d90f25e1a705 mentions multi-dimensional input for the “modern” 
interface. That is not the problem. In 
 he decided to be less permissive 
for the “legacy” interface, which seems unnecessary to me.

Anyway, this is all rather off-topic. Apart from the bytes-like errors, the 
rest of the current patch is good. Even if you committed with those four 
errors, I can live with that. I think there are similar problems elsewhere in 
the documentation, HTTPConnection.request() over TLS for instance.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25902] Fixed various refcount issues in ElementTree iteration

2015-12-20 Thread Martin Panter

Martin Panter added the comment:

Left some comments about possibly unnecessary ref counting. Other than that it 
seems okay.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25913] base64.a85decode adobe flag incorrectly utilizes <~ as a marker causing error

2015-12-20 Thread Swati Jaiswal

Changes by Swati Jaiswal :


--
keywords: +patch
Added file: http://bugs.python.org/file41377/iss_25913.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1753718] base64 "legacy" functions violate RFC 3548

2015-12-20 Thread R. David Murray

R. David Murray added the comment:

The term "bytes-like object" is specifically designed for those situations 
where python used to say "X does not support the buffer interface" if passed 
something else.  Which is the case here...now it says "a bytes-like object is 
required".  I'm not sure if we fixed that everywhere, but I think we did.  It 
is certainly true in the cases you cite, except that it turns out that 
ignorechars accepts an ASCII string.

So, if there is any sort of remaining problem, it is a separate issue: my edits 
match the current error message behavior.  I'll fix ignorechars and commit.

--
stage: patch review -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4709] Mingw-w64 and python on windows x64

2015-12-20 Thread Nathaniel Smith

Changes by Nathaniel Smith :


--
nosy: +njs

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25844] Pylauncher, launcher.c: Assigning NULL to a pointer instead of testing against NULL

2015-12-20 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 48b3cac0dbcd by Vinay Sajip in branch '3.4':
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.
https://hg.python.org/cpython/rev/48b3cac0dbcd

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2015-12-20 Thread Campbell Barton

Campbell Barton added the comment:

@haypo, I checked available info online and couldn't find any reference to byte 
file-paths were deprecated since Python3.2.

On the contrary, the 3.2 release notes [0] state:

 "countless fixes regarding bytes/string issues; among them full support for a 
bytes environment (filenames, environment variables)"


Also docs for open 3.2 [1] and 3.5 [2] say that byte filenames are supported 
with no mention of deprecation.

Since this is already working properly in 3.5 for other systems besides 
ms-windows, and worked in 3.4x.
Dropping support on a single platform seems a rather problematic regression.



[0]: https://www.python.org/download/releases/3.2/
[1]: https://docs.python.org/3.2/library/functions.html#open
[2]: https://docs.python.org/3.5/library/functions.html#open

--
nosy: +ideasman42

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com