[issue29898] PYTHONLEGACYWINDOWSIOENCODING isn't implemented

2017-05-13 Thread Berker Peksag

Changes by Berker Peksag :


--
pull_requests: +1669

___
Python tracker 

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



[issue30340] Optimize out non-capturing groups

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 821a9d146bc04a1bc1a9807962990a1f59d692b8 by Serhiy Storchaka in 
branch 'master':
bpo-30340: Enhanced regular expressions optimization. (#1542)
https://github.com/python/cpython/commit/821a9d146bc04a1bc1a9807962990a1f59d692b8


--

___
Python tracker 

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



[issue29570] Windows Buildbot 2.7 is broken

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

It doesn't look fixed. I found this issue because I got a report about buildbot 
failure from build...@python.org yesterday.

http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%202.7/builds/81/steps/test/logs/stdio

test_random is failed when read *.pck files. They are marked as binary in 
.gitattributes, but this is not enough. Seems the attribute "binary" only means 
that text diff is not used. For disabling newlines translations "eol=lf" should 
be used.

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

___
Python tracker 

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



[issue30360] getpass.getpass() does not except stdin from an Expect script

2017-05-13 Thread brent saner

brent saner added the comment:

NOTE: the example scripts given are for py3k, obviously. these should work (or 
rather, "not work") for 2.

of course, you'll also have to mark the poc.py as executable as well for both.

--
Added file: http://bugs.python.org/file46862/expect-getpass2.poc.tar

___
Python tracker 

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



[issue30360] getpass.getpass() does not except stdin from an Expect script

2017-05-13 Thread brent saner

New submission from brent saner:

This is reproducible on both 2.7.13 and 3.6.1.

Please refer to the attached files for demonstration. It seems that when I 
spawn a python script using getpass.getpass() from expect 
(http://expect.sourceforge.net/ - I'm using version 5.45), the input is not 
passed. Further, it seems interactive control is handed over to the shell- 
however, it doesn't actually pass anything to the python script that was 
spawned, forcing one to break out of the expect process itself.

Obviously, the proofs attached require the expect binary to be installed. To 
test, simply mark "poc.exp" as executable and execute it (assuming poc.py is in 
the same directory. If not, you'll need to edit line 4 of poc.exp).

--
components: Library (Lib)
files: expect-getpass.poc.tar
messages: 293630
nosy: brent saner
priority: normal
severity: normal
status: open
title: getpass.getpass() does not except stdin from an Expect script
Added file: http://bugs.python.org/file46861/expect-getpass.poc.tar

___
Python tracker 

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



[issue29570] Windows Buildbot 2.7 is broken

2017-05-13 Thread STINNER Victor

STINNER Victor added the comment:

Oh I forgot to cmose this old issue. It was fixed in the meanwhile.

@Serhiy: if you saw a bug recently, please open a new issue.

--
resolution:  -> fixed
stage:  -> 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



[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2017-05-13 Thread David K. Hess

David K. Hess added the comment:

Pushed more commits so here's a branch compare:

https://github.com/python/cpython/compare/master...davidkhess:fix-issue-4963

--

___
Python tracker 

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



[issue30323] concurrent.futures.Executor.map() consumes all memory when big generators are used

2017-05-13 Thread Josh Rosenberg

Josh Rosenberg added the comment:

This is a strict duplicate of #29842, for which I've had a PR outstanding for a 
couple months now.

--
nosy: +josh.r

___
Python tracker 

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



[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2017-05-13 Thread David K. Hess

David K. Hess added the comment:

Ok, I followed @r.david.murray's advice and decided to take a shot at this.

First, I noticed that I couldn't reproduce the non-deterministic behavior that 
I reported above on the latest code (i.e. pre-3.7). After doing some research 
it appears this was the sequence of events:

1) Pre-3.3, hashing was stable and this wasn't a problem.
2) Hash randomization became the default in version 3.3 and this 
non-determinism showed up.
3) A new dict implementation was introduced in 3.6 and key orders became stable 
between runs and this non-determinism was gone. However, as the notes on the 
new dict implementation indicate, this ordering should not be relied upon.

I also looked at some other issues:

* 6626 - The patch here basically rewrote the module. I agreed with the last 
comment on that issue that it probably doesn't need that.
* 24527 - Related to the .init() problems discussed here in r.david.murray's 
excellent analysis of the init behavior.
* 1043134 - Where the preferred extension issue was addressed via a proposed 
new map.

My approach with this patch is to address the init problem, the non-determinism 
and the preferred extension issue.

For the init, I made two changes:

1) I added new references to the initial values of the maps so they could be 
retained between init() calls. I also modified MimeTypes.__init__ to refer to 
these.

2) I modified the init() function to check the files argument as r.david.murray 
suggested. If it is supplied, then the existing database is used and the files 
are added to it. If it is not supplied, then the module reinitializes from 
scratch. I'll update the documentation to reflect this if the commit passes 
muster.

