[issue19249] Enumeration.__eq__

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Since the default eq implementation handles ducktyping correctly, dropping the Enum specific __eq__ implementation should be fine. Just make sure this still works: class AlwaysEqual: ... def __eq__(self, other): ... return True ... from enum

[issue19530] cross thread shutdown of UDP socket exhibits unexpected behavior

2013-11-10 Thread Charles-François Natali
Charles-François Natali added the comment: After some research... Which is normal, since UDP sockets aren't connected. But UDP sockets can be connected! No, they can't. Connecting a UDP socket doesn't established a duplex connection like in TCP: it's just a shortand for not having to

[issue19542] WeakValueDictionary bug in setdefault()pop()

2013-11-10 Thread Armin Rigo
New submission from Armin Rigo: WeakValueDictionary.setdefault() contains a bug that shows up in multithreaded situations using reference cycles. Attached a test case: it is possible for 'setdefault(key, default)' to return None, although None is never put as a value in the dictionary.

[issue19542] WeakValueDictionary bug in setdefault()pop()

2013-11-10 Thread Armin Rigo
Changes by Armin Rigo ar...@users.sourceforge.net: Added file: http://bugs.python.org/file32557/x.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19542 ___

[issue19542] WeakValueDictionary bug in setdefault()pop()

2013-11-10 Thread Armin Rigo
Changes by Armin Rigo ar...@users.sourceforge.net: Added file: http://bugs.python.org/file32558/weakref.slice ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19542 ___

[issue19499] import this is cached in sys.modules

2013-11-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Having import this behave differently from any other import is counter-intuitive I agree. My proposal (by design) does not change the property of executing only when first imported. I merely proposed that the text either start as cleartext or that the

[issue19543] Add -3 warnings for codec convenience method changes

2013-11-10 Thread Nick Coghlan
New submission from Nick Coghlan: The long discussion in issue 7475 and some subsequent discussions I had with Armin Ronacher have made it clear to me that the key distinction between the codec systems in Python 2 and Python 3 is the following differences in type signatures of various

[issue17823] 2to3 fixers for missing codecs

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Due to the data driven nature of this particular incompatibility, I'm rejecting this in favour of the Py3k warning based approach in issue 19543. -- dependencies: -codecs missing: base64 bz2 hex zlib hex_codec ... resolution: - rejected stage: -

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Issue 17823 is now closed, but not because it has been implemented. It turns out that the data driven nature of the incompatibility means it isn't really amenable to being detected and fixed automatically via 2to3. Issue 19543 is a replacement proposal for the

[issue19020] Regression: Windows-tkinter-idle, unicode, and 0xxx filename

2013-11-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I read your explanation in relation to the code and got part of it but not all. I need to try another run through. I may try to locally (and temporarily), print to the console to see what is happening. I am also not clear on the relation between the

[issue19532] compileall -f doesn't force to write bytecode files

2013-11-10 Thread Vajrasky Kok
Vajrasky Kok added the comment: Ah, I missed that. I made this assumption because when I executed other modules manually, they were there just for testing functionality (such as shlex and aifc). Added test. -- Added file: http://bugs.python.org/file32559/compileall_force_v2.patch

[issue19532] compileall -f doesn't force to write bytecode files

2013-11-10 Thread Vajrasky Kok
Vajrasky Kok added the comment: Tidied up the test. -- Added file: http://bugs.python.org/file32560/compileall_force_v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19532 ___

[issue19543] Add -3 warnings for codec convenience method changes

2013-11-10 Thread Martin Panter
Martin Panter added the comment: Just thinking the first case might get quite a few false positives. Maybe that would still be acceptable, I dunno. - the str.encode method is called (redirect to codecs.encode to handle arbitrary input types in a forward compatible way) I guess you are

[issue19543] Add -3 warnings for codec convenience method changes

2013-11-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 10.11.2013 10:20, Nick Coghlan wrote: The long discussion in issue 7475 and some subsequent discussions I had with Armin Ronacher have made it clear to me that the key distinction between the codec systems in Python 2 and Python 3 is the following

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

