[issue8249] expat.ParserCreate - SystemError bad argument to internal function

2010-03-28 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: First call gave a segfault. Following calls were successful. Python 2.7a4+ (trunk:79443M, Mar 26 2010, 16:46:11) ~ $ python ../svnmerge.py -F -M merge -r79450,79427,79426,79425,79382,79310,79297 Traceback (most recent call last):

[issue6906] Tkinter sets an unicode environment variable on win32

2010-03-28 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Ported to 2.6 with r79336 -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6906 ___

[issue8190] Add an xml-rpc client for PyPi

2010-03-28 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8190 ___ ___ Python-bugs-list

[issue8250] Implement pkgutil APIs as described in PEP 376

2010-03-28 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: tarek components: Distutils2 nosy: tarek priority: normal severity: normal status: open title: Implement pkgutil APIs as described in PEP 376 type: feature request versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python

[issue7279] decimal.py: == and != comparisons involving NaNs

2010-03-28 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark, this looks great, thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7279 ___

[issue8251] WeakRefSet

2010-03-28 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: WeakRefSet would be a useful addition to the weakref module. I needed this for unittest recently but made do with a WeakRefKeyDictionary and setting the values to 1. -- components: Library (Lib) messages: 101859 nosy:

[issue8252] add a metada section in setup.cfg

2010-03-28 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: let's add a metatadata section in setup.cfg, to express all the metadata fields instead of using setup.py options. -- assignee: tarek components: Distutils2 messages: 101860 nosy: tarek priority: normal severity: normal status:

[issue8253] add a resource+files section in setup.cfg

2010-03-28 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: Implement the [resources] section described in: http://hg.python.org/distutils2/file/tip/docs/design/wiki.rst We also need to add a description of packages, scripts and modules. The result should be that projects will not need a setup.py

[issue8252] add a metadata section in setup.cfg

2010-03-28 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- title: add a metada section in setup.cfg - add a metadata section in setup.cfg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___

[issue8252] add a metadata section in setup.cfg

2010-03-28 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: and change the mkpkg script accordingly -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___

[issue8253] add a resource+files section in setup.cfg

2010-03-28 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: and change the mkpkg script accordingly -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8253 ___

[issue8254] write a configure command

2010-03-28 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: This command will contain all options that are used to build extensions (out of the build* and install* commands) and will create a confifuration file. build* and install* commands will be able to read back the file if present, and use

[issue8252] add a metadata section in setup.cfg

2010-03-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___ ___ Python-bugs-list mailing

[issue8253] add a resource+files section in setup.cfg

2010-03-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8253 ___ ___ Python-bugs-list mailing

[issue8254] write a configure command

2010-03-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8254 ___ ___ Python-bugs-list mailing

[issue8255] step-by-step tutorial

2010-03-28 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: Write a tutorial to describe the cycle of a Python project that is built, released and deployed, using Distutils2. This project will need to be complete enough to cover most use cases. This tutorial will be part of the Distutils2

[issue8255] step-by-step tutorial

2010-03-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8255 ___ ___ Python-bugs-list mailing

[issue8250] Implement pkgutil APIs as described in PEP 376

2010-03-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8250 ___ ___ Python-bugs-list mailing

[issue8190] Add an xml-rpc client for PyPi

2010-03-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hello XML-RPC is a legacy protocol that works against the Web, i.e. it does not respect and benefit from the Web architecture. Why not going the REST way? Regards -- nosy: +merwok ___ Python tracker

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-03-28 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com added the comment: I was also hit by this today. For the sake of clarity, I will restate two of the scenarios that have been mentioned in this discussion: (1) An ImportError raised whilst importing a module (original issue) (2) A sub-module not

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-28 Thread Ram Rachum
Changes by Ram Rachum cool...@cool-rr.com: -- nosy: +cool-RR ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7946 ___ ___ Python-bugs-list mailing

[issue6488] ElementTree documentation refers to path with no explanation, and inconsistently

