[issue13994] incomplete revert in 2.7 Distutils left two copies of customize_compiler

2013-02-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: There's a window above about 12 hours now. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: I believe this is all done after Serhiy's fixes. -- assignee: gregory.p.smith -> serhiy.storchaka status: open -> closed ___ Python tracker ___

[issue12691] tokenize.untokenize is broken

2013-02-02 Thread Meador Inge
Meador Inge added the comment: I will take a look. As it stands the current patch fixes way too many issues. Patches should fix *one* issue at a time. I will look at fixing the original assert problem and at opening new issues for the others (assuming there aren't already issues for them). --

[issue17108] import silently prefers package over module when both available

2013-02-02 Thread Eric Snow
Eric Snow added the comment: > By the way,... Yeah, PEP 420 (implemented in 3.3) introduced namespace packages. The new behavior you're thinking of is where a package doesn't need a __init__.py. So path-based lookup for modules, the order goes like this (for "import spam.eggs"): 1. look fo

[issue4011] Create DAG for PEP 101

2013-02-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue17048] calendar should understand full- vs. half-width characters

2013-02-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue17109] unittest.mock has wrong heading levels

2013-02-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue17106] assertion error in IO reading text file as binary

2013-02-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17102] tarfile extract can write files outside the destination path

2013-02-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue17108] import silently prefers package over module when both available

2013-02-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17110] sys.argv docs should explaining how to handle encoding issues

2013-02-02 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17061] tokenize unconditionally emits NL after comment lines & blank lines

2013-02-02 Thread Meador Inge
Meador Inge added the comment: The current behavior seems consistent with the lexical definition for blank lines [1]: """ A logical line that contains only spaces, tabs, formfeeds and possibly a comment, is ignored (i.e., no NEWLINE token is generated). """ NL and COMMENT are used for items tha

[issue13994] incomplete revert in 2.7 Distutils left two copies of customize_compiler

2013-02-02 Thread Éric Araujo
Éric Araujo added the comment: Benjamin: what’s missing is an import. Is it too late? I changed home today and that took a lot of my time and energy this week, so I may have missed 2.7.4. -- ___ Python tracker _

[issue17110] sys.argv docs should explaining how to handle encoding issues

2013-02-02 Thread Nick Coghlan
New submission from Nick Coghlan: The sys.argv docs [1] currently contain no mention of the fact that they are Unicode strings decoded from bytes provided by the OS. They also don't explain how to correct a decoding error by reversing Python's implicit conversion and redoing it based on the ap

[issue15633] httplib.response is not closed after all data has been read

2013-02-02 Thread Nikolaus Rath
Nikolaus Rath added the comment: On 01/29/2013 11:23 PM, Antoine Pitrou wrote: > "length: 9369540" indicates you haven't read the whole advertised > Content-Length. Is it possible the server shuts down the TCP connection even > before the whole Content-Length has been sent? The remote server i

[issue17105] Python 3.2 segfault

2013-02-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1159051] Handle corrupted gzip files with unexpected EOF

2013-02-02 Thread Nadeem Vawda
Nadeem Vawda added the comment: I think the new behavior should be controlled by a constructor flag, maybe named "defer_errors". I don't like the idea of adding the flag to read(), since that makes us diverge from the standard file interface. Making a distinction between size<0 and size=None seem

[issue17108] import silently prefers package over module when both available

2013-02-02 Thread R. David Murray
R. David Murray added the comment: It was mostly the language reference I was thinking of, since that's where I think one would naturally go to find out about unexpected behavior of the import statement, but a note in the tutorial is probably not a bad idea. I'm not sure if this rises to the

[issue16698] test_posix.test_getgroups fails on some systems

2013-02-02 Thread Ned Deily
Ned Deily added the comment: The buildbots look happier: closing. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker __

[issue17108] import silently prefers package over module when both available

2013-02-02 Thread Eric Snow
Eric Snow added the comment: Other than the language reference (with its updated info on imports--thanks Barry!), what other documentation would benefit from a note on this? Somwhere in http://docs.python.org/dev/tutorial/modules.html? -- nosy: +eric.snow

[issue17108] import silently prefers package over module when both available

2013-02-02 Thread Shai Berger
Shai Berger added the comment: Thanks for the quick response. If this isn't changing, I'd definitely want better documentation. In particular, the rationale behind this should be explained. I submitted the bug because a co-worker unintentionally caused a whole suite of tests to be ignored. T

[issue17108] import silently prefers package over module when both available

