[issue1725737] Distutils default exclude doesn't match top level .svn

2008-01-14 Thread Ralf Schmitt
Ralf Schmitt added the comment: I can easily reproduce it using python 2.5. I'll test with trunk. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1725737> _ _

[issue215555] Parser crashes for deeply nested list displays

2008-01-17 Thread Ralf Schmitt
Changes by Ralf Schmitt: -- nosy: +schmir Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue21> ___ Python-bugs-list mailing list Unsubs

[issue215555] Parser crashes for deeply nested list displays

2008-01-18 Thread Ralf Schmitt
Ralf Schmitt added the comment: Ofcouse the problem was not logging, but I wanted to "replay" those commands. This is where I got the error. Tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue215555] Parser crashes for deeply nested list displays

2008-01-18 Thread Ralf Schmitt
Ralf Schmitt added the comment: Well, I've been a victim of this one yesterday in a real world example. I'm logging the repr of arguments to XMLRPC method calls and we happen to use nested lists, which where deep enough to overflow that stack. It's now 8 years later and I ca

[issue1087741] subclassable mmap

2008-01-21 Thread Ralf Schmitt
Ralf Schmitt added the comment: I'm attaching a patch, which makes mmap.mmap the mmap class itself and also makes it subclassable. It also contains changes to the documentation. This is against revision 60148 of trunk. -- nosy: +schmir Added file: http://bugs.python.org/fil

[issue215555] Parser crashes for deeply nested list displays

2008-01-21 Thread Ralf Schmitt
Ralf Schmitt added the comment: Ok, I've upped the limit to some very high value and tried to provoke a stack overflow. eval("["*x+"]"*x) segfaults on my machine for x somewhere around 2 (linux, amd64). When setting MAXSTACK to 5000 eval("["*x+"]&

[issue1881] increase parser stack limit

2008-01-21 Thread Ralf Schmitt
New submission from Ralf Schmitt: The parser can handle nested structures only up to a certain limit. The limit is currently reached around 33 deeply nested lists, which is a bit too low. This patch increases that limit by a factor of 10. see http://bugs.python.org/issue21 for further

[issue1881] increase parser stack limit

2008-01-21 Thread Ralf Schmitt
Changes by Ralf Schmitt: -- versions: +Python 2.6 Added file: http://bugs.python.org/file9249/up-maxstack.txt __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1087741] subclassable mmap

2008-01-21 Thread Ralf Schmitt
Ralf Schmitt added the comment: Many thanks for handling it immediately. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1087741> _ ___ Python-bugs-list

[issue1881] increase parser stack limit

2008-01-22 Thread Ralf Schmitt
Ralf Schmitt added the comment: one more. this program seems to leak memory: x=1000 e="["*x+"]"*x while 1: try: eval(e) except MemoryError: pass __ Tracker <[EMAIL PROTECTED]> <htt

[issue1881] increase parser stack limit

2008-01-22 Thread Ralf Schmitt
Ralf Schmitt added the comment: yes, here it is. I've added the tests to Lib/test/test_parser. BTW, is it possible to trigger a segfault by constructing a parser.st object and calling compile on it? Added file: http://bugs.python.org/file9258/up-maxstack+test

[issue1087741] subclassable mmap

2008-01-22 Thread Ralf Schmitt
Ralf Schmitt added the comment: sorry, I somehow managed to introduce a segfault: ~/pydev/trunk/ cat t.py [EMAIL PROTECTED] ok from mmap import mmap class anon_mmap(mmap): def __new__(klass, *args, **kwargs): res = mmap

[issue1087741] subclassable mmap

2008-01-22 Thread Ralf Schmitt
Changes by Ralf Schmitt: Added file: http://bugs.python.org/file9261/subclass_mmap_patch.txt _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1087741> _ ___

[issue1087741] subclassable mmap

2008-01-22 Thread Ralf Schmitt
Ralf Schmitt added the comment: ./python Lib/test/test_mmap.py works with a debug build with this patch. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue1954] SocketServer.ForkingMixIn creates a zombie

