[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

2013-04-10 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Well, couldn't we simply return a string in that case? We just have to be more 
careful than in the patch :-)

--

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



[issue17674] All examples for concurrent.futures fail with BrokenProcessPool

2013-04-10 Thread gjwebber

gjwebber added the comment:

Damn, this was my screw up. It was a combination of two things that threw me 
off:

1. I was running my (saved) code un-gaurded, but was getting the same error as 
with the example code. I thought the problem was elsewhere.

2. As it was just example code, I was copy-pasting it into my IDE and running 
it. This caused the slightly weird looking Traceback that Richard Oudkerk 
pointed out and the same error message.

After saving and running the standard example, everything worked as expected. 
After this, I added the 'main' guard to my code and that fixed the problem 
there.

Sorry about that, looks like there's no problem after all. Tested at home on 
Win 7 and on my works machine (XP Pro).

Regards,
Gareth

--
resolution:  - rejected
status: open - closed

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



[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

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

Charles-François Natali added the comment:

 Well, couldn't we simply return a string in that case? We just have to be 
 more careful than in the patch :-)

Probably, provided that:

- s.bind(addr).getsockname() == addr
- it doesn't break existing code :-)

--

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



[issue16427] Faster hash implementation

2013-04-10 Thread Mark Dickinson

Mark Dickinson added the comment:

 Note that the patch uses type punning through a union: while GCC allows  
 this, it's not allowed by ANSI.

I believe it's legal under C99 + TC3.

--

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



[issue17661] documentation of '%r' links to the wrong repr

2013-04-10 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 It just highlights the mistake we made calling a builtin module the
 same name as a builtin function :)

But shouldn't the highlighting be handled by Pygments? 
;)

--
nosy: +pitrou

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



[issue17679] sysconfig generation uses some env variables multiple times

2013-04-10 Thread Bohuslav Slavek Kabrda

Bohuslav Slavek Kabrda added the comment:

I'm attaching a patch that I'm currently using to solve this. It works, but 
it's a bit aggressive - in the sense that it only adds a string to the 
sysconfig variable iff this string is not a substring of current variable 
value. So it may corrupt some values, e.g. it wouldn't add python to variable 
if that variable already had /usr/lib/python. But it seems to get all the 
values just fine for me.

--
keywords: +patch
Added file: 
http://bugs.python.org/file29763/00178-dont-duplicate-flags-in-sysconfig.patch

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



[issue17684] Skip tests in test_socket like testFDPassSeparate on OS X

2013-04-10 Thread Richard Oudkerk

Richard Oudkerk added the comment:

On 10/04/2013 6:32am, Charles-François Natali wrote:
 Richard, IIRC, you said somewhere that FD passing failures on OS X
 could be made to work by passing a FD at a time, or something like
 that. What do you think of those faiilures?

I think sending one *array* at a time works as well.  These two failures 
send two arrays, so they are expected.

(Also, the sending process should wait for some sort of notification 
that the receiving process has received the fds before continuing: 
closing the socket prematurely causes problems.)

--

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



[issue17684] Skip tests in test_socket like testFDPassSeparate on OS X

2013-04-10 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Indeed, it has been decided that @expectedFailure would only work when applied 
to the test methods run by unittest. In that light, the patch is a correct 
solution to the issue.

