[issue8735] optparse: parse_args(values=...) does not set up default values

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the report, I added a note in the docs in r83387. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker __

[issue8757] Race condition when checking for set in set

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue8768] The checkempty_symmetric_difference test is never called

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r83386. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue8773] mailbox module is needlessly executable

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83385. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue4600] __class__ assignment: new-style? heap? == confusing

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue1699594] shlex fails to parse strings correctly

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: How do you reproduce this? The strings seem to work fine with shlex.split(). -- nosy: +georg.brandl ___ Python tracker ___ ___

[issue8743] set() operators don't work with collections.Set instances

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue9315] The trace module lacks unit tests

2010-07-31 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file18304/issue9315.4-p3k.patch ___ Python tracker ___ ___ Python-bugs-lis

[issue9315] The trace module lacks unit tests

2010-07-31 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching updated patches for py3k and release27-maint branches. Unfortunately I cannot commit them as is. When I run make test, I still get some strange failures. Eli, Why do you need to generated fakemodule inside test_trace? Why not take the

[issue9315] The trace module lacks unit tests

2010-07-31 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mail

[issue8572] httplib getheader() throws error instead of default

2010-07-31 Thread David Stanek
David Stanek added the comment: Adding a patch that includes a documentation change. -- Added file: http://bugs.python.org/file18302/8572-with-docs.diff ___ Python tracker ___ __

[issue9313] distutils error on MSVC older than 8

2010-07-31 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Other test functions already have such skips. So I think another skip is acceptable here. But maybe it's better to skip entire msvc9compilerTestCase class (by class decorator). -- ___ Python tracker

