[issue9162] License for multiprocessing files

2010-11-29 Thread Daniel Tavares
Daniel Tavares 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 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 message in the patch --

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

2010-11-29 Thread Jakub Wilk
Jakub Wilk added the comment: Matthias: Nope, this one is OK. -- assignee: -> tarek components: +Distutils -Library (Lib) ___ Python tracker ___ ___

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

2010-11-29 Thread Jakub Wilk
Jakub Wilk 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 documentation doe

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

2010-11-29 Thread Georg Brandl
Georg Brandl 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 sequence, not for equa

[issue10559] NameError in tutorial/interpreter

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran 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: +orsenthil

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: xuanji, the issue you stumbled upon was just fixed by Raymond for the report Issue10565. -- ___ Python tracker ___ ___

[issue10535] Enable warnings by default in unittest

2010-11-29 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file19867/issue10535-2.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10535] Enable warnings by default in unittest

2010-11-29 Thread Ezio Melotti
Changes by Ezio Melotti : Added file: http://bugs.python.org/file19868/issue10535-2.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10557] Malformed error message from float()

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Alexander Belopolsky wrote: > > Alexander Belopolsky 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 was tested for > when the code was first

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

2010-11-29 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg : 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(): http://en.wik

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Xuanji Li
Xuanji Li added the comment: What a timely coincidence. I'll try out the change soon. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue10273] Clean-up Unittest API

2010-11-29 Thread Michael Foord
Michael Foord 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 to be that where tests t

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

2010-11-29 Thread Mark Florisson
Mark Florisson 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 tracker

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

2010-11-29 Thread MizardX
MizardX added the comment: Would if I could. But, No. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

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

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran 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 nosy: +orsenthil resolu

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

2010-11-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 in extension file

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

2010-11-29 Thread Matthias Klose
Matthias Klose 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 configure options.

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

2010-11-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 other options.

