[issue5873] Minidom: parsestring() error

2009-04-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: You'll have to name your string differently; you can't have xml refer to both the string and the package :) Please refer to python-list or the comp.lang.python newsgroup for further usage questions. -- nosy: +georg.brandl resolution: -

[issue1719423] Python package support not properly documented

2009-04-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This has now been done by Brett while he wrote the docs for importlib. -- resolution: remind - fixed status: pending - closed ___ Python tracker rep...@bugs.python.org

[issue1541] Bad OOB data management when using asyncore with select.poll()

2009-04-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Setting #4501 as superseder. -- nosy: +georg.brandl resolution: - out of date status: open - closed superseder: - asyncore's urgent data management and connection closed events are broken when using poll()

[issue5874] distutils.tests.test_config_cmd is locale-sensitive

2009-04-29 Thread Georg Brandl
New submission from Georg Brandl ge...@python.org: If your locale isn't C, the preprocessor may not put command-line in its output; test_search_cpp() will then fail. -- assignee: tarek components: Distutils messages: 86780 nosy: georg.brandl, tarek severity: normal status: open title:

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread M. Shuaib Khan
New submission from M. Shuaib Khan aries.shu...@gmail.com: Hi, Running test_distutils as a non root user fails for me. Running it as a root user works. System information: uname -a Linux Matrix 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC i686 i686 i386 GNU/Linux ./python --version

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread M. Shuaib Khan
Changes by M. Shuaib Khan aries.shu...@gmail.com: Added file: http://bugs.python.org/file13811/rpm-tmp.15210 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5875 ___

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread M. Shuaib Khan
Changes by M. Shuaib Khan aries.shu...@gmail.com: Added file: http://bugs.python.org/file13812/rpm-tmp.15211 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5875 ___

[issue5872] New C API for declaring Python types

2009-04-29 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5872 ___ ___ Python-bugs-list mailing

[issue5874] distutils.tests.test_config_cmd is locale-sensitive

2009-04-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Thanks, fixed in r72094 and r72096 -- status: open - closed versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5874 ___

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: can you try to remove all /var/tmp/rpm-tmp.* directories and relaunch the tests as a simple user ? I would like to see if this problem doesn't occur because this temp directory was previously created by root. -- versions: +Python 2.7

[issue4239] Email example should use SMTP.quit() rather than SMTP.close()

2009-04-29 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: Not that I saw. Merged to py3k and 2.6. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4239

[issue4129] C/API documentation: request for documentation of change to Py_ssize_t* arguments.

2009-04-29 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: Merged 2.6 and py3k what was appropriate. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4129 ___

[issue5738] multiprocessing example wrong

2009-04-29 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: Garrett, I use FreeBSD myself too, so feel free to bounce anything my way. -- nosy: +asmodai ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5738

[issue1492860] Integer bit operations performance improvement.

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: It looks like no-one sees this as a useful optimization; it seems even less useful now given that it's not applicable to Python 3.x. Closing. -- resolution: - rejected status: open - closed ___

[issue3292] Position index limit; s.insert(i,x) not same as s[i:i]=[x]

2009-04-29 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: Had this actually been brought up? -- nosy: +asmodai ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3292 ___

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: can you tell me the owner and permission setttings for: - /var/tmp/rpm-tmp.* - /var/tmp (and if /var/tmp is a symklink, if it points to /tmp, and in that case the same info for /tmp) -- ___

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread M. Shuaib Khan
M. Shuaib Khan aries.shu...@gmail.com added the comment: Tried. Same failure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5875 ___ ___

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread M. Shuaib Khan
M. Shuaib Khan aries.shu...@gmail.com added the comment: drwxrwxrwt 5 root root 4096 2009-04-29 15:46 tmp And after a number of failed test runs... -rw-r--r-- 1 shuaib users 893 2009-04-29 16:01 rpm-tmp.11523 -rw-r--r-- 1 shuaib users 893 2009-04-29 16:01 rpm-tmp.11524 -rw-r--r-- 1 shuaib

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread M. Shuaib Khan
M. Shuaib Khan aries.shu...@gmail.com added the comment: I've already tried the removal of foo... directory. Failed. I think the following might be interesing... drw-rw-rw- 3 shuaib users 4096 2009-04-29 15:46 null Permissions for null/lib are as follows: drwxr-xr-x 3 shuaib users 4096

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2009-04-29 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Can you remove /var/tmp/foo-0.1-1-buildroot and try again ? if it fails, can you look at the permissions of /var/tmp/foo-0.1-1-buildroot/dev/null/lib -- ___ Python tracker