[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

2010-07-31 Thread R. David Murray
R. David Murray added the comment: A little backstory: the patch was created during the PyOhio sprint, and as we recreated the patch for py3k we noticed that SMTPConnectError is providing an *SMTP* error code. The gaierrors are obviously not SMTP errors. To allow the agreed upon semantics (

[issue8620] wrong truncation of last line in cmd.Cmd

2010-07-31 Thread R. David Murray
R. David Murray added the comment: Éric: thanks for spotting the whitespace before I got smacked by the commit hook. As for \r\n, our thought was that would be a feature (universal newline support), but upon reflection the current fix could actually break working code if by some weird chance

[issue626452] Support RFC 2111 in email package

2010-07-31 Thread Dan Buch
Changes by Dan Buch : -- nosy: +meatballhat, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue803422] sgmllib doesn't support hex or Unicode character references

2010-07-31 Thread Dan Buch
Dan Buch added the comment: gads ... didn't mean to submit a title change there Since this is removed from Python 3, should the status be changed to Rejected? -- nosy: +meatballhat title: gmllib doesn't support hex or Unicode character references -> sgmllib doesn't support hex or Unic

[issue803422] gmllib doesn't support hex or Unicode character references

2010-07-31 Thread Dan Buch
Changes by Dan Buch : -- title: sgmllib doesn't support hex or Unicode character references -> gmllib doesn't support hex or Unicode character references ___ Python tracker ___

[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

2010-07-31 Thread Greg Malcolm
Greg Malcolm added the comment: I've uploaded a patch for 3.2 that throws a ValueError exception for non numeric port numbers and SMTPSocketConnectError for socket connection failures. This patch introduces an API change, by creating the SMTPSocketConnectError which provides information abou

[issue1158490] locale fails if LANGUAGE has multiple locales

2010-07-31 Thread Dan Buch
Dan Buch added the comment: I first verified that the relevant parts of ``locale:getdefaultlocale`` have been unchanged since 2005-10-17. I'm adding a patch to remove default support for the LANGUAGE variable and tests to assert that values like 'en_DK:en_GB:en_US' raise ValueError (plus ass

[issue8572] httplib getheader() throws error instead of default

2010-07-31 Thread David Stanek
David Stanek added the comment: I created some tests for the existing behavior and the expected behavior. One of my apps was passing in a tuple and the default. Since this already worked and there are probably others besides me expecting this behavior I changed the patch to handle this. The

[issue9444] argparse does not honor prefix_chars when adding default options

2010-07-31 Thread Theodore Turocy
Theodore Turocy added the comment: Looking at the test fixtures that exercise argparse, it appears that the intended behavior when '-' is not a prefix_char is to accept a doubling of any of the prefix_chars for long arguments. That is, if '-' is not present in prefix_chars but ':' is, then a

[issue9444] argparse does not honor prefix_chars when adding default options

2010-07-31 Thread Theodore Turocy
Theodore Turocy added the comment: What is the appropriate behavior for long options when '-' is not one of the accepted prefix_chars? All of '-h', '--help', '-v', and '--version' are hardcoded in the ctor. If, for instance, prefix_chars='+', should the long options be '++help', or should l

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Mike Taylor
Mike Taylor added the comment: wow - that is some old bug history ;) I'm surprised the patch is even close to being valid On Sat, Jul 31, 2010 at 21:47, Dan Buch wrote: > > Dan Buch added the comment: > > @haypo - I'm not in favor of using the attached bug_3740_1.patch but instead > adding

[issue8620] wrong truncation of last line in cmd.Cmd

2010-07-31 Thread Catherine Devlin
Catherine Devlin added the comment: same patch, stripped of trailing spaces -- Added file: http://bugs.python.org/file18297/cmd-noeol-test.fix.patch ___ Python tracker ___ __

[issue7066] archive_util.make_archive doesn't restore the cwd if an error is raised

2010-07-31 Thread R. David Murray
R. David Murray added the comment: Done in r83379. Note that only the try/except was backported; owner and group don't exist in the 2.6 make_archive signature, nor does the test file exist in 2.6. -- resolution: accepted -> fixed stage: -> committed/rejected status: pending -> close

[issue1985] Bug/Patch: Problem with xml/__init__.py when using freeze.py

2010-07-31 Thread Dan Buch
Dan Buch added the comment: can this be closed? I'd do it myself if I had the triage bit :) -- nosy: +meatballhat ___ Python tracker ___

[issue9445] Fix undefined symbol errors on VS8.0 build

2010-07-31 Thread Brian Curtin
New submission from Brian Curtin : Raymond informed me that #1578269 introduced breakage to compilation under Visual Studio 2005 due to three undefined symbols. I'm not currently setup to build under 2005, so I just offer this patch which defines the values as they are seen in VS 2008. --

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Dan Buch
Dan Buch added the comment: @haypo - I'm not in favor of using the attached bug_3740_1.patch but instead adding a test to assert that unicode file paths are now handled correctly. I can't remove @bear's original patch myself, though, so ... not sure what to do about that :) --

[issue2244] urllib and urllib2 decode userinfo multiple times

2010-07-31 Thread R. David Murray
Changes by R. David Murray : -- stage: unit test needed -> patch review type: resource usage -> behavior ___ Python tracker ___ ___ Pyt

[issue870479] Scripts need platform-dependent handling

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +kbk, timcera ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1004696] translate Windows newlines when installing scripts on POSIX

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- superseder: translate Windows newlines when installing scripts on POSIX -> Scripts need platform-dependent handling ___ Python tracker ___

[issue870479] Scripts need platform-dependent handling

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: As a first step, do you agree that newlines have to be translated? -- versions: +Python 2.5, Python 2.6, Python 3.2 ___ Python tracker ___ __

[issue1004696] translate Windows newlines when installing scripts on POSIX

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Marking as superseded. -- components: +Distutils -Distutils2 resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> translate Windows newlines when installing scripts on POSIX versions: +Python 3.2 -Python 2.7, Pytho

[issue2244] urllib and urllib2 decode userinfo multiple times

2010-07-31 Thread Theodore Turocy
Theodore Turocy added the comment: I am attaching a patch against py3k which adds some tests to demonstrate the original bug when issuing a Request() to a ftp:// URL. To do this, the tests add checks for user and passwd. The previous version of checks asserted that the .user and .passwd of t

