[issue5141] C API for appending to arrays

2012-11-04 Thread Bradley Froehle
Changes by Bradley Froehle : -- nosy: +bfroehle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue4965] Can doc index of html version be separately scrollable?

2012-11-04 Thread Ezio Melotti
Ezio Melotti added the comment: The attached patch makes the sidebar fixed and adds a scrollbar to scroll it separately when it's longer than the page. To test the patch without rebuilding all the Docs you can do something like: hg import --no-c cp Doc/tools/sphinxext/static/basic.css Doc/buil

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: I propose a test with a single non-ASCII character, which should be supported by more code pages/locale encodings. It checks also the value of __file__. I only ran the test on Linux with UTF-8 locale encoding. -- Added file: http://bugs.python.org/file

[issue16350] zlib.Decompress.decompress() after EOF discards existing value of unused_data

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset be882735e0b6 by Nadeem Vawda in branch '3.2': Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF. http://hg.python.org/cpython/rev/be882735e0b6 New changeset 4182119c3f0a by Nadeem Vawda in bra

[issue15276] unicode format does not really work in Python 2.x

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: "If we don't fix this (I'm leaning that way myself), I think we should somehow document the limitation. There are ways to acknowledge the limitation without getting into the specifics of this particular issue." I agree to documentation the limitation and clos

[issue16281] TODO in tailmatch(): it does not support backward in all cases

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: Oh, PyUnicode_Tailmatch() documentation doesn't mention that the function can fail. -- ___ Python tracker ___ _

[issue16350] zlib.Decompress.decompress() after EOF discards existing value of unused_data

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1c54def5947c by Nadeem Vawda in branch '2.7': Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF. http://hg.python.org/cpython/rev/1c54def5947c -- _

[issue16350] zlib.Decompress.decompress() after EOF discards existing value of unused_data

2012-11-04 Thread Nadeem Vawda
Nadeem Vawda added the comment: Fixed. Thanks for the patch! > This hacking is not needed, if first argument of PyBytes_FromStringAndSize() > is NULL, the contents of the bytes object are uninitialized. Oh, cool. I didn't know about that. > What should unconsumed_tail be equal after EOF? b''

[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 817a90752470 by Victor Stinner in branch 'default': Issue #15478: Oops, fix regression in os.open() on Windows http://hg.python.org/cpython/rev/817a90752470 -- ___ Python tracker

[issue16407] Python 2.7.3: test_sys fails when building under 10.7.5 with dtrace support

2012-11-04 Thread Ned Deily
Ned Deily added the comment: Thanks for your report. Without more details on exactly what errors you are seeing and exactly what configure options the Homebrew recipe is using and exactly which compiler you are using, it is not possible to be 100% certain what you are experiencing. Furthermor

[issue15478] UnicodeDecodeError on OSError on Windows with undecodable (bytes) filename

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11ea4eb79e9d by Victor Stinner in branch 'default': Issue #15478: Fix test_pep277 on Windows http://hg.python.org/cpython/rev/11ea4eb79e9d -- ___ Python tracker __

[issue16411] zlib.Decompress.decompress() retains pointer to input buffer without acquiring reference to it

2012-11-04 Thread Nadeem Vawda
New submission from Nadeem Vawda: When calling zlib.Decompress.decompress() with a max_length argument, if the input data is not full consumed, the next_in pointer in the z_stream struct are left pointing into the data object, but the decompressor does not hold a reference to this object. This sa

[issue16350] zlib.Decompress.decompress() after EOF discards existing value of unused_data

2012-11-04 Thread Nadeem Vawda
Nadeem Vawda added the comment: > flush() does not update unconsumed_tail and unused_data. > > >>> import zlib > >>> x = zlib.compress(b'abcdefghijklmnopqrstuvwxyz') + b'0123456789' > >>> dco = zlib.decompressobj() > >>> dco.decompress(x, 1) > b'a' > >>> dco.flush() > b'bcdefghijklmnopqrstuvwxyz'

[issue15581] curses: segfault in addstr()

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: > I can't offer a minimal program to reproduce this bug, but I did find a way > to reproduce it in the python program "ranger" Sorry, but without a smaller example program, I cannot help you on this issue. Please try to write a smaller program to reproduce the

[issue16412] test_shutil: 2 failures related to symlinks

2012-11-04 Thread STINNER Victor
New submission from STINNER Victor: == FAIL: test_copymode_follow_symlinks (test.test_shutil.TestShutil) -- Traceback (most recent call last): File "C:\victor\

[issue16412] test_shutil: 2 failures related to symlinks

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: I ran test_shutil on Windows 7 with NTFS. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue16412] test_shutil: 2 failures related to symlinks

