[issue3171] operator.*slice() should be deprecated in 2.6

2008-06-21 Thread Stefan Behnel
New submission from Stefan Behnel <[EMAIL PROTECTED]>: operator.delslice() and friends were removed in Python 3.0, as the underlying object methods no longer exist. In the same way that the slicing special methods were deprecated in favour of the item methods should the functions in the operator

[issue600362] relocate cgi.parse_qs() into urlparse

2008-06-21 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: Correction: the patch does apply cleanly to 2.6, without breaking tests. It just needs to be ported to 3.0 (new urllib package). ___ Python tracker <[EMAIL PROTECTED]>

[issue3170] test_pydoc has no way to regenerate pristine data

2008-06-21 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: test_pydoc relies on pristine data to verify that the tests pass. Unfortunately there is no automated way to regenerate that pristine data, making the test easily fail if something global (e.g., __loader__ attributes on all modules) is introdu

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-06-21 Thread alejandro david weil
alejandro david weil <[EMAIL PROTECTED]> added the comment: Some debugging helper code and my conclutions of one work day: debughelper.tgZ: -test_broken1/2.py one does triggers the bug, the other doesn't) -rtest.sh executes boths and compares its outputs -frameobject.c.diff

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-06-21 Thread alejandro david weil
alejandro david weil <[EMAIL PROTECTED]> added the comment: Shorter trigger code.. -- nosy: +tenuki Added file: http://bugs.python.org/file10698/test_broken3.py ___ Python tracker <[EMAIL PROTECTED]>

[issue3169] email/header.py doesn't handle Base64 headers that have been insufficiently padded.

2008-06-21 Thread Jason Williams
New submission from Jason Williams <[EMAIL PROTECTED]>: email/header.py:decode_header() Line 95: dec = email.base64mime.decode(encoded) Headers that contain Subject or From headers which are Base64 encoded and are insufficiently padded raise a HeaderParseError. The actual padding error is beg

[issue2813] No float formatting in PyString_FromFormat

2008-06-21 Thread Jean Brouwers
Changes by Jean Brouwers <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10697/stringobject_format_f.patch ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue2813] No float formatting in PyString_FromFormat

2008-06-21 Thread Jean Brouwers
Changes by Jean Brouwers <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10696/stringobject_format_f.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2813] No float formatting in PyString_FromFormat

2008-06-21 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: Attached is a patch attempting to provide support for %f with precision in PyString_FromFormat* based on file Objects/stringobject.c of Python 2.6b1. Note, only %f is support but %lf is not and silently ignored. -- keywords: +patch n

[issue600362] relocate cgi.parse_qs() into urlparse

2008-06-21 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: The patch is not applying cleanly. BTW, urlparse has been renamed to urllib.parse, but the old docs are still there (urlparse.rst). -- nosy: +hdiogenes ___ Python tracker <[EMAIL PROTECTED]> <

[issue1180470] BaseHTTPServer uses deprecated mimetools.Message

2008-06-21 Thread Humberto Diogenes
Humberto Diogenes <[EMAIL PROTECTED]> added the comment: This was solved in Python 3.0: http.server now uses email.parser (issue2848), which is not vulnerable to the DoS attack mentioned by Nick. Should we backport these changes to 2.6? As HTTPMessage's base class was changed to email.messag

[issue3168] cmath test fails on Solaris 10

2008-06-21 Thread Jean Brouwers
New submission from Jean Brouwers <[EMAIL PROTECTED]>: There is on cmath test failure with 64-bit Python 2.6b1 and 3.0b1 on Solaris 10. The failure does not occur in the 32-bit builds. All builds are compiled with Sun's C compiler using the same options (except -xtarget=native vs -xtarget=nat

[issue3167] math test fails on Solaris 10