2013-02-02 Thread R. David Murray
R. David Murray added the comment: This is behavior has been true since packages were introduced, and is not going to change. However, I agree that it could be better documented. In Python3 something that needs to do dynamic module discovery can use importlib to be sure of using the same logi

[issue17109] unittest.mock has wrong heading levels

2013-02-02 Thread Antoine Pitrou
New submission from Antoine Pitrou: If you look at http://docs.python.org/dev/library/development.html, you'll see the following outline (stripped for brevity): 26.4. unittest.mock — mock object library 26.4.1. Quick Guide 26.4.2. The Mock Class 26.5. The patchers 26.6. MagicMoc

[issue17015] mock could be smarter and inspect the spec's signature

2013-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17015] mock could be smarter and inspect the spec's signature

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset b888c9043566 by Antoine Pitrou in branch 'default': Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name. http://hg.python.org/cpython/rev/b888c90435

[issue16698] test_posix.test_getgroups fails on some systems

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset c37ac05119ff by Ned Deily in branch '2.7': Issue #16698: Skip posix test_getgroups when built with OS X http://hg.python.org/cpython/rev/c37ac05119ff New changeset 6c9f4c22fd81 by Ned Deily in branch '3.2': Issue #16698: Skip posix test_getgroups wh

[issue16698] test_posix.test_getgroups fails on some systems

2013-02-02 Thread Ned Deily
Ned Deily added the comment: It seems to work on 3.x as well. Since it is minimally invasive and should help to clean up the OS X buildbots, I'm going to push the fix now and keep an eye on the buildbots. -- stage: patch review -> commit review ___

[issue16686] audioop overflow issues

2013-02-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not have the knowledge needed to review the code, but I took a brief look. The three doc patches need a verb to be proper English. "Samples truncated in case of overflow." should be "Samples are truncated in case of overflow." in both places. I think "Sam

[issue17108] import silently prefers package over module when both available

2013-02-02 Thread Shai Berger
New submission from Shai Berger: Consider the following directory structure: a-\ __init__.py b.py b-| __init__.py Now, in Python (I checked 2.7.3 and 3.2.3, haven't seen the issue mentioned anywhere so I suspect it is also in later Pythons), if you import a.b, you always get the pac

[issue16698] test_posix.test_getgroups fails on some systems

2013-02-02 Thread Ned Deily
Ned Deily added the comment: The problem is as documented for issue10433: http://docs.python.org/2/library/os.html#os.getgroups Here's a patch that skips the failing test when Python is built on OS X with a deployment target less than 10.6. Currently on releases prior to 3.3.0, the build dep

[issue17102] tarfile extract can write files outside the destination path

2013-02-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: given issue 1044, this is not high priority. i still think it'd be useful. -- priority: high -> normal ___ Python tracker ___ ___

[issue17107] test_sni in test_urllib2net could be enabled

2013-02-02 Thread Antoine Pitrou
New submission from Antoine Pitrou: Right now test_sni in test_urllib2net is skipped with the message "test disabled - test server needed". But the ssl module now has server-side SNI support, and therefore we could implement this test with a local server (and perhaps move it to test_urllib2_lo

[issue15633] httplib.response is not closed after all data has been read

2013-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed the patch into 2.7 and then ported it to 3.x. Please reopen if the problem still occurs with the patch. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Pyt

[issue15633] httplib.response is not closed after all data has been read

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03c536afeb7e by Antoine Pitrou in branch '3.2': Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length. http://hg.python.org/cpython/rev/03c536afeb7e New changeset 7d504068bc58 by Antoine

[issue15633] httplib.response is not closed after all data has been read

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8dcf94c2fef5 by Antoine Pitrou in branch '2.7': Issue #15633: httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length. http://hg.python.org/cpython/rev/8dcf94c2fef5 -- nosy: +python-dev ___

[issue15369] pybench and test.pystone poorly documented

2013-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't really think they deserve documenting. pystones can arguably be a cheap and easy way of comparing performance of different systems *using the exact same Python interpreter*. It's the only point of running pystones. As for pybench, it probably had a po

[issue8765] Tests unwillingly writing unicocde to raw streams

2013-02-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue17106] assertion error in IO reading text file as binary

2013-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, if a proper type check is made later, then the assert can go. Also, the PyBytes_Size() result should be checked for error, which incidentally ensures the argument is a bytes object. -- ___ Python tracker

[issue17106] assertion error in IO reading text file as binary

2013-02-02 Thread R. David Murray
Changes by R. David Murray : -- title: Crash in IO reading text file as binary via email library -> assertion error in IO reading text file as binary ___ Python tracker ___

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is a simpler crasher: import io io.TextIOWrapper(io.StringIO()).read(1) -- ___ Python tracker ___ _

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread R. David Murray
R. David Murray added the comment: OK, this happens in debug mode in 3.2.3, so it is not a regression. Still something to be looked in to, since that assert presumably has a purpose. -- keywords: -3.2regression priority: release blocker -> normal type: crash -> behavior versions: +Pyt

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12ef5a4bba63 by Raymond Hettinger in branch 'default': Issue 16398: One more assertion for good measure. http://hg.python.org/cpython/rev/12ef5a4bba63 -- ___ Python tracker

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg181206 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread R. David Murray
R. David Murray added the comment: I mean, non-debug build. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread R. David Murray
R. David Murray added the comment: It might not crash on a debug build. I haven't tried that. -- ___ Python tracker ___ ___ Python-bu

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I see "TypeError: 'str' does not support the buffer interface" on current 3.2 and default. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue17106] Crash in IO reading text file as binary via email library