For the non-determinism and preferred extension, I changed the two extension 
type maps to be OrderedDicts. I then sorted the entries to the OrderedDict 
constructor by mime type and then placed the preferred extension as the first 
extension to be processed. This guarantees that it will be the extension 
returned for guess_type. The OrderedDict also guarantees that 
guess_all_extensions will always build and return the same value.

The commit can be reviewed here:

https://github.com/davidkhess/cpython/commit/ecabb1cb57e7e066a693653f485f2f687dcc7f6b

I'll open a PR if and when this approach gets enough positive feedback.

--

___
Python tracker 

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



[issue29196] Remove old-deprecated plistlib features

2017-05-13 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Too bad the checkin message didn't say why the feature was deprecated.  

That said, if anyone cared, they would have spoken-up by now.

--

___
Python tracker 

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



[issue29863] Add a COMPACT constant to the json module

2017-05-13 Thread Brett Cannon

Brett Cannon added the comment:

Obviously Bob can re-open this if he disagrees with the general sentiment 
against this idea, but since I doubt he will disagree I'm going to save him 
some effort and close this issue.

Thanks to Andrew for taking the time to writing the PR and being patient while 
we discussed this.

--
resolution:  -> rejected
stage:  -> 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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Jim, are you up for preparing the backport to 2.7?
I came across a conflict while doing so with cherry_picker.py, and don't have 
the bandwidth to resolve it for now.
Otherwise, I'll look into the 2.7 backport after PyCon.
Thanks :)

--

___
Python tracker 

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



[issue29196] Remove old-deprecated plistlib features

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The deprecation was added in 368c0b22f8e43709afbbc3805f55ceffed127212. The 
comment added in 4c3d054d3d3fa693e4eff4574ab8e98772bd66cd said that Dict was 
kept for compatibility with Python 2.2.

--

___
Python tracker 

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



[issue30346] Odd behavior when unpacking `itertools.groupby`

2017-05-13 Thread Tim Peters

Tim Peters added the comment:

Users certainly have been fooled by this, although "unpacking" is a red 
herring.  I've been burned by it, and I've seen StackOverflow puzzles related 
to the same thing.  I think this is the heart of it:  given a finite iterable 
I, it usually makes no semantic difference whether a program does:

for thing in I:

or

for thing in list(I):

But when `I` is obtained from `groupby()`, `thing` contains an iterator that 
shares state with `I` itself, so they're not at all the same.  It's surprising 
just because it's so uncommon.  "unpacking" is one special case of this.

I'd like to see an attempt to invoke a sub-iterator raise an exception if the 
primary iterator has moved beyond it.  The behavior in that case now is 
undefined, utterly accidental, and useful only for surprising people ;-)  
Nobody _intends_ to do this, unless they have no idea how `groupby()` is meant 
to be used.

--
nosy: +tim.peters

___
Python tracker 

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



[issue29570] Windows Buildbot 2.7 is broken

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

test_bug_1727780 failure looks related to newlines conversion.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue30262] Don't expose sqlite3 Cache and Statement

2017-05-13 Thread Aviv Palivoda

Aviv Palivoda added the comment:

I opened a separate PR for the deprecation of the Cache and Statement.  

> I would think you could replace those entries with calls to wrapper functions 
> that issue the deprecation and then call the real function.

I made wrapper deprecation classes that issue the deprecation. I am not sure if 
there is a easier way...

--