2013-11-10 Thread Ned Deily
Ned Deily added the comment: Update: ActiveTcl 8.5.15.1 is now available and includes the fix for the 10.9 refresh problem documented here. Unfortunately, the built-in versions of Tcl/Tk 8.5 included with the pre-release python.org OS X 64-bit/32-bit x86-64/i386 installers for 3.3.3rc1 and

[issue19537] Fix misalignment in fastsearch_memchr_1char

2013-11-10 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19537 ___ ___ Python-bugs-list

[issue17828] More informative error handling when encoding and decoding

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Updated patch (v5) with a more robust chaining mechanism provided as a private _PyErr_TrySetFromCause API. This version eliminates the previous whitelist in favour of checking directly for the ability to replace the exception with another instance of the same

[issue18861] Problems with recursive automatic exception chaining

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: It may not immediately look like it, but I think issue 17828 offers an example of a related problem. In that issue, I didn't want to *change* the exception raised, I wanted to annotate it to say Hey, something I called raised an exception, here's some relevant

[issue17828] More informative error handling when encoding and decoding

2013-11-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 10.11.2013 14:03, Nick Coghlan wrote: Updated patch (v5) with a more robust chaining mechanism provided as a private _PyErr_TrySetFromCause API. This version eliminates the previous whitelist in favour of checking directly for the ability to

[issue18861] Problems with recursive automatic exception chaining

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Unrelated to my previous comment, I'm also wondering if this may actually represent a behavioural difference between contextlib.ExitStack and the interpreter's own exception handling machinery. ExitStack uses a recursive-iterative transformation for its stack

[issue19533] Unloading docstrings from memory if -OO is given

2013-11-10 Thread Stefan Krah
Stefan Krah added the comment: It looks like the memory management is based directly on Py_Arenas: def f(): squeamish ossifrage pass Breakpoint 1, PyArena_Free (arena=0x9a5120) at Python/pyarena.c:159 159 assert(arena); (gdb) p arena-a_objects $1 = ['f', 'squeamish ossifrage']