2012-11-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +loewis, pitrou, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15165] test_email: failure on Windows

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 367e376e5ba2 by Victor Stinner in branch '3.3': Close #15165: Fix test_email on Windows 64 bits http://hg.python.org/cpython/rev/367e376e5ba2 New changeset 651e8613e579 by Victor Stinner in branch 'default': (Merge 3.3) Close #15165: Fix test_email

[issue15165] test_email: failure on Windows

2012-11-04 Thread STINNER Victor
STINNER Victor added the comment: This issue is not related to the email module, but it is a Windows limitation: datetime.datetime(1970, 1, 1).timestamp() raises a same OverflowError. -- ___ Python tracker ___

[issue15955] gzip, bz2, lzma: add option to limit output size

2012-11-04 Thread Nadeem Vawda
Nadeem Vawda added the comment: I agree that being able to limit output size is useful and desirable, but I'm not keen on copying the max_length/unconsumed_tail approach used by zlib's decompressor class. It feels awkward to use, and it complicates the implementation of the existing decompress()

[issue16278] os.rename documentation slightly inaccurate

2012-11-04 Thread Todd Rovito
Todd Rovito added the comment: Attached is a patch for 16 test cases. All 16 test cases have been tested on Windows 7, Mac OS X, and Linux they seem to function well. Before this patch there was only a single test case for rename. For each test case I used "unittest.skipUnless" to make sure

[issue16278] os.rename documentation slightly inaccurate

2012-11-04 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Attached is a patch for 16 test cases. The test cases look quite verbose (e.g. they're not DRY), but it's a good start. Thanks. For others' benefit, can you perhaps summarize your findings concisely in a table/chart of some form? -- _

[issue14965] super() and property inheritance behavior

2012-11-04 Thread 猫 黒
猫 黒 added the comment: I'm not a python dev, but would you say super(self.__class__, self.__class__).x.fset(self, value) is more readable than super().x = value -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: I like the last patch from Victor. It works on Windows also. -- ___ Python tracker ___ ___ Python-bu

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 56df0d4f0011 by Andrew Svetlov in branch 'default': Issue #16218: Fix test for issue again http://hg.python.org/cpython/rev/56df0d4f0011 -- ___ Python tracker

[issue16108] Include maintainer information in register/upload

2012-11-04 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Whether or not we start sending both pieces of data, can PyPI perhaps be > updated to display "Contact" instead of "Author" when Metadata-Version 1.1 is > used? I filed an issue on PyPI's issue tracker for this suggestion here: https://sourceforge.net/track

[issue16412] test_shutil: 2 failures related to symlinks

2012-11-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Duplicate of #13837. -- resolution: -> duplicate status: open -> closed superseder: -> test_shutil fails with symlinks enabled under Windows ___ Python tracker __

[issue13837] test_shutil fails with symlinks enabled under Windows

2012-11-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16409] urlretrieve regression: first call returns block size as 0

2012-11-04 Thread akira
akira added the comment: Summary: It is a new behavior. There is no need to change either code or docs. Though docs could be clarified to be more explicit. The behavior has been introduced only in 3.3 in revision 53715804dc71 [1] from issue 10050 [2] It knownly breaks backward-com

[issue10050] urllib.request still has old 2.x urllib primitives

2012-11-04 Thread akira
akira added the comment: Related issue 16409 -- nosy: +akira ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2012-11-04 Thread akira
akira added the comment: Related issue 16409 -- nosy: +akira ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: How does the test which has been committed even test the Python launcher? It only calls assert_python_ok(), which should use the regular Python interpreter. -- nosy: +pitrou ___ Python tracker

[issue15641] Clean up importlib for Python 3.4

2012-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 48228fb874c1 by Andrew Svetlov in branch 'default': Issue #15641: Clean up deprecated classes from importlib http://hg.python.org/cpython/rev/48228fb874c1 -- nosy: +python-dev ___ Python tracker

[issue15641] Clean up importlib for Python 3.4

2012-11-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Taras. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker _

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well. Fix (and test) is related to bug in python itself (./Python/pythonrun.c) pylauncher should be tested also, you are right. -- ___ Python tracker _

[issue16218] Python launcher does not support unicode characters

2012-11-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Such test is not enough. 1. It skipped on locales which does not support "£" (cp1006, cp1250, cp1251, cp737, cp852, cp855, cp866, cp874, cp949, euc_kr, gb2312, gbk, hz, iso2022_kr, iso8859_10, iso8859_11, iso8859_16, iso8859_2, iso8859_4, iso8859_5, iso8859_

[issue16409] urlretrieve regression: first call returns block size as 0

2012-11-04 Thread anatoly techtonik
anatoly techtonik added the comment: I strongly disagree with your summary. It's a new behavior for the old renamed module that clearly breaks existing code ported with 2to3. The 95% of callable usage is to get the estimated download progress (to draw progress bar or time calculations). This

<    1   2