[issue21913] Possible deadlock in threading.Condition.wait() in Python 2.7.7

2014-07-10 Thread Ned Deily

Ned Deily added the comment:

So do we agree that the resolution for this is wont fix?

--
nosy: +ned.deily

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



[issue18887] test_multiprocessing.test_connection failure on Python 2.7

2014-07-10 Thread Charles-François Natali

Changes by Charles-François Natali cf.nat...@gmail.com:


--
resolution:  - out of date
stage:  - resolved
status: open - closed

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



[issue19450] Bug in sqlite in Windows binaries

2014-07-10 Thread Martin v . Löwis

Martin v. Löwis added the comment:

I don't maintain Python 2.7 anymore, so removing myself.

--

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



[issue19450] Bug in sqlite in Windows binaries

2014-07-10 Thread Martin v . Löwis

Changes by Martin v. Löwis mar...@v.loewis.de:


--
nosy:  -loewis

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



[issue21940] IDLE - Test WidgetRedirector

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Attached is the 3.4 code I plan to commit after a trivial 2.7 backport. 

In the existing htest, 'global previous_tcl_fcn' is unnecessary because of 
Python's late binding of function locals. No forward definitions are needed. 
Already deleted in the first patch.

Adding this test:
def test_unregister_no_attribute(self):
del self.text.insert
self.assertEqual(self.redir.unregister('insert'), self.func)
revealed that this code in .unregister
if hasattr(self.widget, operation):
delattr(self.widget, operation)
is buggy because hasattr looks up the class tree for an attribute whereas 
delattr does not. Hence the former can be true, and will be after text.insert 
in deleted to unmask Text.insert, while delattr raises AttributeError. The if 
check is useless, and replaced by 'try...' in the new patch.

I modified a few tests and added a few more. Coverage is now 100%.

--
assignee:  - terry.reedy
stage:  - commit review
type:  - enhancement
Added file: http://bugs.python.org/file35919/test-redir-21940-34.diff

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



[issue19650] test_multiprocessing_spawn.test_mymanager_context() crashed with STATUS_ACCESS_VIOLATION

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

Can this be reproduced or can this be closed as out of date?

--
nosy: +BreamoreBoy
type:  - crash
versions: +Python 3.4, Python 3.5

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



[issue19650] test_multiprocessing_spawn.test_mymanager_context() crashed with STATUS_ACCESS_VIOLATION

2014-07-10 Thread STINNER Victor

STINNER Victor added the comment:

 Can this be reproduced or can this be closed as out of date?

In general, issues reporting sporadic buildbot failures only seen once can be 
closed after 6 months.

--
resolution:  - out of date
status: open - closed

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



