[issue14052] importlib mixes up '.' and os.getcwd()

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

[issue13703] Hash collision security issue

2012-02-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > With PYTHONHASHSEED=random, at least those tests still fail: > test_descr test_json test_set test_ttk_textonly test_urllib > > Do we want to fix them in 3.1? I don't know, but we'll have to fix them in 3.2 to avoid breaking the buildbots. So we might also fi

[issue14055] Implement __sizeof__ for etree Element

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

[issue14027] distutils2 lack of pysetup.bat

2012-02-19 Thread Éric Araujo
Éric Araujo added the comment: [Paul] > %~dp0\..\python.exe locates python relative to the batch file (one directory > up) so will work as long > as the bat file is in Scripts. The @ just suppresses echo of the command. Okay, so a pysetup.bat script installed by pythonX.Y.exe will be put in th

[issue14027] Add pysetup script for Windows

2012-02-19 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: tarek -> eric.araujo title: distutils2 lack of pysetup.bat -> Add pysetup script for Windows ___ Python tracker ___

[issue14027] Add pysetup script for Windows

2012-02-19 Thread Brian Curtin
Brian Curtin added the comment: I'd rather we not add a batch file and choose one of the other options outlined above. I haven't used this new pysetup thing so I'm not familiar with which would be the best experience, but in other cases all of the ones listed are better than batch files. ---

[issue13703] Hash collision security issue

2012-02-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: +1 for fixing all tests. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

2012-02-19 Thread Berker Peksag
Berker Peksag added the comment: I'd like to work on this issue. I found the Objects/structseq.c [1] file. Am I on the right path? Thanks! [1] http://hg.python.org/cpython/file/5b4b70bd2b6f/Objects/structseq.c#l157 -- nosy: +berker.peksag ___ Pyth

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

2012-02-19 Thread Éric Araujo
Éric Araujo added the comment: You are! See the devguide for more setup guidelines. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue14005] IDLE Crash when running/saving a file

2012-02-19 Thread Scott Bowman
Scott Bowman added the comment: Well it seems like all I needed to do was restart my machine. Everything is working fine now. Thanks for your responses. -- ___ Python tracker _

[issue13641] decoding functions in the base64 module could accept unicode strings

2012-02-19 Thread R. David Murray
R. David Murray added the comment: OK' I'm back to being 100% on the side of rejecting both of these changes. ASCII is not unocode, it is bytes. You can decode it to unicode but it is not unicode. Those transformations operate bytes to bytes, not bytes to unicode. We made the bytes unicode

[issue14013] tarfile should expose supported formats

2012-02-19 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the quick reply. > I think it is good style to let tarfile figure out which supported > compression methods are > available instead of shutil or the user. Note that shutil will not be wholly transparent when I’m done with the refactoring, as it will b

[issue13641] decoding functions in the base64 module could accept unicode strings

2012-02-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > OK' I'm back to being 100% on the side of rejecting both of these > changes. ASCII is not unocode, it is bytes. You can decode it to > unicode but it is not unicode. Those transformations operate bytes to > bytes, not bytes to unicode. ASCII is just a subs

[issue14005] IDLE Crash when running/saving a file

2012-02-19 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyth

[issue14061] Clean up archiving code in shutil

2012-02-19 Thread Éric Araujo
New submission from Éric Araujo : shutil.make_archive suffers from these issues: - It always supports the 'zip' and 'gztar' formats but if Python is built without zlib then they won’t work. Even if this is probably rare, the code should be robust. Likewise, the tests detect the availability

[issue5411] shutil should support all formats supported by tarfile automatically

2012-02-19 Thread Éric Araujo
Changes by Éric Araujo : -- title: add xz compression support to shutil -> shutil should support all formats supported by tarfile automatically ___ Python tracker ___ ___

[issue5411] shutil should support all formats supported by tarfile automatically

2012-02-19 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file24433/shutil-xz.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2012-02-19 Thread Brian Curtin
Brian Curtin added the comment: Attached is an in-progress patch. I still need to figure out how to hook up the GUI to condition the path manipulation. A few locations have said to do conditional environment modification via the Component table, but I haven't been able to get some placeholde

[issue5411] shutil should support all formats supported by tarfile automatically

2012-02-19 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +Clean up archiving code in shutil ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11698] Improve repr for structseq objects to show named, but unindexed fields

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

[issue14060] Implement a CSP-style channel

2012-02-19 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14060] Implement a CSP-style channel

2012-02-19 Thread Guido van Rossum
Guido van Rossum added the comment: Note that Go channels have an optional buffer. That makes them more like the queue module, except the latter doesn't support zero-sized queues. How hard would it be to add that? And are there really use cases in Python for unbuffered channels? -

[issue14053] Make patchcheck compatible with MQ

2012-02-19 Thread Ezio Melotti
Ezio Melotti added the comment: Actually I would change the devguide/patch.html page to focus less on mq (but this is a bit orthogonal). The easiest thing to do is to make some changes and use "hg diff > patch.diff" and the devguide should advertise this IMHO. This also works fine with `make

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2012-02-19 Thread Jan Kratochvil
Jan Kratochvil added the comment: There was a bug for non-shared build of Python, thanks. This patch is an improvement on its but it is not yet complete. One should also replace "-Xlinker -export-dynamic" by "-Wl,--dynamic-list" so that linking application with libpython is no longer intrusive

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2012-02-19 Thread Jan Kratochvil
Changes by Jan Kratochvil : Removed file: http://bugs.python.org/file24221/hidden.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue13605] document argparse's nargs=REMAINDER

2012-02-19 Thread Sandro Tosi
Sandro Tosi added the comment: On Mon, Feb 20, 2012 at 01:52, Éric Araujo wrote: > I’m not entirely sure they are needed (Python code blocks seem to be > autodetected and show up colorized too), but I did it for consistency (and to > make my editor detect them). Yeah, I refrained to add them

<    1   2