[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

[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

[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 :-) --

[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

[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

[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

[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

[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 :-)) --

[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

[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

[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

[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

[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 ___ ___

[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,

[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

[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

[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 ___ ___

[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 ___

[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

[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

[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 ___

[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 ___ ___

[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

[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 ___

[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

[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:

[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

[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:

[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

[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 ___

[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.

[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

[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

[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

[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). --

[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

[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 ___

[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 ___

[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 ___ ___

[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

[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 ___ ___

[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

[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,

[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

[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

[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

[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

[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 ___ ___

[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 ___

[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 ___

[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 ___

[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

[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 ___

[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

[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

[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

[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. --

[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 ___

[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

[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

[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

[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:

[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,

[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

[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)

[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?

[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.

[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

[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

[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 ___ ___

[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 ___

[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).

[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

[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

[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

[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

[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 ___

[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

[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

[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

[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

[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 ___

[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

[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,

[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