[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro

New submission from Alejandro:

We have compile python 3.4.1 in Suse Linux Enterprise Server 11 SP2

We have compiled it using --prefix as args :

./configure --prefix=/soft/pyt341

make 

make install

We check python has been properly installed:

/soft/pyt341/bin/python3 --version
Python 3.4.1


We try to import sqlite3 lib and we get this error:

/soft/pyt341/bin/python3 -c import sqlite3

Traceback (most recent call last):
  File string, line 1, in module
  File /soft/pyt341/lib/python3.4/sqlite3/__init__.py, line 23, in module
from sqlite3.dbapi2 import *
  File /soft/pyt341/lib/python3.4/sqlite3/dbapi2.py, line 26, in module
from _sqlite3 import *
ImportError: No module named '_sqlite3'

--
components: Library (Lib)
messages: 222656
nosy: alexganwd
priority: normal
severity: normal
status: open
title: import sqlite3 not running
type: crash
versions: Python 3.4

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



[issue20187] The Great Argument Clinic Conversion Derby Meta-Issue

2014-07-10 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy:  -berker.peksag

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



[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-10 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
stage:  - resolved
status: open - closed
superseder:  - no extension debug info with msvc9compiler.py
type:  - behavior

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



[issue20465] Upgrade SQLite to 3.8.3 with 3.4.0 Windows and OS X installers

2014-07-10 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
stage: needs patch - resolved

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



[issue19450] Bug in sqlite in Windows binaries

2014-07-10 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +steve.dower

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



[issue21950] import sqlite3 not running

2014-07-10 Thread Berker Peksag

Berker Peksag added the comment:

 We have compiled it using --prefix as args :

Did you install sqlite3-devel?

--
nosy: +berker.peksag
type: crash - 

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



[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2014-07-10 Thread Jason Tishler

Jason Tishler added the comment:

AFAICT, yes.

--

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



[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro

Alejandro added the comment:

Yes. We have these packages installed:

rpm -qa | grep sqlite
sqlite3-3.7.6.3-1.4.4.1
libsqlite3-0-3.7.6.3-1.4.4.1
sqlite3-devel-3.7.6.3-1.4.4.1

--

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



[issue19283] Need support to avoid Windows CRT compatibility issue.

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

Is there a specific Python question here?

--
nosy: +BreamoreBoy

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



[issue12939] Add new io.FileIO using the native Windows API

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

It strikes me as far more sense to use the native API so how do we take this 
forward, formal patch review, put it on pypi, or what?

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.4

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



[issue11598] missing afxres.h error when building bdist_wininst in Visual Studio 2008 Express

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

You need VS 2010 to build 3.3 see 
https://docs.python.org/devguide/setup.html#windows

--
nosy: +BreamoreBoy

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



[issue21859] Add Python implementation of FileIO

2014-07-10 Thread STINNER Victor

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


--
nosy: +haypo

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



[issue12939] Add new io.FileIO using the native Windows API

2014-07-10 Thread STINNER Victor

STINNER Victor added the comment:

Serhiy implemented the FileIO class in pure Python: see the issue #21859 (patch 
under review). Using thre Python class, it becomes easier to reimplement FileIO 
using the Windows API, at least to play with a prototype in pure Python.

--
nosy: +serhiy.storchaka

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



[issue21859] Add Python implementation of FileIO

2014-07-10 Thread Piotr Dobrogost

Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:


--
nosy: +piotr.dobrogost

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



[issue17984] io and _pyio modules require the _io module

2014-07-10 Thread Piotr Dobrogost

Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:


--
nosy: +piotr.dobrogost

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



[issue19283] Need support to avoid Windows CRT compatibility issue.

2014-07-10 Thread Martin v . Löwis

Martin v. Löwis added the comment:

In any case, this issue has too little information to be able to reproduce it 
in a meaningful way. Closing as out-of-date.

--
resolution:  - out of date
status: open - closed

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



[issue18974] Use argparse in the diff script

2014-07-10 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +berker.peksag
versions: +Python 3.5 -Python 3.4

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



[issue14750] Tkinter application doesn't run from source build on Windows

2014-07-10 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


--
nosy:  -brian.curtin

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



[issue14750] Tkinter application doesn't run from source build on Windows

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

Presumably out of date as we're now on 3.5.

--
nosy: +BreamoreBoy

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



[issue14802] Python fails to compile with VC11 ARM configuration

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

Can we close this due to the extensive work being done by Steve and Zach on the 
Windows build environment that I believe are covered by other issues?

--
nosy: +BreamoreBoy, steve.dower, zach.ware
versions: +Python 3.5 -Python 3.4

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



[issue8304] strftime and Unicode characters

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

Using 3.4.1 and 3.5.0 I get:-

time.strftime(%d\u200F%A, time.gmtime())
Traceback (most recent call last):
  File stdin, line 1, in module
UnicodeEncodeError: 'locale' codec can't encode character '\u200f' in position 
2: Illegal byte sequence

--
nosy: +BreamoreBoy

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



[issue21950] import sqlite3 not running

2014-07-10 Thread Brett Cannon

Brett Cannon added the comment:

The output from running `make` could help by pointing out either a compilation 
error or lack thereof to deduce that setup.py did not find the headers.

--
nosy: +brett.cannon

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



[issue9445] Fix undefined symbol errors on VS8.0 build

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

I believe that this specific issue can be closed but is a follow up needed 
regarding problems mentioned in msg114084  ?

--
nosy: +BreamoreBoy

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



[issue21950] import sqlite3 not running

2014-07-10 Thread Alejandro

Alejandro added the comment:

Here you have (attached):  make.log
Thanks!

--
Added file: http://bugs.python.org/file35920/make.log

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



[issue14802] Python fails to compile with VC11 ARM configuration

2014-07-10 Thread Martin v . Löwis

Martin v. Löwis added the comment:

None of this work affects WinRT. I don't know whether support of WinRT is a 
goal, but it is certainly not a solved problem.

--

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



[issue20366] SQLite FTS (full text search)

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

SQLite FTS3 and FTS4 Extensions here http://www.sqlite.org/fts3.html

--
nosy: +BreamoreBoy, steve.dower

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



[issue16229] Demo *redemo.py* lacking in Windows installation

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

I have Tools\demo in my cpython default from Mercurial but not under 3.4.1 from 
the msi file downloaded from python.org.

--
nosy: +BreamoreBoy, steve.dower, zach.ware
type:  - behavior
versions: +Python 3.5 -Python 3.2, Python 3.3

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



[issue20265] Bring Windows docs up to date

2014-07-10 Thread ingrid

ingrid added the comment:

Hi Kathleen, I was just curious why you dropped the changes from 
Doc/using/windows.rst on your latest patch as they looked useful to me. I know 
there's some review going on outside this thread, so apologies if I'm missing 
something you already went over.

--
nosy: +ingrid, jesstess

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



[issue8585] zipimporter.find_module is untested

2014-07-10 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
versions:  -Python 3.4

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



[issue21942] pydoc source not displayed in browser on Windows

2014-07-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 74c7a186ffdd by Zachary Ware in branch '3.4':
Issue #21942: Fixed source file viewing in pydoc's server mode on Windows.
http://hg.python.org/cpython/rev/74c7a186ffdd

New changeset 03b406f5aae0 by Zachary Ware in branch 'default':
Issue #21942: Fixed source file viewing in pydoc's server mode on Windows.
http://hg.python.org/cpython/rev/03b406f5aae0

--
nosy: +python-dev

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



[issue21942] pydoc source not displayed in browser on Windows

2014-07-10 Thread Zachary Ware

Zachary Ware added the comment:

Fixed, thanks for the report!

I took an alternate approach to fixing the problem; nturl2path was only used at 
all because pydoc used to produce actual file:// links rather than rendering 
the page itself, and there's no reason to use nturl2path if you're not making a 
file:// link.

--
nosy: +zach.ware
resolution:  - fixed
stage:  - resolved
status: open - closed
versions:  -Python 3.3

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



[issue16229] Demo *redemo.py* lacking in Windows installation

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Steve, as the (new) Windows installer maker, it is ultimately your decision 
what to include.  The 'policy' seems to have been rather fuzzy. Tools/demo is 
less than 100k total. The 'patch needed' is to the installer maker script.

--
stage:  - needs patch

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



[issue16229] Demo *redemo.py* lacking in Windows installation

2014-07-10 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


--
nosy:  -brian.curtin

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



[issue9445] Fix undefined symbol errors on VS8.0 build

2014-07-10 Thread Ezio Melotti

Ezio Melotti added the comment:

The original issue seems to be fixed, but the other two related issues 
mentioned by Amaury still need to be addressed.  One has already a patch, the 
other doesn't.

--
components: +Extension Modules -Build
type: compile error - resource usage
versions: +Python 3.5 -Python 3.2

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



[issue10722] IDLE's subprocess didnit make connection ..... Python 2.7

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

This should be closed as a duplicate of #14576.  There is far more data on that 
issue and it refers to problems with 3.x.

--
nosy: +BreamoreBoy

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



[issue21951] tcl test change crashes AIX

2014-07-10 Thread David Edelsohn

New submission from David Edelsohn:

The patch for Issue #21881 causes CPython test_tcl to crash on AIX.

$ ./python -m test -v test_tcl
== CPython 3.5.0a0 (default:d1f89eb9ea1e+, Jul 10 2014, 10:21:22) [GCC 4.8.1]
==   AIX-1-00F84C0C4C00-powerpc-32bit big-endian
==   hash algorithm: siphash24 32bit
==   /home/dje/src/cpython/build/test_python_27984522
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, 
dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, 
verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)
[1/1] test_tcl
patchlevel = 8.4.7
testCall (test.test_tcl.TclTest) ... ok
testCallException (test.test_tcl.TclTest) ... ok
testCallException2 (test.test_tcl.TclTest) ... ok
testEval (test.test_tcl.TclTest) ... ok
testEvalException (test.test_tcl.TclTest) ... ok
testEvalException2 (test.test_tcl.TclTest) ... ok
testEvalFile (test.test_tcl.TclTest) ... ok
testEvalFileException (test.test_tcl.TclTest) ... ok
testGetVar (test.test_tcl.TclTest) ... ok
testGetVarArray (test.test_tcl.TclTest) ... ok
testGetVarArrayException (test.test_tcl.TclTest) ... ok
testGetVarException (test.test_tcl.TclTest) ... ok
testLoadWithUNC (test.test_tcl.TclTest) ... skipped 'Requires Windows'
testPackageRequireException (test.test_tcl.TclTest) ... ok
testSetVar (test.test_tcl.TclTest) ... ok
testSetVarArray (test.test_tcl.TclTest) ... ok
testUnsetVar (test.test_tcl.TclTest) ... ok
testUnsetVarArray (test.test_tcl.TclTest) ... ok
testUnsetVarException (test.test_tcl.TclTest) ... ok
test_eval_null_in_result (test.test_tcl.TclTest) ... ok
test_evalfile_null_in_result (test.test_tcl.TclTest) ... ok
test_exprboolean (test.test_tcl.TclTest) ... ok
test_exprdouble (test.test_tcl.TclTest) ... ok
test_exprlong (test.test_tcl.TclTest) ... ok
test_exprstring (test.test_tcl.TclTest) ... ok
test_getboolean (test.test_tcl.TclTest) ... ok
test_getdouble (test.test_tcl.TclTest) ... ok
test_getint (test.test_tcl.TclTest) ... ok
test_passing_values (test.test_tcl.TclTest) ... ok
test_split (test.test_tcl.TclTest) ... ok
test_splitlist (test.test_tcl.TclTest) ... ok
test_user_command (test.test_tcl.TclTest) ... Assertion failed: __EX, file  
Objects/methodobject.c, line 94
Fatal Python error: Aborted

Current thread 0x0001 (most recent call first):
  File /home/dje/src/cpython/Lib/test/test_tcl.py, line 426 in check
  File /home/dje/src/cpython/Lib/test/test_tcl.py, line 458 in 
test_user_command
  File /home/dje/src/cpython/Lib/unittest/case.py, line 577 in run
  File /home/dje/src/cpython/Lib/unittest/case.py, line 625 in __call__
  File /home/dje/src/cpython/Lib/unittest/suite.py, line 125 in run
  File /home/dje/src/cpython/Lib/unittest/suite.py, line 87 in __call__
  File /home/dje/src/cpython/Lib/unittest/suite.py, line 125 in run
  File /home/dje/src/cpython/Lib/unittest/suite.py, line 87 in __call__
  File /home/dje/src/cpython/Lib/unittest/runner.py, line 168 in run
  File /home/dje/src/cpython/Lib/test/support/__init__.py, line 1724 in 
_run_suite
  File /home/dje/src/cpython/Lib/test/support/__init__.py, line 1758 in 
run_unittest
  File /home/dje/src/cpython/Lib/test/test_tcl.py, line 601 in test_main
  File /home/dje/src/cpython/Lib/test/regrtest.py, line 1278 in runtest_inner
  File /home/dje/src/cpython/Lib/test/regrtest.py, line 978 in runtest
  File /home/dje/src/cpython/Lib/test/regrtest.py, line 763 in main
  File /home/dje/src/cpython/Lib/test/regrtest.py, line 1562 in 
main_in_temp_cwd
  File /home/dje/src/cpython/Lib/test/__main__.py, line 3 in module
  File /home/dje/src/cpython/Lib/runpy.py, line 85 in _run_code
  File /home/dje/src/cpython/Lib/runpy.py, line 170 in _run_module_as_main
IOT/Abort trap (core dumped)

--
components: Interpreter Core, Tkinter
messages: 222680
nosy: David.Edelsohn, haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: tcl test change crashes AIX
type: crash
versions: Python 2.7, Python 3.4, Python 3.5

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



[issue21044] tarfile does not handle file .name being an int

2014-07-10 Thread Barry A. Warsaw

Changes by Barry A. Warsaw ba...@python.org:


--
nosy: +barry

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



[issue13081] Crash in Windows with unknown cause

2014-07-10 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
assignee:  - docs@python
components: +Documentation -Windows
nosy: +docs@python

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



[issue15418] 2to3 docs should mention setup.py fixes required to install compatible packages in Python 3

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

I disagree with this on two grounds.  First 2to3 can be run by anybody needing 
it, not just from setup.py.  Second the recommended mechanism for writing new 
code is to use libraries such as six so that the one code base can run on 2 and 
3.

--
nosy: +BreamoreBoy

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



[issue15856] inspect.getsource(SomeClass) doesn't show @decorators

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

@Thomas sorry about the delay in getting back to you.

--
nosy: +BreamoreBoy, yselivanov
versions: +Python 3.4, Python 3.5 -Python 3.2

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



[issue21927] BOM appears in stdin when using Powershell

2014-07-10 Thread Jason R. Coombs

Jason R. Coombs added the comment:

I'm not sure what you're suggesting. Are you suggesting that Powershell is 
wrong here and that Powershell's attempt here to provide more detail about 
content encoding is wrong? Or are you suggesting that every client that reads 
from stdin should detect that it's running in Powershell or otherwise handle 
the BOM individually?

From my perspective, Powershell is innovating here and providing additional 
detail about the encoding of the content, but since Python is responsible for 
the content decoding (especially Python 3), it should honor that detail.

I did some tests and determined that 'utf-8-sig' will honor the bom if present 
and ignore it if missing. Is there any reason Python shouldn't simply use that 
encoding for decoding stdin?

--

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



[issue14714] PEP 414 tokenizing hook does not preserve tabs

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

PEP 414 is Explicit Unicode Literal for Python 3.3 so I've no idea where the 
part about tokenizing hook comes from.  msg159865 refers to tabs in Django 
source and gives an example, then talks about your GitHub repo where you 
published the hook.  Would someone care to enlighten me.

--
nosy: +BreamoreBoy

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



[issue1186900] nntplib shouldn't raise generic EOFError

2014-07-10 Thread Lita Cho

Lita Cho added the comment:

I am going to fix it so that it raises the NNTPConnectionError rather than 
update the documentation.

--
nosy: +Lita.Cho, jesstess

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



[issue10722] IDLE's subprocess didnit make connection ..... Python 2.7

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

This has been an occasional problem since forever. It even happened to me 
yesterday, once, but was solved by shutting things down and restarting.

--
resolution:  - duplicate
stage:  - resolved
status: open - closed
superseder:  - IDLE: IDLE's subprocess didn't make connection.Either IDLE 
can't start a subprocess or personal firewall software is blocking the 
connection.

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



[issue8231] Unable to run IDLE without write-access to home directory

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I think the proper solution is to warn Cannot write .idlerc to your home 
directory. Settings will not be saved. and continue.

--
nosy: +terry.reedy

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



[issue15105] curses: wrong indentation

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

@vjp sorry about the delay in getting back to you :(

Anyone with curses knowledge who can comment on this please, I'm sorry I'm on 
Windows.

--
nosy: +BreamoreBoy

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



[issue15127] Supressing warnings with -w whether gcc supports ParseTuple

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

@Samuel sorry about the delay in getting back to you :(

Can we have a comment on this please.

--
nosy: +BreamoreBoy

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



[issue15257] Misc/.gdbinit:pystack is too brittle

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

I'm assuming that we need a patch review on this, sadly it means nothing to me.

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.2, Python 3.3

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



[issue9102] pybench: Cannot compare 2.x and 3.x benchmarks

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

@Alexander do you want to pick this up again?

--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3

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



[issue21952] fnmatch.py can appear in tracemalloc diffs

2014-07-10 Thread Antoine Pitrou

New submission from Antoine Pitrou:

When using some filters and comparing snapshots, fnmatch will appear in the 
statistic diffs, e.g.:

/home/antoine/34/lib/python3.4/fnmatch.py:70: size=824 B (+64 B), count=2 (+1), 
average=412 B
eeleak.py:37: size=2512 B (+0 B), count=3 (+0), average=837 B
/home/antoine/llvmpy/llvm/ee.py:109: size=976 B (+0 B), count=2 (+0), 
average=488 B
/home/antoine/llvmpy/llvm/core.py:401: size=904 B (+0 B), count=2 (+0), 
average=452 B
/home/antoine/34/lib/python3.4/sre_compile.py:488: size=856 B (+0 B), count=1 
(+0), average=856 B


Perhaps it would be nice to manually cache the compiled re pattern, instead of 
going through fnmatch's lru_cache thing which seems to make reports less robust.

--
components: Library (Lib)
messages: 222692
nosy: haypo, pitrou
priority: normal
severity: normal
status: open
title: fnmatch.py can appear in tracemalloc diffs
type: behavior
versions: Python 3.4, Python 3.5

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



[issue15626] unittest.main negates -bb option and programmatic warning configuration

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

The behaviour is still the same for 3.4.1 and 3.5.0a0 on Windows 7.

--
components: +Tests
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3

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



[issue8231] Unable to run IDLE without write-access to home directory

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

.idlerc is a directory that contains the user versions of config-xyz.def. There 
are currently 4, another will probably be added.  The 'offending' code is in 
configHandler.IdleConf.GetUserCfgDir() (line 195).
if not os.path.exists(userDir):
try:
os.mkdir(userDir)
except OSError:
warn = ('\n Warning: unable to create user config directory\n'+
userDir+'\n Check path and permissions.\n Exiting!\n\n')
sys.stderr.write(warn)
raise SystemExit

The last line could be replaces by 'return None'.  The calling code that uses 
the normal return would have to be changed to skip trying to read and write the 
config files. According to Ned, Idle already manages if .idlerc exists but is 
unwritable.

The recent files list and breakpoint lists are also stored in .idlerc. Here are 
the 4 hits for 'GetUserCfgDir' in C:\Programs\Python34\Lib\idlelib\*.py ...

EditorWindow.py: 145: self.recent_files_path = 
os.path.join(idleConf.GetUserCfgDir(),
PyShell.py: 131: self.breakpointPath = 
os.path.join(idleConf.GetUserCfgDir(),
configHandler.py: 184: userDir=self.GetUserCfgDir()
configHandler.py: 195: def GetUserCfgDir(self):

While Idle could continue without any of these, I like Brian's idea of asking 
for an alternative first. Actually, if there is no 'home' directory (if 
expanduser('~') below fails), Idle already tries the current directory as a 
backup. It could do the same if a home directory exits but is unusable.

How far should we go with this? A command-line option to set the user cfg dir?  
That should be doable.

I thought about a new idlelib/config-users.def mapping users to directories, 
but that has its own problems of write permission, as will as cross-platform 
access to user name.

The OP (Bryan) asked [is] there is a way to hardcode a reference path that 
doesnt point to my M:\ drive for this directory[?]  Yes. GetUserCfgDir 
starts with
cfgDir = '.idlerc'
userDir = os.path.expanduser('~')
Replace the second line, after each install, to point to a writable directory.

--

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



[issue8231] Unable to run IDLE without write-access to home directory

2014-07-10 Thread Brian Curtin

Changes by Brian Curtin br...@python.org:


--
nosy:  -brian.curtin

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



[issue9445] Fix undefined symbol errors on VS8.0 build

2014-07-10 Thread Martin v . Löwis

Martin v. Löwis added the comment:

I believe the patch is obsolete. Python does not support Windows XP anymore, so 
all supported versions provide GetFinalPathNameByHandle, and all the detection 
code can go.

--
nosy: +loewis

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



[issue21952] fnmatch.py can appear in tracemalloc diffs

2014-07-10 Thread STINNER Victor

STINNER Victor added the comment:

 When using some filters and comparing snapshots, fnmatch will appear in the 
 statistic diffs, e.g.:

During the design of the tracemalloc module (PEP 454), it was decided to not 
filter traces in the C module, but filter traces on a snapshot object. The 
reason is to keep the C module simple. To debug, you can analyze snapshots on a 
fast machine.

Can you try to filter traces?

snapshot = snapshot.filter_traces(Filter(False, tracemalloc.__file__))

In you case, the top frame is in the fnmatch module, so you probably need to 
trace more than one thread (ex: tracemalloc.start(10)) and apply the filter on 
all frames, not only on the top frame:

snapshot = snapshot.filter_traces(Filter(False, tracemalloc.__file__, 
all_frames=True))

You can also ignore fnmatch  sre_compile modules (blacklist, exclusive 
filters), or only keep traces of the directory /home/antoine/llvmpy/llvm/ 
(whitelist, an inclusive filter).

 Perhaps it would be nice to manually cache the compiled re pattern, instead 
 of going through fnmatch's lru_cache thing which seems to make reports less 
 robust.

Ah, interesting point. Would you be interested to work on that?

I tried to use tracemalloc to detect memory leaks in test.regrtest, but it's 
very difficult to get a reliable output. See the issue #19816.

--

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



[issue19816] test.regrtest: use tracemalloc to detect memory leaks?

2014-07-10 Thread Antoine Pitrou

Antoine Pitrou added the comment:

The problem is snapshots will by themselves create allocation noise: you cannot 
really use tracemalloc to detect leaks, only to diagnose the leaks you have 
detected.

--
nosy: +pitrou

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



[issue19816] test.regrtest: use tracemalloc to detect memory leaks?

2014-07-10 Thread STINNER Victor

STINNER Victor added the comment:

 The problem is snapshots will by themselves create allocation noise: you 
 cannot really use tracemalloc to detect leaks, only to diagnose the leaks you 
 have detected.

It's trivial to ignore allocations done in the tracemalloc module. My 
work-in-progress patch uses for example these filters:

tracemalloc_filters = [
   tracemalloc.Filter(False, 'frozen importlib._bootstrap', all_frames=True),
   tracemalloc.Filter(False, tracemalloc.__file__, all_frames=True),
]

--

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



[issue21163] asyncio doesn't warn if a task is destroyed during its execution

2014-07-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f13cde63ca73 by Victor Stinner in branch '3.4':
asyncio: sync with Tulip
http://hg.python.org/cpython/rev/f13cde63ca73

New changeset a67adfaf670b by Victor Stinner in branch 'default':
(Merge 3.4) asyncio: sync with Tulip
http://hg.python.org/cpython/rev/a67adfaf670b

--

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



[issue21936] test_future_exception_never_retrieved() of test_asyncio fails on AMD64 Debian root 3.x

2014-07-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f13cde63ca73 by Victor Stinner in branch '3.4':
asyncio: sync with Tulip
http://hg.python.org/cpython/rev/f13cde63ca73

New changeset a67adfaf670b by Victor Stinner in branch 'default':
(Merge 3.4) asyncio: sync with Tulip
http://hg.python.org/cpython/rev/a67adfaf670b

--
nosy: +python-dev

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



[issue19816] test.regrtest: use tracemalloc to detect memory leaks?

2014-07-10 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 My work-in-progress patch uses for example these filters

If you use filters, you need to add filters for fnmatch and a couple other 
things :)

--

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



[issue19816] test.regrtest: use tracemalloc to detect memory leaks?

2014-07-10 Thread STINNER Victor

STINNER Victor added the comment:

2014-07-10 22:55 GMT+02:00 Antoine Pitrou rep...@bugs.python.org:
 If you use filters, you need to add filters for fnmatch and a couple other 
 things :)

tracemalloc.Filter(False, tracemalloc.__file__, all_frames=True)
ignores all memory allocated directly or indirectly by the tracemalloc
module: notice the all_frames=True parameter. I'm saving at least 5
frames in tracemalloc when I work on this issue.

--

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



[issue5879] multiprocessing - example pool of http servers fails on windows socket has no attribute fromfd

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

Unfortunately #1378 refers to r59004 which is incorrect.  I can't find (due to 
my limited skill set :( where and when fromfd was included in the Python builds 
for Windows.  If that can be found and if somebody is prepared to do a backport 
then this can go forward.

--
nosy: +BreamoreBoy

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



[issue9524] Document CTRL_C_EVENT and CTRL_BREAK_EVENT usage on Windows

2014-07-10 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
versions: +Python 3.4, Python 3.5 -Python 3.2

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



[issue16229] Demo *redemo.py* lacking in Windows installation

2014-07-10 Thread Steve Dower

Steve Dower added the comment:

Looks like tools/demo just isn't included. I'm totally okay with including it - 
looks like a few nice examples in there that I've never seen before.

If someone wants to do a patch for msi.py that's fine, but I'm intending to 
have a completely new installer for 3.5, so any changes to the current one are 
very low priority for me.

--

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



[issue14802] Python fails to compile with VC11 ARM configuration

2014-07-10 Thread Steve Dower

Steve Dower added the comment:

The build environment won't help here, this requires some significant rewrites 
within Python to remove usage of Windows APIs that don't work under the WinRT 
sandbox (similar to the projects to embed Python in Chromium et al.)

I'd still like to see it done, but it's a huge task that is probably never 
going to be tackled by python-dev directly.

--

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



[issue21953] pythonrun.c does not check std streams the same as fileio.c

2014-07-10 Thread Steve Dower

New submission from Steve Dower:

In pythonrun.c, the is_valid_fd() function checks whether fileno(std*) are 
valid before attempting to create IO objects for them. However, the class 
created also checks using fstat().

In pythonw.exe built with VS 2013 (or 14, maybe 2012), the fstat() check fails 
while the earlier one succeeds. This prevents pythonw from starting.

The attached patch adds the fstat() check to pythonrun.c so that if the streams 
are not usable they will simply not be used. I believe this was the original 
intent, but at some point the invalid streams gained valid file numbers.

(I have no strong opinion about applying this to 3.4, except that it will help 
out people who rebuild/embed that version of Python with a newer compiler. 
Thoughts?)

--
components: IO, Windows
files: pythonrun_fstat.diff
keywords: patch
messages: 222706
nosy: benjamin.peterson, pitrou, steve.dower, stutzbach, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: pythonrun.c does not check std streams the same as fileio.c
versions: Python 3.5
Added file: http://bugs.python.org/file35921/pythonrun_fstat.diff

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



[issue1708316] doctest work with Windows PyReadline

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

http://mail.scipy.org/pipermail/ipython-user/2007-April/004299.html talks about 
a patch to work around this problem.  I think this is what the originator is 
talking about in msg99887 as in Since I only use the supported version of 
pyreadline, the error no longer happens in the unpatched code..  So would we 
be justified in closing this as won't fix or should we patch doctest in any 
case?

--
nosy: +BreamoreBoy

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



[issue7877] Iterators over _winreg EnumKey and EnumValue results

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

@Zach any interest in this?

--
nosy: +BreamoreBoy, zach.ware
versions: +Python 3.5 -Python 3.3

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



[issue17056] Support Visual Studio 2012

2014-07-10 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
nosy: +steve.dower, tim.golden, zach.ware
versions: +Python 3.5 -Python 3.4

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



[issue8231] Unable to run IDLE without write-access to home directory

2014-07-10 Thread Ned Deily

Ned Deily added the comment:

The use case reported here sounds like a classroom or lab environment with many 
people (and likely novices) using open environment machines.  In such cases, if 
users don't have write access to their home directories, it seems to me that 
there's no need to try to preserve IDLE configurations across sessions.  Asking 
the user for another location in such cases would be confusing and add needless 
complexity.  I'd say either just create a temporary directory or create the 
config files as temporary files as needed.  For advanced users, I suppose a 
command line option could be added but has there been any demand for such a 
feature?

--

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



[issue8849] python.exe problem with cvxopt

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

I can't see how we can pursue this as the minimum Python version for cvxopt is 
now 2.7 and we don't know what version of cvxopt was originally involved.

--
nosy: +BreamoreBoy

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



[issue1186900] nntplib shouldn't raise generic EOFError

2014-07-10 Thread Lita Cho

Lita Cho added the comment:

I have a fix and added some test coverage in order to make sure the 
NNTFConnectError was being called. However, in the test case, I am monkey 
patching. If there is a way to do this with mock, I would appreciate the 
feedback.

--
keywords: +patch
Added file: http://bugs.python.org/file35922/nntplib_error.patch

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



[issue11470] Flag inappropriate uses of callable class attributes

2014-07-10 Thread Mark Lawrence

Mark Lawrence added the comment:

This issue is referred to from #11455.

--
nosy: +BreamoreBoy

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



[issue14714] PEP 414 tokenizing hook does not preserve tabs

2014-07-10 Thread Vinay Sajip

Vinay Sajip added the comment:

 Would someone care to enlighten me.

It's supposed to be an install-time hook as mentioned in PEP 414 - see footnote 
no. 5 in the PEP.

--

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



[issue20580] IDLE should support platform-specific default config defaults

2014-07-10 Thread Ned Deily

Ned Deily added the comment:

I have presumed the the appropriate selections are made for other systems.

As far as I know, there is nothing in IDLE itself to do that.  As I noted 
earlier, there is a kludge in the Mac Makefile to edit config-main.def and 
config-extensions.def during installs of OS X framework builds.  That doesn't 
help non-framework builds on OS X nor any builds on other non-Windows 
platforms.  They default to the values in the checked-in versions, which 
default to Classic Windows.

Can any of the editing of Mac/Makefile be moved into runtime?

If you mean move the editing of config-main.def et al into IDLE itself, sure. 
That would address the issue of defaults for non-framework builds for OS X and 
could be extended to other non-Windows cases, assuming it was desirable to 
change the current defaults (I don't know if that is the case).  On the other 
hand, that would only help when a user starts IDLE without existing 
.idlerc/*.cfg files, e.g. the first time the user uses IDLE and the first time 
was with a newer version of IDLE that had this feature.  Presumably existing 
.cfg files would not be edited.

In 'all versions by default share the same user configuration files', does 
versions mean 2.7, 3.4, 3.5 on one machine? If so, the statement describes a 
great feature that I would not change.

It means all versions of IDLE, not just the latest releases of branches 
undergoing active maintenance.  We can't assume that the user is just using 
those.  For example, various versions of IDLE are shipped with many OS's or by 
third-party package managers; Apple ships three versions of Python - 2.5, 2.6, 
and 2.7 - with the current release of OS X.  That means all of those versions 
of IDLE and any others (newer or older) that the user has installed are all 
sharing the same configuration files.  Is it reasonable to guarantee 
compatibility across all of them?  And does it make sense to provide the same 
list of recent files for all versions, especially across Py2 and Py3?  I don't 
think there is one right answer to these questions but today users have no 
choice.  As IDLE continues to be enhanced and changes are made, the probability 
of possibly catastrophic incompatibilities will no doubt increase.  I don't 
know if there are any today.  I think it would be better to eliminate that 
risk. 
  There certainly are other use cases, i.e. where home directories are shared 
across machines of the same OS type; I think the above considerations apply to 
nearly all of them, as well.

--

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



[issue15105] curses: wrong indentation

2014-07-10 Thread Ned Deily

Ned Deily added the comment:

Sorry, I am unable to reproduce the failure on a couple of different systems; 
they all work as expected.  If the problem persists, try checking your terminal 
settings and perhaps what version of libncurses* is being used.

--
nosy: +ned.deily
resolution:  - works for me
stage:  - resolved
status: open - closed

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



[issue5879] multiprocessing - example pool of http servers fails on windows socket has no attribute fromfd

2014-07-10 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +sbt

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



[issue15787] PEP 3121, 384 Refactoring

2014-07-10 Thread Alexander Belopolsky

Changes by Alexander Belopolsky alexander.belopol...@gmail.com:


--
nosy: +BreamoreBoy

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



[issue8231] Unable to run IDLE without write-access to home directory

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I don't know of any request for a new option, so I would go for something 
simple that lets Idle run. Temporary files are a good idea for breakpoints 
(temporary anyway, I think) and maybe for recent files.

--

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



[issue20577] IDLE: Remove FormatParagraph's width setting from config dialog

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Ned's comments on #20580,  msg222714,  reminded me that while each idlelib has 
its own set of default config files, one set of user files is shared across all 
installed versions of idle. So we have to be careful about what we do. With 
this patch, 3.4.2, for instance, could not read the user setting set with 
3.4.1. And a setting written by 3.4.2 could not be read by 2.7.8. While I think 
that is tolerable, let's hold off on this until it is both needed and tested a 
bit more.

--

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



[issue21954] str(b'text') returns b'text' in interpreter

2014-07-10 Thread Dev Player

New submission from Dev Player:

str(b'text') returns double quoted item with b prefix within the str() object 
as so: b'text' in python interpreter. It seems the b shouldn't be within 
the outter quotes or apart of the str() instance data.

Is this a bug or new syntax? I personally haven't see any documentation that 
this is the correct behavior. Nor did I find any previously register issue 
tickets.

bchars_list = [b'o', b'n', b'e']
bchars_list
[b'o', b'n', b'e']
[str(x) for x in bchars_list]
[b'o', b'n', b'e']

--
components: Interpreter Core
files: str bug.bmp
messages: 222718
nosy: devplayer
priority: normal
severity: normal
status: open
title: str(b'text') returns b'text' in interpreter
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file35923/str bug.bmp

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



[issue20577] IDLE: Remove FormatParagraph's width setting from config dialog

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

This will at least need a What's New entry, though people do not expect new 
entries in maintenance releases.  I think we need an Idle What's New accessible 
from the help menu and announced on the splash screen. Unlike the standard 
What's New, it will get occasional entries during a release, and that (and PEP 
434) explained at the top.

--

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



[issue20580] IDLE should support platform-specific default config defaults

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

You appear to be saying that even though some of the per system defaults you 
want are present, they are not automatically used, but users must go into the 
options dialog to select bindings other than Windows. Correct? And you would 
like to change this?

The odd situation we have is that default configuration in idlelib is specific 
to the installation, but the same for all users, whereas user overrides are 
specific to the user, but the same for all installations. Thanks for the 
reminder that we need to be careful. I will consider this before we change the 
location of format width in #20579.  As I say there, some changes will need 
Idle What's New entries and perhaps a reminder to read it in the signon 
message, and access from the help menu.

--

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



[issue12902] help(modules) executes module code

2014-07-10 Thread Dev Player

Dev Player added the comment:

Mentioned for informational purposes only.

I too experience the running of external packages with a different library when 
doing help('modules') in the interpreter. This is a fresh install of Python 3.4 
on WinXP.

The text I get in the python.exe interpreter is:
Expected Tk Togl installation in 
C:\Python\Python34\lib\site-packages\OpenGl\Tk\togl-win32

Then I get an empty TK popup window.

Although this other issue was ages ago and was with a different machine, Python 
version and set of libraries I'm giving reference to this only because of 
mention of help(). http://bugs.python.org/issue10060

Although there is a command line option to prevent the import of site, while I 
may not want help to be imported, I usually want site to be imported. It 
would be nice to exclude the help import only via a command line.

I wonder if the interpreter could be given a command line option just to parse 
modules/scripts/packages/librarys to only compile the lines containing def and 
class without anything within the namespace except implicitly declared 
docstrings  (it not __doc__ = ...)

In other words if you had source like:
def somefunc(arg=None):
   here is the func __doc__
   x = value
   callme()

the interpreter could basically compile that into:

def somefunc(arg-None):
here is the func __doc__
return None

or perhaps shortcircuit any non def/class/   to be tokenized as the pass 
statement would be.

Those would be feature/enhance kind thing I suppose.

--
nosy: +devplayer

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



[issue21940] IDLE - Test WidgetRedirector

2014-07-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 53d0776aab53 by Terry Jan Reedy in branch '2.7':
#21940: Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
http://hg.python.org/cpython/rev/53d0776aab53

New changeset edf2ae293d70 by Terry Jan Reedy in branch '3.4':
#21940: Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
http://hg.python.org/cpython/rev/edf2ae293d70

--

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



[issue21940] IDLE - Test WidgetRedirector

2014-07-10 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


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

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



[issue18592] Idle: test SearchDialogBase.py

2014-07-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 30a75f75a4d4 by Terry Jan Reedy in branch '2.7':
Issue #18592: Make unittest for SearchDialogBase work on all tk versions.
http://hg.python.org/cpython/rev/30a75f75a4d4

New changeset 91546aa91cee by Terry Jan Reedy in branch '3.4':
Issue #18592: Make unittest for SearchDialogBase work on all tk versions.
http://hg.python.org/cpython/rev/91546aa91cee

--

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



[issue21954] str(b'text') returns b'text' in interpreter

2014-07-10 Thread Ned Deily

Ned Deily added the comment:

This is as expected.  In Python 3, b'text' represents a bytes object.  Passing 
a bytes object to str() without the encoding or errors arguments falls under 
the first case of returning the informal string representation.
Also, in the case of simple bytes objects, their str() representation is the 
same as their repr() representation.  For many simple types, the repr() 
representation of an object allows you to recover the object by using eval().

 b'one'
b'one'
 type(b'one')
class 'bytes'
 str(b'one')
b'one'
 repr(b'one')
b'one'
 eval(repr(b'one'))
b'one'
 b'one'.decode('ascii')
'one'

https://docs.python.org/3/library/stdtypes.html#str
https://docs.python.org/3/library/functions.html#repr

Python 2 (as of 2.6) accepts b'text' literals to make writing code compatible 
with both Py2 and Py3 easier.  However, Py2 treats b'text' the same as 'text'.

 b'one'
'one'
 type(b'one')
type 'str'
 str(b'one')
'one'
 b'one'.decode('ascii')
u'one'

https://docs.python.org/2/whatsnew/2.6.html#pep-3112-byte-literals

--
nosy: +ned.deily
resolution:  - not a bug
stage:  - resolved
status: open - closed

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



[issue20580] IDLE should support platform-specific default config defaults

2014-07-10 Thread Ned Deily

Ned Deily added the comment:

Correct?

Yes

And you would like to change this?

I think it should be considered, yes.

--

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



[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-07-10 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I just noticed that ColorDelegator has
 idprog = re.compile(r\s+(\w+), re.S)
which will recognize unicode 'words', if not exactly Python 'identifiers'.

However, UndoDelegator has 
alphanumeric = string.ascii_letters + string.digits + _
which is the same as in Hyperparser. It is used in

def classify(self, c):
if c in self.alphanumeric:
return alphanumeric
if c == \n:
return newline
return punctuation
and probably does not do what we really want.

--

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



[issue20366] SQLite FTS (full text search)

2014-07-10 Thread Mark Summerfield

Mark Summerfield added the comment:

Just to mention that I don't need this feature anymore since I've now switched 
to using APSW which includes it and also has much fuller SQLite support than 
the sqlighe3 module. (I haven't closed it though since other people have 
participated in some way.)
See http://rogerbinns.github.io/apsw/index.html

--

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