2008-06-21 Thread Jean Brouwers
New submission from Jean Brouwers <[EMAIL PROTECTED]>: There are 2 math test failures with 32-bit Python 2.6b1 and 3.0b1 on Solaris 10 both built with Sun's C compiler. The failures do *not* occur for the 64-bit builds. The same compiler options are used for all these builds (except -xtarget

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-06-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue449227] rlcompleter add "(" to callables feature

2008-06-21 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: Here is a new patch against 2.6. -- nosy: +dieresys Added file: http://bugs.python.org/file10695/rlcompleter2.6.diff ___ Python tracker <[EMAIL PROTECTED]>

[issue1556] Failure when calling __str__ for MIMEBase(message, rfc822) objects

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: I agree with Anthony. If you have any further questions regarding how to use this library feel free to ask them in python-list. -- nosy: +facundobatista resolution: -> invalid status: open -> closed

[issue3166] Make conversions from long to float correctly rounded.

2008-06-21 Thread Mark Dickinson
New submission from Mark Dickinson <[EMAIL PROTECTED]>: If n is a Python long, then one might expect float(n) to return the closest float to n. Currently it doesn't do this. For example (with Python 2.6, on OS X 10.5.2/Intel): >>> n = 295147905179352891391L The closest float to n is equal t

[issue3165] cPickle recursion problem

2008-06-21 Thread Angel Freire
New submission from Angel Freire <[EMAIL PROTECTED]>: A single Picklerobject->nesting++ will not take into consideration the stack overhead caused by calls from save->save_{list,dict}->batch{list,dict}. -- components: Library (Lib) files: cpickle-r64448.diff keywords: patch messages: 685

[issue888830] POP3 lib timeout

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: This is a standard behaviour, and you shouldn't document it in *all* the modules. BTW, now in the POP3 lib you already have a timeout, :) -- nosy: +facundobatista resolution: -> invalid status: open -> closed _

[issue1556] Failure when calling __str__ for MIMEBase(message, rfc822) objects

2008-06-21 Thread Anthony Lenton
Anthony Lenton <[EMAIL PROTECTED]> added the comment: I don't really think the MIMEBase class is supposed to be used like this, or at all: it behaves more like a Multipart message in that it expects to carry a list of MIMEBase objects as a payload (not a string!) though it doesn't define a bounda

[issue3164] cPickle calls to save_string and save_unicode with unicode objects.

2008-06-21 Thread Angel Freire
New submission from Angel Freire <[EMAIL PROTECTED]>: If Python trunk is compiled using Py_USING_UNICODE it'll call both, save_str and save_unicode for an string object. The patch adds a break to the case statment in case it encounters a unicode or str. -- components: Library (Lib) file

[issue1159425] 2.4 crashes when try to exit app and mulitple threads active

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Does this still happen with newer Python versions? Could you provide an example code? Thanks! -- nosy: +facundobatista ___ Python tracker <[EMAIL PROTECTED]>

[issue1199808] installation problem with python 2.4.1 on Win2k system

2008-06-21 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- resolution: -> wont fix status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue1199808] installation problem with python 2.4.1 on Win2k system

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Can we close this? The OP didn't answer for almost three years... and the 2.4 to download is now 2.4.5... -- nosy: +facundobatista ___ Python tracker <[EMAIL PROTECTED]>

[issue3156] bytes type has inconsistent methods (append, insert)

2008-06-21 Thread Bruno Gola
Bruno Gola <[EMAIL PROTECTED]> added the comment: The following patch fixes the behavior, .append and .insert will accept only integer as parameters. Is this really the desired behavior? I mean, why not to accept a character for both methods? There are two tests in Lib/test/test_io.py that uses

[issue1083895] functions replaced by subprocess should point to its docs

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: The best is to leave that section where it is, because it'll remain there in the Py3 docs, but to point to this section from the other places. So, in the deprecated functions I added an alert to review specially a section of the subprocess d

[issue3001] RLock's are SLOW

