[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2017-08-30 Thread Pauli Virtanen

Changes by Pauli Virtanen :


--
pull_requests: +3284

___
Python tracker 

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



[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2017-08-30 Thread Pauli Virtanen

Pauli Virtanen added the comment:

Created backport PR for 3.6: https://github.com/python/cpython/pull/3241
Which versions take backports?

--

___
Python tracker 

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



[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2017-08-30 Thread Antoine Pitrou

Antoine Pitrou added the comment:

At this point, 2.7 and 3.6 do.

--

___
Python tracker 

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



[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2017-08-30 Thread Pauli Virtanen

Changes by Pauli Virtanen :


--
pull_requests: +3286

___
Python tracker 

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



[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-08-30 Thread Antoine Pitrou

Antoine Pitrou added the comment:


New changeset c67bae04780f9d7590f9f91b4ee5f31c5d75b3c3 by Antoine Pitrou 
(Christopher Wilcox) in branch 'master':
bpo-30581: Windows: os.cpu_count() returns wrong number of processors (#2934)
https://github.com/python/cpython/commit/c67bae04780f9d7590f9f91b4ee5f31c5d75b3c3


--
nosy: +pitrou

___
Python tracker 

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



[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-08-30 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Fixed.  Someone might backport this to 3.6 if they want.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
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



[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2017-08-30 Thread Antoine Pitrou

Antoine Pitrou added the comment:


New changeset 2d1653aa43cf02e6b74f9d4f178fac9969a293e2 by Antoine Pitrou (Pauli 
Virtanen) in branch '3.6':
[3.6] bpo-10746: Fix ctypes PEP 3118 type codes for c_long, c_bool, c_int 
(GH-31) (#3241)
https://github.com/python/cpython/commit/2d1653aa43cf02e6b74f9d4f178fac9969a293e2


--

___
Python tracker 

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



[issue29753] Ctypes Packing Bitfields Incorrectly - Linux

2017-08-30 Thread Antti Haapala

Antti Haapala added the comment:

To Charles first: "Gives back a sizeof of 8 on Windows and 10 on Linux. The 
inconsistency makes it difficult to have code work cross-platform." 

The bitfields in particular and ctypes in general have *never* been meant to be 
cross-platform - instead they just must need to match the particular C compiler 
behaviour of the platform, thus the use of these for cross platform work is 
ill-advised - perhaps you should just use the struct module instead.

However, that said, on Linux, sizeof these structures - packed or not - do not 
match the output from GCC; unpacked one has sizeof 12 and packed 10 on my 
Python 3.5, but they're both 8 bytes on GCC. This is a real bug.

GCC says that the bitfield behaviour is: 
https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/Structures-unions-enumerations-and-bit-fields-implementation.html

Whether a bit-field can straddle a storage-unit boundary (C90 6.5.2.1, C99 and 
C11 6.7.2.1).

Determined by ABI.
The order of allocation of bit-fields within a unit (C90 6.5.2.1, C99 and C11 
6.7.2.1).

Determined by ABI.
The alignment of non-bit-field members of structures (C90 6.5.2.1, C99 and C11 
6.7.2.1).

Determined by ABI. 

Thus, the actual behaviour need to be checked from the API documentation of the 
relevant platform. However - at least for unpacked structs - the x86-64 
behaviour is that a bitfield may not cross an addressable unit.

--
nosy: +ztane
title: Ctypes Packing Incorrectly - Linux -> Ctypes Packing Bitfields 
Incorrectly - Linux

___
Python tracker 

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



[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-30 Thread Oren Milman

Changes by Oren Milman :


--
pull_requests: +3287

___
Python tracker 

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



[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-30 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 095a421b1606ee27e00a5d9d253b05a9f0cfadb8 by Serhiy Storchaka 
(Oren Milman) in branch '3.6':
[3.6] bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() 
(GH-3226) (#3243)
https://github.com/python/cpython/commit/095a421b1606ee27e00a5d9d253b05a9f0cfadb8


--

___
Python tracker 

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



[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-30 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



[issue31108] add __contains__ for list_iterator (and others) for better performance

2017-08-30 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I don't think I've ever used `in` on an iterator.  I didn't even expect it to 
work, and would not consider its use a good practice.

--
nosy: +pitrou

___
Python tracker 

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



[issue28287] Refactor subprocess.Popen to let a subclass handle IO asynchronously

2017-08-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
stage:  -> patch review

___
Python tracker 

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



[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-08-30 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +3288

___
Python tracker 

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



[issue24340] co_stacksize estimate can be highly off

2017-08-30 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +3289

___
Python tracker 

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



[issue31113] Stack overflow with large program

2017-08-30 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Ned, Benjamin, what do you think about backporting this change to 3.6 and 2.7? 
On one hand, the change is not trivial and looks like a new feature. On other 
hand, this can be considered as a platform specific bug, the compiler works 
with a large generated code on Linux, but crashes on Windows.

I don't know how to increase the stack size on Windows, but if it is an option, 
it looks preferable to me on 2.7 and 3.6.

--
nosy: +ned.deily

___
Python tracker 

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



[issue24340] co_stacksize estimate can be highly off

2017-08-30 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests:  -3289

___
Python tracker 

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



[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-08-30 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests:  -3288

___
Python tracker 

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



[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-08-30 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests: +3290

___
Python tracker 

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



[issue28287] Refactor subprocess.Popen to let a subclass handle IO asynchronously

2017-08-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +gregory.p.smith

___
Python tracker 

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



[issue28287] Refactor subprocess.Popen to let a subclass handle IO asynchronously

2017-08-30 Thread Antoine Pitrou

Antoine Pitrou added the comment:

By the way, we're using GitHub PRs now for development, though you can still 
submit patch files if you prefer that.

--
nosy: +pitrou

___
Python tracker 

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




[issue17611] Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.

2017-08-30 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
pull_requests:  -3290

___
Python tracker 

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



[issue31113] Stack overflow with large program

2017-08-30 Thread Ned Deily

Ned Deily added the comment:

I agree with Antoine's comment on the PR: this seems like this should only go 
into 3.7.  From the description here, it sounds like this is an edge-case 
problem that hasn't come up before as an issue.  Let's do the right thing in 
master (for 3.7) and try to come up with a workaround for 3.6.x (like 
increasing the stack size).  And doing that does not prevent us from deciding 
later to backport to 3.6.x once we have some experience with the changes in 
master.

--

___
Python tracker 

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



[issue31307] ConfigParser.read silently fails if filenames argument is a byte string

2017-08-30 Thread Vincent Michel

New submission from Vincent Michel:

Calling `config_parser.read` with `'test'` is equivalent to:

config_parser.read(['test'])

while calling `config_parser.read` with `b'test'` is treated as:

config_parser.read([116, 101, 115, 116])

which means python will try to open the file descriptors 101, 115 and 116.

I don't know if byte path should be supported, but this is probably not the 
expected behavior.

The method code: 
https://github.com/python/cpython/blob/master/Lib/configparser.py#L678-L702

--
components: Library (Lib)
messages: 301026
nosy: vxgmichel
priority: normal
severity: normal
status: open
title: ConfigParser.read silently fails if filenames argument is a byte string
type: behavior
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



[issue31308] forkserver process isn't re-launched if it died

2017-08-30 Thread Antoine Pitrou

New submission from Antoine Pitrou:

It may happen that the forkserver process dies (for example if SIGINT is 
received because the user pressed Ctrl-C) while the parent process is still 
alive.  In that case, if the parent tries to create a new Process instance, an 
exception is received.

The exception looks like this:

  File "/xxx/lib/python3.5/multiprocessing/popen_forkserver.py", line 52, in 
_launch
self.sentinel, w = forkserver.connect_to_new_process(self._fds)
  File "/xxx/lib/python3.5/multiprocessing/forkserver.py", line 66, in 
connect_to_new_process
client.connect(self._forkserver_address)
ConnectionRefusedError: [Errno 111] Connection refused

--
components: Library (Lib)
messages: 301027
nosy: pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: forkserver process isn't re-launched if it died
type: behavior
versions: 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



[issue31308] forkserver process isn't re-launched if it died

2017-08-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +davin

___
Python tracker 

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



[issue31308] forkserver process isn't re-launched if it died

2017-08-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
pull_requests: +3291

___
Python tracker 

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



[issue31307] ConfigParser.read silently fails if filenames argument is a byte string

2017-08-30 Thread R. David Murray

Changes by R. David Murray :


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue31309] Tkinter root window does not close if used with matplotlib.pyplot

2017-08-30 Thread Philipp

New submission from Philipp:

Today I ran into a problem when using both tkinter and matplotlib.pyplot at the 
same time. I thought it would be best to let you know, in case it is an issue. 

The problem is/was that the root window did not close itself, when just using 
`askopenfilename()`. 

A complete description of the problem, including a minimal working example, 
screenshots and a "solution" can be found on StackOverflow: 
https://stackoverflow.com/q/45960815/7414040 

I think that the function `askopenfilename()` does not ensure that the tkinter 
root window, that has been opened, is destroyed after the function call ended.

--
assignee: terry.reedy
components: IDLE, Tkinter, Windows
messages: 301028
nosy: paul.moore, psiehr, steve.dower, terry.reedy, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Tkinter root window does not close if used with matplotlib.pyplot
type: behavior
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



[issue31310] semaphore tracker isn't protected against crashes

2017-08-30 Thread Antoine Pitrou

New submission from Antoine Pitrou:

Similar to bpo-31308, but pertaining to multiprocessing's semaphore tracker 
process.

--
components: Library (Lib)
messages: 301029
nosy: davin, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: semaphore tracker isn't protected against crashes
type: behavior
versions: 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



[issue31310] semaphore tracker isn't protected against crashes

2017-08-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
pull_requests: +3292

___
Python tracker 

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



[issue30737] Update devguide link to the new URL

2017-08-30 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:


New changeset 384899dfaeb83db38a6d3846d3cbc2f58a6605cd by Mariatta (Lisa Hewus 
Fresh) in branch 'master':
bpo-30737: Update DevGuide links to new URL (GH-3228)
https://github.com/python/cpython/commit/384899dfaeb83db38a6d3846d3cbc2f58a6605cd


--

___
Python tracker 

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



[issue31292] `python setup.py check --restructuredtext` fails when a include directive is present.

2017-08-30 Thread flying sheep

flying sheep added the comment:

I should have linked the file: distutils/command/check.py

--

___
Python tracker 

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



[issue30737] Update devguide link to the new URL

2017-08-30 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



[issue31309] Tkinter root window does not close if used with matplotlib.pyplot

2017-08-30 Thread Terry J. Reedy

Terry J. Reedy added the comment:

This is purely a tkinter issue.  Windows people can ignore this.

Your problem was a result of your program error, of not keeping a reference to 
Tk(), combined with tkinter's _default_root 'feature'.

The solution you report in your answer, 'root = tkinter.Tk()', later followed 
by an explicit 'root.destroy()' is *the* correct way to do what you want.  I 
explained further in my answer.

There is no way for askopenfilename to know that you are done with root or 
tkinter._default_root.

--
assignee: terry.reedy -> 
components:  -IDLE, Windows
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
versions: +Python 3.7 -Python 3.5

___
Python tracker 

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



[issue30581] os.cpu_count() returns wrong number of processors on system with > 64 logical processors

2017-08-30 Thread STINNER Victor

STINNER Victor added the comment:

I reopen the issue to backport the bugfix to 3.6.

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

___
Python tracker 

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



[issue31292] `python setup.py check --restructuredtext` fails when a include directive is present.

2017-08-30 Thread flying sheep

Changes by flying sheep :


--
pull_requests: +3293

___
Python tracker 

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



[issue31308] forkserver process isn't re-launched if it died

2017-08-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
stage: needs patch -> patch review

___
Python tracker 

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



[issue31310] semaphore tracker isn't protected against crashes

2017-08-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
stage: needs patch -> patch review

___
Python tracker 

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



[issue31311] SystemError raised by PyCData_setstate() in case __dict__ is not a dict

2017-08-30 Thread Oren Milman

New submission from Oren Milman:

The following code causes PyCData_setstate() (in Modules/_ctypes/_ctypes.c) to
raise a SystemError:

import ctypes
class BadStruct(ctypes.Structure):
def __dict__(self):
pass

BadStruct().__setstate__({}, b'foo')

this is because PyCData_setstate() assumes that the __dict__ attribute is a 
dict.


while we are here, I wonder whether we should change the format given to 
PyArg_ParseTuple() to "!Os#", so that the following would raise a TypeError:

import ctypes
class MyStruct(ctypes.Structure):
pass

MyStruct().__setstate__(42, b'foo')

AttributeError: 'int' object has no attribute 'keys'


what do you think?

--
components: Extension Modules
messages: 301034
nosy: Oren Milman
priority: normal
severity: normal
status: open
title: SystemError raised by PyCData_setstate() in case __dict__ is not a dict
type: behavior
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



[issue31311] SystemError raised by PyCData_setstate() in case __dict__ is not a dict

2017-08-30 Thread Oren Milman

Oren Milman added the comment:

typo - change the format to "O!s#"

--

___
Python tracker 

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



[issue31311] SystemError raised by PyCData_setstate() in case __dict__ is not a dict

2017-08-30 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

And the following example results in segmentation fault.

import ctypes
class BadStruct(ctypes.Structure):
@property
def __dict__(self):
raise AttributeError

BadStruct().__setstate__({}, b'')

As for change the format given to PyArg_ParseTuple(), I think it can be done 
only in master. It is better to make a separate PR for this.

--
nosy: +serhiy.storchaka
type: behavior -> crash

___
Python tracker 

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



[issue28287] Refactor subprocess.Popen to let a subclass handle IO asynchronously

2017-08-30 Thread Gregory P. Smith

Changes by Gregory P. Smith :


--
assignee:  -> gregory.p.smith

___
Python tracker 

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



[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

2017-08-30 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +3295

___
Python tracker 

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



[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-08-30 Thread Cheryl Sabella

Cheryl Sabella added the comment:

I've started working on the missing tests for HighPage and KeysPage and also 
test for the functions and buttons in ConfigDialog.  That led to PR3238 because 
the 'help' button wasn't working.

Anyway, I found the following on 
http://effbot.org/tkinterbook/tkinter-events-and-bindings.htm:

"An easier solution is to prevent Tkinter from propagating the event to other 
handlers; just return the string “break” from your event handler:

def ignore(event):
return "break"
text.bind("", ignore)
or

text.bind("", lambda e: "break")"

So, it seems that the 'Double-Button-1' and 'B1-Motion' bindings are to prevent 
those events from propagating outside of the widget.  Although, I didn't notice 
a difference when I commented them out, so maybe they don't have a higher level 
binding.

--

___
Python tracker 

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



[issue30096] Update examples in abc documentation to use abc.ABC

2017-08-30 Thread Éric Araujo

Éric Araujo added the comment:


New changeset 122e88a8354e3f75aeaf6211232dac88ac296d54 by Éric Araujo (Eric 
Appelt) in branch 'master':
bpo-30096: Use ABC in abc reference examples (#1220)
https://github.com/python/cpython/commit/122e88a8354e3f75aeaf6211232dac88ac296d54


--
nosy: +merwok

___
Python tracker 

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



[issue30096] Update examples in abc documentation to use abc.ABC

2017-08-30 Thread Éric Araujo

Éric Araujo added the comment:

Thanks for the patch!  Raymond approved it and I merged it after a minor 
change.  Now let me read the doc again about backports :)

--
stage: needs patch -> backport needed
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



[issue24900] Raising an exception that cannot be unpickled causes hang in ProcessPoolExecutor

2017-08-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
pull_requests:  -3277

___
Python tracker 

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