2008-01-27 Thread Ralf Schmitt
New submission from Ralf Schmitt: collect_children is only called in process_request, so at least the last process forked is not collected. This could be handled by calling collect_children every X seconds or by handling SIGCHLD. -- messages: 61773 nosy: schmir severity: normal status

[issue1954] SocketServer.ForkingMixIn creates a zombie

2008-01-28 Thread Ralf Schmitt
Ralf Schmitt added the comment: Well, one child isn't the maximum. All children which do not finish before the last client connects, will live on as zombies (and will be collected when the next client connects). If that is acceptable, then just close this report. Using signals would be e

[issue1014230] optparse: parser.remove_option("-h") inconsistency

2008-01-30 Thread Ralf Schmitt
Ralf Schmitt added the comment: this test program work with python 2.4 and 2.5: import optparse p1=optparse.OptionParser() p2=optparse.OptionParser() p1.remove_option('-h') p2.remove_option('-h') This issue should be closed.

[issue870807] optparse int, long types support binary, octal and hex forma

2008-01-31 Thread Ralf Schmitt
Ralf Schmitt added the comment: python trunk supports this. please close. -- nosy: +schmir Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue870807> __

[issue1572320] parser stack overflow

2008-02-04 Thread Ralf Schmitt
Ralf Schmitt added the comment: this is a duplicate of http://bugs.python.org/issue21. Please close. -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-05 Thread Ralf Schmitt
New submission from Ralf Schmitt: xmlrpclib uses datetime.strftime which cannot handle dates before 1900. this patch adds a custom date formatting function, which does not have this restriction. It also contains 2 additional unit tests, which both fail with the unpatched version

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-06 Thread Ralf Schmitt
Ralf Schmitt added the comment: Well, all it basically does is changing calls to obj.strftime to a custom string formatting function (where obj is a datetime.datetime, datetime.date or datetime.time). These strftime calls are made during object marshalling. So, all the objects to be marshalled

[issue1881] increase parser stack limit

2008-02-07 Thread Ralf Schmitt
Ralf Schmitt added the comment: when I set the the stack size to 128kb on a 64bit linux with ulimit -s 128, the tests still pass (default stack size is 8192 kb). However the following fails at recursion level 180 with a segfault: def f(count): print count f(count+1) f(0) If I set the

[issue2122] mmap.flush does not check for errors on windows

2008-02-15 Thread Ralf Schmitt
New submission from Ralf Schmitt: mmap.flush returns the result of the call to FlushViewOfFile as an integer, and does not check for errors. On unix it does check for errors. The function should return None and raise an exception if an error occurs... This bug can lead to data loss... Here&#

[issue2067] file.__exit__ does not call subclass' close method

2008-02-15 Thread Ralf Schmitt
Ralf Schmitt added the comment: The patch looks good, I've tested it on trunk and also release25-maint. It applies with fuzz and one has to add a "from __future import with_statement". I think this should also be applied to release25-maint. IMHO, this is a rather severe problem, a

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-17 Thread Ralf Schmitt
Ralf Schmitt added the comment: http://bugs.python.org/issue1777412 describes the cause of this issue (i.e. strftime not being able to handle years before 1900). __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue2137] test_crasher in test_struct uses 8 GB memory on 64 bit systems

2008-02-18 Thread Ralf Schmitt
New submission from Ralf Schmitt: I think this should be disabled on 64 bit systems. It makes running regrtest.py for me basically impossible. Martin, I've put you on the nosy list, as you have committed this one in revision 60793. -- files: test_crasher_only_on_32bit.txt mes

[issue2137] test_crasher in test_struct uses 8 GB memory on 64 bit systems

2008-02-18 Thread Ralf Schmitt
Changes by Ralf Schmitt: -- components: +Tests type: -> resource usage __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2137> __ ___ Python-bugs-li