2008-06-21 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Le samedi 21 juin 2008 à 16:40 +, sebastian serrano a écrit : > sebastian serrano <[EMAIL PROTECTED]> added the comment: > > Running with python -O the timing gets a little closer between Lock and > RLock. This code won't be easy to impro

[issue754016] urlparse goes wrong with IP:port without scheme

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: I agree with Anthony here, because if you let people write without the "//" at the beginning, you'll never know if they're entering a net location or a relative path. So, the better behaviour to be as explicit as possible should be: >>> url

[issue754016] urlparse goes wrong with IP:port without scheme

2008-06-21 Thread Facundo Batista
Changes by Facundo Batista <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10686/test_urlparse.diff ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue1817] module-cgi: handling GET and POST together

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Commited the final Nubis' version in r64447. Fixed, :). Thank you all! -- nosy: +facundobatista resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue754016] urlparse goes wrong with IP:port without scheme

2008-06-21 Thread Anthony Lenton
Anthony Lenton <[EMAIL PROTECTED]> added the comment: I agree with facundobatista that the patch is bad, but for a different reason: it now breaks with: >>> import urlparse >>> urlparse.urlparse ('http:') Traceback (most recent call last): File "", line 1, in File "/home/anthony/svn/python2

[issue2325] isinstance(anything, MetaclassThatDefinesInstancecheck) raises instead of returning False

2008-06-21 Thread Matias Gonzalez
Matias Gonzalez <[EMAIL PROTECTED]> added the comment: This is not a bug. Function __instancecheck__ should be a classmethod. >>> class Meta(type): ... @classmethod ... def __instancecheck__(self, other): ... return False ... >>> isinstance(3, Meta) False -- nosy: +

[issue3163] module struct support for ssize_t and size_t

2008-06-21 Thread Jean Brouwers
Changes by Jean Brouwers <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10687/struct_size_t.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3163] module struct support for ssize_t and size_t

2008-06-21 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: Please ignore the first patch. Use the rev2 patch which includes an update for test file Lib/test/test_struct.py as well. Added file: http://bugs.python.org/file10690/struct_size_t.rev2.patch ___ Python

[issue3163] module struct support for ssize_t and size_t

2008-06-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Now that Python 2.6 is in beta, new features should be deferred to 2.7. -- nosy: +loewis versions: +Python 2.7 -Python 2.6 ___ Python tracker <[EMAIL PROTECTED]>

[issue1817] module-cgi: handling GET and POST together

2008-06-21 Thread Nubis
Nubis <[EMAIL PROTECTED]> added the comment: I moved the test into the current test_cgi.py, and also added the docs and NEWS. This patch also includes all the previous changes and is the only one that needs to be merged. Now I think it def should be closed :) Added file: http://bugs.python.org

[issue3062] Turtle speed() function has no effect under Mac OS X

2008-06-21 Thread David Kwast
David Kwast <[EMAIL PROTECTED]> added the comment: I wrote a small python program to test turtle speed in OSX. I tested with trunk and py3k branch. The string input works differently with 2.5, 2.6 and 3.0. The turtle is slower in 2.5 and almost the same speed in 2.6 and 3.0. Here are my test re

[issue3163] module struct support for ssize_t and size_t

2008-06-21 Thread Jean Brouwers
New submission from Jean Brouwers <[EMAIL PROTECTED]>: Attached is a (simplistic) patch for the struct module to support C types ssize_t and size_t with format characters 'z' resp. 'Z'. The patch updates Python 2.6b1 files Modules/_struct.c and Doc/library/struct.rst. Note, format character '

[issue754016] urlparse goes wrong with IP:port without scheme

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Senthil, your patch is wrong, see: >>> import urlparse >>> urlparse.urlparse('1.2.3.4:80','http') ParseResult(scheme='http', netloc='', path='1.2.3.4:80', params='', query='', fragment='') The netloc should be "1.2.3.4:80", note the composi

