[issue19279] UTF-7 to UTF-8 decoding crash

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The bug is fixed on maintenance releases. Maintainer of 3.2 can backport the 
fix to 3.2 if it worth.

--

___
Python tracker 

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



[issue19332] Guard against changing dict during iteration

2013-10-27 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
resolution:  -> rejected
status: open -> closed

___
Python tracker 

___
___
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-10-27 Thread Raymond Hettinger

Raymond Hettinger added the comment:

+1

--
nosy: +rhettinger

___
Python tracker 

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



[issue19414] OrderedDict.values() behavior for modified instance

2013-10-27 Thread Raymond Hettinger

Raymond Hettinger added the comment:

I'm inclined to document that "iterating views while adding or deleting entries 
an ordered dictionary is an undefined behavior".

--

___
Python tracker 

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



[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2013-10-27 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Antoine, do you have any thoughts on this proposal?

--
nosy: +pitrou

___
Python tracker 

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



[issue19414] OrderedDict.values() behavior for modified instance

2013-10-27 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
assignee:  -> rhettinger

___
Python tracker 

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



[issue19414] OrderedDict.values() behavior for modified instance

2013-10-27 Thread Nikolaus Rath

Nikolaus Rath added the comment:

I'd be happy to provide a more extensive patch along the lines Armin suggested 
if that is considered a good idea (not sure who has to make that decision).

--

___
Python tracker 

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



[issue19373] Tkinter apps including IDLE may not display properly on OS X 10.9 Mavericks

2013-10-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1712a22aa1a9 by Ned Deily in branch '2.7':
Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
http://hg.python.org/cpython/rev/1712a22aa1a9

New changeset 8609f6df9974 by Ned Deily in branch '3.3':
Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
http://hg.python.org/cpython/rev/8609f6df9974

New changeset 33b31971ae9d by Ned Deily in branch 'default':
Issue #19373: merge from 3.3
http://hg.python.org/cpython/rev/33b31971ae9d

--
nosy: +python-dev

___
Python tracker 

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



[issue19412] Add docs for test.support.requires_docstrings decorator

2013-10-27 Thread Nick Coghlan

Nick Coghlan added the comment:

OK, since David agrees the updated behaviour of the requires_docstring 
decorator makes sense (i.e. skipping __doc__ related tests whenever the 
docstrings are unreliable, regardless of the reason), I'm morphing this to be a 
test.support docs issue.

At least requires_docstring should be documented, but it may be worth 
documenting HAVE_DOCSTRINGS and MISSING_C_DOCSTRINGS as well.

--
assignee:  -> docs@python
components: +Documentation -Tests
nosy: +docs@python
title: Add a test.support decorator for tests that require C level docstrings 
-> Add docs for test.support.requires_docstrings decorator

___
Python tracker 

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



[issue19279] UTF-7 to UTF-8 decoding crash

2013-10-27 Thread STINNER Victor

STINNER Victor added the comment:

@Serhiy: What is the status of the issue?

--

___
Python tracker 

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



[issue18458] interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update

2013-10-27 Thread Ned Deily

Ned Deily added the comment:

An update: release candidates for Python 3.3.3 and 2.7.6 are now available, 
including binary installers for OS X, that include this fix and fully support 
OS X 10.9.

http://www.python.org/download/releases/3.3.3/

http://www.python.org/download/releases/2.7.6/

--

___
Python tracker 

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



[issue19414] OrderedDict.values() behavior for modified instance

2013-10-27 Thread Armin Rigo

Armin Rigo added the comment:

Modifying an ordered dict while iterating over it can be officially classified 
as an ok think to do, but then the precise behavior must described in the 
documentation in some details, with of course matching implementation(s) and 
tests.  I mean by that that the behavior should not be "it might miss some 
elements", but rather something precise like: consider the ordered dict as 
simply a list of its elements, and consider __delitem__ as replacing an element 
with NULL.  Then forward or backward iteration works like forward or backward 
iteration over this list, with the additional rule that NULL elements are 
skipped over.

It would imho be a good possible solution, but it obviously requires more 
effort.

--

___
Python tracker 

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



[issue19414] OrderedDict.values() behavior for modified instance

2013-10-27 Thread Nikolaus Rath

Nikolaus Rath added the comment:

Being able to modify an OrderedDict while iterating through it is pretty useful 
though.

What about documenting that modifying an OrderedDict is allowed, but may cause 
iteration to skip or repeat items (but do not allow it to raise RuntimeError)?

As far as I can tell, the current implementation will already guarantee that 
(as soon as this issue is fixed).

--

___
Python tracker 

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



[issue15634] Add serialized decorator to the threading module

2013-10-27 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I have never done any Java, but @serialized doesn't look like an useful idiom 
to me, so I don't think it would be worth giving as an example in the docs.

--
nosy: +tim.peters

___
Python tracker 

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



[issue15634] Add serialized decorator to the threading module

2013-10-27 Thread Juan Javier

Juan Javier added the comment:

David, I think this doesn't deserve to be part of the library since it is 
trivial to write and it is just a particular use case.

Adding it as an example in the threading module's documentation might be a good 
idea, what do you think?

--

___
Python tracker 

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



[issue19414] OrderedDict.values() behavior for modified instance

2013-10-27 Thread Armin Rigo

Armin Rigo added the comment:

Another option for the "try harder to raise RuntimeError" category (which I 
tend to like, because otherwise people are bound to write programs that rely on 
undocumented details):

In __delitem__() set link.next = None.  In the various iterators check 
explicitly if curr.next is None, and raise RuntimeError if it is.

--
nosy: +arigo

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Tim Golden

Tim Golden added the comment:

Good idea. I'll test against Win32/64 & Linux 32

--

___
Python tracker 

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



[issue19419] Use abc.ABC in the collections ABC

2013-10-27 Thread Raymond Hettinger

New submission from Raymond Hettinger:

Minor clean-up to the collections ABCs.  Use the Django style that inherits the 
metaclass rather than specifying the metaclass directly.

The rationale is that it makes the ABCs cleaner looking and less intimidating.

--
files: abc_meta.diff
keywords: patch
messages: 201500
nosy: rhettinger
priority: low
severity: normal
status: open
title: Use abc.ABC in the collections ABC
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file32393/abc_meta.diff

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Tim Peters

Tim Peters added the comment:

@Serhiy, nope, pressed for time today :-(

--

___
Python tracker 

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



[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Christian Heimes

Changes by Christian Heimes :


Added file: http://bugs.python.org/file32392/19427e9cc500.diff

___
Python tracker 

___
___
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-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Guilherme, do you want commit your patches or let me do this for your?

--
versions:  -Python 3.2

___
Python tracker 

___
___
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-10-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2

___
Python tracker 

___
___
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-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

LGTM, but perhaps renaming tagOrId worth deprecation warning.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

LGTM. Do you want commit a patch?

--
stage:  -> commit review
versions: +Python 2.7, Python 3.3

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Tim Peters

Tim Peters added the comment:

Use

-0x7FFF-1

Nobody should complain about that, because it's standard C ;-)

On Sun, Oct 27, 2013 at 3:20 PM, Tim Golden  wrote:
>
> Tim Golden added the comment:
>
> I don't think it will, given MS description of the compiler warning:
>
> http://msdn.microsoft.com/en-us/library/4kh09110%28v=vs.100%29.aspx
>
> but I'll certainly give it a go.
>
> --
>
> ___
> Python tracker 
> 
> ___
> ___
> Python-bugs-list mailing list
> Unsubscribe: 
> https://mail.python.org/mailman/options/python-bugs-list/tim.peters%40gmail.com
>

--
nosy: +tim.peters

___
Python tracker 

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



[issue6160] Tkinter.Spinbox: fix for bbox and removed some uninteresting returns

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I withdraw my previous comment because the bbox command newer returns empty 
result. The patch LGTM.

--
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2

___
Python tracker 

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



[issue16427] Faster hash implementation

2013-10-27 Thread Christian Heimes

Changes by Christian Heimes :


--
assignee:  -> christian.heimes

___
Python tracker 

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



[issue16427] Faster hash implementation

2013-10-27 Thread Christian Heimes

Christian Heimes added the comment:

Antoine, I have addressed your concern "Well, the quality of the hash function 
is clearly reduced" in patch 
http://hg.python.org/features/pep-456/rev/765930d944a5

>>> s = set()
>>> for i in range(256):
... s.add(hash("abcdfeg" + chr(i)) & 0xff)
... 
>>> len(s)
256
>>> s = set()
>>> for i in range(256):
... s.add(hash("abcdfeghabcdefg" + chr(i)) & 0xff)
... 
>>> len(s)
256

--

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Tim Golden

Tim Golden added the comment:

I don't think it will, given MS description of the compiler warning:

http://msdn.microsoft.com/en-us/library/4kh09110%28v=vs.100%29.aspx

but I'll certainly give it a go.

--

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What if use (int)-0x8000 instead of -(int)0x8000? Does it silence 
warnings on Windows?

--

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

But it adds warnings on 32-bit platform with GCC.

/home/serhiy/py/cpython/Modules/audioop.c:18:61: warning: integer overflow in 
expression [-Woverflow]
/home/serhiy/py/cpython/Modules/audioop.c: In function ‘audioop_minmax’:
/home/serhiy/py/cpython/Modules/audioop.c:437:33: warning: integer overflow in 
expression [-Woverflow]

--

___
Python tracker 

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



[issue4965] Can doc index of html version be separately scrollable?

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I don't notice any improvement. :(

--

___
Python tracker 

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



[issue15792] Fix compiler options for x64 builds on Windows

2013-10-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7c46b1b239fe by Tim Golden in branch 'default':
Issue 15792 Correct build options on Win64. Patch by Jeremy Kloth.
http://hg.python.org/cpython/rev/7c46b1b239fe

--
nosy: +python-dev

___
Python tracker 

___
___
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-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

The patch updated to tip and added deprecation warning for the "index" keyword 
argument.

--
Added file: http://bugs.python.org/file32391/Scrollbar_fixes_2.diff

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Tim Golden

Tim Golden added the comment:

The attached patch appears to fix the problem.

--
keywords: +patch
Added file: http://bugs.python.org/file32390/audioop.diff

___
Python tracker 

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



[issue19418] audioop.c giving signed/unsigned warnings on Windows

2013-10-27 Thread Tim Golden

New submission from Tim Golden:

Modules/audioop.c is giving compile warnings on Windows against lines 18 & 437.

..\Modules\audioop.c(18): warning C4146: unary minus operator applied to 
unsigned type, result still unsigned
..\Modules\audioop.c(437): warning C4146: unary minus operator applied to 
unsigned type, result still unsigned

--
components: Build
messages: 201485
nosy: serhiy.storchaka, tim.golden
priority: normal
severity: normal
status: open
title: audioop.c giving signed/unsigned warnings on Windows
type: compile error
versions: Python 3.4

___
Python tracker 

___
___
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-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I withdraw my comment about arbitrary number of arguments. Tk itself raises an 
exception if the number of arguments is wrong.

--

___
Python tracker 

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



[issue6181] Tkinter.Listbox several minor issues

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

LGTM.

--

___
Python tracker 

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



[issue18861] Problems with recursive automatic exception chaining

2013-10-27 Thread Nikolaus Rath

Nikolaus Rath added the comment:

Benjamin: I think that in most cases the intention of a ".. from None" is to 
disable printing of a stack trace for a specific exception when it occurs in 
the try .. except block. (In the example, that would be suppressing the 
stacktrace for the "Second" exception, because it is explicity converted to 
"Third"). I do not think that this ought to effect the printing of exceptions 
that occured previously and higher-up in the call chain.

In other words, I think it is natural to expect that

def foo():
   try:
  do_stuff
   except Something:
  raise SomethingElse from None

disables printing the stack trace for `Something` exceptions when they occur in 
the try..except block -- but not to hide the exception context for exceptions 
that occured before foo() was even called.

--

___
Python tracker 

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



[issue19273] Update PCbuild/readme.txt

2013-10-27 Thread Tim Golden

Changes by Tim Golden :


--
stage: patch review -> committed/rejected

___
Python tracker 

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



[issue19417] bdb test coverage

2013-10-27 Thread Colin Williams

New submission from Colin Williams:

This one is pretty involved.  The tests might reach into the guts of the 
modules a bit too much, I'd be open to less invasive suggestions.

--
files: bdb.patch
keywords: patch
messages: 201481
nosy: Colin.Williams
priority: normal
severity: normal
status: open
title: bdb test coverage
Added file: http://bugs.python.org/file32389/bdb.patch

___
Python tracker 

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



[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2013-10-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d5a9a1ba47ee by Tim Golden in branch 'default':
Issue14255 Don't flatten case of tempdir
http://hg.python.org/cpython/rev/d5a9a1ba47ee

--
nosy: +python-dev

___
Python tracker 

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



[issue17441] Do not cache re.compile

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

So what is a decision?

--

___
Python tracker 

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



[issue18306] os.stat gives exception for Windows junctions in v3.3

2013-10-27 Thread Tim Golden

Tim Golden added the comment:

If you can put together a self-contained test case which fails on 
3.3/3.4 I'm quite happy to re-open this. Given the nature of the issue, 
you'll have to be quite precise as to Windows version, whether 32/64, 
whether running as Administrator, and exact Python version.

Feel free to call mklink or junction to create the link so that it's 
very clear what's linking to what and where.

--

___
Python tracker 

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



[issue11204] re module: strange behaviour of space inside {m, n}

2013-10-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
status: open -> pending

___
Python tracker 

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



[issue13592] repr(regex) doesn't include actual regex

2013-10-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue17668] re.split loses characters matching ungrouped parts of a pattern

2013-10-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
status: open -> pending

___
Python tracker 

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



[issue3367] Uninitialized value read in parsetok.c

2013-10-27 Thread Stefan Krah

Stefan Krah added the comment:

Serhiy, probably a false positive:

https://bugs.kde.org/show_bug.cgi?id=298281

--

___
Python tracker 

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



[issue19415] test_gdb fails when using --without-doc-strings on Fedora 19

2013-10-27 Thread R. David Murray

Changes by R. David Murray :


--
nosy: +dmalcolm

___
Python tracker 

___
___
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-10-27 Thread R. David Murray

Changes by R. David Murray :


--
nosy: +r.david.murray

___
Python tracker 

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



[issue10241] gc fixes for module m_copy attribute

2013-10-27 Thread Stefan Krah

Stefan Krah added the comment:

Valgrind is happy after the recent 5eb00460e6e8.

--

___
Python tracker 

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



[issue18520] Fixes bugs found by pyfailmalloc during Python initialization

2013-10-27 Thread Stefan Krah

Stefan Krah added the comment:

Ah, thanks. I was wondering if there was some obscure reason that escaped me.

--

___
Python tracker 

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



[issue19412] Add a test.support decorator for tests that require C level docstrings

2013-10-27 Thread R. David Murray

R. David Murray added the comment:

Nick: I agree with your reasoning.  I don't know why I said what I did on the 
other issue.

--

___
Python tracker 

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



[issue15634] Add serialized decorator to the threading module

2013-10-27 Thread R. David Murray

R. David Murray added the comment:

Are you saying that because you've lost interest, or because you think we have? 
 Sometimes things get lost here for a while, but picked up again later...

--

___
Python tracker 

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



[issue18520] Fixes bugs found by pyfailmalloc during Python initialization

2013-10-27 Thread STINNER Victor

STINNER Victor added the comment:

> Victor, could you look at the end of #10241?  Starting from 31796b188bec,
> many values in _PySys_Init() have 2 references. Why is that required?

It was a mistake, it should now be fixed. Nice catch.

--

___
Python tracker 

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



[issue18520] Fixes bugs found by pyfailmalloc during Python initialization

2013-10-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5eb00460e6e8 by Victor Stinner in branch 'default':
Issue #18520: fix reference leak in _PySys_Init()
http://hg.python.org/cpython/rev/5eb00460e6e8

--

___
Python tracker 

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



[issue10241] gc fixes for module m_copy attribute

2013-10-27 Thread Stefan Krah

Stefan Krah added the comment:

Antoine Pitrou  wrote:
> Does pulling the Py_DECREF before the "if" fix the leaks?

Yes, but I get an additional failure in test_capi.  Apparently not all values
require the DECREF.  Got to look on a case by case basis.

--

___
Python tracker 

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



[issue10241] gc fixes for module m_copy attribute

2013-10-27 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Does pulling the Py_DECREF before the "if" fix the leaks?

--

___
Python tracker 

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



[issue10241] gc fixes for module m_copy attribute

2013-10-27 Thread Stefan Krah

Stefan Krah added the comment:

See also 31796b188bec.

--

___
Python tracker 

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



[issue18520] Fixes bugs found by pyfailmalloc during Python initialization

2013-10-27 Thread Stefan Krah

Stefan Krah added the comment:

Victor, could you look at the end of #10241?  Starting from 31796b188bec,
many values in _PySys_Init() have 2 references. Why is that required?

--
nosy: +skrah

___
Python tracker 

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



[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Christian Heimes

Christian Heimes added the comment:

PyObject_Hash() and PyObject_HashNotImplemented() should not have been moved to 
pyhash.h. But the other internal helper methods should be kept together.

--

___
Python tracker 

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



[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I suggest move to Include/pyhash.h and Python/pyhash.c only _Py_HashBytes() and 
string hash algorithm related constants, and don't touch PyObject_Hash(), 
_Py_HashDouble(), etc. So if anybody want change string hashing algorithm, it 
need only replace these two minimal files.

--

___
Python tracker 

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



[issue10241] gc fixes for module m_copy attribute

2013-10-27 Thread Stefan Krah

Stefan Krah added the comment:

IMO we have two references to many newly created values in _PySys_Init():

   SET_SYS_FROM_STRING("hexversion",
PyLong_FromLong(PY_VERSION_HEX));

One from PyLong_FromLong() and the other from PyDict_SetItemString() in the
macro.  So it may well be that the fix for this issue just exposes the fact
that the last reference is no longer reachable if m_copy is cleared.

--

___
Python tracker 

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



[issue18684] Pointers point out of array bound in _sre.c

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Patch updated to tip (the code was changed since issue17998). It no more uses 
division.

--

___
Python tracker 

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



[issue19406] PEP 453: add the ensurepip module

2013-10-27 Thread Donald Stufft

Donald Stufft added the comment:

You cannot use --user in a virtual environment (well a venv, no idea about a 
pyvenv - but it should get a similar error message IMO if it doesn't).

If you use --root and --user together it will install to the --root location, 
using the user layout, so instead of installing to 
/home/dstufft/.local/lib/python3.4/site-packages/ it will install to 
/value/of/root/home/dstufft/.local/lib/python3.4/site-packages/

--

___
Python tracker 

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



[issue19362] Documentation for len() fails to mention that it works on sets

2013-10-27 Thread Ramchandra Apte

Ramchandra Apte added the comment:

I also prefer collection.

--
nosy: +Ramchandra Apte

___
Python tracker 

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



[issue18861] Problems with recursive automatic exception chaining

2013-10-27 Thread Nick Coghlan

Nick Coghlan added the comment:

Nothing is lost either way, it just isn't displayed by default.

While I can see the appeal of treating an "outer" context differently from an 
"inner" one, I don't see any way for the exception context suppression 
machinery to tell the difference.

The traceback *display* machinery might be able to figure it out by looking at 
the traceback details, but such a search could be quite expensive.

--
nosy: +ncoghlan

___
Python tracker 

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



[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Christian Heimes

Christian Heimes added the comment:

Nick, please review the latest patch. I have addressed Antoine's review in 
257597d20fa8.diff. I'll update the PEP as soon as you are happy with the patch.

--
assignee:  -> ncoghlan

___
Python tracker 

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



[issue16904] http.client.HTTPConnection.send double send data

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Seems this bug was fixed in issue16658.

--
nosy: +serhiy.storchaka
resolution: remind -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> Missing "return" in HTTPConnection.send()
type: crash -> behavior

___
Python tracker 

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



[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Christian Heimes

Changes by Christian Heimes :


Added file: http://bugs.python.org/file32388/257597d20fa8.diff

___
Python tracker 

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



[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-10-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
priority: normal -> high

___
Python tracker 

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



[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Martin, could you please review this patch? This bug affects not only IDLE, but 
any Tkinter application which uses callbacks with arguments. Encoding/decoding 
error during converting arguments from Tcl to Python causes immediate finishing 
Tcl main loop (and normally closing an application).

--

___
Python tracker 

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



[issue19416] NNTP page has incorrect links

2013-10-27 Thread Roy Smith

New submission from Roy Smith:

http://docs.python.org/2/library/nntplib.html contains intra-page references 
such as:

NNTP.next()
Send a NEXT command. Return as for stat().

The problem is that the link for "stat" points to the stat module (i.e. 
http://docs.python.org/2/library/stat.html#module-stat).  It should be pointing 
to the NNTP.stat() entry on this page.

The problem exists for :

NNTP.next()
NNTP.last()
NNTP.head(id)
NNTP.body(id[, file])
NNTP.article(id)

and maybe some others I missed.

--
assignee: docs@python
components: Documentation
messages: 201456
nosy: docs@python, roysmith
priority: normal
severity: normal
status: open
title: NNTP page has incorrect links
versions: Python 2.7

___
Python tracker 

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



[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Kent, can you please submit a contributor form?

http://python.org/psf/contrib/contrib-form/
http://python.org/psf/contrib/

--

___
Python tracker 

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



[issue11508] Virtual Interfaces cause uuid._find_mac to raise a ValueError under Linux

2013-10-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee:  -> serhiy.storchaka
nosy: +serhiy.storchaka
stage:  -> patch review
type: crash -> behavior
versions: +Python 3.4

___
Python tracker 

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



[issue6083] Reference counting bug in PyArg_ParseTuple and PyArg_ParseTupleAndKeywords

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Accepting an arbitrary sequence when "(...)" is used in the format string was 
introduced in changeset 0ef1071cb7fe.

--
versions:  -Python 3.2

___
Python tracker 

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



[issue4331] Add functools.partialmethod

2013-10-27 Thread Nick Coghlan

Nick Coghlan added the comment:

On 27 Oct 2013 22:17, "alon horev"  wrote:
>
>
> alon horev added the comment:
>
> I think the following test demonstrates the API we're looking for.
> 1. Am I missing any functionality?

The keyword arg handling is backwards for unbound methods (the call time
kwds should override the preset ones).

Otherwise, looks good to me.

> 2. How does partialmethod relate to @absolutemethod?

Do you mean @abstractmethod?

We need a __isabstractmethod__ property implementation that delegates the
question to the underlying descriptor.

See http://docs.python.org/dev/library/abc#abc.abstractmethod for details.

--

___
Python tracker 

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



[issue10241] gc fixes for module m_copy attribute

2013-10-27 Thread Stefan Krah

Stefan Krah added the comment:

One example of a leaked object is "hexversion", from sysmodule.c:1615.
I tried adding it to sys_deletes[] in import.c, but it did not help.

See valgrind.out for other leaks.

--

___
Python tracker 

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



[issue4331] Add functools.partialmethod

2013-10-27 Thread alon horev

alon horev added the comment:

I think the following test demonstrates the API we're looking for.
1. Am I missing any functionality?
2. How does partialmethod relate to @absolutemethod?

from functools import partial

class partialmethod(object):

def __init__(self, func, *args, **keywords):
# func could be a descriptor like classmethod which isn't callable,
# so we can't inherit from partial (it verifies func is callable)
if isinstance(func, partialmethod):
# flattening is mandatory in order to place cls/self before all 
other arguments
# it's also more efficient since only one function will be called
self.func = func.func
self.args = func.args + args
self.keywords = {}
self.keywords.update(func.keywords)
self.keywords.update(keywords)
else:
self.func = func
self.args = args
self.keywords = keywords

def _make_unbound_method(self):
def _method(*args, **keywords):
keywords.update(self.keywords)
cls_or_self, *rest = args
call_args = (cls_or_self,) + self.args + tuple(rest)
return self.func(*call_args, **keywords)
return _method

def __get__(self, obj, cls):
get = getattr(self.func, "__get__", None)
if get is None:
if obj is None:
return self._make_unbound_method()
return partial(self._make_unbound_method(), obj) # returns a bound 
method
else:
callable = get(obj, cls)
if callable is self.func:
return self._make_unbound_method()
return partial(callable, *self.args, **self.keywords)

class A(object):
def add(self, x, y):
return self, x + y

add10 = partialmethod(add, 10)
add10class = partialmethod(classmethod(add), 10)
add10static = partialmethod(staticmethod(add), 'self', 10)

return15 = partialmethod(add10, 5) # nested partialmethod

add2partial = partial(add, x=2)
return12 = partialmethod(add2partial, y=10) # partialmethod over partial

def test():
cls = A
instance = cls()

assert instance.add10class(5) == (cls, 15)
assert cls.add10class(5) == (cls, 15)

assert instance.add10static(5) == ('self', 15)
assert cls.add10static(5) == ('self', 15)

assert instance.add10(5) == (instance, 15)
assert cls.add10(instance, 5) == (instance, 15)

assert instance.return15() == (instance, 15)
assert cls.return15(instance) == (instance, 15)

assert instance.return12() == (instance, 12)
assert cls.return12(instance) == (instance, 12)

test()

--

___
Python tracker 

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



[issue3367] Uninitialized value read in parsetok.c

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I see a crash with valgring even without hitting Ctrl-D.

$ valgrind --db-attach=yes --suppressions=Misc/valgrind-python.supp ./python
==26172== Memcheck, a memory error detector
==26172== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==26172== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==26172== Command: ./python
==26172== 
==26172== Conditional jump or move depends on uninitialised value(s)
==26172==at 0x414E578: __wcslen_sse2 (wcslen-sse2.S:95)
==26172==by 0x807788D: calculate_path (getpath.c:647)
==26172==by 0x807803B: Py_GetProgramFullPath (getpath.c:875)
==26172==by 0x8070C5E: _PySys_Init (sysmodule.c:1628)
==26172==by 0x8060680: _Py_InitializeEx_Private (pythonrun.c:400)
==26172==by 0x8060939: Py_InitializeEx (pythonrun.c:467)
==26172==by 0x806094D: Py_Initialize (pythonrun.c:473)
==26172==by 0x807956A: Py_Main (main.c:683)
==26172==by 0x805CFE3: main (python.c:69)
==26172== 
==26172== 
==26172==  Attach to debugger ? --- [Return/N/n/Y/y/C/c] 

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2013-10-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
versions: +Python 3.4 -Python 3.1

___
Python tracker 

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



[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Antoine Pitrou

Antoine Pitrou added the comment:

> I can no longer find the configuration for custom path. It's still documented 
> but there is no field for "repo path".

http://buildbot.python.org/all/builders/PPC64%20PowerLinux%20custom

(usually, just replace "3.x" with "custom" in the URL)

--

___
Python tracker 

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



[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Christian Heimes

Christian Heimes added the comment:

I can no longer find the configuration for custom path. It's still documented 
but there is no field for "repo path".

http://buildbot.python.org/all/buildslaves/edelsohn-powerlinux-ppc64

--

___
Python tracker 

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



[issue17933] format str bug in urllib request.py

2013-10-27 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +georg.brandl

___
Python tracker 

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



[issue17933] format str bug in urllib request.py

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Giampaolo's suggestion LGTM.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue10734] test_ttk test_heading_callback fails with newer Tk 8.5

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I think this patch fixes this issue.

--
keywords: +patch
nosy: +serhiy.storchaka
stage:  -> patch review
versions: +Python 3.4 -Python 3.2
Added file: http://bugs.python.org/file32387/test_heading_callback.patch

___
Python tracker 

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



[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Since there are no other reports about 8.6 I close this issue.

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

___
Python tracker 

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



[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I hope this will help. Thank you Georg and Ned.

--

___
Python tracker 

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



[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Georg Brandl

Georg Brandl added the comment:

Ahh, the newly committed test for merge needs the same guard as the other 
'dict' calls!  I'll fix that in the release clone for 3.3.3 final.

--

___
Python tracker 

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



[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5a8aa1102f82 by Serhiy Storchaka in branch '3.3':
Fixed merge test for Tcl/Tk <8.5 (issue #18964).
http://hg.python.org/cpython/rev/5a8aa1102f82

--

___
Python tracker 

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



[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-10-27 Thread Antoine Pitrou

Antoine Pitrou added the comment:

> I'm still looking for a 64bit big endian box

Have you tried the PPC64 PowerLinux box? It's in the stable buildbots for a 
reason :-)

--

___
Python tracker 

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



[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Ned Deily

Ned Deily added the comment:

With 3.3.3rc1 and Tcl/Tk 8.4, I'm now seeing on OS X 10.5 with ActiveTcl 8.4.20:


==
ERROR: test_merge (test.test_tcl.TclTest)
--
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/test/test_tcl.py",
 line 280, in test_merge
((call('dict', 'create', 12, '\u20ac', b'\xe2\x82\xac', (3.4,)),),
_tkinter.TclError: invalid command name "dict"

--
--
Ran 25 tests in 8.921s

FAILED (errors=1, skipped=2)
test test_tcl failed

--

___
Python tracker 

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



[issue18306] os.stat gives exception for Windows junctions in v3.3

2013-10-27 Thread John Jefferies

John Jefferies added the comment:

Hello Tim,

The fact that it works on 64-bit Python obviously reduces the priority. 
I will make a point of choosing the 64-bit version in the future.

FWIW. I'm dubious about the problem being solely attributable to WOWs 
handling of junctions because my Python 3.2 (that doesn't have the 
problem) is also 32-bit. There must be something else, even if that 
something isn't going to be fixed.

Thankyou for spending time on this.

John

On 24/10/2013 09:35, Tim Golden wrote:
> Tim Golden added the comment:
>
> Just revisited this to see if I could close off. One thing occurred to me 
> which should have come up before: this situation will be aggravated by WOW64 
> file redirection.
>
> If I run 64-bit Python on 64-bit Windows I can successfully stat links in 
> %windir%\system32 under 3.4 and 3.3. If I run 32-bit Python on 64-bit 
> Windows, I get the error you describe because Windows will silently redirect 
> the 32-bit Python process towards %windir%\SysWow64 where the junction (or, 
> possibly, its target) does not exist.
>
> Given that I'm able to stat %windir%\system32 junctions on both versions, I'm 
> going to close this as works-for-me. I think there's a case for a 
> bigger-picture look at the resolution of reparse points across the stdlib but 
> that would have to be its own issue.
>
> --
> assignee:  -> tim.golden
> resolution:  -> works for me
> stage: test needed -> committed/rejected
> status: open -> closed
>
> ___
> Python tracker 
> 
> ___

--

___
Python tracker 

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



[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-10-27 Thread Charles-François Natali

Charles-François Natali added the comment:

Note that no matter where the atfork-hook is executed (prepare,
parent, child), it will still be deadlock-prone in case of
double-fork, since the hook will effectively be called after the first
fork (and before the second one). And double-fork is common, e.g. when
creating daemon processes.

--

___
Python tracker 

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



[issue19390] clinic.py: unhandled syntax error

2013-10-27 Thread Larry Hastings

Larry Hastings added the comment:

Fixed.

And, yeah, Clinic actually uses ast.parse where it can.  (FWIW, most of the 
parser was re-written by Dmitry Jemerov during the PyCon US 2013 sprints, 
though I wound up re-re-writing most of what he did.)

--
assignee:  -> larry
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed
type:  -> behavior

___
Python tracker 

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



[issue19414] OrderedDict.values() behavior for modified instance

2013-10-27 Thread Ned Deily

Changes by Ned Deily :


--
nosy: +rhettinger

___
Python tracker 

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



[issue19390] clinic.py: unhandled syntax error

2013-10-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b496ed363c2d by Larry Hastings in branch 'default':
Issue #19390: Argument Clinic no longer accepts malformed Python and C ids.
http://hg.python.org/cpython/rev/b496ed363c2d

--
nosy: +python-dev

___
Python tracker 

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



[issue19406] PEP 453: add the ensurepip module

2013-10-27 Thread Nick Coghlan

Nick Coghlan added the comment:

Draft docs patch attached. This splits out a new "Software Packaging and 
Distribution" section in the main docs index, with distutils, ensurepip and 
venv as the specific entries.

There's a couple of questions I need answered regarding the behaviour of pip in 
order to document --user properly:

* how does pip install react when --user is passed while a virtual environment 
is active?
* how does pip install react when both --root and --user are passed?

--
Added file: http://bugs.python.org/file32386/pep453_ensurepip_docs.diff

___
Python tracker 

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



[issue18964] test_tcl fails when _tkinter linked with Tcl 8.4

2013-10-27 Thread Georg Brandl

Georg Brandl added the comment:

For some reason, this still fails on the OpenIndiana builder:

http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.3/builds/1104/steps/test/logs/stdio

--
nosy: +georg.brandl
status: closed -> open

___
Python tracker 

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