[issue9162] License for multiprocessing files

2010-11-29 Thread Daniel Tavares
Daniel Tavares danielmtava...@gmail.com added the comment: Replaced all entries of --- see COPYING.txt with the BSD license. See patch attached. -- keywords: +patch Added file: http://bugs.python.org/file19866/issue9162.patch ___ Python tracker

[issue10535] Enable warnings by default in unittest

2010-11-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Attached a new patch. A few comments about it: 1) A new category for UnittestWarnings could still be added to make it easier to filter warnings using the -W python flags and thus providing more control; 2) I didn't change the deprecation

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: Matthias: Nope, this one is OK. -- assignee: - tarek components: +Distutils -Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10571

[issue10570] curses.tigetstr() returns bytes, but curses.tparm() expects a string

2010-11-29 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: Ugh. Please disregard the first message. What I wanted to write is: In Python 3.1.3, curses.tigetstr() returns bytes (which makes sense), but curses.tparm() expects a Unicode string as first argument. As a consequence even the example given in the

[issue10242] unittest's assertItemsEqual() method makes too many assumptions about its input

2010-11-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: ISTM that the new name is worse than the old name. I hadn't followed this issue, heard assertCountEqual the first time today, and couldn't guess what it does. I'd have assumed that it checks only for equality of the number of items in a

[issue10559] NameError in tutorial/interpreter

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: On Sun, Nov 28, 2010 at 05:48:20AM +, Éric Araujo wrote: I’m not committing directly because I’d like feedback: Is the wording okay for the beginning of the tutorial? It seems fine and useful. Please go ahead. -- nosy:

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: xuanji, the issue you stumbled upon was just fixed by Raymond for the report Issue10565. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3243

[issue10535] Enable warnings by default in unittest

2010-11-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file19867/issue10535-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10535 ___

[issue10535] Enable warnings by default in unittest

2010-11-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file19868/issue10535-2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10535 ___

[issue10557] Malformed error message from float()

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Alexander Belopolsky wrote: Alexander Belopolsky belopol...@users.sourceforge.net added the comment: After a bit of svn archeology, it does appear that Arabic-Indic digits' support was deliberate at least in the sense that the feature

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg m...@egenix.com: The script only patches numeric data into the table (field 8), but does not update the digit field (field 7). As a result, ideographs used for Chinese digits are not recognized as digits and not evaluated by int(), long() and float():

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Xuanji Li
Xuanji Li xua...@gmail.com added the comment: What a timely coincidence. I'll try out the change soon. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3243 ___

[issue10273] Clean-up Unittest API

2010-11-29 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Raymond - I created a new issue for moving the tests: issue 10572 However, it seems that you are incorrect in saying that Python practise is to avoid putting tests inside standard library packages. In fact current Python practise seems

[issue10566] gdb debugging support additions (Tools/gdb/libpython.py)

2010-11-29 Thread Mark Florisson
Mark Florisson markflorisso...@gmail.com added the comment: I forgot to mention, this patch works with gdb 7.2 or higher, but it does not prevent using other libpython functionality with gdb 7.1 or running the tests with gdb 7.1. -- ___ Python

[issue5863] bz2.BZ2File should accept other file-like objects.

2010-11-29 Thread MizardX
MizardX miza...@gmail.com added the comment: Would if I could. But, No. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863 ___ ___

[issue10561] The pdb command 'clear bpnumber' may delete more than one breakpoint

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in r86861. Xavier, I noticed that pdb.py itself was not calling the proper method. Added the tests to the patch. Thanks. BTW, please provide patches against py3k as that is development version. -- assignee: - orsenthil

[issue10262] Add --disable-abi-flags option to `configure`

2010-11-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I agree with the intent: package maintainers, or people compiling python for their own need, should have the right to choose the suffix used by extension modules. I suggest another option though, one that directly sets the SOABI used

[issue10262] Add --disable-abi-flags option to `configure`

2010-11-29 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: I still fail to see the rationale for being able to build with a different soabi name. But anyway, as long as the default is to build with the soabi name, I'm +/-0 on this option. Note that the soabi name isn't fixed but changes with other

[issue10262] Add --disable-abi-flags option to `configure`

2010-11-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Note that the soabi name isn't fixed but changes with other configure options. The default value, yes. But my proposal of a --soabi option would not respect this. The caller is responsible for changing the --soabi value when he adds

