[issue19439] Build _testembed on Windows

2013-11-03 Thread Zachary Ware

Zachary Ware added the comment:

This patch's changes to test_capi seem to work for Windows and keeps at least 
Gentoo and FreeBSD 10 happy.

--
stage:  - patch review
Added file: http://bugs.python.org/file32471/issue19439.v2.diff

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



[issue19482] _pickle build warnings on Fedora 19

2013-11-03 Thread Nick Coghlan

New submission from Nick Coghlan:

Currently getting build warnings from _pickle.c:
==
building '_pickle' extension
gcc -pthread -fPIC -Wno-unused-result -Werror=declaration-after-statement 
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I./Include -I. -IInclude 
-I/usr/local/include -I/home/ncoghlan/devel/py3k/Include 
-I/home/ncoghlan/devel/py3k -c /home/ncoghlan/devel/py3k/Modules/_pickle.c -o 
build/temp.linux-x86_64-3.4/home/ncoghlan/devel/py3k/Modules/_pickle.o
/home/ncoghlan/devel/py3k/Modules/_pickle.c: In function ‘load_counted_long’:
/home/ncoghlan/devel/py3k/Modules/_pickle.c:4143:15: warning: ‘pdata’ may be 
used uninitialized in this function [-Wmaybe-uninitialized]
 value = _PyLong_FromByteArray((unsigned char *)pdata, (size_t)size,
   ^
/home/ncoghlan/devel/py3k/Modules/_pickle.c: In function ‘load’:
/home/ncoghlan/devel/py3k/Modules/_pickle.c:5330:25: warning: ‘s’ may be used 
uninitialized in this function [-Wmaybe-uninitialized]
 i = (unsigned char)s[0];
 ^
/home/ncoghlan/devel/py3k/Modules/_pickle.c:5324:11: note: ‘s’ was declared here
 char *s;
   ^
/home/ncoghlan/devel/py3k/Modules/_pickle.c:4995:30: warning: ‘s’ may be used 
uninitialized in this function [-Wmaybe-uninitialized]
 idx = Py_CHARMASK(s[0]);
  ^
/home/ncoghlan/devel/py3k/Modules/_pickle.c:4986:11: note: ‘s’ was declared here
 char *s;
   ^
/home/ncoghlan/devel/py3k/Modules/_pickle.c:4005:20: warning: ‘s’ may be used 
uninitialized in this function [-Wmaybe-uninitialized]
 x |= (size_t) s[3]  24;
^
/home/ncoghlan/devel/py3k/Modules/_pickle.c:4858:11: note: ‘s’ was declared here
 char *s;
   ^
gcc -pthread -shared 
build/temp.linux-x86_64-3.4/home/ncoghlan/devel/py3k/Modules/_pickle.o 
-L/usr/local/lib -o build/lib.linux-x86_64-3.4/_pickle.cpython-34m.so
==

--
components: Extension Modules
messages: 201997
nosy: ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: _pickle build warnings on Fedora 19
type: compile error
versions: Python 3.4

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



[issue4331] Add functools.partialmethod

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 46d3c5539981 by Nick Coghlan in branch 'default':
Issue #4331: Added functools.partialmethod
http://hg.python.org/cpython/rev/46d3c5539981

--
nosy: +python-dev

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



[issue4331] Add functools.partialmethod

2013-11-03 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


--
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed

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



[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +kbk, roger.serwy, serhiy.storchaka, terry.reedy
type:  - behavior

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



[issue19439] Build _testembed on Windows

2013-11-03 Thread Nick Coghlan

Nick Coghlan added the comment:

I checked that test_capi still passed on Fedora as well.

Only tweak I made before committing was to ensure that the read end of the test 
pipe used to determine the default pipe encoding was also closed.

--
resolution: fixed - 
stage: committed/rejected - patch review
status: closed - open

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



[issue19439] Build _testembed on Windows

2013-11-03 Thread Nick Coghlan

Changes by Nick Coghlan ncogh...@gmail.com:


--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue19439] Build _testembed on Windows

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset c8c6c007ade3 by Nick Coghlan in branch 'default':
Close #19439: execute embedding tests on Windows
http://hg.python.org/cpython/rev/c8c6c007ade3

--
nosy: +python-dev
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue19403] Make contextlib.redirect_stdout reentrant

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 87d49e2cdd34 by Nick Coghlan in branch 'default':
Close #19403: make contextlib.redirect_stdout reentrant
http://hg.python.org/cpython/rev/87d49e2cdd34

--
nosy: +python-dev
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Nick Coghlan

Nick Coghlan added the comment:

Bastien, did you get a chance to try embedding Python 3.4a4 in Blender yet? If 
that works for you, we can mark this one as closed.

--
status: pending - open

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