2010-03-28 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I agree. I found the documentation very difficult to understand. The term top-level can be confusing. Consider instead something like search the entire tree. A few other comments about the documentation of findtext: findtext(path[,

[issue6488] ElementTree documentation refers to path with no explanation, and inconsistently

2010-03-28 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +XML stage: - needs patch versions: -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6488 ___

[issue6488] ElementTree documentation refers to path with no explanation, and inconsistently

2010-03-28 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6488 ___ ___ Python-bugs-list

[issue8250] Implement pkgutil APIs as described in PEP 376

2010-03-28 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8250 ___ ___ Python-bugs-list

[issue8252] add a metadata section in setup.cfg

2010-03-28 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___ ___ Python-bugs-list

[issue8253] add a resource+files section in setup.cfg

2010-03-28 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8253 ___ ___ Python-bugs-list

[issue8254] write a configure command

2010-03-28 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8254 ___ ___ Python-bugs-list

[issue8255] step-by-step tutorial

2010-03-28 Thread Shashwat Anand
Changes by Shashwat Anand anand.shash...@gmail.com: -- nosy: +l0nwlf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8255 ___ ___ Python-bugs-list

[issue8190] Add an xml-rpc client for PyPi

2010-03-28 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: We want to add a PyPI client in Distutils2, and PyPI provides these information via XML-RPC. PyPI could probably have a REST interface to grab these info as well, but this is another topic/project. On our side (distutils2), we want to

[issue8190] Add a PyPI client module

2010-03-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for clarifying. I’m rephrasing the title to minimize the presence of the protocol used as implementation detail. Regards -- title: Add an xml-rpc client for PyPi - Add a PyPI client module ___

[issue8190] Add a PyPI XML-RPC client module

2010-03-28 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Please don't. This is confusing because some commands already interact with PyPI (upload/register). I don't see the problem in mentioning XML-RPC in the title here. It makes what we need to do crystal clear. -- title: Add a PyPI

[issue8190] Add a PyPI XML-RPC client module

2010-03-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: You‘re right, sorry for the noise. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8190 ___ ___

[issue8256] TypeError: bad argument type for built-in operation

2010-03-28 Thread Bruce Frederiksen
New submission from Bruce Frederiksen dangy...@gmail.com: I'm getting a TypeError: bad argument type for built-in operation on a print() with no arguments. This seems to be a problem in both 3.1 and 3.1.2 (haven't tried 3.1.1). I've narrowed the problem down in a very small demo program that

[issue8248] Add test cases for bool

2010-03-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8248 ___

[issue8252] add a metadata section in setup.cfg

2010-03-28 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___ ___ Python-bugs-list mailing

[issue6488] ElementTree documentation refers to path with no explanation, and inconsistently

2010-03-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think you are incorrect about the comma after element. Without the comma 'the first matching element or the default value' are tightly bound, meaning that if either of those is true, then the default value is returned. That's

[issue8256] TypeError: bad argument type for built-in operation

2010-03-28 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Confirmed. There's something wrong around the doctest._SpoofOut class. This script triggers the same bug (both 3.x and 3.1). Output: $ ./python issue8256_case.py prompt: Traceback (most recent call last): File issue8256_case.py,

[issue8248] Add test cases for bool

2010-03-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Decimal tests should probably be in test_decimal, not test_bool. Also, I'm not sure why the __index__ and format tests aren't in the py3k patch. -- nosy: +pitrou ___ Python tracker

[issue8251] WeakRefSet

2010-03-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Python 3.2a0 (py3k:79464, Mar 27 2010, 19:18:14) [GCC 4.4.1] on linux2 Type help, copyright, credits or license for more information. from weakref import WeakSet -- nosy: +pitrou ___ Python tracker

[issue8256] TypeError: bad argument type for built-in operation

2010-03-28 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: The bug is triggered by input, not by print. The exact place is _PyUnicode_AsStringAndSize, where unicode check happens. Then print checks PyError_Occured and catches this error. Either this error should not be raised or should be

[issue8256] TypeError: bad argument type for built-in operation

2010-03-28 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16682/issue8256_case.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8256 ___

[issue8256] TypeError: bad argument type for built-in operation

2010-03-28 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Right. It does not involve doctest. # import io, sys original_stdout = sys.stdout try: sys.stdout = io.StringIO() input(prompt:) print() finally: sys.stdout = original_stdout --

[issue8251] WeakRefSet

2010-03-28 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Ha. I tried 2.7. I guess it would be nice if it was backported. -- versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8251

[issue8257] Decimal constructor to accept float

2010-03-28 Thread Raymond Hettinger
New submission from Raymond Hettinger rhettin...@users.sourceforge.net: Per discussion on python-dev, let Decimal(x) accept floats as a possible input, making Decimal.from_float unnecessary. See attached patch. -- assignee: mark.dickinson files: deci_float_constructor.diff keywords:

[issue8251] WeakRefSet

2010-03-28 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8251 ___

[issue8248] Add test cases for bool

2010-03-28 Thread Gregory Nofi
Gregory Nofi crackityjones200...@yahoo.com added the comment: Indeed, the Decimal test is better off in test_decimal.DecimalExplicitConstructionTest so I moved it there. I forgot to include the index test for the py3k patch. That's in the updated patch, too. There is already a format test in

[issue8248] Add test cases for bool

2010-03-28 Thread Gregory Nofi
Changes by Gregory Nofi crackityjones200...@yahoo.com: Added file: http://bugs.python.org/file16685/test_bool.v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8248 ___

[issue8218] typo currect

2010-03-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here is a patch that fixes the typos found by David and Yuv and rephrases a couple of parts. -- keywords: +easy, needs review, patch stage: needs patch - patch review Added file: http://bugs.python.org/file16686/issue8218.diff

[issue8257] Decimal constructor to accept float

2010-03-28 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8257 ___ ___ Python-bugs-list mailing