[issue5778] sys.version format differs between MSC and GCC

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: This change would bring the code in agreement with the docs: 'version (#build_number, build_date, build_time) [compiler]'. FWIW, it would also save one line, which can be useful in small terminals/consoles. Tentatively adding the easy keyword since fixing Python

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

2010-07-31 Thread R. David Murray
Changes by R. David Murray : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/o

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

2010-07-31 Thread R. David Murray
R. David Murray added the comment: Here is a unit test that demonstrates the problem (against py3k trunk). I'm not convinced that fixing this would be backward incompatible. -- ___ Python tracker

[issue5778] sys.version format differs between MSC and GCC

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Hmm, in Python/getcompiler.c there is an explicit \n before [GCC ...], and this is why: r17259 | gvanrossum | 2000-09-05 06:40:39 +0200 (Di, 05. Sep 2000) The GCC version is loong;

[issue2830] Copy cgi.escape() to html

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: In light of #9061, it should also start quoting single quotes when the arg is true. Since this function is called a LOT, it might also make sense to trivially implement it in C. If there are no objections, I can do that for 3.2. -- nosy: +georg.brandl

[issue5778] sys.version format differs between MSC and GCC

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Maybe it has changed in ten years: [GCC 4.4.4] on linux2 Or maybe it’s long when run from an unreleased version built from the sources. -- ___ Python tracker

[issue1700304] pydoc.help samples sys.stdout and sys.stdin at import time

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Duplicate of #8198. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Importing pydoc and overwriting sys.stdout, causes one char to be sent to the console when calling help() ___

[issue9442] Update sys.version doc

2010-07-31 Thread Éric Araujo
New submission from Éric Araujo : Attaching a patch to edit mention of “build number” in library/sys. I also don’t understand “The first three characters are used to identify the version in the installation directories (where appropriate on each platform)”, maybe someone who does could enlight

[issue6829] Frendly error message when inheriting from function

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: In Python 3, due to the new class creation the somewhat confusing message augmentation has been removed altogether, and for me there seems to be no way to add a better message about base class types somewhere without making too many assumptions. -- sta

[issue5778] sys.version format differs between MSC and GCC

2010-07-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: On OS X, it's still something like 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) [GCC 4.0.1 (Apple Inc. build 5493)] on Redhat, it once was 2.3.4 (#1, Oct 26 2004, 16:42:40) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] Apple once had 2.3 (#1, Sep 13 2003, 00:4

[issue9061] cgi.escape Can Lead To XSS Vulnerabilities

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9442] Update sys.version doc

2010-07-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: I recommend to drop any specific guarantee of what the string looks like. Saying "svn info" is also going to be outdated soon, when the code becomes maintained in Mercurial. Instead, the documentation should point to sys.version_info and the platform module

[issue5778] sys.version format differs between MSC and GCC

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Agreed. I've also added a sentence in the docs (r83357) that a newline may be present. -- resolution: -> wont fix status: open -> closed ___ Python tracker ___

[issue9442] Update sys.version doc

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Yes, this is even better than my fix for #5778. Changed in r83358 to: A string containing the version number of the Python interpreter plus additional information on the build number and compiler used. This string is displayed when the interactive int

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: For 3.x, the builtin io.StringIO and io.BytesIO already have context manager capability. Added fileinput in r83359. -- resolution: -> accepted status: open -> closed ___ Python tracker

[issue5778] sys.version format differs between MSC and GCC

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Fair enough, I’d hate to cause the line to wrap over 80 characters for other people, so I’d live with the extra line on my system Pythons and with a personal patch for the versions I compile myself :) Thank you both for the thoughts and the fix. -- ___

[issue9442] Update sys.version doc

2010-07-31 Thread Éric Araujo
Éric Araujo added the comment: Is “The first three characters are used to identify the version in the installation directories (where appropriate on each platform)” clear for anyone but me? -- ___ Python tracker

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

2010-07-31 Thread Dan Buch
Dan Buch added the comment: just updating the patch -- nosy: +meatballhat versions: +Python 3.2, Python 3.3 -Python 2.5, Python 2.6 Added file: http://bugs.python.org/file18290/doctest-support-unicode-file-paths.patch ___ Python tracker

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

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

[issue1109602] Need some setup.py sanity

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

[issue9442] Update sys.version doc

2010-07-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ask yourself: what are the first three characters? If that's not clear, type sys.version[:3]. Is it still unclear what this is talking about? -- ___ Python tracker __

[issue9442] Update sys.version doc

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: I think it meant that '3.2' is the string used for determining the /usr/lib/python3.2 directory name. -- ___ Python tracker ___ _

[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

[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

[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 ___ ___

[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.

[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 __

[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
Changes by Dan Buch : Removed file: http://bugs.python.org/file18290/doctest-support-unicode-file-paths.patch ___ Python tracker ___ ___ Pytho

[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 ___ __

[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

[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 _

[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

[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: Fixed in r83365 with patch from #1375. -- resolution: -> fixed status: open -> closed versions: +Python 2.7 -Python 2.6 ___ 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

[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

[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,

[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 ___ _

[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

[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 ___ _

[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

[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

[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
Changes by Éric Araujo : -- components: +Tests -None ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[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 ___

[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)

[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 ___

[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 ___

[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

[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 ___ ___

[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

[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

[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

[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

[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

[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

[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

[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) --

[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

[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

[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

[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

[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

[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/

[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

[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

[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

[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/

[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

[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

[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 ___

[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: doko, I made you nosy because of your autotools expertise. Hope it’s okay. -- ___ Python tracker ___ __

[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

[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

[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

[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 É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

[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

[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 ___

[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

[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 ___ _

[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

[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

[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 ___ __

[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: Not an expert, but the Python parts of your patch look good to me. -- nosy: +pitrou ___ Python tracker ___

[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

[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

[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
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
Changes by Éric Araujo : -- nosy: +kbk, timcera ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[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

[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 :) --

[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. --

[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 ___

[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

[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 ___ __

[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

<    1   2   3   >