[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : 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 statistics such as timi

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

2010-11-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: r86862 - release31-maint and r86863 - release27-maint. -- status: open -> closed versions: +Python 2.7, Python 3.1 ___ Python tracker ___

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> dmalcolm nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

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

2010-11-29 Thread Éric Araujo
Éric Araujo 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 : -- Removed message: http://bugs.python.org/msg122777 ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg122780 ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-11-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: +0 for Amaury's suggestion in msg122792. Who wants to write that patch? I'd happily review it. -- ___ Python tracker ___ __

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

2010-11-29 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- title: Add --disable-abi-flags option to `configure` -> Add --soabi option to `configure` ___ Python tracker ___

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

2010-11-29 Thread xhresko
New submission from xhresko : (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. / CODE opener = u

[issue6671] webbrowser doesn't respect xfce default browser

2010-11-29 Thread Éric Araujo
Éric Araujo 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 respect xfce default bro

[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2010-11-29 Thread SilentGhost
Changes by SilentGhost : -- title: (Fancy) URL opener stucks whet try to open page -> (Fancy) URL opener stuck when trying to open redirected url ___ Python tracker ___

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Éric Araujo
New submission from Éric Araujo : 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 messages: 122801 n

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

2010-11-29 Thread Éric Araujo
Éric Araujo 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 __

[issue10559] NameError in tutorial/interpreter

2010-11-29 Thread Éric Araujo
Éric Araujo added the comment: What about: “You need to execute ``import sys`` before you can use ``sys.argv``.” -- ___ Python tracker ___ _

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

2010-11-29 Thread SilentGhost
SilentGhost 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 time, or established connection

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

2010-11-29 Thread SilentGhost
SilentGhost 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 added the comment: Thanks for explaining. Is someone willing to add a test in test_msvc9compiler? -- nosy: +loewis ___ Python tracker ___ ___

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

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

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé 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 this: - fix the bug i

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

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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 "", line 1, in ValueError: not a decimal This is the relevant part of th

[issue10541] regrtest.py -T broken

2010-11-29 Thread Walter Dörwald
Walter Dörwald 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, mimetypes, os, posixpath,

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

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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 _

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

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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 _

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

2010-11-29 Thread Éric Araujo
Éric Araujo added the comment: Thank you. I’ll apply after #10578 is solved. -- dependencies: +Add mock PyPI server to test distutils ___ Python tracker ___ ___

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

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé 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 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 accept only security fi

[issue10557] Malformed error message from float()

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Nov 29, 2010 at 4:41 AM, Marc-Andre Lemburg 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 the > UTF-8 encoder. > Good idea. > The code as it st

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Michael Foord
Michael Foord 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 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, belopolsky, brett.cannon, ghaering

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Xuanji Li
Xuanji Li 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 bunch of ints and s

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Michael Foord
Michael Foord added the comment: That list of examples was non-exhaustive, there is also tkinter. -- ___ Python tracker ___ ___ Pytho

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Éric Araujo
Éric Araujo 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 status: open -> clo

[issue3243] Support iterable bodies in httplib

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou 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: try:

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[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 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 bad result -> When I

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

2010-11-29 Thread INADA Naoki
New submission from INADA Naoki : 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 components: Documentatio

[issue7885] test_distutils fails if Python built in separate directory

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: tarek -> eric.araujo nosy: +dmalcolm, eric.araujo versions: +Python 3.1 -Python 2.6 ___ Python tracker ___ __

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

2010-11-29 Thread INADA Naoki
INADA Naoki added the comment: I'm sorry, I've misreaded. -- resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue2876] Write UserDict fixer for 2to3

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue2046] patch to fix_import: UserDict -> collections

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- superseder: -> Write UserDict fixer for 2to3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue2876] Write UserDict fixer for 2to3

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- superseder: patch to fix_import: UserDict -> collections -> ___ Python tracker ___ ___ Python-bugs-list ma

[issue6886] cgi.py runs python, not python3

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> "make altinstall" installs many files with incorrect shebangs ___ Python tracker ___

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé 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 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? -- dependencies: +Tools/unicode/gen

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

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

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread R. David Murray
R. David Murray 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 email5.1, I am also consi

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky 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 c:\python26\python in 2.7 branch and c:

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Barry A. Warsaw
Barry A. Warsaw 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 and distribute a

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

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou 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 response): """GET

[issue10580] Installer sentence in bold

2010-11-29 Thread Boštjan Mejak
New submission from Boštjan Mejak : 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 sentences are in the form

[issue10580] Installer sentence in bold

2010-11-29 Thread Brian Curtin
Brian Curtin added the comment: What installer? Please provide a patch. -- nosy: +brian.curtin priority: normal -> low stage: -> needs patch ___ Python tracker ___ ___

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

2010-11-29 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : 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, Nov 29, 2010 at 4:41 AM, Marc-Andre

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

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: See also issue 9574 for a somewhat related discussion. -- ___ Python tracker ___ ___ Python-b

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

2010-11-29 Thread SilentGhost
Changes by SilentGhost : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2010-11-29 Thread SilentGhost
Changes by SilentGhost : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

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

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou 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 : -- assignee: haypo -> resolution: invalid -> ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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, hence the errors y

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread R. David Murray
R. David Murray 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 that I'm probably only

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

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Alexander Belopolsky wrote: > > Alexander Belopolsky 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

[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Daniel Stutzbach
Daniel Stutzbach 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 first argument? ---

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Éric Araujo
Éric Araujo 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 ___ ___

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Nov 29, 2010 at 1:21 PM, Marc-Andre Lemburg wrote: .. > BTW: You appear to have a comma appended to the constant, that doesn't > belong there: > > +# Placeholder for a missing codepoint > +MISSING_CODE = -1, > + > > Perhaps that's causing the seco

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file19843/issue10552a.diff ___ Python tracker ___ ___ Python-bugs-list

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Alexander Belopolsky wrote: > > Alexander Belopolsky added the comment: > > On Mon, Nov 29, 2010 at 1:21 PM, Marc-Andre Lemburg > wrote: > .. >> BTW: You appear to have a comma appended to the constant, that doesn't >> belong there: >> >> +# Placeholder

[issue10580] Installer sentence in bold

2010-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Windows nosy: +eric.araujo versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list

[issue10576] Add a progress callback to gcmodule

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou 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. -- nosy: +pitrou __

[issue10580] Installer sentence in bold

2010-11-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou 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 ___

[issue10582] PyErr_PrintEx exits silently when passed SystemExit exception

2010-11-29 Thread Marc Horowitz
New submission from Marc Horowitz : 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 after the 'run()' ma

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Raymond Hettinger
Raymond Hettinger 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 keeping 2to3, ctypes, sqlite tests s

[issue10478] Ctrl-C locks up the interpreter

2010-11-29 Thread Antoine Pitrou
Antoine Pitrou 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 indefinitely. > I am

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

2010-11-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Without a patch and compelling use cases, this has no chance. Recommend closing. -- nosy: +rhettinger ___ Python tracker ___ __

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

2010-11-29 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nvawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue10552] Tools/unicode/gencodec.py error

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Nov 29, 2010 at 1:38 PM, Marc-Andre Lemburg 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 compared 2.7 and py3k versions and the later has some new f

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

2010-11-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Nov 29, 2010 at 1:29 PM, Marc-Andre Lemburg 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 > and digit as well (see the references I posted; and

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Brett Cannon
Brett Cannon 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. And just to pre

[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-11-29 Thread Alex Rodriguez
Alex Rodriguez 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 ___

[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-11-29 Thread Terry J. Reedy
Terry J. Reedy 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   >