[issue3107] test_list uses unreasonable amounts of memory on 64-bit Linux

2008-08-16 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Ok, so it seems there is no memory leak. Changing the title accordingly. -- title: memory leak in make test (in test list), 2.5.2 not 2.5.1, Linux 64bit - test_list uses unreasonable amounts of memory on 64-bit Linux

[issue3473] In function call, keyword arguments could follow *args

2008-08-16 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Ping! -- nosy: +georg.brandl ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3473 ___ ___

[issue3563] fix_idioms.py generates bad code

2008-08-16 Thread Ali Polatel
New submission from Ali Polatel [EMAIL PROTECTED]: fix_idioms.py generates bad code for conversions in try/except blocks. Example: s=(1, 2, 3) try: t = list(s) t.sort() except TypeError: pass fix_idioms.py generates this diff: --- test.py (original) +++ test.py (refactored) @@ -7,8

[issue3564] making partial functions comparable

2008-08-16 Thread Erick Tryzelaar
New submission from Erick Tryzelaar [EMAIL PROTECTED]: functools.partial functions are not comparable, in both python 2.5 and 3.0: def foo(): pass functools.partial(foo) == functools.partial(foo) False It can be worked around by comparing the func, args, and keywords, but this means that

[issue3565] array documentation, method names not 3.0 compliant

2008-08-16 Thread Matt Giuca
New submission from Matt Giuca [EMAIL PROTECTED]: A few weeks ago I fixed the struct module's documentation which wasn't 3.0 compliant (basically renaming strings to bytes and unicode to string). Now I've had a look at the array module, and it's got similar problems.

=?utf-8?q?[issue3565]_array_documentation, =09method_names_not_3.0_compliant?=

2008-08-16 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: 2. Rename tostring and fromstring methods to tobytes and frombytes. I think this is quite important as the value being returned can no longer be described as a string. I'm not a native speaker (of English), but my understanding is that the

=?utf-8?q?[issue3565]_array_documentation, =09method_names_not_3.0_compliant?=

2008-08-16 Thread Matt Giuca
Matt Giuca [EMAIL PROTECTED] added the comment: I'm not a native speaker (of English), but my understanding is that the noun string, in itself, can very well be used to describe this type: the result is a byte string, as opposed to a character string. Merriam-Webster's seems to agree;

[issue3565] array documentation, method names not 3.0 compliant

2008-08-16 Thread Matt Giuca
Matt Giuca [EMAIL PROTECTED] added the comment: (Fixed issue title) -- title: array documentation, method names not 3.0 compliant - array documentation, method names not 3.0 compliant ___ Python tracker [EMAIL PROTECTED]

[issue3565] array documentation, method names not 3.0 compliant

2008-08-16 Thread Matt Giuca
Matt Giuca [EMAIL PROTECTED] added the comment: I renamed tostring/fromstring to tobytes/frombytes in the array module, as described above. I then grepped the entire py3k tree for tostring and fromstring, and carefully replaced all references which pertain to array objects. The relatively minor

[issue3565] array documentation, method names not 3.0 compliant