[issue3158] Doctest fails to find doctests in extension modules

2008-06-21 Thread Fernando Pérez
Fernando Pérez <[EMAIL PROTECTED]> added the comment: I think there are two issues that need to be separated: 1. The doctest bug. I'm happy with any resolution for it, and I'm not claiming that my patch is the best approach. isroutine() indeed works in my case, and if that approach works well

[issue2888] pprint produces different output in 2.6 and 3.0

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Commited in 64446, thank you all! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2813] No float formatting in PyString_FromFormat

2008-06-21 Thread duane Bailey
duane Bailey <[EMAIL PROTECTED]> added the comment: Well, precision modifiers would be nice, but I don't think that they're necessarily needed. General floating point support, however, is needed. ___ Python tracker <[EMAIL PROTECTED]>

[issue2569] default_scheme in urlparse.urlparse() useless

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Thanks (pk) and Anthony! -- resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue2569] default_scheme in urlparse.urlparse() useless

2008-06-21 Thread Anthony Lenton
Changes by Anthony Lenton <[EMAIL PROTECTED]>: -- nosy: +facundobatista ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue1534607] IndexError: Add bad index to msg

2008-06-21 Thread Martín Conte Mac Donell
Martín Conte Mac Donell <[EMAIL PROTECTED]> added the comment: I don't think this is bearly needed. This error messages (IndexError: list index out of range) comes from so long ago that those kind of changes makes me feel worried. -- nosy: +Reflejo __

[issue2569] default_scheme in urlparse.urlparse() useless

2008-06-21 Thread Anthony Lenton
Anthony Lenton <[EMAIL PROTECTED]> added the comment: In http://bugs.python.org/issue754016 there's already a discussion about this. The RFC that urlparse is following (rfc 1808) requires the net_loc component to start with // even if the scheme component is missing, which is why urlparse("www","

[issue3017] Verify doc updates for the decimal module

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Reviewed and updated it, in the trunk and 3.0. Thank you! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1044479] docs for Py_UNICODE are wrong

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Thanks Thomas and Manuel! -- nosy: +facundobatista resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3155] Python should expose a pthread_cond_timedwait API for threading

2008-06-21 Thread Adam Olsen
Changes by Adam Olsen <[EMAIL PROTECTED]>: -- nosy: +Rhamphoryncus ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list maili

[issue3162] ssl.SSLSocket implements methods that are overriden by socket.socket.__init__ and methods with incorrect names.

2008-06-21 Thread Simon Cross
New submission from Simon Cross <[EMAIL PROTECTED]>: It appears that ssl.SSLSocket attempts to override some of the methods socket.socket delegates to the underlying _socket.socket methods. However, this overriding fails because socket.socket.__init__ replaces all the methods mentioned in _delega

[issue2683] subprocess.Popen.communicate takes bytes, not str

2008-06-21 Thread admin
admin <[EMAIL PROTECTED]> added the comment: What is wrong? Documentation or method? ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-l

[issue2683] subprocess.Popen.communicate takes bytes, not str

2008-06-21 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

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

2008-06-21 Thread Adrianna Pinska
Adrianna Pinska <[EMAIL PROTECTED]> added the comment: I have written a test to go with my patch. Added file: http://bugs.python.org/file10685/doubleslash_test.patch ___ Python tracker <[EMAIL PROTECTED]> ___

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

2008-06-21 Thread Rodolpho Eckhardt
Rodolpho Eckhardt <[EMAIL PROTECTED]> added the comment: Verified Werneck's patch and it also works on 2.6 and 3.0. However, the previous code used to present a "friendly" message about non-numeric ports: "socket.error: nonnumeric port" and now it raises "ValueError: invalid literal for int() wi

[issue1491] BaseHTTPServer incorrectly implements response code 100