[issue5337] Scanner class in re module undocumented

2009-04-29 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: So far effbot hasn't said anything about this. So Frederik, was it intended to be exposed or not? -- nosy: +asmodai ___ Python tracker rep...@bugs.python.org

[issue5337] Scanner class in re module undocumented

2009-04-29 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Whether it was intended to be exposed or not it is known and used - and therefore we can't change the API without going through the usual deprecation process. As it is used and useful it should be documented. --

[issue5337] Scanner class in re module undocumented

2009-04-29 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: OK, clear, then I'll see what I can do. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5337 ___

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I'm working on a patch. The fix for the new-style PyOS_double_to_string using Gay's dtoa is a one-liner. The fix for the fallback code is going to take a little while longer... -- assignee: - marketdickinson

[issue2650] re.escape should not escape underscore

2009-04-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/issue2650 ___ ___ Python-bugs-list

[issue5876] __repr__ returning unicode doesn't work when called implicitly

2009-04-29 Thread Tomasz Melcer
New submission from Tomasz Melcer li...@o2.pl: Invitation... (Debian Sid, gnome-terminal with pl_PL.UTF8 locales) Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45) [GCC 4.3.3] on linux2 Type help, copyright, credits or license for more information. Lets create some class... class T(object):

[issue5876] __repr__ returning unicode doesn't work when called implicitly

2009-04-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/issue5876 ___ ___ Python-bugs-list

[issue5861] test_urllib fails on windows

2009-04-29 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- dependencies: +a problem of urllib using open_local_file ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5861 ___

[issue5876] __repr__ returning unicode doesn't work when called implicitly

2009-04-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This worked in 2.4 and stopped working in 2.5. It's not a problem in 3.x. (2.5 is in security-fix-only mode, so I'm removing it from versions). -- components: +Interpreter Core -Extension Modules nosy: +r.david.murray priority:

[issue5337] Scanner class in re module undocumented

2009-04-29 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: effbot - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5337 ___

[issue2245] aifc cannot handle unrecognised chunk type CHAN

2009-04-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Fixed in r72100. Thanks everyone. Now for issue 2259... -- resolution: - fixed stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue2259] Poor support other than 44.1khz, 16bit audio files?

2009-04-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: In r72100 I applied the skiplist part of this patch. In order to apply the remainder I need a small auido test file that demonstrates the current failure. -- assignee: - r.david.murray ___

[issue5877] Add a function for updating URL query parameters

2009-04-29 Thread Mart Sõmermaa
New submission from Mart Sõmermaa m...@mrts.pri.ee: Proposal Add update_query_params() for updating or adding URL query parameters to urllib.parse and urlparse. Discussion -- Python-dev: http://mail.python.org/pipermail/python-dev/2009-April/088675.html Previously in

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's a patch for py3k; backporting to trunk should be straightforward. Backporting to 2.6 may involve more work. -- keywords: +patch Added file: http://bugs.python.org/file13813/issue5864.patch

[issue5878] Regular Expression instances

2009-04-29 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Looks like a documentation bug, afaik it has always been _sre.SRE_Pattern object at 0x00A0BB78 (just checked on Python =2.4). Maybe it used to be re.RegexObject instance at 80b4150 in older versions. -- nosy: +ezio.melotti versions:

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Updated patch; the previous patch messed str() up. -- Added file: http://bugs.python.org/file13814/issue5864.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5864

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file13813/issue5864.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5864 ___

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5864 ___ ___

[issue2587] PyString_FromStringAndSize() to be considered unsafe

2009-04-29 Thread Jan Lieskovsky
Jan Lieskovsky ian...@seznam.cz added the comment: Hello guys, if I didn't overlook something pretty obvious, this should work with python-2.6, but it crashes. Could you please have a look? Thanks, Jan. -- Jan iankko Lieskovsky -- nosy: +iankko Added file:

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I'm getting an undefined _remove_trailing_zeros using a normal build (not using the fallback code). I think it's now always called. -- stage: patch review - needs patch ___ Python tracker