(I don't think expected failures are a very useful concept myself :-))

--

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



[issue17685] Frozenset literal?

2013-04-10 Thread Edd

New submission from Edd:

Hi,

I am willing to bet that this has been discussed before, but I don't see any 
related bugs.

I have been using Python for a while now as a prototyping language for 
scientific applications. Most recently I have been using it for prototype 
program analyses.

In this kind of work you are usually transcribing pseudo-code, defined in terms 
of sets, vectors and mappings into Python syntax. Inevitably, you need to store 
sets of sets, or you need to do some other operation that requires a hashable 
data structure.

As a result, I never use sets. I usually resort to using frozensets, which are 
hashable, yet the syntax for creating these is very verbose:

frozenset([e1, e2, ...])

To counter this, I usually use the following hack:

fs = frozenset

then frozensets can be instantiated like this:

fs([e1, e2, ...])

But this is not ideal. I can't help wondering why there is not a frozenset 
literal. I see that the mutable set recently got a literal, but why not 
frozenset?

Cheers!

--
components: Interpreter Core
messages: 186486
nosy: vext01
priority: normal
severity: normal
status: open
title: Frozenset literal?
type: enhancement

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



[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

2013-04-10 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Apparently the current code is a result of Guido's changeset 980308fbda29 which 
changed normal Unix sockets to use unicode objects, but Linux abstract 
namespace sockets to use bytes objects.

I don't know if a lot of thought was given to the issue in that changeset; I 
would favour using PyUnicode_DecodeFSDefaultAndSize for Linux abstract 
namespace sockets too.

--
nosy: +gvanrossum

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



[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2013-04-10 Thread Eli Bendersky

Eli Bendersky added the comment:

Thanks, looks much better now. I left a couple of small comments in the code 
review. Other than that, it makes sense to me to update the existing tests to 
follow this scheme as well. Thanks!

On a related note, since you've obviously studied the filecmp module's 
operation to a great depth, your input on http://bugs.python.org/issue15430 
would be appreciated.

--

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



[issue17685] Frozenset literal?

2013-04-10 Thread Mark Dickinson

Mark Dickinson added the comment:

See the (inconclusive) python-ideas thread starting here:

http://mail.python.org/pipermail/python-ideas/2013-February/019205.html

I'm going to close this issue: the python-ideas mailing list is better suited 
for this kind of open-ended discussions (though it would be fine to re-open an 
issue with a specific, detailed proposal for a change---one that a patch could 
reasonably be written for).  You could resurrect that python-ideas thread, or 
start a new one, if you want to renew the discussion.

--
nosy: +mark.dickinson
resolution:  - wont fix
status: open - closed

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



[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-04-10 Thread Benjamin Peterson

Benjamin Peterson added the comment:

Yes; I won't have time for a few days, though.

--

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



[issue17686] Doc using/unix broken link (http://linuxmafia.com/)

2013-04-10 Thread Masato HASHIMOTO

New submission from Masato HASHIMOTO:

In Doc/using/unix.rst, the following link is broken:

31:   http://linuxmafia.com/pub/linux/suse-linux-internals/chapter35.html

(See also for OpenSuse users)

--
assignee: docs@python
components: Documentation
messages: 186491
nosy: docs@python, hashimo
priority: normal
severity: normal
status: open
title: Doc using/unix broken link (http://linuxmafia.com/)
versions: Python 3.3

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



[issue17685] Frozenset literal?

2013-04-10 Thread Barry A. Warsaw

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


--
nosy: +barry

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



[issue17666] Extra gzip headers breaks _read_gzip_header

2013-04-10 Thread Georg Brandl

Georg Brandl added the comment:

Serhiy, do you want to fix this also in 3.2? I'll roll a brown-paper-bag 
release of 3.2 and 3.3 together with 2.7.5.

--

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



[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-04-10 Thread Georg Brandl

Georg Brandl added the comment:

I guess I will join with 3.2 and 3.3 for #17666.

--

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



[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-04-10 Thread Ned Deily

Ned Deily added the comment:

Perhaps we should hold off for a week or two to see if any other critical 
problems show up.

--

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



[issue17675] show addresses in socket.__repr__

2013-04-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1410b7790de6 by Giampaolo Rodola' in branch 'default':
Fix issue #17675: make socket repr() provide local and remote addresses (if 
any).
http://hg.python.org/cpython/rev/1410b7790de6

--
nosy: +python-dev

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



[issue17675] show addresses in socket.__repr__

2013-04-10 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' g.rod...@gmail.com:


--
assignee:  - giampaolo.rodola
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
type:  - enhancement

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



[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-04-10 Thread Georg Brandl

Georg Brandl added the comment:

Yes, although the new releases will get the standard rc period anyway.

--

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



[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

2013-04-10 Thread Guido van Rossum

Guido van Rossum added the comment:

Sorry, I don't think I have anything to add.

--

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



[issue17430] missed peephole optimization

2013-04-10 Thread Ezio Melotti

Ezio Melotti added the comment:

ISTM that we were trying to moving towards an AST optimizer and away from the 
peephole, so I'm not sure it's a good idea to add more optimization to it.  
#11549 has patches about the AST optimizer.

--
nosy: +benjamin.peterson, rhettinger

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



[issue17607] missed peephole optimization (unnecessary jump at end of function after yield)

2013-04-10 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ezio.melotti
versions: +Python 3.4 -Python 2.7

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



[issue17620] Python interactive console doesn't use sys.stdin for input

2013-04-10 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +haypo

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



[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

2013-04-10 Thread Giampaolo Rodola'

Giampaolo Rodola' added the comment:

Note that if we pass bytes to bind(), getsockname() will return str anyway:

 s = socket.socket(socket.AF_UNIX)
 s.bind(b'hello')
 s.getsockname()
'hello'

That said, it seems more consistent to me to return str also in case of 
abstract namespace. 
As per:
http://blog.eduardofleury.com/archives/2007/09/13
...one is supposed to set only the first byte to null, and the rest of the path 
is supposed to be a 'plain' string.

--

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



[issue17654] IDLE only customizes correctly for OS X when using framework build

2013-04-10 Thread Ronald Oussoren

Ronald Oussoren added the comment:

The trigger for the customizations is probably too specific. The primary reason 
for a having a check that's more specific than 'if sys.platform == darwin' is 
to avoid using the customizations when someone uses an X11 build of Tk and I 
didn't know (and still don't) a way to check for a native Tk port.

--
nosy: +ronaldoussoren

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



[issue17687] Undeclared symbol in _struct.c

2013-04-10 Thread Andreas Kloeckner

New submission from Andreas Kloeckner:

This line in the _struct module references a PyStructType that isn't 
declared anywhere. This is only apparent when the file is compiled without 
-DNDEBUG.

http://hg.python.org/cpython/file/1410b7790de6/Modules/_struct.c#l43

--
components: Extension Modules
messages: 186501
nosy: inducer
priority: normal
severity: normal
status: open
title: Undeclared symbol in _struct.c
type: compile error
versions: Python 3.3

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



[issue17635] Doc of multiprocessing.connection mentions answerChallenge instead of answer_challenge

2013-04-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 54532684dbed by Ezio Melotti in branch '2.7':
#17635: fix wrong function name in multiprocessing docs.
http://hg.python.org/cpython/rev/54532684dbed

--
nosy: +python-dev

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



[issue17687] Undeclared symbol in _struct.c

2013-04-10 Thread Mark Dickinson

Mark Dickinson added the comment:

Isn't it declared on line 12?

--
nosy: +mark.dickinson

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



[issue17635] Doc of multiprocessing.connection mentions answerChallenge instead of answer_challenge

2013-04-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5d39d459b90d by Ezio Melotti in branch '3.3':
#17635: fix wrong function name in multiprocessing docs.
http://hg.python.org/cpython/rev/5d39d459b90d

New changeset 1a935e932152 by Ezio Melotti in branch 'default':
#17635: merge with 3.3.
http://hg.python.org/cpython/rev/1a935e932152

--

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



[issue17635] Doc of multiprocessing.connection mentions answerChallenge instead of answer_challenge

2013-04-10 Thread Ezio Melotti

Ezio Melotti added the comment:

Fixed, thanks for the report!

--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
type:  - enhancement
versions: +Python 3.4

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



[issue17637] Mention What's New in devguide's patch guidelines

2013-04-10 Thread Ezio Melotti

Ezio Melotti added the comment:

The What's new is already mentioned briefly in 
http://docs.python.org/devguide/committing.html#news-entries.  Would it be 
enough to rephrase that part and clarify that committers are expected to update 
it?
Another option is to add a new item to make patchcheck (and to 
http://docs.python.org/devguide/committing.html#patch-checklist), but I'm not 
sure it's worth doing it.

--

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



[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2013-04-10 Thread Ezio Melotti

Ezio Melotti added the comment:

I left a review.  To test it you could try to reproduce the steps described in 
the first message and see what happens.

--

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



[issue17661] documentation of '%r' links to the wrong repr

2013-04-10 Thread Éric Araujo

Éric Araujo added the comment:

You can always use a ref role instead of func.  func tries to find a module, 
class or function in the global Sphinx index, but ref lets you link to one 
specific target (see the table at the top of library/functions.rst for an 
example).

--

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



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

2013-04-10 Thread Tomasz J. Kotarba

Tomasz J. Kotarba added the comment:

The example I gave was the simplest possible to illustrate my point but yes, 
you are correct, I often match the whole string as I do recursive matches.  I 
do use non-capturing groups but they would not solve the problem I talked 
about.  Anyway, I had solved my problem before I reported this issue so I would 
be all right with whatever the outcome of this discussion was but I am glad we 
have managed to contribute to improving the docs.  Thanks and nice talking to 
you :)!

--

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



[issue17687] Undeclared symbol in _struct.c

2013-04-10 Thread Andreas Kloeckner

Andreas Kloeckner added the comment:

Whoops. I'm an idiot. Forget I said anything.

--
status: open - closed

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



[issue17641] ssl module doc unification

2013-04-10 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
stage:  - committed/rejected
type:  - enhancement

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



[issue2771] Test issue

2013-04-10 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ezio.melotti -testusernad

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



[issue17687] Undeclared symbol in _struct.c

2013-04-10 Thread Andreas Kloeckner

Andreas Kloeckner added the comment:

(Forgot to say: sorry.)

--

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



[issue17637] Mention What's New in devguide's patch guidelines

2013-04-10 Thread Brett Cannon

Brett Cannon added the comment:

Yep, I think expanding that would be fine.

--

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



[issue17687] Undeclared symbol in _struct.c

2013-04-10 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
resolution:  - invalid

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



[issue17688] Wrong signature for richcmpfunc in documentation

2013-04-10 Thread Daniel Müllner

New submission from Daniel Müllner:

The C API documentation has a code snippet with a sample implementation of a 
rich comparison function here:

http://docs.python.org/3.3/extending/newtypes.html#object-comparison

The function is declared as

static int
newdatatype_richcmp(PyObject *obj1, PyObject *obj2, int op)

but I believe that it should be

static PyObject *
newdatatype_richcmp(PyObject *obj1, PyObject *obj2, int op)

--
assignee: docs@python
components: Documentation
messages: 186513
nosy: docs@python, muellner
priority: normal
severity: normal
status: open
title: Wrong signature for richcmpfunc in documentation
versions: Python 3.3

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



[issue17487] wave.Wave_read.getparams should be more user friendly

2013-04-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 340a12c18b7f by R David Murray in branch 'default':
#17487: wave.getparams now returns a namedtuple.
http://hg.python.org/cpython/rev/340a12c18b7f

--
nosy: +python-dev

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



[issue17487] wave.Wave_read.getparams should be more user friendly

2013-04-10 Thread R. David Murray

R. David Murray added the comment:

Thanks, Claudiu.

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

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



[issue12820] Tests for Lib/xml/dom/minicompat.py

2013-04-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 172f825d7fc9 by Ezio Melotti in branch '3.3':
#12820: add tests for the xml.dom.minicompat module.  Patch by John Chandler 
and Phil Connell.
http://hg.python.org/cpython/rev/172f825d7fc9

New changeset f675083b2894 by Ezio Melotti in branch 'default':
#12820: merge with 3.3.
http://hg.python.org/cpython/rev/f675083b2894

--
nosy: +python-dev

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



[issue12820] Tests for Lib/xml/dom/minicompat.py

2013-04-10 Thread Ezio Melotti

Ezio Melotti added the comment:

Fixed, thanks for the patches!

--
assignee:  - ezio.melotti
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed
type: behavior - enhancement
versions: +Python 3.4

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



[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-04-10 Thread Gregory P. Smith

Changes by Gregory P. Smith g...@krypto.org:


--
priority: high - release blocker

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



[issue17652] Add skip_on_windows decorator to test.support

2013-04-10 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +brian.curtin
stage:  - patch review
type:  - enhancement

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



[issue17666] Extra gzip headers breaks _read_gzip_header

2013-04-10 Thread Gregory P. Smith

Changes by Gregory P. Smith g...@krypto.org:


--
nosy: +benjamin.peterson, larry
priority: normal - release blocker

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



[issue17652] Add skip_on_windows decorator to test.support

2013-04-10 Thread Brian Curtin

Brian Curtin added the comment:

Could you also propose places in the test to use this? If we're going to add 
it, we should use it.

--

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



[issue17663] re.sub not replacing all

2013-04-10 Thread Ezio Melotti

Ezio Melotti added the comment:

See #11957.

--

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



[issue11957] re.sub confusion between count and flags args

2013-04-10 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
type:  - enhancement
versions: +Python 3.4 -Python 3.1, Python 3.2

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



[issue6696] Profile objects should be documented

2013-04-10 Thread Ezio Melotti

Ezio Melotti added the comment:

Last patch LGTM (except a couple of minor whitespace issues).
Tom, can you sign the contributor agreement 
(http://www.python.org/psf/contrib/contrib-form/)?

--
stage: patch review - commit review
versions:  -Python 3.2

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



[issue17637] Mention What's New in devguide's patch guidelines

2013-04-10 Thread Ezio Melotti

Ezio Melotti added the comment:

Patch attached.

--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file29764/issue17637.diff

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



[issue13276] bdist_wininst-created installer does not run the postinstallation script when uninstalling

2013-04-10 Thread jed.ludlow

jed.ludlow added the comment:

I can confirm that the approach suggested in msg148674 resolves this issue for 
Python 2.7.3 (32-bit Python running on 64-bit Windows 7). For a standard 2.7.3 
install, simply replacing wininst-9.0.exe in the command sub-directory of 
distutils with the patched build of that executable resolved the issue.

--
nosy: +jed.ludlow

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



[issue17661] documentation of '%r' links to the wrong repr

2013-04-10 Thread Kyle Roberts

Kyle Roberts added the comment:

Ah that's the type of thing I was looking for, thanks Éric. I saw the 
underscored reference in functions.rst last night but figured it was just a 
local file link. I'll have a patch available later today. Thanks again.

--

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



[issue17666] Extra gzip headers breaks _read_gzip_header

2013-04-10 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

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



[issue17637] Mention What's New in devguide's patch guidelines

2013-04-10 Thread Brett Cannon

Brett Cannon added the comment:

significative - significant

I would also toss in something like or not backwards-compatible so people 
know they should mention anything that will require code change to stay 
backwards-compatible.

--

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



[issue17689] Fix test discovery for test_tarfile.py

2013-04-10 Thread Zachary Ware

New submission from Zachary Ware:

Here's a patch for test_tarfile.py discovery.

There are a couple of inheritance issues resolved; CommonReadTest (and its 
children, MiscReadTest and StreamReadTest) are changed simply to avoid running 
the tests in CommonReadTest on their own--they pass, but are unnecessary.  
LongnameTest and WriteTestBase cause failures when run on their own, so they no 
longer inherit from unittest.TestCase.

test_main() has been replaced by setUpModule, some skip decorators, and 
tearDownModule.  HardlinkTest and LinkEmulationTest are given skipUnless and 
skipIf decorators, respectively, instead of simply being appended to 'tests' or 
not.  This does change the test count; on my machine it adds the 4 tests 
skipped in LinkEmulationTest, raising the total from 307 to 311.  gzip, bz2, 
and lzma setup has been moved into setUpModule, and each group of those tests 
now has a new dummy base class with a skip decorator.  This will also change 
test counts on machines that don't have gzip, bz2, or lzma available.  
tearDownModule replaces the finally clause at the end of test_main().

A simpler patch would just convert test_main into load_tests and add a 
tearDownModule function to replace the finally clause of test_main(), but I 
believe this slightly more invasive approach is more correct and should 
simplify future maintenance of the module.

Thanks,

Zach

--
components: Tests
files: test_tarfile_discovery.diff
keywords: patch
messages: 186525
nosy: brett.cannon, ezio.melotti, zach.ware
priority: normal
severity: normal
status: open
title: Fix test discovery for test_tarfile.py
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29765/test_tarfile_discovery.diff

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



[issue17690] Fix test discovery for test_time.py

2013-04-10 Thread Zachary Ware

New submission from Zachary Ware:

Just inheritance issues in this one.  The patch removes _BaseYearTest as its 
only use was as a unittest.TestCase subclass to inherit from, which caused the 
discovery issues.

--
components: Tests
files: test_time_discovery.diff
keywords: patch
messages: 186526
nosy: brett.cannon, ezio.melotti, zach.ware
priority: normal
severity: normal
status: open
title: Fix test discovery for test_time.py
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29766/test_time_discovery.diff

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



[issue17691] Fix test discovery for test_univnewlines.py

2013-04-10 Thread Zachary Ware

New submission from Zachary Ware:

Inheritance issues again.  This one has some magic in test_main to create the C 
and Python tests programmatically which I felt was best left alone, so the 
patch simply converts test_main into a load_tests which ignores its arguments.

--
components: Tests
files: test_univnewlines_discovery.diff
keywords: patch
messages: 186527
nosy: brett.cannon, ezio.melotti, zach.ware
priority: normal
severity: normal
status: open
title: Fix test discovery for test_univnewlines.py
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29767/test_univnewlines_discovery.diff

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



[issue17692] Fix test discovery for test_sqlite.py

2013-04-10 Thread Zachary Ware

New submission from Zachary Ware:

test_sqlite.py simply imports and runs tests from sqlite3.test, the patch 
converts test_main to load_tests to do the same.

--
components: Tests
files: test_sqlite_discovery.diff
keywords: patch
messages: 186528
nosy: brett.cannon, ezio.melotti, zach.ware
priority: normal
severity: normal
status: open
title: Fix test discovery for test_sqlite.py
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29768/test_sqlite_discovery.diff

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



[issue16273] f.tell() returning negative number on Windows build

2013-04-10 Thread Giacomo Alzetta

Giacomo Alzetta added the comment:

I can't find any mention of this behaviour in python3's documentation, nor any 
reference to ftell(). Is it only well hidden or was it deleted by accident?

--
nosy: +bakuriu
status: pending - open

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



[issue17669] Segfault caused by weird combination of imports and yield from

2013-04-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 35cb75b9d653 by Benjamin Peterson in branch '3.3':
don't run frame if it has no stack (closes #17669)
http://hg.python.org/cpython/rev/35cb75b9d653

New changeset 0b2d4089180c by Benjamin Peterson in branch 'default':
merge 3.3 (#17669)
http://hg.python.org/cpython/rev/0b2d4089180c

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

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



[issue16968] Fix test discovery for test_concurrent_futures.py

2013-04-10 Thread Zachary Ware

Zachary Ware added the comment:

Ping.

Version 4 still applies cleanly, and with issue16935 fixed, it works properly.  
The fix for test_socket is looking like it could use the ReapedSuite from this 
patch, so would anyone mind looking at this one again and committing if it's 
qualified?

Thanks,

Zach

--

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



[issue9253] argparse: optional subparsers

2013-04-10 Thread paul j3

paul j3 added the comment:

Further observations:

parser.add_subparsers() accepts a 'dest' keyword arg, but not a 'required' one. 
 Default of 'dest' is SUPPRESS, so the name does not appear in the Namespace. 
Changing it to something like 'command' will produce an entry, e.g. 
Namespace(command=foo, ...).  Is this a problem?  

Assuming we have a clean way of assigning a name to 'subparsers', what should 
it be?  'command', '{cmd}', '{foo,bar,baz}' (like in the usage line)?  This 
name also could be used when telling the user the subparser choice is invalid 
(parser._check_value).

This issue exposes a problem with '_get_action_name()'.  This function gets a 
name from the action's option_strings, metavar or dest.  If it can't get a 
string, it returns None.

ArgumentError pays attention to whether this action name is a string or None, 
and adjusts its message accordingly.  But the new replacement for the 'too few 
arguments' error message does a ', '.join([action names]), which chokes if one 
of those names is None.  There is a mutually_exclusive_groups test that also 
uses this 'join'.  This bug should be fixed regardless of what is done with 
subparsers error messages.

So the issues are:
- making 'subparsers' a required argument
- choosing or generating an appropriate name for 'subparsers'
- passing this name to the error message (via _get_action_name?)
- correcting the handling of action names when they are unknown (None).

--

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



[issue1208304] urllib2's urlopen() method causes a memory leak

2013-04-10 Thread Ralf Schmitt

Changes by Ralf Schmitt python-b...@systemexit.de:


--
nosy: +schmir

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



[issue17086] backport cross-build patches to the 2.7 branch

2013-04-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 87331820569a by doko in branch '2.7':
- Issue #17086: Search the include and library directories provided by the
http://hg.python.org/cpython/rev/87331820569a

--

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



[issue17086] backport cross-build patches to the 2.7 branch

2013-04-10 Thread Matthias Klose

Matthias Klose added the comment:

the call to add_gcc_paths() wasn't backported.

--

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



[issue16163] Wrong name in Lib/pkgutil.py:iter_importers

2013-04-10 Thread Berker Peksag

Berker Peksag added the comment:

Is there a chance to get this into 3.3.2?

--
nosy: +georg.brandl

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



[issue17693] Use _PyUnicodeWriter API for CJK decoders

2013-04-10 Thread STINNER Victor

New submission from STINNER Victor:

Attached patch modify CJK decoders to use the _PyUnicodeWriter API. It adds a 
new _PyUnicodeWriter_WriteChar() function.

Performances are not optimal: the overallocation is not well controlled. I will 
try to adjust it later (if this patch is accepted).

--
components: Unicode
files: cjkcodecs_writer.patch
keywords: patch
messages: 186536
nosy: ezio.melotti, haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Use _PyUnicodeWriter API for CJK decoders
versions: Python 3.4
Added file: http://bugs.python.org/file29769/cjkcodecs_writer.patch

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



[issue17694] Enhance _PyUnicodeWriter API to control minimum buffer length without overallocation

2013-04-10 Thread STINNER Victor

New submission from STINNER Victor:

The _PyUnicodeWriter API is used in many functions to create Unicode strings, 
especially decoders. Performances are not optimal: it is not possible to 
specify the minimum length of the buffer if the overallocation is disabled. It 
may help #17693 for example.

--
messages: 186537
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Enhance _PyUnicodeWriter API to control minimum buffer length without 
overallocation
versions: Python 3.4

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



[issue6696] Profile objects should be documented

2013-04-10 Thread Tom Pinckney

Tom Pinckney added the comment:

Great!

Just signed the contributor agreement.

On Apr 10, 2013, at 1:06 PM, Ezio Melotti rep...@bugs.python.org wrote:

 
 Ezio Melotti added the comment:
 
 Last patch LGTM (except a couple of minor whitespace issues).
 Tom, can you sign the contributor agreement 
 (http://www.python.org/psf/contrib/contrib-form/)?
 
 --
 stage: patch review - commit review
 versions:  -Python 3.2
 
 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue6696
 ___

--

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



[issue8109] Server-side support for TLS Server Name Indication extension

2013-04-10 Thread Kazuhiro Yoshida

Kazuhiro Yoshida added the comment:

I am trying to use SSLContext.set_servername_callback in my program but when a 
callback is set, it seems that connecting to the server without providing a 
server name causes a segmentation fault. (e.g. 'openssl s_client -connect 
localhost:443 -servername foo' is OK but 'openssl s_client -connect 
localhost:443' crashes the server. A simple test that causes the same error is 
included in the patch.)

My expectation was to get None as the second argument of the callback in such 
cases so I modified Modules/_ssl.c (as in the patch) to make it behave as I 
expected.

The modification seems to work fine as far as I've tested, but I'd appreciate 
if an official fix is available.

--
nosy: +kyoshida
Added file: http://bugs.python.org/file29770/issue-8109.patch

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



[issue17661] documentation of '%r' links to the wrong repr

2013-04-10 Thread Kyle Roberts

Kyle Roberts added the comment:

So the :ref: keyword helps and creates a link, but it has the unfortunate side 
effect of adding different markup and style. I've attached two images to 
illustrate the differences. I couldn't find a way in the Sphinx or reST 
documentation to force it to style like a :func:, and my searches didn't come 
up with much either. Does anyone know of a way to style a :ref: just like a 
:func:?

The code I used to create the fixed link is:

:ref:`repr() func-repr`

--
Added file: http://bugs.python.org/file29771/diff_style_example.PNG

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



[issue17661] documentation of '%r' links to the wrong repr

2013-04-10 Thread Kyle Roberts

Changes by Kyle Roberts roberts...@gmail.com:


Added file: http://bugs.python.org/file29772/diff_style_markup.PNG

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



[issue8109] Server-side support for TLS Server Name Indication extension

2013-04-10 Thread Daniel Black

Daniel Black added the comment:

nice patch. Thanks for finding the bug. I like the solution with test case.

Just needs a small enhancement of documention to ensure other users expect this 
behaviour.

--

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



[issue5609] Create Unit Tests for nturl2path module

2013-04-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5f8fe382f9db by Senthil Kumaran in branch '3.3':
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
http://hg.python.org/cpython/rev/5f8fe382f9db

New changeset 7b3f1c6a67d9 by Senthil Kumaran in branch 'default':
merge from 3.3
http://hg.python.org/cpython/rev/7b3f1c6a67d9

--
nosy: +python-dev

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



[issue5609] Create Unit Tests for nturl2path module

2013-04-10 Thread Senthil Kumaran

Changes by Senthil Kumaran sent...@uthcode.com:


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

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



[issue15964] SyntaxError in asdl when building 2.7 with system Python 3

2013-04-10 Thread Roger Serwy

Roger Serwy added the comment:

Attached is the updated patch to include Ezio's review. Thanks Ezio!

--
Added file: http://bugs.python.org/file29773/patch_2and3_rev1.py

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




[issue17670] expandtabs() weirdness

2013-04-10 Thread Roger Serwy

Roger Serwy added the comment:

LGTM.

--
nosy: +roger.serwy
stage: patch review - commit review

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



[issue17585] IDLE - regression with exit() and quit()

2013-04-10 Thread Roger Serwy

Roger Serwy added the comment:

Serhiy, don't worry. There's still plenty of broken found in IDLE.

Antoine, may I modify site.py with site_reversion.patch? If not, then I can 
include a workaround in IDLE.

--

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



[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2013-04-10 Thread Roger Serwy

Roger Serwy added the comment:

Attached is a refreshed patch for tip.

Supporting Ctrl+Z and Enter on Windows would be problematic as I discussed 
earlier. We could introduce a timer to make sure Enter is pressed within a 
short window after Ctrl+Z. 

If someone wants to make a patch for that, I'll gladly review it. In the 
meantime, changing the docs to reflect the actual behavior of IDLE would be 
simpler.

--
stage:  - patch review
type: behavior - enhancement
versions: +Python 3.4 -Python 3.2
Added file: http://bugs.python.org/file29774/ctrl_z_doc_rev1.patch

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



[issue17695] _sysconfigdata broken with universal builds on OSX

2013-04-10 Thread Ronald Oussoren

New submission from Ronald Oussoren:

The _sysconfig module contains the definitions for sysconfig.get_config_var and 
is created during python's build.

The definitions in _sysconfig.py for #define macros redefined in pymacconfig.h 
are wrong when building a universal build of Python (fat binaries) on OSX.

In particular the definitions for the various SIZEOF_ definitions are wrong and 
are the values for the default architecture of the build machine instead of 
reflecting the architecture for the code that is actually executing.

--
messages: 186547
nosy: ronaldoussoren
priority: normal
severity: normal
status: open
title: _sysconfigdata broken with universal builds on OSX
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4

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