[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: As discussed here: http://mail.python.org/pipermail/python-ideas/2010-November/008813.html: Adding the ability to register callbacks to be invoked before and after garbage collection runs. This can be used to gather run-time

[issue10561] The pdb command 'clear bpnumber' may delete more than one breakpoint

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: r86862 - release31-maint and r86863 - release27-maint. -- status: open - closed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10561

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10572 ___ ___ Python-bugs-list

[issue10566] gdb debugging support additions (Tools/gdb/libpython.py)

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: - dmalcolm nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10566 ___ ___

[issue5863] bz2.BZ2File should accept other file-like objects.

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: That’s a perfectly fine reply. Someone will see this feature request and propose a patch eventually. Another way to help is to write tests, since those are in Python. -- ___ Python tracker

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- Removed message: http://bugs.python.org/msg122777 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10571 ___

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- Removed message: http://bugs.python.org/msg122780 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10571 ___

[issue10262] Add --disable-abi-flags option to `configure`

2010-11-29 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: +0 for Amaury's suggestion in msg122792. Who wants to write that patch? I'd happily review it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10262

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

2010-11-29 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- title: Add --disable-abi-flags option to `configure` - Add --soabi option to `configure` ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10262

[issue10577] (Fancy) URL opener stucks whet try to open page

2010-11-29 Thread xhresko
New submission from xhresko juraj.hre...@gmail.com: (Fancy) URL opener stucks whet try to open page, which is automaticaly forwarded. I tried url http://www.ihned.cz;, which stuck while http://ihned.cz; is ok. This type of behavior is different from one in the Python 2.7, which works ok.

[issue6671] webbrowser doesn't respect xfce default browser

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Gajim lists processes thanks to /proc, which is platform-specific; a Web search shows the use of pidof, to the same effect; I looked for an envvar (I use Xfce) and found nothing. -- nosy: +eric.araujo title: webbrowser.py doesn't

[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10576 ___ ___

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- title: (Fancy) URL opener stucks whet try to open page - (Fancy) URL opener stuck when trying to open redirected url ___ Python tracker rep...@bugs.python.org

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: In distutils2, we have a mock PyPI server to test index-related behavior, but in distutils we fix such things without automated tests. I would like to add the mock server to distutils. -- assignee: tarek components: Distutils, Tests

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thank you for the report. Do you want to propose a patch? -- assignee: tarek - eric.araujo stage: - needs patch type: - behavior versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue10559] NameError in tutorial/interpreter

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: What about: “You need to execute ``import sys`` before you can use ``sys.argv``.” -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10559 ___

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: @xhresko: This is not valid py3k code. It is 302 redirect. I get the following error: IOError: [Errno socket error] [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: @xhresko: why are you passing empty dict to the constructor? it works just fine with opener = urllib.request.FancyURLopener() resolution: invalid ? -- ___ Python tracker

[issue4214] no extension debug info with msvc9compiler.py

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for explaining. Is someone willing to add a test in test_msvc9compiler? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4214

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Jakub Wilk
Jakub Wilk jw...@jwilk.net added the comment: Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file19870/issue10571.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10571

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Please no more enhancements in distutils ! even in the tests. Distutils is on maintenance mode, and we need to do the bare minimum there. we need to do the minimum changes. If there's a bug in PyPI related code in distutils, you need to do

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: The code point is also not listed as decimal digit (relevant for the int() decimal parsing): unicodedata.decimal(unicode('三', 'utf-8')) Traceback (most recent call last): File stdin, line 1, in module ValueError: not a decimal This is

[issue10541] regrtest.py -T broken

2010-11-29 Thread Walter Dörwald
Walter Dörwald wal...@livinglogic.de added the comment: OK, I reran the test with:: ./python -mtest.regrtest -T -N test_urllib and this does indeed produce coverage files (for _abcoll, _weakrefset, abc, base64, codecs, collections, contextlib, functools, genericpath, hashlib, locale,

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Here's a quick overview of the fields that are set for U+4E09: http://www.fileformat.info/info/unicode/char/4e09/index.htm -- ___ Python tracker rep...@bugs.python.org

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: This is the definition of kPrimaryNumeric http://ftp.lanet.lv/ftp/mirror/unicode/5.0.0/ucd/Unihan.html#kPrimaryNumeric -- ___ Python tracker rep...@bugs.python.org

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thank you. I’ll apply after #10578 is solved. -- dependencies: +Add mock PyPI server to test distutils ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10571

[issue10571] setup.py upload --sign broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Eric: #10578 will not happen in Distutils1. You need to add a test in distutils2, apply the bugfix there, then apply Jakub's patch in distutils1 -- components: +Distutils2 ___ Python tracker

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: 3.1 should also be considered if the tests are moved. In theory this is not a bug fix so it shouldn't go in 3.1, but in practice it will make merging more difficult. This might not be a strong argument though, considering that 3.1 will

[issue10557] Malformed error message from float()

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Nov 29, 2010 at 4:41 AM, Marc-Andre Lemburg rep...@bugs.python.org wrote: .. It would be better to copy and iterate over the Unicode string first, replacing any decimal code points with ASCII ones and then call

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: The same is true for 2.7 though, and that is getting bug fixes. svnmerge would no longer work (and to making the change would mean moving the tests in a point release). -- ___ Python tracker

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: +0, and I think we should hear from the maintainers of the affected packages first. For packages that are also externally maintained moving tests out may cause inconvenience to the maintainer. -- nosy: +barry,

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Xuanji Li
Xuanji Li xua...@gmail.com added the comment: Changed according to Raymond's suggestion. I realized that there are some classes (str, bytes, array.array) that are iterable but should not be handled by the iteration logic provided by catlee. eg: if we iterate through b'a message' we'd get a

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: That list of examples was non-exhaustive, there is also tkinter. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10572 ___

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The more the codebases become different, the more difficult it will be to be sure some fix in d2 also fixes d1. I’ll live with it or use pypi_server on my own machine :) Thanks for the pronouncement. -- stage: - committed/rejected

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks for the patch. First, you don't need to support str, since sockets only accept binary strings (not unicode). Second, I think it's simpler and more generic to do something like: try: self.sock.sendall(data) except TypeError:

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10572 ___ ___

[issue8260] When I use codecs.open(...) and f.readline() follow up by f.read() return bad result

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I applied the diff to test_codecs in py3k, removed the u prefixes and ran: failure. I applied the fix and the test passed. -- nosy: +eric.araujo title: When I use codecs.open(...) and f.readline() follow up by f.read() return

[issue10579] Is ``o[key]`` equivalent to PyMapping_HasKeyString?

2010-11-29 Thread INADA Naoki
New submission from INADA Naoki songofaca...@gmail.com: http://docs.python.org/c-api/mapping.html#PyMapping_HasKeyString and http://docs.python.org/c-api/mapping.html#PyMapping_HasKey says: This is equivalent to ``o[key]`` I think it should be ``key in o``. -- assignee: d...@python

[issue7885] test_distutils fails if Python built in separate directory

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - eric.araujo nosy: +dmalcolm, eric.araujo versions: +Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7885

[issue10579] Is ``o[key]`` equivalent to PyMapping_HasKeyString?

2010-11-29 Thread INADA Naoki
INADA Naoki songofaca...@gmail.com added the comment: I'm sorry, I've misreaded. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10579 ___

[issue2876] Write UserDict fixer for 2to3

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2876 ___ ___ Python-bugs-list

[issue2046] patch to fix_import: UserDict - collections

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- superseder: - Write UserDict fixer for 2to3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2046 ___

[issue2876] Write UserDict fixer for 2to3

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- superseder: patch to fix_import: UserDict - collections - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2876 ___

[issue6886] cgi.py runs python, not python3

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - make altinstall installs many files with incorrect shebangs ___ Python tracker rep...@bugs.python.org

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I don't think this will be a huge problem, given the low amount of bugs we have for all code involving PyPI. Other bugfix can be backported w/ their tests most of the time. -- ___ Python tracker

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I am adding #10552 as a dependency because I think we should fix unicode data generation in 3.x before adding new features to the scripts. I am also not sure whether this is a bug or a feature request. Martin? --

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10575 ___ ___

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: For the email package I would be in favor of moving the tests to Lib/test. I've always found it a bit inconvenient that they are in Lib/email. After hearing of Michael's intent with unittest, and given the evolution of email5 into

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Martin, I believe you were the last to update the unicode database. (See r85371.) Did you use python2.x to generate it or you have your own private copy of these tools? I noticed that genwincodecs.bat refers to

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: grepping the code without the tests doesn't seem that compelling a use case to me, given that grep and find both provide options to prune directories. I do think that moving the tests out of the email package will make it harder to maintain

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I can reproduce the issue with 3.2 here. Using Wireshark, I see that the request to http://www.ihnez.cz is satisfied, but the second request (to http://ihnez.cz) is never issued. Here is the Wireshark dump for the TCP session (request, then

[issue10580] Installer sentence in bold

2010-11-29 Thread Boštjan Mejak
New submission from Boštjan Mejak bostjan.me...@gmail.com: The installer of Python should have consistent sentences, the ones in bold. There's one sentence that needs fixing. The sentence Completing the Python x.x.x Installer should be Complete the Python x.x.x Installer, because other

[issue10580] Installer sentence in bold

2010-11-29 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: What installer? Please provide a patch. -- nosy: +brian.curtin priority: normal - low stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10580

[issue10581] Review and document string format accepted in numeric data type constructors

2010-11-29 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: I am opening a new report to continue work on the issues raised in #10557 that are either feature requests or documentation bugs. The rest is my reply to the relevant portions of Marc's comment at msg122785. On Mon,

[issue10581] Review and document string format accepted in numeric data type constructors

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: See also issue 9574 for a somewhat related discussion. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10581 ___

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10577 ___ ___

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10577 ___ ___

[issue10577] (Fancy) URL opener stuck when trying to open redirected url

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: That line of code (`void = fp.read()`) dates back to a commit by Guido in 1995, and isn't motivated by any comment or message. HTTP servers probably have evolved till then :) -- ___ Python tracker

[issue10541] regrtest.py -T broken

2010-11-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: haypo - resolution: invalid - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10541 ___ ___

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: gencodec.py is only rarely used, namely when adding new codecs based on Unicode mapping files. It is not run regularly on the files from ftp.unicode.org and only updated on demand. AFAIK, it was last used on Python2 and never on Python3,

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yes, a cheeseshop package is definitely part of the plan, I didn't mean to imply otherwise. It won't be hard to automate the packaging, and indeed I'll wind up doing that anyway even if the tests stay inside Lib/email. I will say that

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Alexander Belopolsky wrote: Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I am adding #10552 as a dependency because I think we should fix unicode data generation in 3.x before adding new features to the

[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Daniel Stutzbach
Daniel Stutzbach stutzb...@google.com added the comment: These functions will be very useful for any long-running program. Thank you for the patch. Would you be willing to write tests and documentation? Would it make more sense for the callback to take a boolean instead of an integer as the

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: For distutils tests, I’m ±0. I don’t see any major drawback nor any major benefit. Tarek will decide. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10572

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Nov 29, 2010 at 1:21 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: .. BTW: You appear to have a comma appended to the constant, that doesn't belong there: +# Placeholder for a missing codepoint

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file19843/issue10552a.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10552 ___

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Alexander Belopolsky wrote: Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Nov 29, 2010 at 1:21 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: .. BTW: You appear to have a comma appended to the

[issue10580] Installer sentence in bold

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Windows nosy: +eric.araujo versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10580 ___

[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, as you point out, it would make more sense to have two separate callbacks. Also, PyErr_WriteUnraisable() is better than PyErr_Clear(). Finally, you accidentally recoded the file; it should be kept utf-8, not latin-whatever. --

[issue10580] Installer sentence in bold

2010-11-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10580 ___ ___ Python-bugs-list mailing

[issue5863] bz2.BZ2File should accept other file-like objects.

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: For the record, this will need a comprehensive rewrite of bz2module, since it uses FILE pointers right now. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863

[issue10582] PyErr_PrintEx exits silently when passed SystemExit exception

2010-11-29 Thread Marc Horowitz
New submission from Marc Horowitz mhorow...@gmail.com: I discovered this bug working with panda3d. I've attached a short python script which demonstrates the problem. After installing panda3d, run the script, and then hit q in the window which appears. You'll see that none of the cleanup code

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Of those, it makes the most sense to move the json tests to Lib/tests. Bob is not externally maintaining the 3.x version. It's all our now. Also, it looks like importlib is in a maintenance mode now. There is merit to

[issue10478] Ctrl-C locks up the interpreter

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Would avoiding PyErr_CheckSignals() while the file object is in inconsistent state be a reasonable alternative? No, because we'd like IO operations to be interruptible by the user (e.g. pressing Ctrl-C) when they would otherwise block

[issue5863] bz2.BZ2File should accept other file-like objects.

2010-11-29 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Without a patch and compelling use cases, this has no chance. Recommend closing. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863

[issue5863] bz2.BZ2File should accept other file-like objects.

2010-11-29 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nvawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5863 ___ ___ Python-bugs-list

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Nov 29, 2010 at 1:38 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: .. Sure, we won't need that script anytime soon and if we do, we can just as well use the Python2 version. That may not be true. I

[issue10575] makeunicodedata.py does not support Unihan digit data

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Mon, Nov 29, 2010 at 1:29 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: .. I consider this a bug (which is why I added Python 2.7 to the list of versions), since those code points need to be mapped to decimal

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: I have no issue with moving importlib into Lib/test as long as I can still run the tests with ``python3 -m test.importlib``. I actually only put the tests in importlib.tests because that was common practice amongst newer packages in the stdlib.

[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-11-29 Thread Alex Rodriguez
Alex Rodriguez alej...@gmail.com added the comment: I didn't see this issue resolved in the changelog for 2.7.1 release. Are we going to wait until 2.7.2 now?? -- nosy: +Alex.Rodriguez ___ Python tracker rep...@bugs.python.org

[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-11-29 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This issue was closed as a duplicate of #9227. Please direct further comments there. In any case, all issues wait until a person with the requisite knowledge volunteers a fix and a core developer commits the fix. --

  1   2   >