[issue5872] New C API for declaring Python types

2009-04-29 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I think this is great stuff, Larry. It's a definite improvement. Unfortunately with my workload of other Python issues, I'm not going to be able to review this before the 3.1 beta. I don't use many PyTypeObject's, so my review would be mostly

[issue5879] multiprocessing - example pool of http servers fails on windows socket has no attribute fromfd

2009-04-29 Thread Harald Armin Massa
New submission from Harald Armin Massa c...@ghum.de: the example from http://docs.python.org/library/multiprocessing.html?highlight=multiprocessing#module-multiprocessing named # Example where a pool of http servers share a single listening socket # does not work on windows. Reason: s =

[issue5879] multiprocessing - example pool of http servers fails on windows socket has no attribute fromfd

2009-04-29 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +jnoller priority: - normal stage: - needs patch type: - behavior versions: +Python 2.7, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5879

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I think it's now always called. I think you're right. I've moved remove_trailing_zeros further up, out of the #ifdef PY_NO_SHORT_FLOAT_REPR. -- Added file: http://bugs.python.org/file13816/issue5864_v2.patch

[issue5880] Remove unneeded context pointer from getters and setters

2009-04-29 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: PyGetSetDef has a void *context field. This field is passed in to the get and set functions implementing the property. The field is almost never used, so it adds unnecessary complexity. Clearly, YAGNI. There are two places in CPython

[issue5880] Remove unneeded context pointer from getters and setters

2009-04-29 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Whoops, forgot to categorize the issue before submitting it. -- components: +Interpreter Core type: - feature request versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue5880] Remove unneeded context pointer from getters and setters

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I haven't looked at this patch in detail, but I'd be delighted to see those uses of the context in longobject.c disappear. -- nosy: +marketdickinson ___ Python tracker rep...@bugs.python.org

[issue5881] Remove extraneous backwards-compatibility attributes from some modules

2009-04-29 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: While hacking on CPython I noticed a couple of attributes that were there strictly for backwards compatibility with ancient modules or pure mistakes. They are: _hashlib.hash.digestsize pwd.struct_pwent _sha224.digestsize

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Using the _v2 patch, I tested both with the fallback code and with Gay's code, and both work. It's sort of shocking just how much effort you had to go through! But I can't see a simpler way to do it. It looks good to me. -- stage: needs