___
Python tracker 

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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 600c5ad53c0112d48581c48f986ea04676a28c44 by Mariatta in branch 
'master':
bpo-30178: Add Jim Fasarakis-Hilliard to Misc/ACKS (GH-1572)
https://github.com/python/cpython/commit/600c5ad53c0112d48581c48f986ea04676a28c44


--

___
Python tracker 

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



[issue30262] Don't expose sqlite3 Cache and Statement

2017-05-13 Thread Aviv Palivoda

Changes by Aviv Palivoda :


--
pull_requests: +1668

___
Python tracker 

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



[issue29196] Remove old-deprecated plistlib features

2017-05-13 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Ronald, I'm curious about why was the attribute access capability was ever 
deprecated.  That capability seemed nice to have.

--
nosy: +rhettinger

___
Python tracker 

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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +1667

___
Python tracker 

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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +1666

___
Python tracker 

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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
pull_requests: +1665

___
Python tracker 

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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
stage: patch review -> backport needed

___
Python tracker 

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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset c71168090df435c1eb8c03005b11df764cd7ebd6 by Mariatta (Jim 
Fasarakis-Hilliard) in branch 'master':
bpo-30178: Indent methods and attributes of MimeType class (GH-1306)
https://github.com/python/cpython/commit/c71168090df435c1eb8c03005b11df764cd7ebd6


--
nosy: +Mariatta

___
Python tracker 

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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya

Changes by Mariatta Wijaya :


--
stage:  -> patch review
versions: +Python 2.7, Python 3.5, Python 3.6

___
Python tracker 

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



[issue29950] Rename SlotWrapperType to WrapperDescriptorType

2017-05-13 Thread Jim Fasarakis-Hilliard

Changes by Jim Fasarakis-Hilliard :


--
stage:  -> 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