[issue7689] Pickling of classes with a metaclass and copy_reg

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Not an expert, but the Python parts of your patch look good to me. -- nosy: +pitrou ___ Python tracker ___

[issue7331] Command line testing consistency between 2.x and 3.x

2010-07-31 Thread Nick Coghlan
Nick Coghlan added the comment: Not worth it - I only had problems with it because I was doing a fairly significant refactor of the command line testing at one point. With 2.7 out, any changes to these tests on that branch are going to be pretty minor so the incompatibilities shouldn't cause

[issue7689] Pickling of classes with a metaclass and copy_reg

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: I was mistaken: bug fixes go in stable releases too. -- versions: +Python 2.7, Python 3.1 ___ Python tracker ___ __

[issue9313] distutils error on MSVC older than 8

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: I don’t know the details of MSVC versions, but the error message seems to mean that this version is not supported, so there is nothing to fix. -- nosy: +loewis, merwok ___ Python tracker

[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-07-31 Thread Ezio Melotti
Ezio Melotti added the comment: Barry, is it OK if I backport this to 2.6 before the rc1? -- status: closed -> open versions: +Python 2.6 ___ Python tracker ___ _

[issue3937] platform.dist(): detect Linux distribution version in a robust, standard way

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: -platform.dist() has unpredictable result under Linux stage: -> committed/rejected superseder: -> platform.dist() has unpredictable result under Linux ___ Python tracker

[issue9444] argparse does not honor prefix_chars when adding default options

2010-07-31 Thread R. David Murray
Changes by R. David Murray : -- nosy: +bethard stage: -> unit test needed type: -> behavior versions: +Python 3.2 ___ Python tracker ___

[issue8620] wrong truncation of last line in cmd.Cmd

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Sorry, RDM is the actual culprit ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue8620] wrong truncation of last line in cmd.Cmd

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Test runs okay on posix (linux2). Does the fix need to work with '\r\n' too? Aside: Your patch has trailing spaces, you can spot them with good editor settings. -- ___ Python tracker

[issue5217] testExtractDir (test.test_zipfile.TestWithDirectory) fails when python built with srcdir != builddir

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: I suggest to close this as outdated/fixed/wontfix then. -- nosy: +merwok status: open -> pending ___ Python tracker ___ ___

[issue8620] wrong truncation of last line in cmd.Cmd

2010-07-31 Thread Catherine Devlin
Catherine Devlin added the comment: Patch created live during PyOhio 2010 "Teach Me Python Bugfixing" session! -- nosy: +catherine Added file: http://bugs.python.org/file18294/cmd-noeol-test.fix.patch ___ Python tracker

[issue959576] Can't build Python on POSIX w/o $HOME

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: It seems too late to make the fix Guido suggested, since there have been a number of releases with pwd as built-in module now. Closing soon if there are no comments. -- nosy: +merwok status: open -> pending ___ Python

[issue8731] BeOS for 2.7 - add to unsupported

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8747] Autoconf tests in python not portably correct

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: doko, I made you nosy because of your autotools expertise. Hope it’s okay. -- ___ Python tracker ___ __

[issue7110] Output test failures on stderr in regrtest.py

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue8747] Autoconf tests in python not portably correct

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Garrett, does the bug still exist in 3.2 (branch named py3k in subversion)? -- nosy: +doko, merwok versions: +Python 3.2 -Python 2.6 ___ Python tracker ___

[issue5510] patches for Modules/socketmodule.c for NetBSD

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Does the bug still exist in 3.2 (branch named py3k in subversion)? Do the patch still apply? (The workflow is to patch the version in development and then backport fixes to stable branches.) Adding Giampaolo to nosy since he’s listed as interested in networking

[issue7066] archive_util.make_archive doesn't restore the cwd if an error is raised

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Looks like this hasn’t been merged to 2.6 yet. -- nosy: +barry, merwok status: closed -> pending versions: -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue6753] Python 3.1.1 test_cmd_line fails on Fedora 11

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue9315] The trace module lacks unit tests

2010-07-31 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file18279/issue9315.3.patch ___ Python tracker ___ ___ Python-bugs-list

