[issue20600] test_create_server_ssl_verify_failed() failure on PPC64 AIX 3.x buildbot

2015-08-18 Thread REIX Tony

REIX Tony added the comment:

I'm now working about the port of Python 3.4.3 on AIX.
So, I'm interesting with issues dealing with AIX.
I'm now building a view of the issues on AIX 6.1 .

--
nosy: +trex58

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



[issue24878] Add docstrings to selected named tuples

2015-08-18 Thread Petr Viktorin

Petr Viktorin added the comment:

I see some typos in aifc.py:
+_aifc_params.sampwidth.__doc__ = 'Ample width in bytes'
+_aifc_params.compname.__doc__ = (A human-readable version ofcompression type

Should that be Sample width and of compression?

--
nosy: +encukou

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



[issue1635741] Interpreter seems to leak references after finalization

2015-08-18 Thread Alex Budovski

Alex Budovski added the comment:

Interestingly enough, some of the leaked memory came from the finalize routine 
itself! Here's one example:

0:004 !heap -p -a 0x00DB144346F0
address 00db144346f0 found in
_HEAP @ db0cae
  HEAP_ENTRY Size Prev FlagsUserPtr UserSize - state
00db14434690 030a   [00]   00db144346c003074 - (busy)
7ffc55628b04 ntdll!RtlpCallInterceptRoutine+0x0040
7ffc555f9f36 ntdll!RtlAllocateHeap+0x00079836
7ffc2a60c4da ucrtbased!calloc_base+0x123a
7ffc2a60c27d ucrtbased!calloc_base+0x0fdd
7ffc2a60f34f ucrtbased!malloc_dbg+0x002f
7ffc2a60fdde ucrtbased!malloc+0x001e
5a5e6ef9 python36_d!_PyMem_RawMalloc+0x0029
5a5e78c7 python36_d!_PyMem_DebugAlloc+0x0087
5a5e5e6f python36_d!_PyMem_DebugMalloc+0x001f
5a5e7230 python36_d!PyMem_Malloc+0x0030
5a582047 python36_d!new_keys_object+0x0077
5a57f7c5 python36_d!dictresize+0x0085
5a57a4b2 python36_d!PyDict_Merge+0x0112
5a57bf33 python36_d!PyDict_Update+0x0023
5a75fb1d python36_d!PyImport_Cleanup+0x045d
5a778f9e python36_d!Py_Finalize+0x005e

--
nosy: +Alex Budovski

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



[issue24079] xml.etree.ElementTree.Element.text does not conform to the documentation

2015-08-18 Thread Stefan Behnel

Stefan Behnel added the comment:

The can store arbitrary objects sentence is now duplicated, and still way too 
visible. I have to read three sentences until it tells me what I need to know.

--

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



[issue24883] Typo in c-api/buffer documentation

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0c5af3e398f0 by Benjamin Peterson in branch '3.4':
'Py_Buffer' should be 'Py_buffer' (closes #24883)
https://hg.python.org/cpython/rev/0c5af3e398f0

New changeset 76892906253c by Benjamin Peterson in branch '3.5':
merge 3.4 (#24883)
https://hg.python.org/cpython/rev/76892906253c

New changeset c1e6bc6a9d69 by Benjamin Peterson in branch 'default':
Merge 3.5 (#24883)
https://hg.python.org/cpython/rev/c1e6bc6a9d69

--
nosy: +python-dev
resolution:  - fixed
stage:  - resolved
status: open - closed

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



[issue24079] xml.etree.ElementTree.Element.text does not conform to the documentation

2015-08-18 Thread Stefan Behnel

Stefan Behnel added the comment:

I think the first two sentences can simply be removed to fix this, without loss 
of readability or information.

--

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



[issue23972] Asyncio reuseport

2015-08-18 Thread John Lehmann

Changes by John Lehmann j1o1...@gmail.com:


--
nosy: +j1o1h1n

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



[issue24790] Idle: improve stack viewer

2015-08-18 Thread Can İbanoğlu

Can İbanoğlu added the comment:

Hello again,

I have spent some time going over the code and how the PyShell brings all of 
this together and have formed some loose opinions on how to solve these issues 
but I wanted to get a much more informed opinion.

I will provide a patch for the first one first, so right now, all my questions 
are related to that one.

Basically, I have come up with three different places I could patch in 
StackViewer.py to remove idlelib.run.runcode from the stack viewer. 

First option is to patch the constructor of StackTreeItem so that if 
idlelib.run.runcode is in the traceback, it never gets pushed to the stack 
list. I don't like this approach very much because I would essentially be 
removing data from the stack. 

Second option is to patch the GetSubList method so that the iterated variable 
info is checked before constructing a new FrameTreeItem. If 
idlelib.run.runcode is matched, we would just continue to the next value in 
the list. I think this would lead to repetitive code though. We would rewrite 
some of the GetText method of FrameTreeItem and then make a string 
comparison to identify the entry to be removed.

Third option is to call the GetText method after each created FrameTreeItem 
and make the string comparison then. This would add a lot of method calls if 
the stack is long. On the other hand, this approach doesn't repeat any code. 

It is highly possible that I have missed something very simple and elegant :) I 
would very much appreciate your input. I can make upload a patch once I get 
your approval. Which approach would be better here?

Something else that I would like to ask is the preparation of the patch file. 
Should switch to the 3.4 branch and then create the patch or can I do it at the 
dev branch? How would I check if the patch applies to 3.4/3.5/3.6 (apart from 
applying them manually and testing if it has the desired outcome)?

I'm sorry for the wall of text, I'm nervous and I don't want to mess something 
up. :)

Thanks a lot for your assistance.

--

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



[issue24887] Sqlite3 has no option to provide open flags

2015-08-18 Thread Cal Leeming

New submission from Cal Leeming:

There are several flags which can be provided to Sqlite3 during connection [1]. 
Alternative libraries such as apsw provide the ability to use these flags [2], 
however it would be nice if `sqlite3` supported this out of the box.

Is there any reason why the wrapper for `sqlite3` does not allow flags to be 
passed in? If not, can we add it?

[1]: https://www.sqlite.org/c3ref/open.html
[2]: https://github.com/rogerbinns/apsw/blob/master/example-code.py#L466

--
components: Library (Lib)
messages: 248770
nosy: sleepycal
priority: normal
severity: normal
status: open
title: Sqlite3 has no option to provide open flags
versions: Python 3.4

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



[issue24886] open fails randomly on AIX

2015-08-18 Thread Arnon Yaari

New submission from Arnon Yaari:

We are using Python 2.7.8 on AIX 7.1 TL 3.
On rare occasions, calls to open files with mode w fail with: IOError: File 
exists.

  File 
/root/jenkins/workspace/powertools/eggs/infi.credentials_store-0.1-py2.7.egg/infi/credentials_store/base.py,
 line 175, in set_credentials
with open(self.get_file_path(), 'w') as f:
IOError: [Errno 17] File exists: '/root/.infinidat/infinihost'

This happens randomly on multiple systems and different files (including e.g. 
/dev/null).
This is very strange because File exists should only be raised if we open the 
file with the 'x' flag (os.O_EXCL) and we don't.
After debugging, we discovered that this happens due to a bug in AIX. On AIX, 
fopen checks for mode[2] (where 'mode' is the second argument passed to it - in 
our case, w) regardless of its length. fopen checks this byte against 'x' to 
decide if O_EXCL should be used. In the case of passing w as 'mode', mode[2] 
will contain undefined data -- and in rare cases it will contain the byte 'x'.
This was reported to IBM and APARs exist for this issue:
http://www.ibm.com/support/docview.wss?uid=isg1IV64453 (see related APARs for 
various AIX versions in this page)

Python can and should work around this because the code in fileobject.c is also 
partly to blame:
Python 2.7.x contains the following lines:

/* probably need to replace 'U' by 'rb' */
newmode = PyMem_MALLOC(strlen(mode) + 3);

For the 'mode' parameter, Python allocates 3 additional bytes that are not 
always used, and these bytes contain uninitialized data. The byte 'x' that 
causes the problem comes from this allocation. Python should set the bytes to 
zero to avoid this issue.
I'm attaching a patch. Note that this applies only to the 2.x branch.

--
files: aix_fopen_fix.diff
keywords: patch
messages: 248769
nosy: wiggin15
priority: normal
severity: normal
status: open
title: open fails randomly on AIX
versions: Python 2.7
Added file: http://bugs.python.org/file40202/aix_fopen_fix.diff

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



[issue8987] Distutils doesn't quote Windows command lines properly

2015-08-18 Thread Chris Hogan

Changes by Chris Hogan christopher.ho...@intel.com:


Added file: http://bugs.python.org/file40205/quote-args-ext.tar.gz

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



[issue24764] cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

2015-08-18 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
resolution:  - fixed
status: open - closed

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



[issue24790] Idle: improve stack viewer

2015-08-18 Thread Terry J. Reedy

Terry J. Reedy added the comment:

7. Sorts global and local names (as with dir()).

8. Don't expand values with their class attributes, at least not for builtins.  
Example

+ dir icon __doc__  = None

Clicking + gives all the attributes of type(None), each with its own +.  It 
does not do this for ints and strings.

--

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



[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-18 Thread Yury Selivanov

Changes by Yury Selivanov yseliva...@gmail.com:


--
versions: +Python 3.6

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



[issue24847] Can't import tkinter in Python 3.5.0rc1

2015-08-18 Thread Steve Dower

Steve Dower added the comment:

Posting the actual changes made to Tcl and Tk, mainly so I can link them from 
the upstream issue I'm filing.

--
Added file: http://bugs.python.org/file40206/tcltk_ucrt_option.patch

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



[issue8987] Distutils doesn't quote Windows command lines properly

2015-08-18 Thread Chris Hogan

Chris Hogan added the comment:

At Intel, we've run into problems with external modules giving paths to 
_nt_quote_args that contain trailing backslashes, which escapes the final quote 
and breaks the command.  This fix takes care of special characters, trailing 
backslashes, and embedded quotes as in Matt's example.  I've also added unit 
tests for these cases, as well as a high level test that builds an extension 
and defines some macros that contain quotes and special characters. 

setup.py - Includes a library directory with a trailing backslash. I compiled a 
simple library, test_module.lib, and put it in that directory to test the 
linking.  This fails without my fix.  The macro definitions also fail without 
this fix.

testmodule.c - A simple C extension.  It just makes sure everything worked and 
returns the string Success!

As for current workarounds in setup scripts, I know numpy uses their own 
distutils.  They wrote a quote_args() function that they use instead of 
_nt_quote_args(). It checks for spaces, but only if the argument isn't already 
quoted.  It doesn't account for other special characters or trailing 
backslashes.

--
nosy: +christopher.hogan
Added file: http://bugs.python.org/file40204/quote-args.patch

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



[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 586195685aaf by Yury Selivanov in branch '3.4':
Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses.
https://hg.python.org/cpython/rev/586195685aaf

--

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



[issue24764] cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

2015-08-18 Thread STINNER Victor

STINNER Victor added the comment:

I applied the fix, thanks Peter for the report and the fix, thanks Pierre for 
the review.

 https://bugs.launchpad.net/barbican/+bug/1485452, 
 is problem mentioned in the bug is same with mentioned bug?

I don't know, but you can try to apply the patch locally if you want, or 
download the Python 3.4 using Mercurial.

--

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



[issue24790] Idle: improve stack viewer

2015-08-18 Thread Terry J. Reedy

Terry J. Reedy added the comment:

StackViewer.py seem to be identical in 3.4, 3.5, and 3.6, so a patch against 
any applies to all.  The diff with 2.7 is

F:\Python\dev\36hg diff -r 4884af6d3e30 
f:/python/dev/36/Lib/idlelib/StackViewer.py
@@ -2,7 +2,7 @@
 import sys
 import linecache
 import re
-import Tkinter as tk
+import tkinter as tk

 from idlelib.TreeWidget import TreeNode, TreeItem, ScrolledCanvas
 from idlelib.ObjectBrowser import ObjectTreeItem, make_objecttreeitem
@@ -10,7 +10,7 @@

 def StackBrowser(root, flist=None, tb=None, top=None):
 if top is None:
-from Tkinter import Toplevel
+from tkinter import Toplevel
 top = Toplevel(root)
 sc = ScrolledCanvas(top, bg=white, highlightthickness=0)
 sc.frame.pack(expand=1, fill=both)
@@ -109,7 +109,7 @@
 return len(self.object)  0

 def keys(self):
-return self.object.keys()
+return list(self.object.keys())

 def GetSubList(self):
 sublist = []

The second and third differences are due to unneeded code; I will remove them 
after I submit this message, so update your repository after I do that and then 
patch.

---
Your research is very helpful.  The purpose of 1. *is* to remove data ;-) -- 
data that is only present because of Idle.  The purpose of  
StackTreeItem.get_stack is to removed unneeded data while converting a linked 
list to a regular list.  Note that the loop drops 2 of 4 fields. I do not know 
if
if tb and tb.tb_frame is None:
tb = tb.tb_next
actually removes anything, but after this, I believe that the 
idlelib.run.runcode node (or idlelib.PyShell.runcode node, when Idle is started 
with -n) is at the top of the linked list.  So I believe adding
tb = tb.tb_next
after the above will do what we want.  Try it, and if it works, move on.

---
6 (modeled after 3). Modules only have +Globals.  Remove +Globals under each 
module and instead display globals when expanding. (There will only be a module 
other than __main__ when there is an error in another module being imported.  
We should then improve the lines to read
  + Globals for module __main__ ...
  + Locals for function xyz...

--

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



[issue24879] Pydoc to list data descriptors in _fields order if it exists

2015-08-18 Thread Raymond Hettinger

Changes by Raymond Hettinger raymond.hettin...@gmail.com:


Added file: http://bugs.python.org/file40203/pydoc2.diff

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



[issue24692] types.coroutines() idempotence documentation

2015-08-18 Thread Yury Selivanov

Yury Selivanov added the comment:

Is this still something that we need to address? I think that the current 
types.coroutine docs are pretty accurate and don't see where the proposed patch 
really improves them.

--
nosy: +yselivanov

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



[issue24764] cgi.FieldStorage can't parse multipart part headers with Content-Length and no filename in Content-Disposition

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 11e9f34169d1 by Victor Stinner in branch '3.4':
cgi.FieldStorage.read_multi ignores Content-Length
https://hg.python.org/cpython/rev/11e9f34169d1

New changeset 5b9209e4c3e4 by Victor Stinner in branch '3.5':
(Merge 3.4) cgi.FieldStorage.read_multi ignores Content-Length
https://hg.python.org/cpython/rev/5b9209e4c3e4

New changeset 0ff1acc89cf0 by Victor Stinner in branch 'default':
(Merge 3.5) cgi.FieldStorage.read_multi ignores Content-Length
https://hg.python.org/cpython/rev/0ff1acc89cf0

--
nosy: +python-dev

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



[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-08-18 Thread Yury Selivanov

Yury Selivanov added the comment:

LGTM.

FWIW, using 'self.from_exception(..)' is better because this way it's easier to 
override the method.  Another way would be to write 
'type(self).from_exception(..)', but I think using 'self' is good enough.

--
nosy: +yselivanov

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



[issue8987] Distutils doesn't quote Windows command lines properly

2015-08-18 Thread Zachary Ware

Changes by Zachary Ware zachary.w...@gmail.com:


--
nosy: +zach.ware

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



[issue24790] Idle: improve stack viewer

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9ad330a9d785 by Terry Jan Reedy in branch '2.7':
Issue #24790: Remove extraneous code (which also create 2  3 conflicts).
https://hg.python.org/cpython/rev/9ad330a9d785

New changeset 010264c9ceae by Terry Jan Reedy in branch '3.4':
Issue #24790: Remove extraneous code (which also create 2  3 conflicts).
https://hg.python.org/cpython/rev/010264c9ceae

--
nosy: +python-dev

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



[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-18 Thread Yury Selivanov

Yury Selivanov added the comment:

 I was also bitten by this via Enum. Is there any chance this will be fixed in 
 Python 3.5?

It will be fixed in 3.5.1.

Thanks for the patch, Ethan!

--
nosy: +yselivanov
resolution:  - fixed
status: open - closed

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



[issue23572] functools.singledispatch fails when not BaseClass is True

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 73984e665bf5 by Yury Selivanov in branch '3.5':
Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses.
https://hg.python.org/cpython/rev/73984e665bf5

New changeset 94d0c219d46f by Yury Selivanov in branch 'default':
Merge 3.5 (issue #23572)
https://hg.python.org/cpython/rev/94d0c219d46f

--
nosy: +python-dev

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



[issue4356] Add key argument to bisect module functions

2015-08-18 Thread Yury Selivanov

Changes by Yury Selivanov yseliva...@gmail.com:


--
nosy: +yselivanov

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



[issue20523] global .pdbrc on windows 7 not reachable out of the box

2015-08-18 Thread Arnon Yaari

Changes by Arnon Yaari wiggi...@gmail.com:


--
nosy: +wiggin15

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



[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-08-18 Thread Jim Jewett

Jim Jewett added the comment:

I've changed the stage to test needed. 

At a minimum, an interactive test should be written and added to the 
documentation.  Better would be an automated test (perhaps via subprocess).

The documentation should also be updated; at a minimum, there should be a 
versionchanged to say when the default changed. Ideally, also some 
clarification on the intended differences between DeprecationWarning and 
PendingDeprecationWarning, and whether there are any behavioral differences.

--
nosy: +Jim.Jewett
stage:  - test needed

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



[issue24890] Windows launcher docs don't fully explain shebang semantics

2015-08-18 Thread Brendan Barnwell

New submission from Brendan Barnwell:

With the fix of issue #17903 in place, the behavior of the Windows launcher for 
a shebang of #!/usr/bin/env python is now different from the behavior for the 
other virtual commands in that the PATH is searched for this particular 
virtual command but not the others.  But this difference is not explained in 
the docs (see https://docs.python.org/3/using/windows.html#shebang-lines).  The 
docs should be updated to make the difference clear.

In addition, as noted in bug #24625, the launcher parses and executes shebang 
lines normally if the shebang is not one of the virtual commands.  However, 
this is not actually stated on the documentation page; the only examples on the 
page either use the virtual commands or use a bare command like python.  
Given that shebang lines don't normally work at all on Windows, and given that 
the shebang handling is already different on Windows because of the virtual 
commands, the docs shouldn't assume that it's clear what works like a normal 
shebang means.  A note should be added to the docs to make this explicit.  
Something like If the shebang line is not one of these virtual commands, it is 
executed as a normal program and the script filename is passed to it as a 
command-line argument.

--
components: Windows
messages: 248796
nosy: BrenBarn, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Windows launcher docs don't fully explain shebang semantics
type: behavior
versions: Python 3.5

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



[issue24889] Idle: always start with focus

2015-08-18 Thread Terry J. Reedy

New submission from Terry J. Reedy:

On Windows, starting Idle with an icon or at console brings up shell or editor 
window with focus, ready to receive input. Starting Idle from a built python_d 
in interactive console mode with ' import idlelib.idle' brings up an Idle 
shell with a cursor blinking at the ' ' prompt, but leaves the input focus 
with the console until one clicks on the Shell window.  This is quite annoying 
and I want to fix it.

I have the impression that this may be a Windows-only problem.  True?

PyShell.main calls PyShellFileList.open_shell, which calls PyShell.begin. I 
believe this is the only place .begin is called, and it is only called when 
there is no existing Shell.

Calling text.focus_force() works for me.  .focus_set does not as the issue is 
application focus rather than widget focus within Idle.  Does this or might 
this cause any problems with Linux or Mac?

--
Side note: any comment on this line in the context?
 tkinter._default_root = None # 03Jan04 KBK What's this?

--
assignee: terry.reedy
components: IDLE
files: idle-focus-fix.diff
keywords: patch
messages: 248790
nosy: markroseman, serhiy.storchaka, terry.reedy
priority: high
severity: normal
stage: commit review
status: open
title: Idle: always start with focus
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40207/idle-focus-fix.diff

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



[issue24790] Idle: improve stack viewer

2015-08-18 Thread Jim Jewett

Jim Jewett added the comment:

Terry:  Was removing the public attribute keys OK?

--
nosy: +Jim.Jewett

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



[issue24570] IDLE Autocomplete and Call Tips Do Not Pop Up on OS X with ActiveTcl 8.5.18

2015-08-18 Thread Mark Roseman

Mark Roseman added the comment:

Alessandro, would you have a chance to test this one line patch, which makes 
calltips work again on OS X?

--

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



[issue24750] IDLE: Cosmetic improvements for main window

2015-08-18 Thread Mark Roseman

Mark Roseman added the comment:

Sounds like this one should be ready to review and incorporate.  

As a reminder, mainwin3.patch, which should work on Tk 8.4+, gets rid of the 
highlightthickness around the text widget in the editor, the sunken line/column 
effect in the status bar, and adds a thin separator below the text widget in 
the editor.

--

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



[issue24760] IDLE settings dialog shouldn't be modal

2015-08-18 Thread Mark Roseman

Mark Roseman added the comment:

Terry, when you get a chance, it would be great if you could have a look at 
demodalize.patch (or if you can suggest someone else who would be good to take 
a peek at it).

This is sort of the baseline for the uifactory, and touches a lot of things in 
small ways to decouple some of the inter-module dependencies. 

Other things (the new query dialogs, ttk versions of configuration and search 
dialogs, etc.) depend on this patch to wire the uifactory into the 
infrastructure.

Thanks!

--

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



[issue24801] right-mouse click in IDLE on Mac doesn't work

2015-08-18 Thread Mark Roseman

Mark Roseman added the comment:

Have attached macpopup-revised.patch, incorporating Serhiy's very helpful 
suggestions. Unless there are any other thoughts, this one is probably ready to 
go.

--
Added file: http://bugs.python.org/file40208/macpopup-revised.patch

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



[issue24891] python aborts running under nohup

2015-08-18 Thread Yi Ding

Yi Ding added the comment:

test.sh attached

--
Added file: http://bugs.python.org/file40210/test.sh

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



[issue24891] python aborts running under nohup

2015-08-18 Thread Yi Ding

New submission from Yi Ding:

Looks like this bug https://bugs.python.org/issue7111 has resurfaced in python3 
(python 2.6 works as far as I can tell) at least on Macs.

I've attached a simple test script.

Steps:
1. SSH to remote server.
2. Run nohup ./test.sh 
3. exit SSH.
4. SSH back in and see that there are a bunch of errors in your nohup.out file.

--
files: test.py
messages: 248797
nosy: Yi Ding
priority: normal
severity: normal
status: open
title: python aborts running under nohup
type: crash
versions: Python 3.4
Added file: http://bugs.python.org/file40209/test.py

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



[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-08-18 Thread Brett Cannon

Brett Cannon added the comment:

Here is an approach that somewhat merges Nathaniel's proposed solution and mine.

--
Added file: http://bugs.python.org/file40211/issue24305.diff

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



[issue24847] Can't import tkinter in Python 3.5.0rc1

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0e2620831f17 by Steve Dower in branch '3.5':
Issue #24847: Fixes Tix revision number and reverts fix for the wrong revision.
https://hg.python.org/cpython/rev/0e2620831f17

New changeset 9cc3f2f2d810 by Steve Dower in branch 'default':
Issue #24847: Fixes Tix revision number and reverts fix for the wrong revision.
https://hg.python.org/cpython/rev/9cc3f2f2d810

--

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



[issue24046] Incomplete build on AIX

2015-08-18 Thread REIX Tony

REIX Tony added the comment:

Fresh openssl versions are now available for AIX: 1.0.1p and 1.0.2d .
See: http://www.bullfreeware.com/search.php?package=openssl

--
nosy: +trex58

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



[issue24884] Add method reopenFile() in WatchedFileHandler class

2015-08-18 Thread Marian Horban

New submission from Marian Horban:

Method WatchedFileHandler::emit() makes 2 things:
1. reopens log file,
2. emits record.
Sometimes user wants to reopen file immediately after some action without 
emitting.
Code that reopens file must be moved to separate method to avoid copy-pasting 
code in programs that use this functionality.
Patch is provided.

--
files: add_reopen_file.patch
keywords: patch
messages: 248765
nosy: Marian Horban
priority: normal
severity: normal
status: open
title: Add method reopenFile() in WatchedFileHandler class
type: enhancement
Added file: http://bugs.python.org/file40201/add_reopen_file.patch

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



[issue24885] StreamReaderProtocol docs recommend using private API

2015-08-18 Thread Aymeric Augustin

New submission from Aymeric Augustin:

https://docs.python.org/3/library/asyncio-stream.html?highlight=streamreaderprotocol#stream-functions
 says:

 (If you want to customize the StreamReader and/or StreamReaderProtocol 
 classes, just copy the code – there’s really nothing special here except some 
 convenience.)

StreamReaderProtocol inherits from streams.FlowControlMixin which isn't 
documented. Applying this advice means, instead of inheriting from 
StreamReaderProtocol, inheriting from streams.FlowControlMixin -- in order to 
obtain the _drain_helper method, which StreamWriter.drain must wait for.

At this point inheriting StreamReaderProtocol appears to be the lesser evil.

I suggest to remove this paragraph from the documentation.

--
components: asyncio
messages: 248767
nosy: aymeric.augustin, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: StreamReaderProtocol docs recommend using private API
versions: Python 3.4

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



[issue24892] bytes.join() won't take it's own type as the argument

2015-08-18 Thread R. David Murray

R. David Murray added the comment:

I don't think there's enough motivation for making a special case here.

I think this should be rejected; it's working as designed, even if not everyone 
agrees with the design.

--
nosy: +r.david.murray

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



[issue24890] Windows launcher docs don't fully explain shebang semantics

2015-08-18 Thread eryksun

eryksun added the comment:

The patch for issue 23465 (PEP 486) updated the docs to explain the behavior of 
#!/usr/bin/env as follows:

The /usr/bin/env form of shebang line has one further special
property. Before looking for installed Python interpreters, 
this form will search the executable PATH for a Python 
executable. This corresponds to the behaviour of the Unix 
env program, which performs a PATH search. 

This paragraph needs to be added to the 3.4 docs.

Another undocumented feature is adding custom commands in the [commands] 
section of py.ini. The read_commands function handles this. 

Speaking of which, a side effect of defining SEARCH_PATH in PC/launcher.c is 
that PATH is searched in find_command if the command isn't found in the global 
commands array. This can lead to unexpected behavior when combined with 
SKIP_PREFIX (i.e. the skip_prefix function skips past any of the 
builtin_prefixes in the shebang). For example, #!/usr/bin/perl will search the 
current directory and PATH for perl.COM perl.EXE, perl.BAT, etc (i.e. 
trying each extension listed in PATHEXT). This behavior should be documented. 
Preferably I think it should also be constrained to only search when the prefix 
is /usr/bin/env, such as by adding a search boolean parameter to the 
find_command function.

--
assignee:  - docs@python
components: +Documentation
nosy: +docs@python, eryksun
versions: +Python 3.4

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



[issue24847] Can't import tkinter in Python 3.5.0rc1

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 19ac02a522ba by Steve Dower in branch '3.5':
Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk.
https://hg.python.org/cpython/rev/19ac02a522ba

--

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



[issue24891] python aborts running under nohup

2015-08-18 Thread STINNER Victor

STINNER Victor added the comment:

I can reproduce the bug with gdb if the file descriptor 0 is closed before 
calling:
std = create_stdio(iomod, fd, 0, stdin, encoding, errors);
and after the following lines were called:
fd = fileno(stdin);
if (!is_valid_fd(fd)) {

In initstdio () at Python/pylifecycle.c:1156.

create_stdio() fails in FileIO constructor, on the line:
   if (_Py_fstat(self-fd, fdfstat)  0)
of _io_FileIO___init___impl() at Modules/_io/fileio.c:480

It's a corner case of the issue #7111, I would call it a race condition.

--

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



[issue24891] python aborts running under nohup

2015-08-18 Thread STINNER Victor

STINNER Victor added the comment:

Python 2 is not affected, PyFile_FromFile() doesn't check if the file 
descriptor is valid. On Python 3, we call fstat() to check the block size of 
the file descriptor to optimize buffering.

--
versions: +Python 3.5, Python 3.6

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



[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset fc56a0300cd4 by Robert Collins in branch 'default':
Issue #24054: decouple linecache tests from inspect tests
https://hg.python.org/cpython/rev/fc56a0300cd4

--
nosy: +python-dev

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



[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-08-18 Thread Robert Collins

Robert Collins added the comment:

Thank you for the patch; sorry it took me so long to get to it - been working 
on a backlog of patch review.

--
resolution:  - fixed
stage:  - resolved
status: open - closed
versions: +Python 3.6

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



[issue24892] bytes.join() won't take it's own type as the argument

2015-08-18 Thread Timothy Geiser

Timothy Geiser added the comment:

I believe the special case has already been made: iterating over bytes-like 
objects returns ints. Natually, join() should take the same thing. Also, 
constructor bytearray(iterable_of_ints), the mutable-sequence expression 
ba[i:j:k] = t, and the function ba.extend(t) with t as an iterable of ints. 
It's the s.join(t) that's different than all these others.

Again:

 ba = bytearray(b'barbaz')
 ba[0:4:2] = b'ft'
 ba
bytearray(b'fatbaz')
 ba.extend(b'foo')
 ba
bytearray(b'fatbazfoo')
 ba.join(b'not_this_though')
Traceback (most recent call last):
  File pyshell#32, line 1, in module
ba.join(b'not_this_though')
TypeError: sequence item 0: expected a bytes-like object, int found


I'll go ahead argue that it's exactly backwards as is.

--

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



[issue24790] Idle: improve stack viewer

2015-08-18 Thread Terry J. Reedy

Terry J. Reedy added the comment:

A fair question. The API is a private implementation for Idle (see PEP 434), 
though I am generally avoiding breaking any public uses thereof.  I actually 
checked that the method is not defined on the base class.  But on the 
microchance that someone uses it, I will restore the methods.

--

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



[issue24892] bytes.join() won't take it's own type as the argument

2015-08-18 Thread Timothy Geiser

New submission from Timothy Geiser:

You can't join bytes on another bytes object. (Everything below applies to 
bytearray, as well)


 x = b'foo'
 y = b'barbaz'
 x.join(y)
Traceback (most recent call last):
  File pyshell#2, line 1, in module
x.join(y)
TypeError: sequence item 0: expected a bytes-like object, int found


But this is fine for strings, and gives you exactly what you'd expect


 x = 'foo'
 y = 'barbaz'
 x.join(y)
'bfooafoorfoobfooafooz'
 y.join(x)
'fbarbazobarbazo'


The best work-around I could think of was


 x = b'foo'
 y = b'barbaz'
 x.join(y[i:i+1] for i in range(len(y)))
b'bfooafoorfoobfooafooz'
 y.join(x[i:i+1] for i in range(len(x)))
b'fbarbazobarbazo'


That just doesn't feel nearly pythonic enough, considering that the string 
version works as expected. I'm not even sure what the right solution here is, 
since the problem is that the iterator for a bytes object returns ints, not 
length-one bytes objects. Do we need another signature for the bytes.join 
method that takes byte-like objects and does what I'm describing here?

--
components: Interpreter Core
messages: 248799
nosy: geitda
priority: normal
severity: normal
status: open
title: bytes.join() won't take it's own type as the argument
type: enhancement
versions: Python 3.4

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



[issue24891] python aborts running under nohup

2015-08-18 Thread Yi Ding

Yi Ding added the comment:

Fatal Python error: Py_Initialize: can't initialize sys standard streams
OSError: [Errno 9] Bad file descriptor
./test.sh: line 4: 49632 Abort trap: 6   python3 test.py -o hello.txt

--

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



[issue24893] Idle occasionally gets mouse position wrong for selections

2015-08-18 Thread Raymond Hettinger

New submission from Raymond Hettinger:

Something has been wrong with the underlying Tkinter for several years. A mouse 
click to select text will mistarget by several lines.

I've held-off reporting this because I couldn't narrow it down to a 
reproduceable case.  That said, I've seen it on fresh installs of Python on 
multiple machines with different users.

But now, we have it on video.  It happened to Guido during a keynote.  See 
https://www.youtube.com/watch?v=0Ef9GudbxXY at about 7:00 to 7:30.

--
components: IDLE
messages: 248811
nosy: rhettinger
priority: normal
severity: normal
status: open
title: Idle occasionally gets mouse position wrong for selections
type: behavior
versions: Python 2.7, Python 3.5, Python 3.6

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



[issue24891] python aborts running under nohup

2015-08-18 Thread Robert Collins

Robert Collins added the comment:

What sort of errors?

--
nosy: +rbcollins

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



[issue24891] python aborts running under nohup

2015-08-18 Thread STINNER Victor

STINNER Victor added the comment:

I'm unable to reproduce the issue on Linux with Python 3.4.2.

--
components: +Macintosh
nosy: +haypo, ned.deily, ronaldoussoren

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



[issue24891] python aborts running under nohup

2015-08-18 Thread Yi Ding

Yi Ding added the comment:

That's from my nohup.out. It might be a Mac OS specific thing.

--

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



[issue24879] Pydoc to list data descriptors in _fields order if it exists

2015-08-18 Thread Raymond Hettinger

Changes by Raymond Hettinger raymond.hettin...@gmail.com:


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

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



[issue24879] Pydoc to list data descriptors in _fields order if it exists

2015-08-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f5c40ab9e233 by Raymond Hettinger in branch 'default':
Issue #24879:  Teach pydoc to display named tuple fields in the order they were 
defined.
https://hg.python.org/cpython/rev/f5c40ab9e233

--
nosy: +python-dev

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



[issue24707] Assertion failed in pymonotonic_new

2015-08-18 Thread STINNER Victor

STINNER Victor added the comment:

IMHO the best to do with this issue is to document that Python doesn't ensure 
that the clock is monotonic, but only exposes what the OS provides, and then 
remove the assertion.

--

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



[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2015-08-18 Thread Aymeric Augustin

Aymeric Augustin added the comment:

This bug appears to be fixed upstream: 
https://github.com/ghaering/pysqlite/commit/f254c534948c41c0ceb8cbabf0d4a2f547754739

--

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



[issue24891] race condition in initstdio() (python aborts running under nohup)

2015-08-18 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
title: python aborts running under nohup - race condition in initstdio() 
(python aborts running under nohup)

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




[issue24891] race condition in initstdio() (python aborts running under nohup)

2015-08-18 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
components: +Interpreter Core -Macintosh

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



[issue24732] 3.5.0b3 Windows accept() on unready non-blocking socket raises PermissionError [now need unit test]

2015-08-18 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
title: 3.5.0b3 Windows accept() on unready non-blocking socket raises 
PermissionError - 3.5.0b3 Windows accept() on unready non-blocking socket 
raises PermissionError [now need unit test]

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



[issue24891] python aborts running under nohup

2015-08-18 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
priority: normal - low

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



[issue24888] FileNotFoundException raised by subprocess.call

2015-08-18 Thread Geoffrey Royer

Changes by Geoffrey Royer geoffrey.ro...@gmail.com:


--
type:  - behavior

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



[issue24888] FileNotFoundException raised by subprocess.call

2015-08-18 Thread R. David Murray

R. David Murray added the comment:

We don't in general document all the exceptions that can be raised by a piece 
of code.  This could be an edge case, though.  Let's see what others thing.

--
nosy: +r.david.murray

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



[issue24888] FileNotFoundException raised by subprocess.call

2015-08-18 Thread R. David Murray

R. David Murray added the comment:

think.

--

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



[issue22452] addTypeEqualityFunc is not used in assertListEqual

2015-08-18 Thread Anton Barkovsky

Changes by Anton Barkovsky an...@swarmer.me:


--
nosy: +anton.barkovsky

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



[issue24877] Bad Password for file using zipfile module

2015-08-18 Thread shiva prasanth

Changes by shiva prasanth kesavarapu.s...@gmail.com:


--
status: closed - open
type: compile error - 

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



[issue24769] Interpreter doesn't start when dynamic loading is disabled

2015-08-18 Thread Brett Cannon

Brett Cannon added the comment:

It's ultimately Larry's call, but I think it should go into 3.5.0.

--
assignee:  - larry
priority: deferred blocker - release blocker

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