[issue2137] test_crasher in test_struct uses 8 GB memory on 64 bit systems

2008-02-18 Thread Ralf Schmitt
Ralf Schmitt added the comment: I didn't check the trunk version - I just assumed it would also be there. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2137> __ _

[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2008-02-22 Thread Ralf Schmitt
Ralf Schmitt added the comment: I've attached a new patch against current trunk, which now also contains unit tests. -- type: -> feature request versions: -Python 2.5 Added file: http://bugs.python.org/file9491/siginterrupt+tests.txt _

[issue2067] file.__exit__ does not call subclass' close method

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: Isn't this a candidate for backporting to 2.5? __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2067> __ ___ Python-bugs-

[issue2014] xmlrpclib cannot send datetime objects with dates before 1900

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: Attaching an updated version of the patch against trunk revision 61011. Added file: http://bugs.python.org/file9520/xmlrpc_date_before_1900_r61011.txt __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1633953] re.compile("(.*$){1,4}", re.MULTILINE) fails

2008-02-23 Thread Ralf Schmitt
Changes by Ralf Schmitt: -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1633953> _ ___ Python-bugs-list mailing list Unsubs

[issue1607087] popen() slow on AIX due to large FOPEN_MAX value

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: python 2.6 has os.closerange. however it is currently not used in popen2. -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: running setup.py sdist --prune results in: making hard links in ex-0.0.0... hard linking MANIFEST.in -> ex-0.0.0 hard linking setup.py -> ex-0.0.0 hard linking .hg/00changelog.i -> ex-0.0.0/.hg hard linking .hg/dirstate -> ex-0.0.0/.hg hard linking

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: .hg, .git, are also candidates _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1725737> _ ___ Python-bugs-list mailing list

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: .bzr, and _darcs (yes, underscore) also. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1725737> _ ___ Python-bugs-list

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: updated version of diff, which also excludes .hg, .git, .bzr, and _darcs. Added file: http://bugs.python.org/file9527/more-vcs-exclude.txt _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: also patch docs. Added file: http://bugs.python.org/file9528/more-vcs-exclude+docs.txt _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-02-23 Thread Ralf Schmitt
Changes by Ralf Schmitt: -- nosy: +georg.brandl _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1725737> _ ___ Python-bugs-list mailing list

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-02-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: http://bugs.python.org/issue1095784 proposes to exclude: .#* (CVS conflict files, but emacs sometimes also generates them) *~ would also be a candidate _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-02-25 Thread Ralf Schmitt
Ralf Schmitt added the comment: The original patch should by betelgeus should be applied to 2.5 branch. Georg, this is complete from my point of view and could be applied. Unless you want *~ and .#* to also be excluded? -- versions: +Python 2.5, Python 2.6

[issue919238] Recursive variable definition causes sysconfig infinite loop

2008-02-25 Thread Ralf Schmitt
Ralf Schmitt added the comment: distutils.extension has: if warnings is not None: warnings.warn(msg) else: sys.stderr.write(msg + '\n') Tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-03-06 Thread Ralf Schmitt
Ralf Schmitt added the comment: _svn might also be a candidate. it is used on windows when SVN_ASP_DOT_NET_HACK is set. (see http://svn.collab.net/repos/svn/trunk/notes/asp-dot-net-hack.txt). But, I don't care enough to provide a patch. What do you thinkm about excluding *

[issue1725737] Distutils default exclude doesn't match top level .svn

2008-03-06 Thread Ralf Schmitt
Ralf Schmitt added the comment: then close this one and also http://bugs.python.org/issue1095784 _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1725737> _ __

[issue1095784] exclude CVS conflict files in sdist command

2008-03-06 Thread Ralf Schmitt
Ralf Schmitt added the comment: related issue: http://bugs.python.org/issue1725737 -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue2240] setitimer, getitimer wrapper

2008-03-07 Thread Ralf Schmitt
Changes by Ralf Schmitt: -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2240> __ ___ Python-bugs-list mailing list Unsubs

[issue1683] Thread local storage and PyGILState_* mucked up by os.fork()

2008-03-07 Thread Ralf Schmitt
Changes by Ralf Schmitt: -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1683> __ ___ Python-bugs-list mailing list Unsubs

[issue2240] setitimer, getitimer wrapper

2008-03-08 Thread Ralf Schmitt
Ralf Schmitt added the comment: I'd like to also see this in 2.6. Should I update the patch (if it doesn't apply) and test? (I guess the signal module hasn't changed that much). __ Tracker <[EMAIL PROTECTED]> <http://b

[issue2122] mmap.flush does not check for errors on windows

2008-03-10 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: attached is a patch. I hope it is ok to change the semantics a bit. They were very strange: - on unix it raises an exception on errors. otherwise it always returns 0. - on windows it returns non-zero on success, and returns zero on

[issue2240] setitimer, getitimer wrapper

2008-03-10 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: Okay, the patch applies just fine (besides configure, which must be regenerated). Running the tests however consumes 3 gb of memory. The range functions must be changed to xrange on trunk. I've also changed the docs a bit ("

[issue2240] setitimer, getitimer wrapper

2008-03-10 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- versions: +Python 2.6 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2240> __ ___ Python-bugs

[issue1751245] Popen pipe file descriptor leak on OSError in init

2008-03-10 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir type: -> resource usage _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1751245> _ _

[issue871747] sys.exec_prefix does not work

2008-03-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: this works now: $ ./configure --prefix ~/soft/ --exec-prefix ~/soft/deb3 ... ~/release25-maint/ ~/soft/deb3/bin/python [EMAIL PROTECTED] ok Python 2.5.3a0 (release25-maint, Mar 14 2008, 18:19:57) [GCC 4.2.3 (

[issue998998] pickle bug - recursively memoizing class?

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue998998> ___ Python-bugs

[issue1261390] import dynamic library bug?

2008-03-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: maybe running ldconfig, or changing /etc/ld.so.conf would have helped. I'd say close this bug report. -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue1474680] pickling files works with protocol=2.

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir versions: +Python 2.5 _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1474680> _ _

[issue1509798] replace dist/src/Tools/scripts/which.py with tmick's which

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1509798> _ ___ Python-bugs

[issue1644987] ./configure --prefix=/ breaks, won't build C modules

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- type: -> compile error versions: +Python 2.5 _ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue1653457] Python misbehaves when installed in / (patch attached)

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1653457> _ ___ Python-bugs

[issue1737127] re.findall hangs python completely

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1737127> _ ___ Python-bugs

[issue1450807] Python build fails for gcc 4.x from Gnu

2008-03-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: This should be closed: from http://python.org/download/releases/2.4.5/: "Since the release candidate, we received various reports that the this release may fail to build on current operating systems, in particular on OS X. We h

[issue1773632] Remove references to _xmlrpclib from xmlrpclib.py

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1773632> _ ___ Python-bugs

[issue1745722] please add wsgi to SimpleXMLRPCServer

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1745722> _ ___ Python-bugs

[issue1737127] re.findall hangs python completely

2008-03-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: ctrl-c should now work with python 2.5. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1737127> _ _

[issue1702551] distutils sdist does not exclude SVN/CVS files on Windows

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1702551> _ ___ Python-bugs

[issue1540386] SocketServer.ForkingMixIn.collect_children() waits on pid 0

2008-03-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1540386> _ ___ Python-bugs

[issue2319] abc.py:ABCMeta.__instancecheck__ broken for old style classes

2008-03-17 Thread Ralf Schmitt
New submission from Ralf Schmitt <[EMAIL PROTECTED]>: The following short program raises an exception: import UserList class C: pass print isinstance(C, UserList.UserList) - exception: Traceback (most recent call last): File "t.py", line 6, in pr

[issue2319] abc.py:ABCMeta.__instancecheck__ broken for old style classes

2008-03-17 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: I used svn revision 61433. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2319> __ ___ Python-bugs

[issue2386] os.strerror missing/HAVE_STRERROR not defined

2008-03-18 Thread Ralf Schmitt
New submission from Ralf Schmitt <[EMAIL PROTECTED]>: os.strerror is missing on my 64 bit linux. HAVE_STRERROR is not defined in pyconfig.h. This has been broken in r61483. -- messages: 63908 nosy: brett.cannon, schmir severity: normal status: open title: os.strerror m

[issue2381] test_subprocess fails if your sys.executable is on a path with a space in it

2008-03-18 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: I can confirm this issue. 2 tests fail without this patch. please apply. here are the failing tests: == FAIL: test_args_string (test.test_subprocess.ProcessTe

[issue2413] os.strerror does not check for out of range argument

2008-03-19 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: my manpage (debian testing) states: POSIX.1-2001 permits strerror() to set errno if the call encounters an error, but does not specify what value should be returned as the func‐ tion result in the event of an error. On some s

[issue1054434] automatic XMLRPC boxcarring via multicall for xmlrpclib

2008-03-24 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: this issue is about the threaded one. I think it should be rejected. It does not work: ~/ python2.5 xmlrpclib_multicall.py [EMAIL PROTECTED] failed 1 Traceback (most recent call last): File "xmlrpclib_m

[issue2413] os.strerror does not check for out of range argument

2008-03-24 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: The current behaviour (without your patch) seems ok to me. I just wanted to point out that the patch in its current form could break on some platforms. __ Tracker <[EMAIL PROTECTED]> <http://

[issue2375] PYTHON3PATH environment variable to supersede PYTHONPATH for multi-Python environments

2008-03-24 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: I once even had the need for a PYTHON24PATH or PYTHON25PATH. (And I think this would be the right approach, i.e. even using the minor version number). However, now I am a happy user of virtualenv, and I do not even have to set PYTH

[issue2375] PYTHON3PATH environment variable to supersede PYTHONPATH for multi-Python environments

2008-03-24 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: c modules cannot be used when the minor version number changes. If I remember correctly c modules where the problem for me, when I ran python 2.4 and 2.5 in parallel. __ Tracker <[EMAIL PROTECTE

[issue1054434] automatic XMLRPC boxcarring via multicall for xmlrpclib

2008-03-25 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: I personally have no need for it (not even for non-automatic boxcarring). Note that you would also have to write documentation. -- type: -> feature request versions: +Python 2.6 -P

[issue2477] parser support for future import of unicode_strings

2008-03-25 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2477> __ ___ Python-bugs-list mailing

[issue2480] pickling of large recursive structures fails

2008-03-25 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2480> __ ___ Python-bugs-list mailing

[issue1714] ConfigParser.py do not allow leading (and trailing) space in values.

2008-03-25 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1714> __ ___ Python-bugs-list mailing

[issue1503] test_xmlrpc is still flakey

2008-03-26 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: The current buildbot has errors similar to this one (I assume): Exception happened during processing of request from ('127.0.0.1', 53126) Traceback (most recent call last): File "/Users/ralf/trunk/Lib/SocketSer

[issue1503] test_xmlrpc is still flakey

2008-03-26 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: I just double checked with the following program: #! /usr/bin/env python import os import fcntl import socket def isnonblocking(fd): return bool(fcntl.fcntl(fd, fcntl.F_GETFL, 0) & os.O_NONBLOCK) def main(): s=soc

[issue1503] test_xmlrpc is still flakey

2008-03-26 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: now that I see that the buildbot was running on ppc *Debian* I'm not quite sure if we're talking about the same issue. __ Tracker <[EMAIL PROTECTED]> <http://

[issue1503] test_xmlrpc is still flakey

2008-03-26 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: No, please do not disable them. I'm not quite sure what to do, but apparently these sockets returned from accept should be turned into blocking sockets. I just do not know, where this should happen. I think that this could even be

[issue1503] test_xmlrpc is still flakey

2008-03-26 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: With the following diff, test_xmlrpc.py passes without problems. Like I said, someone else should decide where to turn on blocking mode. I now think that it should be in the socket.accept (i.e. in the C code) at least for unix platforms.

[issue2510] Bazaar ignore file

2008-03-29 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: it should be no problem to add this to the bzr repository. this is where it belongs. -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2515] Segfault while operating on closed sqlite3 cursor.

2008-03-31 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: this works with python 2.6. for python 2.5.1 I get the following gdb backtrace: (gdb) bt #0 0x2b0d95118e2d in cursor_iternext (self=0x2b0d93bae870) at /root/src/Python-2.5.1/Modules/_sqlite/cursor.c:854 #1 0x2b0d93dd1

[issue1068268] subprocess is not EINTR-safe

2008-04-01 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: Of course the signal handler may raise an exception, so my last argument isn't that good. _ Tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue2510] Bazaar ignore file

2008-04-02 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: the same is true for me. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2510> __ ___ Python-bugs

[issue1092502] Memory leak in socket.py on Mac OS X

2008-04-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: I think this should be fixed somewhere in the c code. people calling sock.recv which a large recv size will also trigger this error. this fix is wrong. the fixed code reads one byte at a time. see: http://mail.python.org/pipermail/pyth

[issue1092502] Memory leak in socket.py on Mac OS X

2008-04-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: Well, I think the right thing to do is limit the maximal size to be read inside the c function (just to make it impossible to pass around large values). This is basically the same fix just at another place in the code.

[issue1092502] Memory leak in socket.py on Mac OS X

2008-04-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: that is it seems wrong that it uses 1 byte when a size is given, and recv_size when size is not given. By the way I think if you ask for 4096 bytes and the buffering is set to 2048 bytes it should still try to read the full 4096 byte

[issue2632] socket._fileobject.read(n) should ignore _rbufsize when 1

2008-04-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2632> __ ___ Python-bugs-list mailing

[issue2632] socket._fileobject.read(n) should ignore _rbufsize when 1

2008-04-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: One more time: the change is wrong. It should try to recv the maximum not the minimum of size, buffer_size. If you using a buffering of 16 bytes it will otherwise call recv 256 times when you want to read 1024 bytes. this is wrong. H

[issue2632] socket._fileobject.read(n) should ignore _rbufsize when 1

2008-04-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- versions: +Python 2.6 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2632> __ ___ Python-bugs

[issue2632] socket._fileobject.read(n) should ignore _rbufsize when 1

2008-04-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: akuchling, I added you to the nosy list. hope that's ok. __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2632] socket._fileobject.read(n) should ignore _rbufsize when 1

2008-04-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +akuchling __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2632> __ ___ Python-bugs

[issue2601] [regression] reading from a urllib2 file descriptor happens byte-at-a-time

2008-04-14 Thread Ralf Schmitt
Changes by Ralf Schmitt <[EMAIL PROTECTED]>: -- nosy: +schmir __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2601> __ ___ Python-bugs-list mailing

[issue2632] socket._fileobject.read(n) should ignore _rbufsize when 1

2008-04-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: ahh. yes, same issue. should have taken a look at the bugtracker before, would have saved me some time... __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2632] socket._fileobject.read(n) should ignore _rbufsize when 1

2008-04-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: This patch handles the case where the caller has specified the size argument. When size is unspecified, it should be handled as if size was infinite. By the formula from your patch, this should be recv_size = min(self.max_readsize, ma

[issue2601] [regression] reading from a urllib2 file descriptor happens byte-at-a-time

2008-04-14 Thread Ralf Schmitt
Ralf Schmitt <[EMAIL PROTECTED]> added the comment: quoting http://bugs.python.org/issue1389051: "Applied to 2.6 trunk in rev. 61008 and to 2.5-maint in rev. 61009." I don't know about py3k... -- versions: +Python 2.6 __ Trac

<    1   2   3   >