2013-02-02 Thread R. David Murray
New submission from R. David Murray: I came across this by making a mistake, but it shouldn't crash: rdmurray@hey:~/python/p32>touch temp rdmurray@hey:~/python/p32>./python Python 3.2.3+ (3.2:e6952acd5a55+, Feb 2 2013, 15:04:21) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "l

[issue1597850] Cross compiling patches for MINGW

2013-02-02 Thread Han-Wen Nienhuys
Han-Wen Nienhuys added the comment: yeah, whatever. (only 7 years to close an issue. Yay for open-source.) -- status: open -> closed ___ Python tracker ___ ___

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue13886] readline-related test_builtin failure

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5bf91dfb1e34 by Nadeem Vawda in branch '2.7': Back out fix for issue #13886; it introduced a new bug in interactive readline use. http://hg.python.org/cpython/rev/5bf91dfb1e34 -- ___ Python tracker

[issue13886] readline-related test_builtin failure

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8b8c6abda7e8 by Nadeem Vawda in branch 'default': Back out fix for issue #13886; it introduced a new bug in interactive readline use. http://hg.python.org/cpython/rev/8b8c6abda7e8 -- ___ Python tracker

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Serhiy, it is intentional that a new block is created. Also, note the deque implementation uses freelisting (block reuse) so getting a "new block" is very cheap. Please leave this design unchanged -- it makes it very easy to reason about the deques work

[issue13886] readline-related test_builtin failure

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c7e884b205a by Nadeem Vawda in branch '3.3': Back out fix for issue #13886; it introduced a new bug in interactive readline use. http://hg.python.org/cpython/rev/5c7e884b205a -- ___ Python tracker

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset efb8d80af320 by Raymond Hettinger in branch 'default': Issue 16398: Add assertions to show why memcmp is safe. http://hg.python.org/cpython/rev/efb8d80af320 -- ___ Python tracker

[issue17105] Python 3.2 segfault

2013-02-02 Thread Stefan Krah
Stefan Krah added the comment: Thanks for testing. The problem with the Ubuntu Python "Python 3.2 (r32:88445, Oct 20 2012, 14:09:50)" is that it seems to be a patched 3.2.0, while we're already at 3.2.3. So it might be worth reporting this issue to Ubuntu. -- resolution: -> works

[issue17105] Python 3.2 segfault

2013-02-02 Thread Damian
Damian added the comment: Thanks. I snagged the 3.3 tarball from 'http://www.python.org/download/' after your first comment. Compilation just finished and it works there... atagar@morrigan:~$ ~/Desktop/Python-3.3.0/python --version Python 3.3.0 atagar@morrigan:~$ ~/Desktop/Python-3.3.0/python d

[issue13886] readline-related test_builtin failure

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6952acd5a55 by Nadeem Vawda in branch '3.2': Back out fix for issue #13886; it introduced a new bug in interactive readline use. http://hg.python.org/cpython/rev/e6952acd5a55 -- ___ Python tracker

[issue13886] readline-related test_builtin failure

2013-02-02 Thread Nadeem Vawda
Nadeem Vawda added the comment: You're right; it breaks backspacing over multibyte characters. I should have tested it more carefully before committing. I'll revert the changes. -- resolution: fixed -> stage: committed/rejected -> needs patch status: closed -> open

[issue17105] Python 3.2 segfault

2013-02-02 Thread Stefan Krah
Stefan Krah added the comment: IOW, my advice is to get Python 3.3 from hg.python.org and see if you can reproduce the issue. -- ___ Python tracker ___ __

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is possible to use only one new block (or even none). It should a little speed up rotate(). I will open a new issue when prepare a patch. -- ___ Python tracker __

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also note, len>=1 and |n| < len//2, so even within a single block, memcpy() doesn't overwrite data. -- ___ Python tracker ___ __

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Even when leftblock == rightblock, a memcpy() will work fine. When the block extends off the end, it *always* creates a newblock and never wraps around to the current block. Data doesn't get overwritten in any scenario. -- ___

