[issue16203] Proposal: add re.fullmatch() method

2012-10-11 Thread Tim Peters
Tim Peters added the comment: Antoine, that's certainly the conceptual intent here. Can't say whether your attempt works in all cases. The docs don't guarantee it. For example, if the original regexp started with (?x), the docs explicitly say the effect of (?x) is undefined if there are

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Telling me to disable IPv6 in my system configuration is just arrogant. No, it's perfectly reasonable. On the other hand, recompiling Python without IPv6 to workaround a system-level problem with IPv6 is totally silly. Do you recompile all other programs

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Ralf Schmitt
Ralf Schmitt added the comment: Why do you think I'm disabling IPv6 because I have a system level problem? I am not recompiling python to workaround system level problems. And I don't recompile any other program. The problem is in python, it can be fixed with a one line patch. but you prefer

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why do you think I'm disabling IPv6 because I have a system level problem? So please explain the problem you're having. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7735

[issue16199] 2to3 very minor doc change

2012-10-11 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- assignee: docs@python - chris.jerdonek nosy: +chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16199 ___

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2012-10-11 Thread Ralf Schmitt
Ralf Schmitt added the comment: The OPs description is pretty clear. There's no good reason to ask for IPv6 addresses if IPv6 is disabled. The create_connection will try them all, and if connections to IPv4 addresses fail, you'll end up with a TypeError. --

[issue16202] sys.path[0] security issues

2012-10-11 Thread Robert Bradshaw
Robert Bradshaw added the comment: Alternatively, one could fix distutils.util.byte_compile() to execute the script in safe, empty temp directory. Running scripts in /tmp remains, as it has always been, a bad idea. Trying to determine if an import is safe can be arbitrarily complicated (e.g.

[issue16204] PyBuffer_FillInfo returns 'B' buffer, whose behavior has changed w.r.t. 3.1/3.2

2012-10-11 Thread Daniele Varrazzo
New submission from Daniele Varrazzo: Definitely related to this change in Python 3.3: Accessing a memoryview element with format ‘B’ (unsigned bytes) now returns an integer (in accordance with the struct module syntax). For returning a bytes object the view must be cast to ‘c’

[issue14621] Hash function is not randomized properly

2012-10-11 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14621 ___ ___

[issue16199] 2to3 very minor doc change

2012-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset c7f11e450c31 by Chris Jerdonek in branch '3.2': Issue #16199: Fix typo in 2to3 docs. Thanks to Mark Lawrence for the report. http://hg.python.org/cpython/rev/c7f11e450c31 New changeset d83dfa6a381a by Chris Jerdonek in branch '3.3': Issue #16199:

[issue16199] 2to3 very minor doc change

2012-10-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: Fixed. Thanks for the report, Mark! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16199

[issue16202] sys.path[0] security issues

2012-10-11 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/issue16202 ___

[issue16204] PyBuffer_FillInfo returns 'B' buffer, whose behavior has changed w.r.t. 3.1/3.2

2012-10-11 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +3.3regression nosy: +skrah versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16204 ___

[issue16205] update :class:`str` references to link to the str type section

2012-10-11 Thread Chris Jerdonek
New submission from Chris Jerdonek: 3.3 added a dedicated section to the docs for the str type. However, references to :class:`str` still link to the documentation of the built-in function str(). This issue is to update references to the str class to point to the new section on the str

[issue16205] update :class:`str` references to link to the str type section

2012-10-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: I'm not sure if Sphinx would allow it, but it would be nice if references to the function str() could link to the built-in function documentation, and references to the class str could link to the section on the str type. --

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Kevin Walzer added the comment: The attached patch works around the crash for me on Python 2.7.3, Tk-Cocoa 8.5.12 (tip), on Lion. -- keywords: +patch nosy: +wordtech Added file: http://bugs.python.org/file27538/configDialog.diff ___ Python tracker

[issue13538] Improve doc for str(bytesobject)

2012-10-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: This may have been addressed to some extent by issue 14783: http://hg.python.org/cpython/rev/3773c98d9da8 -- nosy: +chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13538

[issue16205] update :class:`str` references to link to the str type section

2012-10-11 Thread Chris Jerdonek
Chris Jerdonek added the comment: The documentation seems to take a similar approach with dict: http://docs.python.org/dev/library/stdtypes.html#dict http://docs.python.org/dev/library/functions.html#func-dict -- ___ Python tracker

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Changes by Kevin Walzer wordt...@users.sourceforge.net: Removed file: http://bugs.python.org/file27538/configDialog.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Changes by Kevin Walzer wordt...@users.sourceforge.net: Added file: http://bugs.python.org/file27539/configDialog.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15853 ___

<    1   2