[issue19543] Add -3 warnings for codec convenience method changes

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Martin: you're right, it wouldn't be feasible to check for the 8-bit str encoding case, since the types of string literals will implicitly change between the two versions. However, the latter three cases would be feasible to check (the unicode.decode one is

[issue17828] More informative error handling when encoding and decoding

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: On 10 November 2013 23:21, Marc-Andre Lemburg rep...@bugs.python.org wrote: Marc-Andre Lemburg added the comment: On 10.11.2013 14:03, Nick Coghlan wrote: Updated patch (v5) with a more robust chaining mechanism provided as a private _PyErr_TrySetFromCause

[issue17828] More informative error handling when encoding and decoding

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: On 10 November 2013 23:21, Marc-Andre Lemburg rep...@bugs.python.org wrote: This doesn't look right: diff -r 1ee45eb6aab9 Include/pyerrors.h --- a/Include/pyerrors.hSat Nov 09 23:15:52 2013 +0200 +++ b/Include/pyerrors.hSun Nov 10 22:54:04

[issue17828] More informative error handling when encoding and decoding

2013-11-10 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Added file: http://bugs.python.org/file32562/issue17828_improved_codec_errors_v6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17828 ___

[issue19406] PEP 453: add the ensurepip module

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Donald, I know you've been busy with PyPI v2.0 the last few days, but I see the pull request to resolve https://github.com/pypa/pip/issues/1294 has been merged. If we can get an updated patch that sets ENSUREPIP_OPTIONS appropriately in the process environment,

[issue19407] PEP 453: update the Installing Python Modules documentation

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Larry, just a heads up that as a docs patch that isn't directly affected by the feature freeze, I likely won't get to this one until after beta 1. We'll make sure issue 19406 and the other functional changes are resolved, though. --

[issue17828] More informative error handling when encoding and decoding

2013-11-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 10.11.2013 15:39, Nick Coghlan wrote: On 10 November 2013 23:21, Marc-Andre Lemburg rep...@bugs.python.org wrote: This doesn't look right: diff -r 1ee45eb6aab9 Include/pyerrors.h --- a/Include/pyerrors.hSat Nov 09 23:15:52 2013 +0200 +++

[issue11473] upload command no longer accepts repository by section name

2013-11-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: Indeed, the issue as reported is invalid. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11473 ___

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-10 Thread Jason R. Coombs
New submission from Jason R. Coombs: Following from issue7457, in which a single feature was identified to have gone missing in 29a3eda89995, this ticket captures the need to bring the Python 3 codebase up to match Python 2.7. -- assignee: eric.araujo components: Distutils messages:

[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-11-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: As suggested, I created issue19544 to track the larger effort. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7457 ___

[issue19545] time.strptime exception context

2013-11-10 Thread Claudiu.Popa
New submission from Claudiu.Popa: time.strptime leaks an IndexError, as seen in the following traceback. [root@clnstor /tank/libs/cpython]# ./python Python 3.4.0a4+ (default:0aa2aedc6a21+, Nov 5 2013, 17:10:42) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd8 Type help, copyright, credits

[issue19537] Fix misalignment in fastsearch_memchr_1char

2013-11-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Current code assumes that PyUnicode_DATA() is aligned to PyUnicode_KIND() bytes. If this is not true on some platform it will be easer to add a padding than rewrite a code. A lot of code depends on this assumption. See also issue14422. I afraid that

[issue19546] configparser leaks implementation detail

2013-11-10 Thread Claudiu.Popa
New submission from Claudiu.Popa: Various exceptions raised by configparser module leaks implementation detail, by chaining KeyErrors, as seen below: Python 3.4.0a4+ (default:0aa2aedc6a21+, Nov 5 2013, 17:10:42) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd8 Type help, copyright, credits

[issue19538] Changed function prototypes in the PEP 384 stable ABI

2013-11-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this change doesn't break ABI and doesn't break applications which use PyObject_CallFunction() in usual way. The only problem with your application is compiler warning. To silence a warning you can do: #if PY_VERSION_HEX = 0x0304 # define

[issue17457] Unittest discover fails with namespace packages and builtin modules

2013-11-10 Thread Claudiu.Popa
Claudiu.Popa added the comment: Michael, is any chance for this to go into Python 3.4? I would love to make any changes necessary in order for this to happen. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17457

[issue19537] Fix misalignment in fastsearch_memchr_1char

2013-11-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't understand in which concrete situation the current code could be wrong. The start of the unicode string should always be aligned, due to how unicode objects are allocated. -- ___ Python tracker

[issue19020] Regression: Windows-tkinter-idle, unicode, and 0xxx filename

2013-11-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am also not clear on the relation between the UnicodeDecodeError and tuple splitting. Does '_flatten((self._w, cmd)))' call split or splitlist on the tuple arg? Is so, do you know why a problem with that would lead to the UDError? Does your patch fix

[issue10552] Tools/unicode/gencodec.py error

2013-11-10 Thread A.M. Kuchling
A.M. Kuchling added the comment: For the Mac issue, we could just delete the mapping files before processing them. I've attached a patch that modifies the Makefile. -- nosy: +akuchling Added file: http://bugs.python.org/file32565/10552-remove-apple-files.txt

[issue5815] locale.getdefaultlocale() missing corner case

2013-11-10 Thread Mike FABIAN
Mike FABIAN added the comment: Serhiy, in your patch you seem to have special treatment for the devanagari modifier: +# Devanagari modifier placed before encoding. +return code, modifier.split('.')[1] Probably because of 'ks_in@devanagari':

[issue19499] import this is cached in sys.modules

2013-11-10 Thread Tim Peters
Tim Peters added the comment: Reassigned to Barry, since he wrote this module ;-) FWIW, I wouldn't change it. It wasn't intended to be educational, but a newbie could learn quite a bit by figuring out how it works. -- assignee: tim.peters - barry nosy: +barry

[issue1097797] Encoding for Code Page 273 used by EBCDIC Germany Austria

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7d9d1bcd7d18 by Andrew Kuchling in branch 'default': #1097797: Add CP273 codec, and exercise it in the test suite http://hg.python.org/cpython/rev/7d9d1bcd7d18 -- nosy: +python-dev ___ Python tracker

[issue1097797] Encoding for Code Page 273 used by EBCDIC Germany Austria

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa2581bbef44 by Andrew Kuchling in branch 'default': Add news entry for #1097797; whitespace cleanup http://hg.python.org/cpython/rev/fa2581bbef44 -- ___ Python tracker rep...@bugs.python.org

[issue1097797] Encoding for Code Page 273 used by EBCDIC Germany Austria

2013-11-10 Thread A.M. Kuchling
A.M. Kuchling added the comment: Committed this to 3.4. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1097797

[issue12226] use HTTPS by default for uploading packages to pypi

2013-11-10 Thread anatoly techtonik
anatoly techtonik added the comment: How come that this CVE is still present in just released 2.7.6? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226 ___

[issue7171] Add inet_ntop and inet_pton support for Windows

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 17b160baa20f by Atsuo Ishimoto in branch 'default': Issue #7171: Add Windows implementation of ``inet_ntop`` and ``inet_pton`` to socket module. http://hg.python.org/cpython/rev/17b160baa20f New changeset a21f506d04c9 by Jason R. Coombs in branch

[issue19546] configparser leaks implementation detail

2013-11-10 Thread R. David Murray
R. David Murray added the comment: I'd vote -1 on this one. The extra context in this case is not confusing, and might be helpful to someone. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19546

[issue19537] Fix misalignment in fastsearch_memchr_1char

2013-11-10 Thread Andreas Schwab
Andreas Schwab added the comment: (gdb) p sizeof(PyASCIIObject) $1 = 22 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19537 ___ ___

[issue19261] Add support for 24-bit in the sunau module

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset d2cc6254d399 by Serhiy Storchaka in branch 'default': Issue #19261: Added support for writing 24-bit samples in the sunau module. http://hg.python.org/cpython/rev/d2cc6254d399 -- nosy: +python-dev ___

[issue19261] Add support for 24-bit in the sunau module

2013-11-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19261

[issue19537] Fix misalignment in fastsearch_memchr_1char

2013-11-10 Thread Stefan Krah
Stefan Krah added the comment: Andreas Schwab rep...@bugs.python.org wrote: (gdb) p sizeof(PyASCIIObject) $1 = 22 m68k again? ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19537 ___

[issue7171] Add inet_ntop and inet_pton support for Windows

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 31fe38f95c82 by Jason R. Coombs in branch 'default': Update Misc/NEWS for Issue #7171 http://hg.python.org/cpython/rev/31fe38f95c82 -- ___ Python tracker rep...@bugs.python.org

[issue19499] import this is cached in sys.modules

2013-11-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I completely agree with Tim. The 'this' module was a *joke* and a stealthy one at that. http://www.wefearchange.org/2010/06/import-this-and-zen-of-python.html About the only thing I'd support is adding some comments to the code to either explain what's

[issue11677] make test has horrendous performance on an ecryptfs

2013-11-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm going to close this issue as invalid; it hasn't affected me on ecryptfs $HOME on Ubuntu in a long time, so let's chalk it up to better ecryptfs implementations now. If you disagree, feel free to re-open this and provide more information. --

[issue19499] import this is cached in sys.modules

2013-11-10 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: -gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19499 ___ ___

[issue10262] Add --soabi option to `configure`

2013-11-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I think we've had plenty of time to adjust to the abi tags. Does anybody think that nearly 3 years later anything really needs to be done here? -- resolution: - wont fix status: open - closed ___ Python tracker

[issue9419] RUNSHARED needs LDFLAGS

2013-11-10 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9419 ___ ___ Python-bugs-list

[issue19406] PEP 453: add the ensurepip module

2013-11-10 Thread Donald Stufft
Donald Stufft added the comment: * Updated setuptools * Updated pip to the latest development snapshot * Installs default to installing easy_install-X.Y, pipX, and pipX.Y * Added --altinstall which only installs easy_install-X.Y and pipX.Y * Added --default-install which installs easy_install,

[issue16685] audioop functions shouldn't accept strings

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset bab0cbf86835 by Serhiy Storchaka in branch 'default': Issue #16685: Added support for any bytes-like objects in the audioop module. http://hg.python.org/cpython/rev/bab0cbf86835 -- nosy: +python-dev ___

[issue16685] audioop functions shouldn't accept strings

2013-11-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16685

[issue16754] Incorrect shared library extension on linux

2013-11-10 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16754 ___ ___

[issue8311] wave module sets data subchunk size incorrectly when writing wav file

2013-11-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is simplified patch. Added versionchanged tags in the documentation. -- Added file: http://bugs.python.org/file32567/audio_write_nonbytes_2.patch ___ Python tracker rep...@bugs.python.org

[issue18861] Problems with recursive automatic exception chaining

2013-11-10 Thread Nikolaus Rath
Nikolaus Rath added the comment: Hi Nick, I am interested in working on this, but I have never worked on the C parts of cpython before. Do you think this is a feasible project to start with? To me it looks a bit daunting, I'd certainly need some mentoring to even know where to start with

[issue19540] PEP339: Fix link to Zephyr ASDL paper

2013-11-10 Thread Benjamin Peterson
New submission from Benjamin Peterson: c0d120cf0aac -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19540 ___

[issue18861] Problems with recursive automatic exception chaining

2013-11-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: The first thing to do is to carefully specificy what the behavior should be. 2013/11/10 Nikolaus Rath rep...@bugs.python.org: Nikolaus Rath added the comment: Hi Nick, I am interested in working on this, but I have never worked on the C parts of

[issue5815] locale.getdefaultlocale() missing corner case

2013-11-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The /usr/share/X11/locale/locale.alias file in Ubuntu 12.04 LTS contains ks...@devanagari.utf-8 and sd...@devanagari.utf-8 entities. While the encoding is expected to be before the modifier, if there are systems with ks...@devanagari.utf-8 or

[issue11513] chained exception/incorrect exception from tarfile.open on a non-existent file

2013-11-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Should this issue still remain open? The original report described a chained exception, which obviously doesn't happen in 2.7 (nor with Georg's changeset, in 3.2, 3.3, or 3.4). RDM's message implies there still may still be bugs lurking here in 2.7, but