[issue17105] Python 3.2 segfault

2013-02-02 Thread Stefan Krah
Stefan Krah added the comment: Thanks for the report. I cannot reproduce it with the latest 3.2 version. Perhaps the version shipped with Ubuntu 11.04 has this problem. -- nosy: +doko, skrah ___ Python tracker

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Simon Law
Simon Law added the comment: Raymond, looking at your patch, can we assert that deque->leftblock is never equal to deque->rightblock? If not, you need to use memmove() instead of memcpy(), which is unsafe for overlapping arrays. It is not clear to me that this invariant is true. At the very le

[issue14340] Update embedded copy of expat - fix security & crash issues

2013-02-02 Thread Georg Brandl
Georg Brandl added the comment: Then I guess there is no reason not to put it in 3.2.4. -- ___ Python tracker ___ ___ Python-bugs-list

[issue16686] audioop overflow issues

2013-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since there is no one who want to review the patch for this dirty buggy module, I will test and review it myself yet once and then commit. -- ___ Python tracker

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb5cde9e5ac5 by Raymond Hettinger in branch '2.7': Issue 16398: Use memcpy() in deque.rotate(). http://hg.python.org/cpython/rev/cb5cde9e5ac5 -- ___ Python tracker ___

[issue17105] Python 3.2 segfault

2013-02-02 Thread Damian
New submission from Damian: Hi. While porting a library of mine (https://stem.torproject.org/) to python 3 I've been reliably encountering a python segmentation fault while running its integration tests. After many hours of head scratching I've narrowed the repro to the following script... ==

[issue16398] deque.rotate() could be much faster

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset f7b01daffe01 by Raymond Hettinger in branch 'default': Issue 16398: Use memcpy() in deque.rotate(). http://hg.python.org/cpython/rev/f7b01daffe01 -- ___ Python tracker

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 434b50c7bbed by Serhiy Storchaka in branch '3.2': Fix the test for issue #6972. http://hg.python.org/cpython/rev/434b50c7bbed New changeset 8b33f3a4a200 by Serhiy Storchaka in branch '3.3': Fix the test for issue #6972. http://hg.python.org/cpython/

[issue6672] Add Mingw recognition to pyport.h to allow building extensions

2013-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: Version against current (2013-02-02) source. -- versions: +Python 3.4 Added file: http://bugs.python.org/file28935/0002-MINGW-issue6672-add-mingw-recognition-to-pyport.h-to.patch ___ Python tracker

[issue1597850] Cross compiling patches for MINGW

2013-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: Proposed patch is mostly for cross compilation in general. Now this is implemented differently and I think that all proposed updates are already addressed. Also I can not see relation with gcc( mingw ) builds. What about to close issue as fixed ? --

[issue17100] rotating an ordereddict

2013-02-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg181184 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue3871] cross and native build of python for mingw* hosts

2013-02-02 Thread Ray Donnelly
Ray Donnelly added the comment: Great Roumen, please split into new issues then make a new overall tracking issue, then this one can be left for historians and archaeologists. For Posix installation scheme I've got: https://github.com/niXman/mingw-builds/blob/master/patches/Python-3.3.0/0050-m

[issue17100] rotating an ordereddict

2013-02-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please don't rush to make patches. It isn't even clear that this is a good idea. AFAICT, none of the many extant implementation of ordered dictionaries in any language currently implement a rotate operation. FWIW, the iter() and move_to_end() methods are

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab4b8da79a5f by Serhiy Storchaka in branch '2.7': Fix test for issue #6972. http://hg.python.org/cpython/rev/ab4b8da79a5f -- ___ Python tracker

[issue17100] rotating an ordereddict

2013-02-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue3871] cross and native build of python for mingw* hosts

2013-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: Please do not post to this thread. Follow python bugs list for result of patch-split. I will try to post parts of this patch to already opened issues or to open new one if necessary. As basis will be used py3k-20121004-MINGW.patch with following main changes: -

[issue17034] Use Py_CLEAR() in stringobject.c and bytesobject.c

2013-02-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually it is a part of issue16445 or issue16447. Now they will be a little smaller. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue3754] cross-compilation support for python build

2013-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: I agree that cross-compilation is now usable. Issues related to build and test outside source tree more or less are permanent but out of cross-compilation scope. Also parts of patches posted in this issue now are in separate defects or enhancements. --