[issue9315] The trace module lacks unit tests

2010-07-31 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file18293/issue9315.3.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue9409] doctest in python2.7 can't handle non-ascii characters

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Adding the release manager to nosy so that he can confirm this bugfix can make it in the next 2.7 release before there’s more effort on that. -- nosy: +benjamin.peterson, merwok ___ Python tracker

[issue9409] doctest in python2.7 can't handle non-ascii characters

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue7331] Command line testing consistency between 2.x and 3.x

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Is this outdated now that 2.7 is out? If not, could you give some details so that someone looking for issues tagged easy can have a go at a patch? -- nosy: +merwok ___ Python tracker

[issue8911] regrtest.main should have a test skipping argument

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: 1 to 5 seem fine in my (non-core dev) eyes. 6 is okay only if it really helps (e.g. reducing maintenance cost or providing features not available in optparse), else it’s gratuitous. -- nosy: +merwok ___ Python tracker

[issue9315] The trace module lacks unit tests

2010-07-31 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW in test_trace.py there's a "ZZZ" that should probably be an "XXX" (and maybe it should be fixed too). -- nosy: +ezio.melotti stage: needs patch -> patch review ___ Python tracker

[issue2403] Add figleaf coverage metrics

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: the Python API of figleaf* -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue2403] Add figleaf coverage metrics

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: IIUC, using runpy (either from Python or in a subprocess i.e. python -m test.regrtest) would allow running from build dir. Coverage reports are nice, but I personally dislike the idea of code downloading something via HTTP and running it. I’d prefer just having

[issue7537] test_format fails with -j combined with -v

2010-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Funny, because it works here (Mandriva Linux, py3k branch). Can you still reproduce? (in any case, it doesn't make much sense to run in verbose mode with -jN, since it will interleave output from several tests) --

[issue1051] certificate in Lib/test/test_ssl.py expires in February 2013

2010-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: test_ssl.py should probably have options, when invoked directly, to produce the certificates used for testing. -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker

[issue767645] incorrect os.path.supports_unicode_filenames

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue7537] test_format fails with -j combined with -v

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: James, can you set PYTHONIOENCODING to a reasonable value in the test environment and see if it fixes the bug? (More info on http://docs.python.org/dev/using/cmdline#envvar-PYTHONIOENCODING) -- nosy: +merwok ___ Pytho

[issue2423] test_smtplib.py no longer butt slow

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +richard stage: -> commit review versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list

[issue1051] certificate in Lib/test/test_ssl.py expires in February 2013

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread STINNER Victor
STINNER Victor added the comment: I didn't read all comments, but about bug_3740_1.patch: it's not a good idea to fallback to byte strings. If you have an unicode path, you are lucky, and you have to keep all these nice and correctly formatted characters! I mean: this patch is just an ugly wo

[issue1731717] race condition in subprocess module

2010-07-31 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter, jyasskin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Thank you for giving this explanation. I’ll remember it. -- stage: needs patch -> committed/rejected ___ Python tracker ___ ___

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: I recommend against this. Our existing test suites are already passing, so there is a near zero value add (from supposedly more informative failures); however, there is a risk that a test will be changed in a subtle way, invalidating what the original aut

[issue5146] threading via uid method doesn't work in imaplib

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Some research into IMAP commands confirms that this change is correct. Done so in r83374. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9444] argparse does not honor prefix_chars when adding default options

2010-07-31 Thread Doug Hellmann
Doug Hellmann added the comment: One solution would be to use the first character of prefix_chars when building those default options. -- ___ Python tracker ___

[issue9444] argparse does not honor prefix_chars when adding default options

2010-07-31 Thread Doug Hellmann
New submission from Doug Hellmann : If an ArgumentParser is created with a prefix_chars string that does not include '-', the default options created for showing help (-h and --help) and the version (-v and --version) are invalid and generate an exception. -- components: Library (Lib)

[issue5147] MozillaCookieJar should not store leading whitespace in Magic header

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Applied in r83373. Thanks! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Tests -None ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +easy nosy: +ezio.melotti, michael.foord stage: -> needs patch ___ Python tracker ___ ___ Python

