[Python-Dev] problem installing current cvs

2005-06-07 Thread Irmen de Jong
dentation', ('/opt/python25/lib/python2.5/bsddb/test/test_recno.py', 38, 46, '\tget_returns_none = d.set_get_returns_none(2)\n')) . . make: *** [libinstall] Error 1 $ And then it quits. Fixing the tab indentation errors locally makes the problem go away. Regards

Re: [Python-Dev] shadow password module (spwd) is never built due to error in setup.py

2005-04-15 Thread Irmen de Jong
Martin v. Löwis wrote: Irmen de Jong wrote: Please advise? setup.py should refer to config_h_vars, which in turn should be set earlier. Regards, Martin Ah so the setup.py script is flawed. However, the sysconfig object doesn't contain a config_h_vars... So I guess distutils must be patche

[Python-Dev] shadow password module (spwd) is never built due to error in setup.py

2005-04-14 Thread Irmen de Jong
) or distutils does something wrong by leaving out all HAVE_XXX vars from pyconfig.h. Please advise? I want my spwd module back ;-) --Irmen de Jong PS I checked that pyconfig.h correctly #defines both HAVE_GETSPNAM and HAVE_GETSPENT to 1 on my system (Mandrake linux 10.1), so the rest of the configu

Re: [Python-Dev] Unified or context diffs?

2005-04-13 Thread Irmen de Jong
Raymond Hettinger wrote: [Nick Coghlan] Are context diffs still favoured for patches? The patch submission guidelines [1] still say that, but is it actually true these days? I personally prefer unified diffs, but have been generating context diffs because of what the guidelines say. Submit whichev

Re: [Python-Dev] New bug, directly assigned, okay?

2005-04-02 Thread Irmen de Jong
Nick Coghlan wrote: > Irmen de Jong wrote: > >> I just added a new bug on SF (1175396) and because I think >> that it is related to other bugs that were assigned to >> Walter Doerwald, I assigned this new bug directly to Walter too. >> >> Is that good practice

[Python-Dev] New bug, directly assigned, okay?

2005-04-02 Thread Irmen de Jong
I just added a new bug on SF (1175396) and because I think that it is related to other bugs that were assigned to Walter Doerwald, I assigned this new bug directly to Walter too. Is that good practice or does someone else usually assign SF bugs to people? --Irmen _

Re: [Python-Dev] Re: @deprecated