2008-06-21 Thread Neil Muller
Neil Muller <[EMAIL PROTECTED]> added the comment: The attached patch is against recent svn (r64442), and adds samwyse's refactoring of the class. The test for server responses is made less restrictive when the request isn't HTTP/1.1. -- nosy: +Neil Muller Added file: http://bugs.python.

[issue1817] module-cgi: handling GET and POST together

2008-06-21 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Thanks for your contribution! To get this commmitted, please draw the attention of someone else on python-dev (or if you're an IRC person try #python-dev at freenote, IIRC). I'd recommend moving the tests into the existing test_cgi.py. __

[issue3001] RLock's are SLOW

2008-06-21 Thread sebastian serrano
sebastian serrano <[EMAIL PROTECTED]> added the comment: Running with python -O the timing gets a little closer between Lock and RLock. This code won't be easy to improve in performance. The heaviest call is current_thread(), used at lines: 117:me = current_thread() 137:if self.__owner i

[issue1044479] docs for Py_UNICODE are wrong

2008-06-21 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: This is the link to the current py_unicode documentation: http://docs.python.org/dev/c-api/unicode.html ___ Python tracker <[EMAIL PROTECTED]> _

[issue2813] No float formatting in PyString_FromFormat

2008-06-21 Thread Ricardo Quesada
Ricardo Quesada <[EMAIL PROTECTED]> added the comment: Do you expect to have support for float, double and long double ? Also, do you expect to have support for precision-modifiers ? -- nosy: +riq ___ Python tracker <[EMAIL PROTECTED]>

[issue1044479] docs for Py_UNICODE are wrong

2008-06-21 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: This looks fixed to me. The current documentation is much more clear. Look: http://docs.python.org/api/unicodeObjects.html -- nosy: +dieresys ___ Python tracker <[EMAIL PROTECTED]>

[issue3132] implement PEP 3118 struct changes

2008-06-21 Thread Jean Brouwers
Jean Brouwers <[EMAIL PROTECTED]> added the comment: If the struct changes are made, add also 2 formats for C types ssize_t and size_t, perhaps 'z' resp. 'Z'. In particular since on platforms sizeof(size_t) != sizeof(long). -- nosy: +MrJean1 ___ Py

[issue3161] Missing import for sys in _abcoll

2008-06-21 Thread Simon Cross
Simon Cross <[EMAIL PROTECTED]> added the comment: One could also make a case for simply removing the _hash method since it doesn't look like anything is using it? And anything that was using it would already be broken? ___ Python tracker <[EMAIL PROTECTED]> <

[issue1817] module-cgi: handling GET and POST together

2008-06-21 Thread Nubis
Nubis <[EMAIL PROTECTED]> added the comment: This was pretty much done when I got here. It broked the other cgi_test (which tests some other corner cases). Patch includes modifications to Lib/cgi.py and adds Lib/test/test_cgi_post_qs.py to test the new features. This should be closed by now, but

[issue3161] Missing import for sys in _abcoll

2008-06-21 Thread Simon Cross
New submission from Simon Cross <[EMAIL PROTECTED]>: The _hash method of the Set ABC uses sys.maxsize but doesn't import sys. The attached patch (against trunk) imports sys and adds a test to show the problem. There are also still some other _abcoll.py cleanups waiting in issue 2226. --

[issue2732] curses.textpad loses characters at the end of lines

2008-06-21 Thread Anthony Lenton
Anthony Lenton <[EMAIL PROTECTED]> added the comment: This doesn't happen to me with 2.6 compiled from HEAD, or with 2.5.2 shipped with Ubuntu Hardy. In both cases the output is: Contents of text box: '123456789\n123456789\n' -- nosy: +elachuni ___

[issue2701] csv.reader accepts string instead of file object (duck typing gone bad)

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Skip is right, this is working ok. -- nosy: +facundobatista resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3160] Building a Win32 binary installer crashes