[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Win 7, console 2.7.5+, 32  bit, compiled Aug 24, does not have the problem. 
Idle started with 'import idlelib.idle' does, but only for 'print foo', as Tim 
reported. When I close the hung process with [X], there is no error message in 
the console. Installed 64bit 2.7.5 fails with 'print foo' also. I actually used 
F and f instead of Foo and foo, so it is not name specific. A subclass of str 
works fine.

Current 3.4a4 Idle works fine. The SO OP also reported that there is no problem 
is the class is imported from another file.

We need a test on something other than Windows, preferably both mac and linux.

--
nosy: +ned.deily

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



[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-11-03 Thread Andrei Dorian Duma

Changes by Andrei Dorian Duma andrei.duma.dor...@gmail.com:


--
nosy: +haypo

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



[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Ned Deily

Ned Deily added the comment:

It's reproducible on OS X as well with a 32-bit Python 2.7.5 and a 64-bit 
Python 2.7.6rc1.  However, the example works OK if I start IDLE with no 
subprocess (-n).

--

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



[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

This patch fixes symptoms.

--
keywords: +patch
stage:  - patch review
Added file: http://bugs.python.org/file32472/idle_print_unicode_subclass.patch

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



[issue19085] Add tkinter basic options tests

2013-11-03 Thread Ned Deily

Ned Deily added the comment:

With Cocoa Tk 8.5.15 or Cocoa Tk 8.6.1 on OS X 10.8.5, test_widgets.ButtonTest 
crashes Tk:

test_image (tkinter.test.test_tkinter.test_widgets.ButtonTest) ... 2013-11-03 
01:52:53.498 pytest_10.8[82465:f07] *** Assertion failure in -[NSBitmapImageRep 
initWithCGImage:], 
/SourceCache/AppKit/AppKit-1187.40/AppKit.subproj/NSBitmapImageRep.m:1242
2013-11-03 01:52:53.499 pytest_10.8[82465:f07] An uncaught exception was raised
2013-11-03 01:52:53.499 pytest_10.8[82465:f07] Invalid parameter not 
satisfying: cgImage != NULL
2013-11-03 01:52:53.502 pytest_10.8[82465:f07] (
0   CoreFoundation  0x965eae8b __raiseError + 219
1   libobjc.A.dylib 0x956d152e objc_exception_throw 
+ 230
2   CoreFoundation  0x9654a698 +[NSException 
raise:format:arguments:] + 136
3   Foundation  0x966a5364 -[NSAssertionHandler 
handleFailureInMethod:object:file:lineNumber:description:] + 116
4   AppKit  0x98a34525 -[NSBitmapImageRep 
initWithCGImage:] + 145
5   Tk  0x00725a48 
CreateNSImageWithPixmap + 151
6   Tk  0x00725b1c 
TkMacOSXGetNSImageWithTkImage + 149
7   Tk  0x0071eb2f 
TkpComputeButtonGeometry + 2550
8   Tk  0x0069849d TkButtonWorldChanged 
+ 470
9   Tk  0x00698e99 ConfigureButton + 
1981
10  Tk  0x0069980f ButtonWidgetObjCmd + 
440
11  Tcl 0x00579c2f TclEvalObjvInternal 
+ 770
12  Tcl 0x0057ac1a Tcl_EvalObjv + 72
13  _tkinter.so 0x0055db81 Tkapp_Call + 673
[...]


With Carbon Tk 8.4.20 on OS X 10.8.5, two test_insertborderwidth failures:

==
FAIL: test_insertborderwidth (tkinter.test.test_tkinter.test_widgets.EntryTest)
--
Traceback (most recent call last):
  File 
/py/dev/3x/root/fwd32/Library/Frameworks/pytest_10.8.framework/Versions/3.4/lib/python3.4/tkinter/test/test_tkinter/test_widgets.py,
 line 327, in test_insertborderwidth
self.checkPixelsParam(widget, 'insertborderwidth', 0, 1.3, -2)
  File 
/py/dev/3x/root/fwd32/Library/Frameworks/pytest_10.8.framework/Versions/3.4/lib/python3.4/tkinter/test/widget_tests.py,
 line 158, in checkPixelsParam
conv=conv1, **kwargs)
  File 
/py/dev/3x/root/fwd32/Library/Frameworks/pytest_10.8.framework/Versions/3.4/lib/python3.4/tkinter/test/widget_tests.py,
 line 48, in checkParam
self.assertEqual2(widget[name], expected, eq=eq)
  File 
/py/dev/3x/root/fwd32/Library/Frameworks/pytest_10.8.framework/Versions/3.4/lib/python3.4/tkinter/test/widget_tests.py,
 line 32, in assertEqual2
self.assertEqual(actual, expected, msg)
AssertionError: 0 != 1

==
FAIL: test_insertborderwidth 
(tkinter.test.test_tkinter.test_widgets.SpinboxTest)
--
Traceback (most recent call last):
  File 
/py/dev/3x/root/fwd32/Library/Frameworks/pytest_10.8.framework/Versions/3.4/lib/python3.4/tkinter/test/test_tkinter/test_widgets.py,
 line 327, in test_insertborderwidth
self.checkPixelsParam(widget, 'insertborderwidth', 0, 1.3, -2)
  File 
/py/dev/3x/root/fwd32/Library/Frameworks/pytest_10.8.framework/Versions/3.4/lib/python3.4/tkinter/test/widget_tests.py,
 line 158, in checkPixelsParam
conv=conv1, **kwargs)
  File 
/py/dev/3x/root/fwd32/Library/Frameworks/pytest_10.8.framework/Versions/3.4/lib/python3.4/tkinter/test/widget_tests.py,
 line 48, in checkParam
self.assertEqual2(widget[name], expected, eq=eq)
  File 
/py/dev/3x/root/fwd32/Library/Frameworks/pytest_10.8.framework/Versions/3.4/lib/python3.4/tkinter/test/widget_tests.py,
 line 32, in assertEqual2
self.assertEqual(actual, expected, msg)
AssertionError: 0 != 1

--
Ran 536 tests in 1.149s

FAILED (failures=2, skipped=10)

--
priority: high - critical

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



[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Bastien Montagne

Bastien Montagne added the comment:

Wow… Good thing you remind me that. Just tested it here (linux with ASCII 
terminal), works perfectly. Thanks again for all the integration work, Nick!

--

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



[issue19320] Tkinter tests ran with wantobjects is false

2013-11-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Failed buildbots:

http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%202.7
http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%202.7

--

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



[issue19085] Add tkinter basic options tests

2013-11-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Yes, I know. Here is a list of broken buildbots:

http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.x
http://buildbot.python.org/all/builders/x86%20FreeBSD%207.2%203.x
http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.3
http://buildbot.python.org/all/builders/x86%20Tiger%203.3
http://buildbot.python.org/all/builders/x86%20Windows7%202.7
http://buildbot.python.org/all/builders/x86%20XP-4%202.7
http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%202.7
http://buildbot.python.org/all/builders/x86%20FreeBSD%207.2%202.7

On Tiger only two tests failed, on other buildbots multiple tests failed and 
symptoms look as differences between 8.5 and 8.4 or 8.5 (Tk version is wrongly 
detected?). I'm working on this.

--

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



[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa

Claudiu.Popa added the comment:

Hello. Patch attached.

--
keywords: +patch
nosy: +Claudiu.Popa
Added file: http://bugs.python.org/file32473/logging.patch

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



[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread Brecht Machiels

New submission from Brecht Machiels:

With Python 3.2, I subclassed ElementTree.XMLParser to set 
ExternalEntityRefHandler on the XMLParser's (expat) 'parser' member. I 
understand the 'parser' member is not part of the public API, but this was the 
only way to customize the parser without having to write a parser from scratch.

With 3.3, cElementTree replaces the Python implementation by default. Its 
XMLParser class has no accessible 'parser' member to configure. Unfortunately, 
there does not seem to be a way to use the pure-Python XMLParser, which would 
still allow for customization of the parser. Why is the Python version still in 
the library if it can't be accessed? Only for platforms where the C extension 
is not available?

I see two possible solutions:

1) Have XMLParser (both the C and Python versions) accept an optional parser 
argument, so that a custom parser can be passed in.

2) Make the Python version of ElementTree available again.

My other option is to copy the Python XMLParser version into my project. I 
would like to avoid this, as this would duplicate a lot of perfectly good code.
Perhaps there are other solutions?

--
components: XML
messages: 202011
nosy: brechtm, eli.bendersky, scoder
priority: normal
severity: normal
status: open
title: Pure-Python ElementTree classes no longer available since 3.3
type: behavior
versions: Python 3.3, Python 3.4, Python 3.5

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



[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa

Claudiu.Popa added the comment:

Added documentation and the chown parameter for the friends of FileHandler. 
Should tests be added for those classes as well or is it enough to test 
FileHandler?

--
Added file: http://bugs.python.org/file32474/logging.patch

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



[issue18345] logging: file creation options with FileHandler and friends

2013-11-03 Thread Claudiu.Popa

Changes by Claudiu.Popa pcmantic...@gmail.com:


Added file: http://bugs.python.org/file32475/logging.patch

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



[issue19424] _warnings: patch to avoid conversions from/to UTF-8

2013-11-03 Thread Vajrasky Kok

Vajrasky Kok added the comment:

Py_ssize_t is signed long. size_it is unsigned long. In this case, I suppose we 
should avoid unsigned as much as possible in comparison with signed.

So I think Zachary's patch is reasonable.

What do you think, Victor?

--

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



[issue19464] Remove warnings from Windows buildbot clean script

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset dbff708e393f by Tim Golden in branch '3.3':
Issue #19464 Suppress compiler warnings during clean. Patch by Zachary Ware.
http://hg.python.org/cpython/rev/dbff708e393f

New changeset 6e592d972b86 by Tim Golden in branch 'default':
Issue #19464 Null merge with 3.3
http://hg.python.org/cpython/rev/6e592d972b86

--

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



[issue19464] Remove warnings from Windows buildbot clean script

2013-11-03 Thread Tim Golden

Tim Golden added the comment:

Applied to 3.3  3.4. Thanks for the patch.

--
resolution:  - fixed
stage:  - committed/rejected

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



[issue19464] Remove warnings from Windows buildbot clean script

2013-11-03 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
status: open - closed

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



[issue6160] Tkinter.Spinbox: fix bbox method

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 91453ba40b30 by Serhiy Storchaka in branch '2.7':
Issue #6160: The bbox() method of Tkinter.Spinbox now returns a tuple of
http://hg.python.org/cpython/rev/91453ba40b30

New changeset 5bdbf2258563 by Serhiy Storchaka in branch '3.3':
Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
http://hg.python.org/cpython/rev/5bdbf2258563

New changeset 75d8b9136fa6 by Serhiy Storchaka in branch 'default':
Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
http://hg.python.org/cpython/rev/75d8b9136fa6

--
nosy: +python-dev

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



[issue16129] No good way to set 'PYTHONIOENCODING' when embedding python.

2013-11-03 Thread Nick Coghlan

Nick Coghlan added the comment:

Excellent!

Zachary Ware got the embedding tests running and passing on Windows in issue 
19439 (previously they were only executed on *nix systems), so Python 3.4 
should resolve this problem on all platforms.

--
status: open - closed

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



[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b3178d03871b by Serhiy Storchaka in branch '2.7':
Issue #6157: Fixed Tkinter.Text.debug().  Original patch by Guilherme Polo.
http://hg.python.org/cpython/rev/b3178d03871b

New changeset 3f5e35b766ac by Serhiy Storchaka in branch '3.3':
Issue #6157: Fixed tkinter.Text.debug().  Original patch by Guilherme Polo.
http://hg.python.org/cpython/rev/3f5e35b766ac

New changeset c40b573c9f7a by Serhiy Storchaka in branch 'default':
Issue #6157: Fixed tkinter.Text.debug().  tkinter.Text.bbox() now raises
http://hg.python.org/cpython/rev/c40b573c9f7a

--
nosy: +python-dev

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



[issue12029] Catching virtual subclasses in except clauses

2013-11-03 Thread Nick Coghlan

Nick Coghlan added the comment:

A point on the safety/correctness front: I remembered we already run arbitrary 
code at roughly this point in the eval loop, as we have to invoke __iter__ to 
get the exceptions to check when an iterable is used in except clause.

That means allowing the subclass check hooks to run here isn't as radical a 
change as I first thought.

--

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



[issue17400] ipaddress should make it easy to identify rfc6598 addresses

2013-11-03 Thread Nick Coghlan

Nick Coghlan added the comment:

Just updating the issue state to reflect the fact Peter committed this a while 
ago.

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2013-11-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +terry.reedy

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



[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2013-11-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


Added file: 
http://bugs.python.org/file32476/PanedWindow_docstring_and_return_fixes_2.patch

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



[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2013-11-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Patch updated to tip and added deprecation warning.

--
nosy: +terry.reedy
versions:  -Python 2.7, Python 3.3

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



[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2013-11-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


Removed file: http://bugs.python.org/file32391/Scrollbar_fixes_2.diff

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



[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2013-11-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


Added file: http://bugs.python.org/file32477/Scrollbar_fixes_2.diff

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



[issue19424] _warnings: patch to avoid conversions from/to UTF-8

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2ed8d500e113 by Victor Stinner in branch 'default':
Issue #19424: Fix a compiler warning on comparing signed/unsigned size_t
http://hg.python.org/cpython/rev/2ed8d500e113

--

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



[issue19085] Add tkinter basic options tests

2013-11-03 Thread Vajrasky Kok

Vajrasky Kok added the comment:

Serhiy,

In Python3.4, Windows Vista 32 bit, Release Mode, Tcl/Tk 8.5.15, I got a lot of 
errors. However, if I set _conv_pixels to round in 
Lib/tkinter/test/widget_tests.py, everything works fine.

In Python 3.4, Fedora 18, Debug Mode, Tcl/Tk 8.5.13, I got a lot of errors. 
However, if I set _conv_pixels to round in Lib/tkinter/test/widget_tests.py, I 
got two errors only.

==
FAIL: test_insertwidth (__main__.EntryTest)
--
Traceback (most recent call last):
  File Lib/tkinter/test/test_tkinter/test_widgets.py, line 335, in 
test_insertwidth
self.checkParam(widget, 'insertwidth', 0.9, expected=2)
  File 
/home/sky/Code/python/programming_language/cpython/Lib/tkinter/test/widget_tests.py,
 line 49, in checkParam
self.assertEqual2(widget[name], expected, eq=eq)
  File 
/home/sky/Code/python/programming_language/cpython/Lib/tkinter/test/widget_tests.py,
 line 33, in assertEqual2
self.assertEqual(actual, expected, msg)
AssertionError: 1 != 2

Other error is same.

Hope that helps!

--
nosy: +vajrasky

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



[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-03 Thread STINNER Victor

STINNER Victor added the comment:

Updated patch to the latest implementation: 65e72bf01246.patch

The developement is now done in the start branch of  
http://hg.python.org/features/tracemalloc

--
Added file: http://bugs.python.org/file32478/65e72bf01246.patch

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



[issue6160] Tkinter.Spinbox: fix bbox method

2013-11-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thanks Terry.

 The new test looks good.

This is a copy of a test for ttk.Entry.

 Grepping tkinter.__init__.py for 'an empty string' gives multiple hits that 
 indicate to me (without detailed examination) that there are about 7 methods 
 that return such. This is slightly odd in a Python context, but it is 
 documented, hence not wrong.

Actually there are methods which always return empty string without documenting 
it. I removed such changes from other Guilherme's patches.

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2013-11-03 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
dependencies:  -Add tkinter basic options tests
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed

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



[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset c34e163c0086 by Tim Golden in branch '3.3':
Issue #10197 Rework subprocess.get[status]output to use subprocess 
functionality and thus to work on Windows. Patch by Nick Coghlan.
http://hg.python.org/cpython/rev/c34e163c0086

New changeset 05ce1bd1a4c2 by Tim Golden in branch 'default':
Issue #10197 Rework subprocess.get[status]output to use subprocess 
functionality and thus to work on Windows. Patch by Nick Coghlan.
http://hg.python.org/cpython/rev/05ce1bd1a4c2

New changeset b6efaa97ee0e by Tim Golden in branch '3.3':
Issue #10197: merge heads
http://hg.python.org/cpython/rev/b6efaa97ee0e

New changeset 28a0ae3dcb16 by Tim Golden in branch 'default':
Issue #10197: merge heads
http://hg.python.org/cpython/rev/28a0ae3dcb16

New changeset fe828884a077 by Tim Golden in branch 'default':
Issue #10197: merge 3.3
http://hg.python.org/cpython/rev/fe828884a077

--
nosy: +python-dev

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



[issue19484] Idle crashes when opening file

2013-11-03 Thread Annika Schiefner

New submission from Annika Schiefner:

Whenever I try opening a .py file, Idle crashes. 
Mac OS X, 10.6.8

--
components: IDLE
messages: 202027
nosy: Schiefna
priority: normal
severity: normal
status: open
title: Idle crashes when opening file
type: crash
versions: Python 2.7

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



[issue19378] Clean up Python 3.4 API additions in the dis module

2013-11-03 Thread Nick Coghlan

Nick Coghlan added the comment:

While working on this, I noticed a number of other issues with the dis API 
additions for Python 3.4 from issue 11816. Specifically:

- the file output redirection API didn't work in some cases that resulted in 
calls to other disassembly functions
- Bytecode.show_info() replicates a bad module level API that shouldn't be 
perpetuated
- Bytecode.display_code() is better converted to a dis() method that returns a 
string rather than writing directly to an output stream

--
keywords: +patch
nosy: +larry, rfk, rhettinger
priority: normal - release blocker
title: Rename line_offset parameter in dis.get_instructions to first_line 
- Clean up Python 3.4 API additions in the dis module
versions: +Python 3.4
Added file: http://bugs.python.org/file32479/issue19378_dis_module_fixes.diff

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



[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread Vajrasky Kok

New submission from Vajrasky Kok:

Lib/email/message.py, line 665  666:

param = msg.get_param('foo')
param = email.utils.collapse_rfc2231_value(rawparam)

Where does rawparam come from?

On top of that, sending the result of get_param to collapse_rfc2231_value can 
make it chokes if the result of get_param is None. I already proposed the 
change in collapse_rfc2231_value to handle None gracefully in another ticket 
#19063, though.

--
assignee: docs@python
components: Documentation
files: fix_doc_get_param_in_email_message.patch
keywords: patch
messages: 202029
nosy: docs@python, vajrasky
priority: normal
severity: normal
status: open
title: Slightly incorrect doc for get_param method in Lib/email/message.py
versions: Python 3.4
Added file: 
http://bugs.python.org/file32480/fix_doc_get_param_in_email_message.patch

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



[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread Vajrasky Kok

Changes by Vajrasky Kok sky@speaklikeaking.com:


--
nosy: +r.david.murray

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



[issue19486] Bump up version of Tcl/Tk in building Python in Windows platform

2013-11-03 Thread Vajrasky Kok

New submission from Vajrasky Kok:

Right now, at November 3rd 2013, the latest minor version of Tcl/Tk 8.5 is 
8.5.15.

http://www.activestate.com/activetcl/downloads
http://www.tcl.tk/

When building Python in Windows in release mode (not debug mode), I had to 
download the Tcl/Tk binary build from ActiveState which only offers 8.5.15 
version. To download the older version, you have to buy business license from 
them.

So maybe it's the time to bump up the version?

Of course we have to update the svn repository as well.
http://svn.python.org/projects/external/

--
components: Tkinter
files: bump_up_tcl_version_windows.patch
keywords: patch
messages: 202030
nosy: vajrasky, zach.ware
priority: normal
severity: normal
status: open
title: Bump up version of Tcl/Tk in building Python in Windows platform
versions: Python 3.4
Added file: http://bugs.python.org/file32481/bump_up_tcl_version_windows.patch

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



[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Tim Golden

Tim Golden added the comment:

Code  tests now work on Windows. Applied to 3.3  3.4.

--
resolution:  - fixed
stage: test needed - committed/rejected
status: open - closed

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



[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread R. David Murray

R. David Murray added the comment:

Vajrasky: FYI, you can select the 'email' component for tickets like this, and 
I'll be automatically made nosy (as will Barry Warsaw).

--
components: +email
nosy: +barry
type:  - behavior
versions: +Python 2.7, Python 3.3

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



[issue19085] Add tkinter basic options tests

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a34889a30d52 by Serhiy Storchaka in branch '2.7':
Issue #19085: Fixed pixels rounding for last Tk patchlevels.
http://hg.python.org/cpython/rev/a34889a30d52

New changeset dfdf47a9aad4 by Serhiy Storchaka in branch '3.3':
Issue #19085: Fixed pixels rounding for last Tk patchlevels.
http://hg.python.org/cpython/rev/dfdf47a9aad4

New changeset e7be7aceab77 by Serhiy Storchaka in branch 'default':
Issue #19085: Fixed pixels rounding for last Tk patchlevels.
http://hg.python.org/cpython/rev/e7be7aceab77

--

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



[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread R. David Murray

R. David Murray added the comment:

It is there so that Python implementations (other than cPython) that do not 
have ElementTree accelerator modules can fall back on the pure python version.

You can import the pure python version in cPython by blocking the import of the 
C accelerator:

   import sys
   sys.modules['_elementtree'] = None
   import xml.etree.ElementTree

I'll leave this open to see what the xml experts think about the custom parser 
idea.

--
nosy: +r.david.murray

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



[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Tim Golden

Tim Golden added the comment:

This has nearly been fixed by the rewrite of the get[status]output code under 
issue10197. There is an issue, though, with the use there of universal_newlines 
mode, which forces check_output to return a string rather than bytes.

--
nosy: +tim.golden

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



[issue19085] Add tkinter basic options tests

2013-11-03 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thanks Vajrasky. Now I see that this is a bug in Tk 8.5 which was fixed in 
8.5.12. We should use round() to conform with last Tk patchlevels. However this 
breaks tests on Ubuntu 12.04 LTS which uses 8.5.11.

Here is a patch which adds workaround for this bug.

--
Added file: http://bugs.python.org/file32482/pixels_round.diff

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



[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread Stefan Behnel

Stefan Behnel added the comment:

Brecht Machiels, 03.11.2013 11:58:
 With Python 3.2, I subclassed ElementTree.XMLParser to set 
 ExternalEntityRefHandler on the XMLParser's (expat) 'parser' member

This sounds like a request for a missing feature to me. Here is how lxml
handles it:

http://lxml.de/resolvers.html

 I understand the 'parser' member is not part of the public API

Correct, although the fact that it is not prefixed with an underscore is
rather unfortunate. IMHO, there is no guarantee that the underlying parser
will always be expat, and in fact, it is not in lxml.

 I see two possible solutions:
 1) Have XMLParser (both the C and Python versions) accept an optional parser 
 argument, so that a custom parser can be passed in.

-1. IMHO, the underlying parser should not be made a part of the API.
Instead, whatever features it provides that are needed on user side should
be mapped and abstracted in one way or another. Resolving external entity
references is something that should not be done as low-level as expat.

--

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



[issue18985] Improve the documentation in fcntl module

2013-11-03 Thread R. David Murray

R. David Murray added the comment:

Vajrasky: what do you think of my version?  Is it clear enough?

I wonder if we want to document the constants someday.

--
stage:  - patch review
versions: +Python 2.7, Python 3.3

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



[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Tim Golden

Tim Golden added the comment:

The code I've just committed to issue10197 means that the get[status]output 
functions now pass their (few) tests on all platforms. More by chance than 
judgement, that change employed universal_newlines which has the effect of 
forcing the output of check_output to string rather than bytes.

Having just re-read all the comments, we have three positions:

a) Do nothing: these are outdated functions and anyone who has a problem with 
undecodable bytes will have to use one of the other functions where they have 
more control.

b) Use the surrogateescape encoding in every case to produce *some* kind of 
output rather than an exception.

c) Tweak the code to produce bytes in every case. This is actually simple: 
removing universal_newlines support will do this. (I already have working code 
for this).

I think (b) is more trouble than it's worth. So (a) Do Nothing; or (c) Produce 
Bytes.

Going by the law of Status Quo wins, if no-one chimes in with a strong case 
for switching to bytes in a few days, I propose to close this as Won't Fix.

--

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



[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2

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



[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread Brecht Machiels

Brecht Machiels added the comment:

 You can import the pure python version in cPython by blocking the import  of 
 the C accelerator:

   import sys
   sys.modules['_elementtree'] = None
   import xml.etree.ElementTree

This will not work if xml.etree.ElementTree was already imported by another 
module, I think. Of course, you can take care of that case, but it doesn't get 
any prettier (I have done this for now).

Any objections to making the pure Python versions available under a different 
name?

--

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



[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


Added file: http://bugs.python.org/file32483/issue9922.34.diff

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



[issue19417] Add tests for bdb (previously not tested)

2013-11-03 Thread Xavier de Gaye

Xavier de Gaye added the comment:

A less invasive alternative could be to instrument Bdb with a subclass
that processes send-expect sequences. This is what does
http://code.google.com/p/pdb-clone/source/browse/Lib/test/test_bdb.py

This code could be adapted to run with python bdb.

--
nosy: +xdegaye

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



[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset c574951deadd by R David Murray in branch '3.3':
#19485: clarify get_param example.
http://hg.python.org/cpython/rev/c574951deadd

New changeset e3180c58a78c by R David Murray in branch 'default':
Merge #19485: clarify get_param example.
http://hg.python.org/cpython/rev/e3180c58a78c

--
nosy: +python-dev

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



[issue19485] Slightly incorrect doc for get_param method in Lib/email/message.py

2013-11-03 Thread R. David Murray

R. David Murray added the comment:

Thanks, Vajrasky.  Looks like this was a cut and paste error when Barry updated 
the docs for 3.3, since it is correct in the 2.7 module.

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue19487] Correct the error of the example given in the doc of partialmethod

2013-11-03 Thread iMom0

Changes by iMom0 mobeihe...@gmail.com:


--
assignee: docs@python
components: Documentation
files: partialmethod-doc-fix.patch
keywords: patch
nosy: docs@python, imom0
priority: normal
severity: normal
status: open
title: Correct the error of the example given in the doc of partialmethod
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file32484/partialmethod-doc-fix.patch

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



[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Gregory P. Smith

Gregory P. Smith added the comment:

The documentation needs updating to state that these are available on Windows 
(currently it says UNIX) with a versionchanged annotation.

http://docs.python.org/3.3/library/subprocess.html#legacy-shell-invocation-functions

--
nosy: +gregory.p.smith
status: closed - open

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



[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2013-11-03 Thread Gregory P. Smith

Gregory P. Smith added the comment:

If anybody using them in Python 3.3 is already depending upon them returning 
strings, changing it to return bytes will break their code... so that ship as 
unfortunately sailed.  Changing that only in 3.4 would just cause churn and 
make code using this more difficult to be compatible across both.

Updating the documentation to state the utf-8 decoding behavior and the caveats 
of that is important.  That documentation note should also mention what people 
should use instead if they want binary data instead of text.

--

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



[issue19411] binascii.hexlify docs say it returns a string (it returns bytes)

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 25d89a4faede by R David Murray in branch '3.3':
#19411: Clarify that b2a_hex/hexlify returns a bytes object.
http://hg.python.org/cpython/rev/25d89a4faede

New changeset ac190d03aed5 by R David Murray in branch 'default':
Merge #19411: Clarify that b2a_hex/hexlify returns a bytes object.
http://hg.python.org/cpython/rev/ac190d03aed5

--
nosy: +python-dev

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



[issue19411] binascii.hexlify docs say it returns a string (it returns bytes)

2013-11-03 Thread R. David Murray

R. David Murray added the comment:

Thanks, Vajrasky.  I modified the patch slightly since I prefer the term bytes 
object to just bytes (I think it reads better in English).

--
resolution:  - fixed
stage: needs patch - committed/rejected
status: open - closed

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



[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2924a63aab73 by Tim Golden in branch '3.3':
Issue #10197: Indicate availability of subprocess.get[status]output on Windows 
and add a note about the effects of universal newlines
http://hg.python.org/cpython/rev/2924a63aab73

New changeset effad2bda4cb by Tim Golden in branch 'default':
Issue #10197: Indicate availability of subprocess.get[status]output on Windows 
and add a note about the effects of universal newlines
http://hg.python.org/cpython/rev/effad2bda4cb

--

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



[issue19483] Pure-Python ElementTree classes no longer available since 3.3

2013-11-03 Thread R. David Murray

R. David Murray added the comment:

Yes, you have to do the sys.modules set at the start of your application.

The python module is what gets imported, it is just that the C classes override 
some of the classes from the Python module when they are imported.  So no, 
there's no way to make the pure python available in cPython other than blocking 
the _elementtree import at application startup.

If you want to discuss changing this fact, it would be a broader discussion in 
the context of PEP 399, and should take place on the python-dev mailing list.

--

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



[issue10197] subprocess.getoutput fails on win32

2013-11-03 Thread Tim Golden

Tim Golden added the comment:

Good point. I've added the versionchanged tag.

The issue with bytes-string encoding goes all the way back to 
Popen.communicate if universal newlines mode is used so I've simply put 
in a reference to the existing notes on the subject higher up in the docs.

--

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



[issue19487] Correct the error of the example given in the doc of partialmethod

2013-11-03 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
assignee: docs@python - 
nosy: +ncoghlan

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



[issue19484] Idle crashes when opening file

2013-11-03 Thread Ned Deily

Ned Deily added the comment:

OS X 10.6 Snow Leopard shipped with a new version of Tk 8.5 that is mostly 
unusable with IDLE and other Tkinter applications.  If you are using the 
Apple-supplied system Python on OS X, you should install a new version of 
Python that allows use of a different version of Tk.  If you are using a 
python.org installer, install a third-party version of Tk or the latest 
installers which include their own built-in copies of Tk.  See 
http://www.python.org/download/mac/tcltk/ for detailed information.  If this 
does not solve your problem, please reopen this issue and supply more 
information.

--
nosy: +ned.deily
resolution:  - out of date
stage:  - committed/rejected
status: open - closed

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



[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Andrei Dorian Duma

Changes by Andrei Dorian Duma andrei.duma.dor...@gmail.com:


--
nosy: +andrei.duma

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



[issue19454] devguide: Document what a platform support is

2013-11-03 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
nosy: +r.david.murray

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



[issue18702] Report skipped tests as skipped

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1feeeb8992f8 by Serhiy Storchaka in branch '3.3':
Issue #18702: All skipped tests now reported as skipped.
http://hg.python.org/cpython/rev/1feeeb8992f8

New changeset 09105051b9f4 by Serhiy Storchaka in branch 'default':
Issue #18702: All skipped tests now reported as skipped.
http://hg.python.org/cpython/rev/09105051b9f4

--
nosy: +python-dev

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



[issue19378] Clean up Python 3.4 API additions in the dis module

2013-11-03 Thread Larry Hastings

Larry Hastings added the comment:

Would this be a good time for me to ask about publishing the stack effect info? 
 I had to write my own parallel implementation of it for my assembler, so I 
found it irritating that Python doesn't provide it.

--

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



[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Looking at this some more, I think one of the reasons is that isabs() does not 
consider paths consisting of *just* a drive (either c: or \\host\share) to be 
absolute, but it considers a path without a drive but starting with a \ as 
absolute. So perhaps it's all internally inconsistent. I'm hoping Bruce has 
something to say to this.

--

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



[issue19484] Idle crashes when opening file

2013-11-03 Thread Jerry Barrington

Jerry Barrington added the comment:

I installed python-2.7.6rc1-macosx10.6_rev1.dmg, which says it has it's own Tk 
builtin, on OSX 10.6.8.  Idle crashes when I double-click a *.py file.  If I 
try to open a file from within Idle, a blank window opens that I can't close.

--
nosy: +Jerry.Barrington

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



[issue19484] Idle crashes when opening file

2013-11-03 Thread Ned Deily

Ned Deily added the comment:

Double-clicking on a .py may not be opening the file with the right version of 
IDLE.  OS X maintains the associations between file types, based on file 
characteristics like the extension (e.g. .py), and applications.  To select 
exactly which application to open a file, rather than double-clicking on it, 
click on it once to select it then use control-click to being up a context menu 
and use Open With to select the 2.7.6 version of IDLE.  You can also use the 
Finder's Get Info command to change application associations for a particular 
file or for all files of a particular type.  The details of all of this vary 
slightly depending on OS X release.

--

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



[issue19484] Idle crashes when opening file

2013-11-03 Thread Ned Deily

Ned Deily added the comment:

My apologies! What I just wrote is accurate but not the problem you are seeing. 
I forgot that there is a problem with IDLE's Open command that was discovered 
after the release of 2.7.6rc1.  See Issue19426  It will be fixed in the final 
release of 2.7.6 which should be available sometime this week.

--

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



[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Andrei Dorian Duma

Andrei Dorian Duma added the comment:

I'm willing to fix this. ntpath.join behaves weird in other situations too:

 ntpath.join('C:/a/b', 'D:x/y')
'C:/a/b\\D:x/y'

In fact, I don't know what the above should return.

--

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



[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Guido van Rossum

Guido van Rossum added the comment:

PEP 428 offers a reasonable view. Search 
http://www.python.org/dev/peps/pep-0428/ for anchored and read on.

--

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



[issue18702] Report skipped tests as skipped

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2d330f7908e7 by Serhiy Storchaka in branch '2.7':
Issue #18702: All skipped tests now reported as skipped.
http://hg.python.org/cpython/rev/2d330f7908e7

--

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



[issue19484] Idle crashes when opening file

2013-11-03 Thread Ned Deily

Ned Deily added the comment:

P.S. If you feel comfortable with using the command line, you *could* install 
the fix for Issue19426 yourself into 2.7.6rc1 if you can't wait for the final 
release.  For the OS X python.org installers, something like this should work 
from a user login with administrator privileges (sudo may ask for your 
password):

cd ~/Downloads
curl -O 
http://hg.python.org/cpython/raw-file/7fde94ad5df4/Lib/idlelib/IOBinding.py
cd /Library/Frameworks/Python.framework/Versions/2.7
cd ./lib/python2.7/idlelib
diff ~/Downloads/IOBinding.py ./IOBinding.py
sudo cp -p ./IOBinding.py ./IOBinding.py.ORIGINAL
sudo cp ~/Downloads/IOBinding.py ./IOBinding.py
sudo rm -f ./IOBinding.pyc ./IOBinding.pyo
sudo chmod 664 ./IOBinding.py

The output from the diff command should look like this:

$ diff ~/Downloads/IOBinding.py IOBinding.py
128c128
 lst = str.split(\n, 2)[:2]
---
 str = str.split(\n, 2)[:2]

--

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



[issue18702] Report skipped tests as skipped

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0d8f0526813f by Serhiy Storchaka in branch '2.7':
Fix test_os (issue #18702).
http://hg.python.org/cpython/rev/0d8f0526813f

--

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



[issue19417] Add tests for bdb (previously not tested)

2013-11-03 Thread Colin Williams

Colin Williams added the comment:

I've updated the patch to consolidate some duplicated code.  Unfortunately, I 
wasn't able to move anything to setUpClass without messing even more with the 
internals.  I haven't had a chance to refine the code further based on 
xdegaye's suggestions, but I wanted to make sure I was getting feedback on the 
most up-to-date code.

--
Added file: http://bugs.python.org/file32485/bdb.patch

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



[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2013-11-03 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Shipman and Lundh References:
http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/panedwindow.html
http://effbot.org/tkinterbook/panedwindow.htm#Tkinter.PanedWindow-class

Let us separate the different issues with the PanedWindow code and docstrings.

0. .proxy is specified as 'Internal function'. The 3 .proxy_xyz methods are not 
but I believe they should be. (Without further examination) they make no sense 
to me otherwise. Lundh includes these 3 (but not .proxy); Shipman omits all 4. 
If they were to  be marked 'internal', the return could be changed without 
worry, but it is low priority in any case. If anything, this should be a 
separate tracker issue.

1. The revision of the .identify docstring agrees with Shipman. However, while 
the revision describes how the Python wrapper should behave, I am dubious that 
tk.call itself returns either a list or a tuple, rather than a string such as 
'{0 sash}' unless verifed with a test.  If there is none in test_widgets, I 
will try using sash_coord to get inputs that hit a sash and handle.

2. The 'proper' name for the required .paneconfigure parameter is 'child', 
which is the name used for all other functions and in both Shipman and Lundh. 
As long as we are revising, I much prefer the current standard docstrings, 
which is to use the imperative 'return' rather than 'returns' or 'is returned'.

3. After and before options are after and before a child *widget*, not window.

I may do a revised patch (or two) later.

--

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



[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Andrei Dorian Duma

Andrei Dorian Duma added the comment:

Added a possible fix for ntpath.join. Didn't touch isabs yet.

--
keywords: +patch
Added file: http://bugs.python.org/file32486/fix_ntpath_join.patch

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



[issue17883] Fix buildbot testing of Tkinter

2013-11-03 Thread Brian Curtin

Brian Curtin added the comment:

The changes look fine to me.

--
assignee: terry.reedy - zach.ware

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



[issue18702] Report skipped tests as skipped

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a699550bc73b by Ned Deily in branch 'default':
Issue #18702 null merge
http://hg.python.org/cpython/rev/a699550bc73b

--

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



[issue19440] Clean up test_capi

2013-11-03 Thread Brian Curtin

Brian Curtin added the comment:

Your patch for 3.3 won't fly: subTest is new for 3.4.

--

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



[issue19391] Fix PCbuild/readme.txt in 2.7 and 3.3

2013-11-03 Thread Brian Curtin

Brian Curtin added the comment:

Both patches look fine to me.

--

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



[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Ned Deily

Ned Deily added the comment:

LGTM

--

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



[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Bruce Leban

Bruce Leban added the comment:

A non-UNC windows path consists of two parts: a drive and a conventional path. 
If the drive is left out, it's relative to the current drive. If the path part 
does not have a leading \ then it's relative to the current path on that drive. 
Note that Windows has a different working dir for every drive.

x\y.txt# in dir x in current dir on current drive
\x\y.txt   # in dir x at root of current drive
E:x\y.txt  # in dir in current dir on drive E
E:\x\y.txt # in dir x at root of drive E

UNC paths are similar except \\server\share is used instead of X: and there are 
no relative paths, since the part after share always starts with a \.

Thus when joining paths, if the second path specifies a drive, then the result 
should include that drive, otherwise the drive from the first path should be 
used. The path parts should be combined with the standard logic.

Some additional test cases

tester(ntpath.join(r'C:/a/b/c/d', '/e/f'), 'C:\e\f')
tester(ntpath.join('//a/b/c/d', '/e/f'), '//a/b/e/f')
tester(ntpath.join('C:x/y', r'z'), r'C:x/y/z')
tester(ntpath.join('C:x/y', r'/z'), r'C:/z')

Andrei notes that the following is wrong but wonders what the correct answer is:

 ntpath.join('C:/a/b', 'D:x/y')
'C:/a/b\\D:x/y'

The /a/b part of the path is an absolute path on drive C and isn't 
transferable to another drive. So a reasonable result is simply 'D:x/y'. This 
matches Windows behavior. If on Windows you did

$ cd /D C:\a\b
$ cat D:x\y

it would ignore the current drive on C set by the first command and use the 
current drive on D.

tester(ntpath.join('C:/a/b', 'D:x/y'), r'D:x/y')
tester(ntpath.join('//c/a/b', 'D:x/y'), r'D:x/y')

--
nosy: +Bruce.Leban

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



[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-11-03 Thread Tim Peters

Tim Peters added the comment:

Do we have a theory for _why_ IDLE goes nuts?  I'd like to know whether the 
patch is fixing the real problem, or just happens to work in this particular 
test case ;-)

--

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



[issue19456] ntpath doesn't join paths correctly when a drive is present

2013-11-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Do we even have a way to get the current directory for a given drive? (I guess 
this is only needed for C: style drives.)

--

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



[issue19475] Add microsecond flag to datetime isoformat()

2013-11-03 Thread Andrei Dorian Duma

Changes by Andrei Dorian Duma andrei.duma.dor...@gmail.com:


--
nosy: +andrei.duma

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



[issue18678] Wrong struct members name for spwd module

2013-11-03 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1b0ca1a7a3ca by R David Murray in branch 'default':
#18678: Correct names of spwd struct members.
http://hg.python.org/cpython/rev/1b0ca1a7a3ca

--
nosy: +python-dev

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



[issue18678] Wrong struct members name for spwd module

2013-11-03 Thread R. David Murray

R. David Murray added the comment:

Thanks, Vajrasky.  I elected to apply this only to default, since it hasn't 
caused any real-world problems.  The (small but non-zero) chance of breaking 
someone's code in the maintenance releases doesn't seem justified by the nature 
of the fix.

--
resolution:  - fixed
stage:  - committed/rejected

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



[issue18678] Wrong struct members name for spwd module

2013-11-03 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
status: open - closed

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



  1   2   >