2005-03-09 Thread Irmen de Jong
mwh wrote: > One difference: I imagine (hope!) the java compiler would complain if > the deprecated function is referenced, whereas the python version only > complains if it is called... The java compiler actually already produces deprecation warnings during the *compilation phase* (when used wi

Re: [Python-Dev] a bunch of Patch reviews

2005-03-03 Thread Irmen de Jong
Martin v. Löwis wrote: > Irmen de Jong wrote: > >> I've looked at one bug and a bunch of patches and >> added a comment to them: > > > Thanks! I have now processed the ones for which I found guidance. Thank you > As for the remaining ones: >

Re: [Python-Dev] Re: Prospective Peephole Transformation

2005-02-18 Thread Irmen de Jong
Skip Montanaro wrote: I suggested that since the standard library code is commonly used as an example of basic Python principles (that's probably not the right word), it should uphold that ideal tuple/list distinction. Raymond then translated for x in [1,2,3]: to for x in frozenset([1,2,3]

Re: [Python-Dev] string find(substring) vs. substring in string

2005-02-16 Thread Irmen de Jong
Mike Brown wrote: Fredrik Lundh wrote: any special reason why "in" is faster if the substring is found, but a lot slower if it's not in there? Just guessing here, but in general I would think that it would stop searching as soon as it found it, whereas until then, it keeps looking, which takes mo

[Python-Dev] A short introduction

2005-01-20 Thread Irmen de Jong
Martin v. Löwis wrote: Irmen de Jong wrote: That sounds very convenient, thanks. Ok, welcome to the project! Please let me know whether it "works". It looks that it works, I seem to be able to add a new attachment to the spwd patch- which I will do shortly. * Now that I'm part of

Re: [Python-Dev] a bunch of Patch reviews

2005-01-18 Thread Irmen de Jong
Martin, Irmen de Jong wrote: 1- I can't add new files to this tracker item. Should I open a new patch and refer to it? Depends on whether you want tracker admin access (i.e. become a SF python project member). If you do, you could attach patches to bug reports not written by you. That s

Re: [Python-Dev] a bunch of Patch reviews

2005-01-18 Thread Irmen de Jong
Irmen de Jong wrote: Hello I've looked at one bug and a bunch of patches and added a comment to them: [...] [ 579435 ] Shadow Password Support Module Would be nice to have, I recently just couldn't do the user authentication that I wanted: based on the users' unix passwords I

[Python-Dev] a bunch of Patch reviews

2005-01-16 Thread Irmen de Jong
SIZE should be used more in socketmodule [ 1062014 ] fix for 764437 AF_UNIX socket special linux socket names [ 1062060 ] fix for 1016880 urllib.urlretrieve silently truncates dwnld Some of them come from the last Python Bug Day, see http://www.python.org/moin/PythonBugDaySta

Re: [Python-Dev] Possible bug in codecs readline? It breaks lines apart.

2005-01-09 Thread Irmen de Jong
Okay. I've created a bug report 1098990: codec readline() splits lines apart Btw, I've set it to group Python 2.5, is that correct? Or should bugs that relate to the current CVS trunk have no group? Thx Irmen. ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] Possible bug in codecs readline? It breaks lines apart.

2005-01-09 Thread Irmen de Jong
Simon Percivall wrote: It looks like the readline method broke at revision 1.36 of codecs.py, when it was modified, yes. Okay. I've created a bug report 1098990: codec readline() splits lines apart --Irmen ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] Possible bug in codecs readline? It breaks lines apart.

2005-01-08 Thread Irmen de Jong
Hello using current cvs Python on Linux, I observe this weird behavior of the readline() method on file-like objects returned from the codecs module: [EMAIL PROTECTED] ypage]$ cat testfile1.txt xxx yyy offending line: ladfj askldfj klasdj fskl

[Python-Dev] Small fix for windows.tex

2005-01-03 Thread Irmen de Jong
The current cvs docs failed to build for me, because of a small misspelling in the windows.tex file. Here is a patch: Index: Doc/ext/windows.tex === RCS file: /cvsroot/python/python/dist/src/Doc/ext/windows.tex,v retrieving revision 1.

Re: [Python-Dev] Re:[Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-21 Thread Irmen de Jong
Tim Delaney wrote: Irmen de Jong wrote: Also, I'm not sure how a test-case should be constructed for this patch? Can the Python regression test download stuff as part of a test? Or is there some other way to make a testcase for this. Hmm - perhaps start a server on the local machine at the

Re: [Python-Dev] Latex problem when trying to build documentation

2004-12-21 Thread Irmen de Jong
George Yoshida wrote: Irmen de Jong wrote: > I wanted to create a doc patch belonging to my patch #1062060, > but got this error when trying to build the documentation from CVS: > [snip] > I dont really understand that latex stuff (used to, but that > was a long time ago). Wha

Re: [Python-Dev] Re:[Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-20 Thread Irmen de Jong
Raymond Hettinger wrote: * Fix for off-by-one bug in urllib.URLopener.retrieve http://www.python.org/sf/810023 (assigned to me) Is http://www.python.org/sf/1062060 perhaps of similar importance? (fix for urllib.urlretrieve silently truncating download) That seems reasonable to me. There is n

Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Pythonmarshal.c, 1.79, 1.80

2004-12-20 Thread Irmen de Jong
Raymond Hettinger wrote: Perhaps a rather quick Py2.4.1 would be in order. Ideally, it should include other important fixes: [...] * Fix for off-by-one bug in urllib.URLopener.retrieve http://www.python.org/sf/810023 (assigned to me) Is http://www.python.org/sf/1062060 perhaps of similar im

[Python-Dev] Latex problem when trying to build documentation

2004-12-20 Thread Irmen de Jong
. *** Exited with status 1. make: *** [html/lib/lib.html] Error 1 I dont really understand that latex stuff (used to, but that was a long time ago). What's the problem? I'm running this on Mandrake Linux 10.0 with Tetex 2.0.2. Regards, Irmen de Jong.