[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Jim Fasarakis-Hilliard

Jim Fasarakis-Hilliard added the comment:

bump

--

___
Python tracker 

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



[issue2936] ctypes.util.find_library() doesn't consult LD_LIBRARY_PATH

2017-05-13 Thread Niklas Hambüchen

Niklas Hambüchen added the comment:

For people who pass by, this issue has been taken on again in:

https://bugs.python.org/issue9998

--
nosy: +nh2

___
Python tracker 

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



[issue11681] -b option undocumented

2017-05-13 Thread Zachary Ware

Zachary Ware added the comment:

Thanks for the patch, Greg!  I implemented Nick's suggestions and merged it.

--
resolution:  -> fixed
stage: needs patch -> 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



[issue11681] -b option undocumented

2017-05-13 Thread Zachary Ware

Zachary Ware added the comment:


New changeset f6c6d1e2304a06efdf65c60c3e1c6bbe1f192fd0 by Zachary Ware in 
branch '2.7':
bpo-11681: Document the `-b` and `-bb` options (GH-1562)
https://github.com/python/cpython/commit/f6c6d1e2304a06efdf65c60c3e1c6bbe1f192fd0


--
nosy: +zach.ware

___
Python tracker 

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



[issue28595] shlex.shlex should not augment wordchars

2017-05-13 Thread Evan Andrews

Evan Andrews added the comment:

Do I need to create a pull request for this?

--

___
Python tracker 

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



[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Eryk Sun

Changes by Eryk Sun :


--
status: pending -> closed

___
Python tracker 

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



[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Eryk Sun

Changes by Eryk Sun :


--
resolution:  -> out of date
stage:  -> resolved
status: open -> pending

___
Python tracker 

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



[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Mark Lawrence

Changes by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue30280] Warning -- threading._dangling was modified by test_asyncio on FreeBSD 9 and 10

2017-05-13 Thread Kubilay Kocak

Changes by Kubilay Kocak :


--
nosy: +koobs

___
Python tracker 

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



[issue30291] Allow windows launcher to specify bit lengths with & without minor version

2017-05-13 Thread Steve Barnes

Steve Barnes added the comment:

Closing as committed in 
https://github.com/python/cpython/commit/870f6a11dd3b2d5455f7057ce0d9c2cd31acc2f2

--
resolution:  -> fixed
stage:  -> 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



[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 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



[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 7e19dbc92ec06a987eaae72f7cdfd32006aa4960 by Serhiy Storchaka in 
branch 'master':
bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506)
https://github.com/python/cpython/commit/7e19dbc92ec06a987eaae72f7cdfd32006aa4960


--

___
Python tracker 

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



[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-05-13 Thread Eric V. Smith

Eric V. Smith added the comment:

This is on my list of things to review at PyCon, when I should finally have 
some free time.

--

___
Python tracker 

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



[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Eric V. Smith

Eric V. Smith added the comment:

I'm okay with this change.

--

___
Python tracker 

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



[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Sophist

Sophist added the comment:

http://stackoverflow.com/questions/23125857/python-os-path-exists-cant-locate-the-file-however-the-file-indeed-exsits
 gave me an explanation:

That when running 32-bit apps on Win 64 C:\Windows\SysWOW64 is mapped to 
C:\Windows\system32.

Copying the missing DLL to SysWOW64 made it work.

NOTE: Original report was for 64-bit on 64-bit, so this is not necessarily an 
explanation of the original issue.

--

___
Python tracker 

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



[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What are your thoughts about this Eric?

--

___
Python tracker 

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



[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Eric?

--

___
Python tracker 

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



[issue29196] Remove old-deprecated plistlib features

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What are your thoughts about this Ronald?

--

___
Python tracker 

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



[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Sophist

Changes by Sophist :


--
versions:  -Python 3.7

___
Python tracker 

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



[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Sophist

Changes by Sophist :


--
versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7

___
Python tracker 

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



[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Sophist

Sophist added the comment:

Finding it impossible for PIP to install discid.

Tracked it down to this issue i.e. 
os.path.isfile('C:\Windows\system32\discid.dll') == False when the dll exists.

Some other dlls in that directory result in True and some in False. I cannot 
see any significant difference in security permissions that might cause this - 
only difference is security permissions for some are inherited and some are not 
inherited.

I get this on both Python 3.6.1 32-bit and 2.7.13 32-bit on Win 10 Pro 64-bit 
Anniversary Edition 1607. I use ESET Smart Security 9 as AV.

--
nosy: +Sophist

___
Python tracker 

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



[issue30355] Unicode symbols crash lib2to3.parse

2017-05-13 Thread Xiang Zhang

Xiang Zhang added the comment:

Why? Unicode identifiers are not allowed in 2.x. I don't think lib2to3 is able 
or responsible to parse invalid syntax source codes.

--
nosy: +xiang.zhang

___
Python tracker 

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



[issue30353] ctypes: pass by value for structs broken on Cygwin/MinGW 64-bit

2017-05-13 Thread Xiang Zhang

Xiang Zhang added the comment:

Looks same as #29804.

--
nosy: +vinay.sajip, xiang.zhang

___
Python tracker 

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



[issue30346] Odd behavior when unpacking `itertools.groupby`

2017-05-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

PR 1568 and PR 1569 are two subvariants of #1. PR 1568 makes an inner iterator 
invalid and raising RuntimeError when used. PR 1569 makes an inner iterator 
exhausted.

--
stage:  -> patch review

___
Python tracker 

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



[issue30346] Odd behavior when unpacking `itertools.groupby`

2017-05-13 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +1664

___
Python tracker 

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



[issue30346] Odd behavior when unpacking `itertools.groupby`

2017-05-13 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +1663

___
Python tracker 

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



[issue15786] IDLE code completion window can hang or misbehave with mouse

2017-05-13 Thread Louie Lu

Louie Lu added the comment:

Terry, the latest PR fix the problem both on Linux / MacOS and Windows, please 
help to review and test if there is any problem on different platform, thanks!

--

___
Python tracker 

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



[issue30310] tkFont.py assumes that all font families are encoded as ascii in Python 2.7

2017-05-13 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Test needed.

import Tkinter as tk
import tkFont as tkf

root = tk.Tk()
font = tkf.Font(root, size=20, family=u"MS \u30b4\u30b7\u30c3\u30af")

reproduces the failure in Marc's example.

  File "C:\Programs\Python27\lib\lib-tk\tkFont.py", line 74, in __init__
font = self._set(options)
  File "C:\Programs\Python27\lib\lib-tk\tkFont.py", line 51, in _set
options.append(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: 
ordinal not in range(128)

After patching my installed 2.7.13, the code runs without exception and font is 
created, with the unrecognized family replaced by Ariel.

--

___
Python tracker 

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