[issue9443] Use newer unittest methods throughout tests

2010-07-31 Thread Éric Araujo
New submission from Éric Araujo : unittest provides new methods like assertIn and assertLess that provide more useful error messages in case of failure. Some names like assertEquals are also deprecated. The test suite should be updated to benefit from the new goodness and stop using obsolete n

[issue5904] strftime docs do not explain locale effect on result string

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- title: strftime docs do not explain locale affect on result string -> strftime docs do not explain locale effect on result string ___ Python tracker

[issue4007] make clean fails to delete .a and .so.X.Y files

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Applied in r83372. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue1726208] SimpleHTTPServer extensions_map

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Since http.server calls mimetypes.init(), the default type map is not used but one read from the system. That one might as well lack the entries for .py etc. For the sake of backwards compatibility I don't think a change is needed here. -- nosy: +geor

[issue8292] Incorrect condition test in platform.py

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Thanks, committed patch as r83371. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue9425] Rewrite import machinery to work with unicode paths

2010-07-31 Thread STINNER Victor
STINNER Victor added the comment: After some tests on Windows, I realized that my patch is not enough to be fully unicode compliant (on Windows). Some functions are still using PyUnicode_DecodeFSDefault() or PyUnicode_EncodeFSDefault(). Until all functions are patched to use unicode strings,

[issue8198] Importing pydoc and overwriting sys.stdout, causes one char to be sent to the console when calling help()

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83370 by making input and output properties -- as Daniel noted, that is a nice and backwards compatible solution. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker

[issue7909] os.path.abspath(os.devnull) returns \\\\nul should be nul?

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Followed Amaury's suggestion in r83368. \\.\ and \\?\ as prefixes now cause normpath() to return the argument as-is. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker

[issue1019882] hotshot start / stop stats bug

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83365 with patch from #1375. -- resolution: -> fixed status: open -> closed versions: +Python 2.7 -Python 2.6 ___ Python tracker ___

[issue858809] Use directories from configure rather than hardcoded

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: FYI, disutils is being improved as a new package named distutils2. It is not a complete redesign, but we break backward compatibility when required, so there’s hope. -- versions: +Python 3.2 -Python 2.6, Python 3.1 __

[issue1019882] hotshot start / stop stats bug

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: #1375 has a patch. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1375] hotshot IndexError when loading stats

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Duplicate of #1019882. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> hotshot start / stop stats bug ___ Python tracker _

[issue4010] configure options don't trickle down to distutils

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok stage: -> patch review type: compile error -> behavior versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker

[issue8910] Write a text file explaining why Lib/test/data exists

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Added in r83362. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Dan Buch
Changes by Dan Buch : Removed file: http://bugs.python.org/file18290/doctest-support-unicode-file-paths.patch ___ Python tracker ___ ___ Pytho

[issue1174606] Reading /dev/zero causes SystemError

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Don't think this qualifies for 2.6 anymore. -- nosy: +georg.brandl status: open -> closed ___ Python tracker ___ __

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Dan Buch
Dan Buch added the comment: seems to be okay with py3k's unicode StringIO adding test to show as much (although I'm sure the test could be more elegant than what I've done.) -- Added file: http://bugs.python.org/file18291/ensuring-doctest-file-suite-works-with-unicode-paths.patch __

[issue1674555] sys.path in tests contains system directories

2010-07-31 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1015249] cgi.FieldStorage.__len__ eventually throws TypeError

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: I don't see the bug here. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker ___ ___

[issue1144533] htmllib quote parse error within a

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Now that htmllib has been removed in Python 3, I don't think this is worth working on. As Richard notes, it is much more useful to use a dedicated parser insensitive to all kinds of wrong markup anyway. -- nosy: +georg.brandl resolution: -> out of dat

[issue3788] test_cookie isn't comprehensive

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Committed new tests together with extensive cleanup of http.cookies in r83361, coverage is now at 95%. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker

  1   2   3   >