[issue13173] Default values for string.Template

2013-11-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm looking at this issue again with an eye toward Python 3.4. Raymond describes what I think is a reasonable way to use defaults: x = Template('$foo $bar') defaults = dict(foo='one', bar='two') x.substitute(defaults) 'one two' x.substitute(defaults,

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

2013-11-10 Thread anatoly techtonik
anatoly techtonik added the comment: Here is workaround, which is - patching distutils - https://code.google.com/p/spyderlib/wiki/PatchingDistutils -- versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org

[issue1198569] string.Template not flexible enough to subclass (regexes)

2013-11-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: This seems like a reasonable request. Do you care to submit a patch with tests and doc updates? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1198569

[issue11513] chained exception/incorrect exception from tarfile.open on a non-existent file

2013-11-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suppose that 2.7 may leak GzipFile in case of some errors, but this is another issue. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11513

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-10 Thread A.M. Kuchling
A.M. Kuchling added the comment: I went through Python 2.7's Misc/NEWS file and collected the entries for Distutils-related issues that were applied. Perhaps we can check the individual entries on this list, and see which ones are still present in Python 3.x and which ones got reverted.

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-10 Thread Ned Deily
Ned Deily added the comment: I wouldn't trust the NEWS items. I think the only reliable thing to do is diff each file, unfortunately. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19544

[issue19537] Fix misalignment in fastsearch_memchr_1char

2013-11-10 Thread Andreas Schwab
Andreas Schwab added the comment: There is nothing wrong with that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19537 ___ ___

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-10 Thread A.M. Kuchling
A.M. Kuchling added the comment: Issue #11104 also made some functionality work in both 2.7 and 3.2, though it's not clear that the problem stemmed from the distutils2 revert. -- ___ Python tracker rep...@bugs.python.org

[issue19547] HTTPS proxy support missing without warning

2013-11-10 Thread Stefan Richter
New submission from Stefan Richter: When using urllib2 and specifying a HTTPS proxy when setting up a ProxyHandler, the library does not encrypt the traffic sent to the proxy server. This results in unpredictable behavior. Either the support should be implemented or an error raised

[issue19461] RawConfigParser modifies empty strings unconditionally

2013-11-10 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- assignee: - lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19461 ___ ___ Python-bugs-list

[issue19546] configparser leaks implementation detail

2013-11-10 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- assignee: - lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19546 ___ ___ Python-bugs-list

[issue11513] chained exception/incorrect exception from tarfile.open on a non-existent file

2013-11-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Alright, I'm going to close this issue. Please open a new bug for Python 2.7. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11513

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2013-11-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: Confirmed - and to be included in issue19544. -- nosy: +jason.coombs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1180 ___

[issue6516] reset owner/group to root for distutils tarballs

2013-11-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: This change was rolled back before the release of 3.2, so only exists in 2.7. See issue19544 for details. -- nosy: +jason.coombs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6516

[issue18861] Problems with recursive automatic exception chaining

2013-11-10 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, I suggest using ExitStack to figure out the behaviour we *want* first, before diving into the messy practical details of how to make that a reality in CPython. We somehow have to get the state of the exception object and its traceback to represent an

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: After spending several hours spelunking, we identified what we believe are the tickets that were backed out in the aforementioned reversion. issue1180 issue6516 issue7457 issue6466 issue6286 Additionally, issue6377 (renaming .compiler to .compiler_obj) was

[issue6516] reset owner/group to root for distutils tarballs

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6516 ___ ___ Python-bugs-list

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- assignee: tarek - akuchling nosy: +akuchling ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1180 ___

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1180 ___ ___ Python-bugs-list

[issue6466] duplicate get_version() code between cygwinccompiler and emxccompiler

2013-11-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: This change didn't make it into Python 3.2 but is in 2.7. see issue19544 for details. -- assignee: tarek - jason.coombs components: +Distutils nosy: +alexis, jason.coombs status: closed - open ___ Python tracker

[issue6286] distutils upload command doesn't work with http proxy

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- assignee: tarek - jason.coombs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286 ___ ___

[issue6286] distutils upload command doesn't work with http proxy

2013-11-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: This change didn't make it into Python 3.2 but is in 2.7. see issue19544 for details. -- nosy: +jason.coombs status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286

[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- assignee: tarek - jason.coombs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7457 ___ ___

[issue17518] urllib2 cannnot handle https and BasicAuth via Proxy.

2013-11-10 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17518 ___ ___ Python-bugs-list mailing list

[issue19547] HTTPS proxy support missing without warning

2013-11-10 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19547 ___ ___ Python-bugs-list mailing list

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2013-11-10 Thread A.M. Kuchling
A.M. Kuchling added the comment: Here's a patch to restore the --no-user-cfg switch to 3.4. If someone will take a quick look at the patch for sanity, I can apply it. -- keywords: +needs review resolution: fixed - stage: - patch review versions: +Python 3.4 -Python 2.7, Python 3.1,

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset e19441e540ca by Jason R. Coombs in branch '3.3': Issue 19544 and Issue #7457: Restore the read_pkg_file method to distutils.dist.DistributionMetadata accidentally removed in the undo of distutils2. http://hg.python.org/cpython/rev/e19441e540ca

[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset e19441e540ca by Jason R. Coombs in branch '3.3': Issue 19544 and Issue #7457: Restore the read_pkg_file method to distutils.dist.DistributionMetadata accidentally removed in the undo of distutils2. http://hg.python.org/cpython/rev/e19441e540ca

[issue6286] distutils upload command doesn't work with http proxy

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6286 ___

[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-11-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7457 ___

[issue6516] reset owner/group to root for distutils tarballs

2013-11-10 Thread A.M. Kuchling
A.M. Kuchling added the comment: Here's an updated patch, to be applied against the default branch. -- nosy: +akuchling stage: - patch review Added file: http://bugs.python.org/file32571/3.4-patch.txt ___ Python tracker rep...@bugs.python.org

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-10 Thread A.M. Kuchling
A.M. Kuchling added the comment: Patches for the default branch have been added to issue1180 (option to ignore ~/.pydistutils.cfg) and issue6516 (setting the owner/group in Distutils-built tarballs). Please double-check those patches; I can apply them. --

[issue6516] reset owner/group to root for distutils tarballs

2013-11-10 Thread A.M. Kuchling
Changes by A.M. Kuchling a...@amk.ca: -- versions: +Python 3.4 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6516 ___ ___

  1   2   >