[issue17034] Use Py_CLEAR() in stringobject.c and bytesobject.c

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d120cea3507 by Serhiy Storchaka in branch '2.7': Issue #17034: Use Py_CLEAR() in stringobject.c. http://hg.python.org/cpython/rev/4d120cea3507 New changeset 8a747dec89c5 by Serhiy Storchaka in branch '3.2': Issue #17034: Use Py_CLEAR() in bytesobje

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a68052b52ea by Serhiy Storchaka in branch '2.7': Preserve backslashes in malicious zip files for testing issue #6972. http://hg.python.org/cpython/rev/5a68052b52ea -- ___ Python tracker

[issue15483] CROSS: initialise include and library paths in setup.py

2013-02-02 Thread Roumen Petrov
Changes by Roumen Petrov : -- type: behavior -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue15819] Unable to build Python out-of-tree when source tree is readonly.

2013-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: To update .hgtouch is not enough. Grammar, AST and importlib should left in source tree as before. -- nosy: +rpetrov ___ Python tracker ___ _

[issue13994] incomplete revert in 2.7 Distutils left two copies of customize_compiler

2013-02-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's not clear to me at all what needs to happen here, so I'm just going to have to drop it for 2.7.4. -- priority: release blocker -> normal ___ Python tracker ___

[issue15881] multiprocessing 'NoneType' object is not callable

2013-02-02 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue15881] multiprocessing 'NoneType' object is not callable

2013-02-02 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue15483] CROSS: initialise include and library paths in setup.py

2013-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: I agree that current directory in library search path is different issue so I'm closing as fixed. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue14340] Update embedded copy of expat - fix security & crash issues

2013-02-02 Thread Georg Brandl
Georg Brandl added the comment: Then I guess there is no reason not to put it in 3.2.4. -- ___ Python tracker ___ ___ Python-bugs-list

[issue15881] multiprocessing 'NoneType' object is not callable

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a58fa8e9bac by Benjamin Peterson in branch '2.7': Issue #15881: Fixed atexit hook in multiprocessing. http://hg.python.org/cpython/rev/0a58fa8e9bac -- ___ Python tracker

[issue14340] Update embedded copy of expat - fix security & crash issues

2013-02-02 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue14340] Update embedded copy of expat - fix security & crash issues

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset c73a1f96dd9b by Gregory P. Smith in branch '2.7': Update the embedded copy of the expat XML parser to 2.1.0. It brings http://hg.python.org/cpython/rev/c73a1f96dd9b -- ___ Python tracker

[issue6972] zipfile.ZipFile overwrites files outside destination path

2013-02-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset ebef003a2acd by Serhiy Storchaka in branch '2.7': Fix the test and remove trailing dots on Windows for issue #6972. http://hg.python.org/cpython/rev/ebef003a2acd -- ___ Python tracker

[issue13756] Python3.2.2 make fail on cygwin

2013-02-02 Thread Roumen Petrov
Roumen Petrov added the comment: Jason Tishler wrote: > Jason Tishler added the comment: > >> Is this still an issue on 3.3/3.4? > I presume so. This build is broken since SOABI implementation. > >> Does the patch still work? > I haven't tried it on 3.3 yet, so I don't know if it will apply clean

[issue17104] Tk() not defined in Tkinter module

2013-02-02 Thread R. David Murray
R. David Murray added the comment: Please provide a complete example of the failures. Your report doesn't currently provide enough information to reproduce the reported issue. If the reported error message is accurate, it looks at first glance like the error message at least could use some im

[issue17102] tarfile extract can write files outside the destination path

2013-02-02 Thread R. David Murray
R. David Murray added the comment: Please see issue issue 1044. I have no opinion here, I just remembered that this had been discussed before. -- nosy: +r.david.murray ___ Python tracker _

[issue16468] argparse only supports iterable choices

2013-02-02 Thread Radu Ciorba
Changes by Radu Ciorba : -- nosy: +Radu.Ciorba ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16142] ArgumentParser inconsistent with parse_known_args

2013-02-02 Thread Andrei Vereha
Changes by Andrei Vereha : -- nosy: +Andrei.Vereha ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue16142] ArgumentParser inconsistent with parse_known_args

2013-02-02 Thread Radu Ciorba
Radu Ciorba added the comment: "- if the unknown option is given first then both options are treated as unknown and returned in the list of remaining arguments." I don't think this case is correct behaviour. There is no way to determine if u accepts arguments or not. If nargs for -u is "?" or m

  1   2   >