2008-08-16 Thread Matt Giuca
Changes by Matt Giuca [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file11122/doc+bytesmethods.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3565 ___

[issue3565] array documentation, method names not 3.0 compliant

2008-08-16 Thread Matt Giuca
Matt Giuca [EMAIL PROTECTED] added the comment: Oops .. forgot to update the array.rst docs with the new method names. Replaced doc+bytesmethods.patch with a fixed version. Added file: http://bugs.python.org/file11123/doc+bytesmethods.patch ___ Python

[issue2676] email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Hi Jack, Antoine, I looked at your patch and I'm not sure why you applied it instead of applying mine (or saying +1 on me applying my patch). Yours uses str.partition which I pointed out is sub-optimal (same big-Oh but with a larger

[issue3564] making partial functions comparable

2008-08-16 Thread Matt Giuca
Matt Giuca [EMAIL PROTECTED] added the comment: It's highly debatable whether these should compare true. (Note: saying they aren't comparable is a misnomer -- they are comparable, they just don't compare equal). From a mathematical standpoint, they *are* equal, but it's impossible (undecidable)

[issue3530] ast.NodeTransformer bug

2008-08-16 Thread Armin Ronacher
Armin Ronacher [EMAIL PROTECTED] added the comment: This is actually not a bug. copy_location does not work recursively. For this example it's more useful to use the fix_missing_locations function which traverses the tree and copies the locations from the parent node to the child nodes:

[issue2310] Reorganize the 3.0 Misc/NEWS file

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I'm a little confused on what needs to happen here. It's incomplete because it gets skipped in merges, but 2.6 ports don't need to be in 3.0. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL

[issue3542] Building an MSI installer crashes

2008-08-16 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Thanks for the report. This is now fixed in r65709. The right approach is to use the MS wide string API whereever possible, e.g. invoke MsiSummarySetPropertyInfoW (instead of MsiSummarySetPropertyInfo, as that defaults to

[issue3542] Building an MSI installer crashes

2008-08-16 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3542 ___ ___

[issue3055] test_list on 64-bit platforms

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Apparently this has been fixed as part of r65335 (Security patches from Apple: prevent int overflow when allocating memory), although it uses sys.maxint where sys.maxsize may be more appropriate. Can you check? -- nosy: +pitrou

[issue3107] test_list uses unreasonable amounts of memory on 64-bit Linux

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Apparently this has been fixed as part of r65335 (Security patches from Apple: prevent int overflow when allocating memory), although it uses sys.maxint where sys.maxsize may be more appropriate. Can you check? -- nosy: +pitrou

[issue600362] relocate cgi.parse_qs() into urlparse

2008-08-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: This is ok, maybe with some small changes in the docs. I asked in python-dev if this should go now or wait until 2.7/3.1 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue600362

[issue2776] urllib2.urlopen() gets confused with path with // in it

2008-08-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Commited in revs 65710 and 65711. Thank you all!! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2776 ___

[issue2776] urllib2.urlopen() gets confused with path with // in it

2008-08-16 Thread Facundo Batista
Changes by Facundo Batista [EMAIL PROTECTED]: -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2776 ___ ___

[issue3556] test_raiseMemError consumes an insane amount of memory

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I wonder if it might be most effective to make a _testcapi interface to PyErr_NoMemory. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3556

[issue3563] fix_idioms.py generates bad code

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: It's due to these lines in fix_idioms: if next_stmt: next_stmt[0].set_prefix(sort_stmt.get_prefix()) I'm not sure what the correct way to deal with this is. Anyway I'm attaching a test case. -- keywords: +patch nosy:

[issue3556] test_raiseMemError consumes an insane amount of memory

2008-08-16 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I wonder if it might be most effective to make a _testcapi interface to PyErr_NoMemory. How would that work in this case? (I actually don't know what the test purpose of this test is.) ___ Python tracker

[issue3556] test_raiseMemError consumes an insane amount of memory

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: You're right; this test would be pointless with that. However, I'm looking at test_exceptions' test_MemoryError that is failing for me because it gives a OverflowError instead of a MemoryError. ___ Python

[issue3131] 2to3 can't find fixes_dir

2008-08-16 Thread STINNER Victor
Changes by STINNER Victor [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3131 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3131] 2to3 can't find fixes_dir

2008-08-16 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: I reported the same bug with another patch: #3553. I used __import__ and module.__file__ attribute (and not realpath). -- nosy: +haypo ___ Python tracker [EMAIL PROTECTED]

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2008-08-16 Thread C. Scott Ananian
New submission from C. Scott Ananian [EMAIL PROTECTED]: Although HTTP/1.1 says that servers SHOULD send a Connection: close header if they intend to close a persistent connection (sec 8.1.2.1), clients (like httplib) MUST be able to recover from asynchronous close events. Client software SHOULD

[issue2310] Reorganize the 3.0 Misc/NEWS file

2008-08-16 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: I worry that many things were not recoded in Misc/NEWS at all, especially in the early days of 3.0 development (e.g. in the p3yk branch :-). I'm not sure if it's possible to fix this retroactively, however. As long as we keep the changes

[issue2235] __eq__ / __hash__ check doesn't take inheritance into account

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Let's lower the priority a little then. -- nosy: +benjamin.peterson priority: release blocker - critical ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2235

[issue3424] imghdr test order makes it slow

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Done in r65713. -- resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3424 ___

[issue3530] ast.NodeTransformer bug

2008-08-16 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- resolution: - invalid status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3530 ___

[issue3564] making partial functions comparable

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: I would add that making the comparison right for partial would be trickier than it seems: from functools import partial type == type True 1 == 1.0 True partial(type, 1)() == partial(type, 1.0)() False If partial(type, 1) and partial(type,

[issue3556] test_raiseMemError consumes an insane amount of memory

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Can you test with that patch? -- components: +Tests keywords: +patch nosy: +pitrou type: - resource usage Added file: http://bugs.python.org/file11125/memerror.patch ___ Python tracker [EMAIL

[issue2756] urllib2 add_header fails with existing unredirected_header

2008-08-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: What I think is that the AbstractHTTPHandler is grabbing the headers, in the do_open() method, in an incorrect way. Check the get_header() method from Request: def get_header(self, header_name, default=None): return self.headers.get(

[issue3556] test_raiseMemError consumes an insane amount of memory

2008-08-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Antoine, it works great, both in 2.6 and in 3.0 (with the obvious small modification). -- nosy: +facundobatista ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3556

[issue3567] test_ossaudiodev fails when run with -bb

2008-08-16 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: I suppose the sunau module hasn't received a lot ot love lately :-) test test_ossaudiodev failed -- Traceback (most recent call last): File /home/antoine/py3k/__svn__/Lib/test/test_ossaudiodev.py, line 146, in test_playback sound_info

[issue3568] list enumeration corrupt when remove()

2008-08-16 Thread Jacek
New submission from Jacek [EMAIL PROTECTED]: Hi I wrote my first program in python, and I found bug in it. I explain it in example (I do it under Windows XP): 1. At the begining create some directories: mkdir .\test\ mkdir .\test\.svn mkdir .\test\cvs mkdir .\test\pdk 2. Next create file

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-08-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Senthil: Look at that URL that the server returned in the second redirect: http://www.wikispaces.com?responseToken=ee3fca88a9b0dc865152d8a9e5b6138d See that the ? appears without a path between the host and it. Check the item 3.2.2 in the

[issue3568] list enumeration corrupt when remove()

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: It's a known fact that mutating a list during iteration will cause problems. You should mutate a copy of the list. -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___

[issue3556] test_raiseMemError consumes an insane amount of memory

2008-08-16 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: With sys.maxint gone in 3.0, test_raisexxx() is also gone in 3.0b2 -- nosy: +tjreedy ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3556 ___

[issue3556] test_raiseMemError consumes an insane amount of memory

2008-08-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Terry, I don't get to understand your comment. Could you please explain in more detail? Thank you! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3556

[issue3569] Glitch in eval() doc

2008-08-16 Thread Terry J. Reedy
New submission from Terry J. Reedy [EMAIL PROTECTED]: LibRef/built-in functions/eval() has this section This function can also be used to execute arbitrary code objects (such as those created by compile()). In this case pass a code object instead of a string. The code object must have been

[issue3568] list enumeration corrupt when remove()

2008-08-16 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: Since you are just beginning Python, I suggest you report questionable program behavior on newsgroups comp.lang.python, gmane.comp.python.general at news.gmane.org, or the python.org mailing list python-list (all three are equivalent).

[issue3556] test_raiseMemError consumes an insane amount of memory

2008-08-16 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Can you test with that patch? I personally can't test it for the next three weeks, sorry. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3556 ___

[issue3567] test_ossaudiodev fails when run with -bb

2008-08-16 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: Systems that don't run this test (Windows, ??) cannot catch such problems. Does adding 'b' fix sunau and the test? -- nosy: +tjreedy ___ Python tracker [EMAIL PROTECTED]

[issue896052] symtable module not documented

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: I wrote up some documentation for it in r65715. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue896052

[issue3570] str.find docstring typo

2008-08-16 Thread Andy Harrington
New submission from Andy Harrington [EMAIL PROTECTED]: When you enter help(.find) you get ... such that sub is contained within s[start,end] ... s[start, end] makes no sense. It should be s[start:end]. -- assignee: georg.brandl components: Documentation messages: 71240 nosy:

[issue3571] test_closerange in test_os can crash the test suite

2008-08-16 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: I've been trying to track down the following failure which very recently has started to plague the py3k buildbots: [...] test_os Traceback (most recent call last): File ./Lib/test/regrtest.py, line 1197, in module main() File

[issue3571] test_closerange in test_os can crash the test suite

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Here is a temptative patch. It should fix the problems with test_closerange. -- keywords: +patch Added file: http://bugs.python.org/file11128/test_closerange.patch ___ Python tracker [EMAIL

[issue1342811] Tkinter.Menu.delete doesn't delete command of entry

2008-08-16 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Uhm, this patch can cause trouble if not adapted a bit. The index method may return None for either index1 or index2, which will cause a TypeError in that for loop. If code is needed to confirm this, try the following: menu =

[issue3572] with closed file descriptor #2 (stderr), py3k hangs when trying to print an exception

2008-08-16 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: Reproducing this bug is simple: ./python -c import os; os.close(2); 1/0 -- components: Interpreter Core messages: 71244 nosy: pitrou priority: high severity: normal status: open title: with closed file descriptor #2 (stderr), py3k

[issue3549] Missing IDLE Preferences on Mac

2008-08-16 Thread cfr
cfr [EMAIL PROTECTED] added the comment: Also with Python 2.5.2 on OS X 10.4.11 (PPC but it is the universal installer): there is no Preferences... menu. The help mentions an Options menu. I don't know if that is the equivalent, but I cannot find that either. -- nosy: +cfr

[issue1397] mysteriously failing test_bsddb3 threading test in other threads

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: This still happens regularly on buildbots. Just today: http://www.python.org/dev/buildbot/3.0.stable/amd64%20gentoo%203.0/builds/925/step-test/0 The bsddb tests must be fixed so that exception raised in other threads (especially when produced

[issue3572] with closed file descriptor #2 (stderr), py3k hangs when trying to print an exception

2008-08-16 Thread Guido van Rossum
Changes by Guido van Rossum [EMAIL PROTECTED]: -- nosy: +gvanrossum ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3572 ___ ___ Python-bugs-list mailing

[issue3572] with closed file descriptor #2 (stderr), py3k hangs when trying to print an exception

2008-08-16 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Curious. I wonder if this is platform specific because this does not hang for me on MacOS. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3572

[issue3571] test_closerange in test_os can crash the test suite

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: I've finally diagnosed the problem. test_buffer_is_readonly was opening stdin's file descriptor again in raw mode, and closing it implicitly by using with. It should be fixed in r65731. There's a justice: the test had been checked in by me.

[issue3573] IDLE hangs when passing invalid command line args (directory(ies) instead of file(s))

2008-08-16 Thread Guilherme Polo
New submission from Guilherme Polo [EMAIL PROTECTED]: Passing a single directory as a command line argument can make IDLE hang. To achieve this the user needs to configure IDLE to open an editor window by default. The attached patch discards filenames that failed to load, so in the end it may

[issue3572] with closed file descriptor #2 (stderr), py3k hangs when trying to print an exception

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Hmm, sorry, false alarm. This was due to some debugging code I had added in my working copy. -- resolution: - invalid status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue3574] compile() cannot decode Latin-1 source encodings

2008-08-16 Thread Brett Cannon
New submission from Brett Cannon [EMAIL PROTECTED]: The following leads to a SyntaxError in 3.0: compile(b'# coding: latin-1\nu = \xC7\n', 'dummy', 'exec') That is not the case in Python 2.6. -- messages: 71251 nosy: brett.cannon severity: normal status: open title: compile() cannot

[issue3574] compile() cannot decode Latin-1 source encodings

2008-08-16 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: Looks like Parser/tokenizer.c:check_coding_spec() considered Latin-1 a raw encoding just like UTF-8. Patch is in the works. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574

[issue3567] test_ossaudiodev fails when run with -bb

2008-08-16 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Fixed in r65734. I can't guarantee that the whole sunau module is ok, just that it works enough for the test to pass (and emit the expected sound...). -- resolution: - fixed status: open - closed

[issue2693] IDLE doesn't work with Tk 8.5

2008-08-16 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Hi there, The revisions you are after are r59653 and r59654. I really don't see a reason to not patch release25-maint with those ones. -- nosy: +gpolo ___ Python tracker [EMAIL PROTECTED]

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-08-16 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: looks good to me. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2464 ___ ___ Python-bugs-list mailing list

[issue1397] mysteriously failing test_bsddb3 threading test in other threads

2008-08-16 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: agreed, that should be made to cause the test to fail. a failureException method that sets a flag that the main thread will detect and fail on when exiting should do the trick. side note: ...sadly that failure appears to be a test issue,

[issue3574] compile() cannot decode Latin-1 source encodings

2008-08-16 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: Here is a potential fix. It broke test_imp because it assumed that Latin-1 source files would be encoded at Latin-1 instead of UTF-8 when returned by imp.new_module(). Doesn't seem like a critical change as the file is still properly decoded.

[issue3574] compile() cannot decode Latin-1 source encodings

2008-08-16 Thread Brett Cannon
Brett Cannon [EMAIL PROTECTED] added the comment: Attached is a test for test_pep3120 (since that is what most likely introduced the breakage). It's a separate patch since the source file is marked as binary and thus can't be diffed by ``svn diff``. -- components: +Interpreter Core

[issue3574] compile() cannot decode Latin-1 source encodings

2008-08-16 Thread Brett Cannon
Changes by Brett Cannon [EMAIL PROTECTED]: -- type: - behavior ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3574 ___ ___ Python-bugs-list mailing

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-08-16 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: Ah, I that was a simple fix. :) I very much overlooked the problem after being so much given the hints at the web-sig. I have some comments on the patch, Facundo. 1) I don't think is a good idea to include that portion in the http_error_302 method.

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-08-16 Thread Senthil
Changes by Senthil [EMAIL PROTECTED]: Added file: http://bugs.python.org/file11133/issue2464-PATCH1.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2464 ___

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-08-16 Thread Senthil
Senthil [EMAIL PROTECTED] added the comment: Patch for py3k, but please test this before applying. Added file: http://bugs.python.org/file11134/issue2463-py3k.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2464

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-08-16 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Senthil: I don't like that. Creating a public method called fix_broken, introducing new behaviours now in beta, and actually not fixing the url in any broken possibility (just the path if it's not there), it's way too much for this fix. I