2008-06-21 Thread Viktor Ferenczi
Viktor Ferenczi <[EMAIL PROTECTED]> added the comment: Fixed by appending the b (bytes) prefix to three string literals concatenated to cfgdata in C:\python30\lib\distutils\command\bdist_wininst.py: Line #262: # Append the pre-install script cfgdata = cfgdata + b"\0" if

[issue3160] Building a Win32 binary installer crashes

2008-06-21 Thread Viktor Ferenczi
New submission from Viktor Ferenczi <[EMAIL PROTECTED]>: Python 3.0b1, official MSI installer. Checkout source code of this project: http://code.google.com/p/anntools/ Enter into the root of your working copy and try to build a Win32 installer: C:\Python30\python.exe setup.py bdist_wininst NO

[issue3101] global function _add_one_to_C

2008-06-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Ok, so it's fixed for the trunk, but not Py3k. The trunk fix doesn't port to 3k, since the functions are called inside memoryobject.c (so making them static would break that module). -- versions: -Python 2.6 ___

[issue3062] Turtle speed() function has no effect under Mac OS X

2008-06-21 Thread Ricardo Quesada
Ricardo Quesada <[EMAIL PROTECTED]> added the comment: turtle.py was replaced by a new module in r63929 . I can't reproduce this bug with this revision, so it seems to be fixed. using: os/x 10.5.3 intel. -- nosy: +riq ___ Python tracker <[EMAIL PROTEC

[issue3043] Recursion bug in deepcopy

2008-06-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Two weeks passed, closing it manually (see http://mail.python.org/pipermail/python-dev/2008-February/076992.html). -- nosy: +facundobatista status: pending -> closed ___ Python tracker <[EMAIL PRO

[issue3085] chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error

2008-06-21 Thread Manuel Kaufmann
Manuel Kaufmann <[EMAIL PROTECTED]> added the comment: I fixed this error, I attach the patch. -- keywords: +patch nosy: +humitos Added file: http://bugs.python.org/file10681/libsubprocess.diff ___ Python tracker <[EMAIL PROTECTED]>

[issue3101] global function _add_one_to_C

2008-06-21 Thread Ricardo Quesada
Ricardo Quesada <[EMAIL PROTECTED]> added the comment: This seems to be fixed in r62348 http://svn.python.org/view?rev=62348&view=rev -- nosy: +riq ___ Python tracker <[EMAIL PROTECTED]> _

[issue3131] 2to3 can't find fixes_dir

2008-06-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue3131] 2to3 can't find fixes_dir

2008-06-21 Thread Georgij Kondratjev
Georgij Kondratjev <[EMAIL PROTECTED]> added the comment: > when invoked it tries to write to /usr/local/lib/python3.0/lib2to3 2to3 always worked like this. I always had to run it as root. Seems weird for me too. > Furthermore, as a test, I copied refactor.py to xxx.py and ran 2to3 on xxx.py I

[issue3159] glob.py improvements

2008-06-21 Thread Aristotelis Mikropoulos
New submission from Aristotelis Mikropoulos <[EMAIL PROTECTED]>: Simplified some of the code, improving performance and readability. -- components: Library (Lib) files: glob.py.patch keywords: patch messages: 68493 nosy: Indy severity: normal status: open title: glob.py improvements type

[issue3131] 2to3 can't find fixes_dir

2008-06-21 Thread Helmut Jarausch
Helmut Jarausch <[EMAIL PROTECTED]> added the comment: This patch seems to work, but when invoked it tries to write to /usr/local/lib/python3.0/lib2to3 ( I get root: Writing failed:[Errno 13] Permission denied: '/usr/local/lib/ python3.0/lib2to3/PatternGrammar3.0.0.beta.1.pickle' ) I hope this

[issue3158] Doctest fails to find doctests in extension modules

2008-06-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: For me, a 'function' is written in Python, a 'builtin' is written in C. The fact that it is defined in an extension module is irrelevant, and depends on the implementation: zlib is an extension module on Unix, but is linked inside pyth