[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2009-04-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: While it's probably ok to fix the codecs, there's an issue which makes this difficult at least for the utf-8 codec: The marshal module uses utf-8 to write Unicode objects and these can and need to be able to store the full range of supported

[issue4587] Need to rework the dbm lib/include selection process

2009-04-29 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: checked in my patch as rev72107 on the trunk. Will apply it for py3k tomorrow. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4587 ___

[issue700921] Wide-character curses

2009-04-29 Thread Tomasz Melcer
Changes by Tomasz Melcer li...@o2.pl: -- nosy: +liori ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue700921 ___ ___ Python-bugs-list mailing list

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks, Eric. Applied to py3k in r72109. I've blocked it from release30- maint for now, since it will almost certainly not be possible to svnmerge it cleanly, but that doesn't preclude backporting it at some stage. I'll backport to trunk

[issue5463] Remove deprecated features from struct module

2009-04-29 Thread Andreas Schawo
Andreas Schawo andreas.sch...@gmail.com added the comment: I think we're done here. There's only the struct.error to be replaced by OverflowError or TypeError. Do you start the discussion on python-dev? I don't know how to. -- status: pending - open

[issue5463] Remove deprecated features from struct module

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Yes, there should probably be a python-dev discussion. I'll add it to my list of things to do, if you like! And I still have to deal with the original compiler warning that started it all in trunk... --

[issue3292] Position index limit; s.insert(i,x) not same as s[i:i]=[x]

2009-04-29 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: There were two somewhat independent sections to my post: 1. Specific suggested edits to a particular section of the manual. At least some are straightforward. As of 3.0.1, they have not been made and I presume that is still true. Georg, if I

[issue5676] shutils test fails on ZFS (on FUSE, on Linux)

2009-04-29 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Ping? Is the fate of this patch waiting on anything I can help with? In case it helps you decide, you don't see this behavior on a ZFS partition on Mac OS X. It appears to only happen under FUSE. So it's just me and my computers. (And

[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2009-04-29 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I think we could preserve the marshal format with yet another error handler - one that emits half surrogates into their intuitive form. -- ___ Python tracker rep...@bugs.python.org

[issue5864] format(1234.5, '.4') gives misleading result

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Backported to trunk in r72119. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5864 ___ ___

[issue5882] __repr__ is ignored when formatting exceptions

2009-04-29 Thread Jonathan Ellis
New submission from Jonathan Ellis ell...@users.sourceforge.net: The docs say that If a class defines __repr__() but not __str__(), then __repr__() is also used when an “informal” string representation of instances of that class is required. but, repr is ignored: class E(Exception): ...

[issue5882] __repr__ is ignored when formatting exceptions

2009-04-29 Thread Jonathan Ellis
Changes by Jonathan Ellis ell...@users.sourceforge.net: -- versions: +Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5882 ___ ___

[issue1588] str.format() wrongly formats complex() numbers (Py30a2)

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: With these patches, all tests pass for me both for py3k and trunk. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1588 ___

[issue3466] urllib2 should support HTTPS connections with client keys

2009-04-29 Thread Marcelo Fernández
Marcelo Fernández fernandez...@yahoo.com.ar added the comment: The workaround I posted before doesn't work with Python 2.6. This one works (at least) with Python 2.5 *and* Python 2.6: import httplib import urllib2 key_file = 'mykey.pem' cert_file = 'mycert-signed.pem' class

[issue1588] str.format() wrongly formats complex() numbers (Py30a2)

2009-04-29 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I haven't done as thorough a review as I'd like, but both patches look good to me. I recommend applying them. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1588

[issue5883] detach() implementation

2009-04-29 Thread Benjamin Peterson
New submission from Benjamin Peterson benja...@python.org: Here's the detach() implementation for BufferedIOBase and TextIOBase. -- assignee: benjamin.peterson components: IO files: detach.patch keywords: patch messages: 86830 nosy: benjamin.peterson, pitrou severity: normal status:

[issue3292] Position index limit; s.insert(i,x) not same as s[i:i]=[x]

2009-04-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Georg, if I grab a copy from svn, edit (respecting .rst markup), and post here, will you diff, review (and possibly further edit to taste) and apply? If so, can I start with the current 3.1 version ('branch') or do you prefer the 2.7 version

[issue5878] Regular Expression instances

2009-04-29 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The output is probably from the stone-aged original re module. Fixed in r72132. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5878

[issue5676] shutils test fails on ZFS (on FUSE, on Linux)

2009-04-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r72131 and r72133. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5676 ___

[issue5630] Create alternative CObject API that is safe and clean

2009-04-29 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Added a test case for capsules to _testcapimodule.c, and updated to the latest trunk. -- title: Create alternatieve CObject API that is safe and clean - Create alternative CObject API that is safe and clean Added file:

[issue5883] detach() implementation

2009-04-29 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: Added file: http://bugs.python.org/file13821/detach.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5883 ___

[issue5882] __repr__ is ignored when formatting exceptions

2009-04-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: And Exception implements __str__, so it is called. -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1588] str.format() wrongly formats complex() numbers (Py30a2)

2009-04-29 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Thanks, Mark. I'm not so worried about the code, but more so the tests. As far as the code goes, it's really a combination of float and string formatting. I copied the float formatting and refactored the string formatting so I could reuse it.

[issue5884] pydoc to return error status code

2009-04-29 Thread Mike Miller
New submission from Mike Miller python@mgmiller.net: When pydoc is run from the command line and unable to write a file for a module because of a syntax error, it would be helpful to return a non-zero status code as a result. What it does currently: C:\C:\python26\Lib\pydoc.py -w mymod

[issue3382] Make '%F' and float.__format__('F') convert results to upper case.

2009-04-29 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: If http://bugs.python.org/issue5859 is implemented, then this issue really just becomes making sure NAN and INF are uppercase. -- ___ Python tracker rep...@bugs.python.org