Re: [Python-Dev] Documenting the ssize_t Python C API changes

2006-03-21 Thread Martin v. Löwis
er watches for consistency of the first two; consistency of the others is a manual process, and thus error-prone. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.

Re: [Python-Dev] Documenting the ssize_t Python C API changes

2006-03-21 Thread Martin v. Löwis
Jeremy Hylton wrote: > It sounds more like the PEP should list these three categories and > tell developers that they need to inspect their code for instances of > them and fix them in the appropriate way. Perhaps with an example of > each. +1; I will do that. Reg

Re: [Python-Dev] Documenting the ssize_t Python C API changes

2006-03-21 Thread Martin v. Löwis
These replace intargfunc intintargfunc intobjargproc intintobjargproc inquiry (partial) getreadbufferproc getwritebufferproc getsegcountproc getcharbufferproc Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

Re: [Python-Dev] r43214 - peps/trunk/pep-3000.txt

2006-03-22 Thread Martin v. Löwis
e 2001/2002 period. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Building Python for AMD64 (Windows)

2006-03-22 Thread Martin v. Löwis
ions/Projects/VC++ Directories/Executable Files should start with c:\program files\vsextcompiler. Please let me know whether that works. Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Building Python for AMD64 (Windows)

2006-03-22 Thread Martin v. Löwis
ermine installation directory of Microsoft SDK. > > Guess I'll install the 2003 SP1 SDK on the first machine and try it there. No. I thought I had released that version of vsextcomp... MS changed the registry keys to locate the SDK, and vsextc

Re: [Python-Dev] [Fwd: buildbot warnings in amd64 gentoo trunk]

2006-03-22 Thread Martin v. Löwis
M.-A. Lemburg wrote: > Would it be possible to redirect these buildbot messages to the > python-checkins or a separate python-buildbot list ? Sure. They are sent to python-dev, because I think Tim Peters wanted them here. Regards, Martin ___ Pyth

Re: [Python-Dev] Building Python for AMD64 (Windows)

2006-03-22 Thread Martin v. Löwis
sors with EM64T. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Fwd: buildbot warnings in amd64 gentoo trunk]

2006-03-22 Thread Martin v. Löwis
new mailing list is an effort I'd like to avoid. You still can opt-out, by filtering messages that originate from [EMAIL PROTECTED] Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] r43214 - peps/trunk/pep-3000.txt

2006-03-23 Thread Martin v. Löwis
em might not be suitable for inclusion, anyway (but some are, of course). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] test_quopri, test_wait3, and test_popen2

2006-03-23 Thread Martin v. Löwis
I have been looking into the (seemingly random) test_popen2 failures today, and found that it fails when the tests are run in the order given in the subject. Here is what happens: - test_quopri uses os.popen2, which in turn creates a popen2.Popen3 object. It processes stdin/stdout, but never ca

Re: [Python-Dev] [Fwd: buildbot warnings in amd64 gentoo trunk]

2006-03-23 Thread Martin v. Löwis
k, I changed the address to python-checkins. It might take some delay initially, because messages will have to be approved by a list moderator. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinf

Re: [Python-Dev] test_quopri, test_wait3, and test_popen2

2006-03-23 Thread Martin v. Löwis
s with pids that the application still might want to wait on; _cleanup should also clean out objects that already have been waited on. So my proposal is that Popen3 objects should be added to _active only in __del__. Regards, Martin ___ Python-Dev mailing list P

Re: [Python-Dev] Pickling problems are hard to debug

2006-03-26 Thread Martin v. Löwis
tleast this specific case gets improved. While doing so, try to cover similar cases in the process, e.g. different pickle protocols, and different pickle implementations. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyth

Re: [Python-Dev] PySet_Next (Was: PySet API)

2006-03-26 Thread Martin v. Löwis
t see elements twice or not at all - you cannot cause a crash with that. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/pytho

Re: [Python-Dev] PySet_Next (Was: PySet API)

2006-03-26 Thread Martin v. Löwis
way, although I would prefer to see an actual, current use case for PySet_Next, rather than theoretical, made-up examples. I don't expect to use Python sets in C code at all, personally. Regards, Martin ___ Python-Dev mailing list Python-Dev@python

Re: [Python-Dev] daily releases?

2006-03-26 Thread Martin v. Löwis
builds already), fetching the results from the buildbot slave isn't really supported. Whether daily RPMs or Mac installers would be possible, I don't know. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.p

Re: [Python-Dev] PySet API

2006-03-27 Thread Martin v. Löwis
ould be included only if it is meant to be public. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] refleaks in 2.4

2006-03-27 Thread Martin v. Löwis
the module scope so it is only executed once. Otherwise the same search function is repeated added to the codec search path when regrtest is run with -R and leaks are reported. :-) Applying it gets the number of leaked references down to 1. Regards, Mar

Re: [Python-Dev] refleaks in 2.4

2006-03-27 Thread Martin v. Löwis
Fix a few more ref leaks. Backport candidate Only codecs.c backported, so this is what I did. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mail

Re: [Python-Dev] I'm not getting email from SF when assigned a bug/patch

2006-03-27 Thread Martin v. Löwis
Guido van Rossum wrote: > When you assign a bug/patch to me, somehow SourceForge doesn't send me > an email. (Is this understood behavior? Can it be changed?) I believe it broke at some point, I'm pretty certain it used to work.

Re: [Python-Dev] I'm not getting email from SF when assigned a bug/patch

2006-03-27 Thread Martin v. Löwis
[EMAIL PROTECTED] wrote: > Martin> I believe it broke at some point, I'm pretty certain it used to > Martin> work. > > I would expect that if it broke for Guido it broke for everybody. While we > consider him to be the BDFL I suspect the accolades are lost on t

Re: [Python-Dev] PySet API

2006-03-27 Thread Martin v. Löwis
quot; method, the other invoking tp_clear). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Martin v. Löwis
the authors should be willing to keep the version in Python synchronized with the separate release. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] I'm not getting email from SF when assigned abug/patch

2006-03-28 Thread Martin v. Löwis
d b) an importer of whatever data SF can provide. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] pysqlite for 2.5?

2006-03-29 Thread Martin v. Löwis
ling to help, that could work (e.g. conversion of the documentation could be done by a different contributor). However, the release schedule for 2.5 should not change because of that. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.o

Re: [Python-Dev] pysqlite for 2.5?

2006-03-29 Thread Martin v. Löwis
inux and win32 development machines with MS > VS2003, but I don't have enough experience with the Python build process > to not make stupid mistakes here. I could create the VC project file if desired. Regards, Martin ___ Python-Dev ma

Re: [Python-Dev] PySet API

2006-03-29 Thread Martin v. Löwis
a need, and that this need arises from a significant code simplification that can be achieved through the API, the natural conclusion is to add the API. That, of course, assumes that you believe Barry's testimony. Regards, Martin ___ Python

Re: [Python-Dev] pysqlite for 2.5?

2006-03-29 Thread Martin v. Löwis
Gerhard Häring wrote: > In particular, I would then synchronize changes that have proven stable > in the standalone release to the Python core sqlite module. I think this > is how Barry does it with the email module, too. Sounds all fine to me. Regard

Re: [Python-Dev] pysqlite for 2.5?

2006-03-29 Thread Martin v. Löwis
e release process, adding more libraries to the already-large list of new libraries for 2.5. Choice of naming things is ad-hoc, but gets cast in stone by the release; likewise, choice of specific SQL library might inhibit addition of different libraries later. I'm sure people will add

Re: [Python-Dev] PySet API

2006-03-29 Thread Martin v. Löwis
Raymond Hettinger wrote: > Yes, _PySet_Next() is a good compromise for you and me -- it saves you from > writing a hack and saves my API from including a bug factory. The only issue > is > that Martin thinks it to be a crummy idea. If it makes everyone happy, I shouldn't

Re: [Python-Dev] warnings in libffi

2006-03-29 Thread Martin v. Löwis
u don't have write access to the ctypes CVS, you should report that (with a patch) to sf.net/projects/ctypes. Thomas will then decide how to process it. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] alpha problems -- need input

2006-03-29 Thread Martin v. Löwis
ell us whether it's a good idea to do so. Regards, Martin (*) I believe you use some #pragma for that in C99; before, there might be some libc or libm API to manipulate the error mode. ___ Python-Dev mailing list Python-Dev@python.org http://mail

Re: [Python-Dev] Still looking for volunteer to run Windows buildbot

2006-03-30 Thread Martin v. Löwis
rnal/db-4.4.20/ so the buildbot slave admin doesn't need to do anything here. This also has some 4.4.20 patches already applied. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Martin v. Löwis
Fredrik Lundh wrote: >>> xml.dom.minidom? >> given the horror of _xmlplus/xmlcore and whatnot, I'd be hesitant to >> use the xml package as an example of _anything_ > > which reminds me -- is that issue still open ? martin? fred? It still is. I wonder whether

Re: [Python-Dev] _xmlplus fixup for 2.5

2006-03-30 Thread Martin v. Löwis
mail... The problem is that now PyXML is no longer maintainable (not that it has been maintained very well, though): The files that used to be identical in PyXML and Python no longer are identical, so keeping them synchronized adds unreasonable maintenance costs

Re: [Python-Dev] unicode vs buffer (array) design issue can crash interpreter

2006-03-30 Thread Martin v. Löwis
th either negative or very large Py_UNICODE elements. - if the answer to the last question is no (i.e. if it is intentional that a unicode object can contain arbitrary Py_UNICODE values): should Python then guarantee that Py_UNICODE is an unsigned type? Regards, Martin

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Martin v. Löwis
id "I make trac happen". Without somebody (specific) saying that, all technical arguments in favour of that software are futile. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsu

Re: [Python-Dev] Win64 AMD64 (aka x64) binaries available64

2006-03-30 Thread Martin v. Löwis
why it crashes? (and what is the buildvalue call it crashes on)? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/

Re: [Python-Dev] Win64 AMD64 (aka x64) binaries available64

2006-03-30 Thread Martin v. Löwis
uption. Can you find out what the value of szCSDVersion is (e.g. by putting a printf right before that)? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] I'm not getting email from SF when assigned a bug/patch

2006-03-30 Thread Martin v. Löwis
ll* have to set this up, manage to import the data, manage accounts, manage to make it known etc. The actual hardware to run it on is the least of my concerns - xs4all provides that very nicely. I don't see anything that could be saved by moving things from xs4all to pyth

Re: [Python-Dev] I'm not getting email from SF whenassignedabug/patch

2006-03-30 Thread Martin v. Löwis
case. Test data would be available; somebody would need to import them. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Fwd: Python 2.5 update

2006-03-30 Thread Martin v. Löwis
Martin Blais wrote: > What is the process for upgrading the stdlib version of optparse? Very simple: the author of the library would have to contribute it. Actually, if the changes where contributed by Optik contributors, they would have to contribute them to Python. > Are there any pl

Re: [Python-Dev] 2.5 trunk built for Windows available?

2006-03-30 Thread Martin v. Löwis
Georg Brandl wrote: > for the Bug Day, someone asked me if there is a prebuilt trunk > for Windows available somewhere so that he could participate. > > Martin: I read you've built for a snapshot AMD64, is there one for x86 too? Not at the moment, and I might not have time to

Re: [Python-Dev] pysqlite for 2.5?

2006-03-30 Thread Martin v. Löwis
e3.DLL by a simple download from in >> case of emergency > > +1 and thanks from a Windows user This binary depends on msvcrt.dll. Does anybody know whether this could cause a problem? IOW, is any of the forbidden API used across the DLL boundary (in partic

Re: [Python-Dev] 2.5 trunk built for Windows available?

2006-03-30 Thread Martin v. Löwis
Tim Peters wrote: >> for the Bug Day, someone asked me if there is a prebuilt trunk >> for Windows available somewhere so that he could participate. >> >> Martin: I read you've built for a snapshot AMD64, is there one for x86 too? > > If someone can explain w

Re: [Python-Dev] _xmlplus fixup for 2.5

2006-03-30 Thread Martin v. Löwis
ed indicated he has something in mind, but hasn't been forthcoming over the past few months. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] I'm not getting email from SF when assigned abug/patch

2006-03-31 Thread Martin v. Löwis
too. Mere existence doesn't help. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PY_FORMAT_SIZE_T warnings on OS X

2006-04-01 Thread Martin v. Löwis
Tim Peters wrote: > For gcc we _could_ solve it in the obvious way, which I guess Martin > was hoping to avoid: change Unixish config to detect whether the > platform C supports the "z" format modifier (I believe gcc does), and > if so arrange to stick > > #define PY

Re: [Python-Dev] I'm not getting email from SF when assigned a bug/patch

2006-04-02 Thread Martin v. Löwis
be done). My impression of of python-hosting is that they provide the machine, and the initial setup. Then you are mostly on your own. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsub

Re: [Python-Dev] New uriparse.py

2006-04-02 Thread Martin v. Löwis
oblem. So in short: are you willing to write documentation for this? The rationale section could either go into the urllib documentation (pointing out that particular problem, and referring to urilib as an improvement) Regards, Martin ___ Python-Dev ma

Re: [Python-Dev] I'm not getting email from SF when assigneda bug/patch

2006-04-02 Thread Martin v. Löwis
w about this ? I'm not sure; I'm sure I mentioned it. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] I'm not getting email from SF when assigned a bug/patch

2006-04-02 Thread Martin v. Löwis
ade a snapshot a few days ago. The "backchannel access to SF data" was actually someone different: he experimented with the existing export, confirmed the problem, promised to talk to Paul Moore about that, and referred us to the other XML exporter as a w

[Python-Dev] Renaming sqlite3

2006-04-03 Thread Martin v. Löwis
see three options: 1. rename sqlite3 again 2. link sqlite3 statically into _sqlite3.pyd 3. stop treating .DLL files as extension modules I'm actually leaning towards option 3: what is the rationale for allowing Python extension modules to be named .DLL? Regards, M

Re: [Python-Dev] Renaming sqlite3

2006-04-03 Thread Martin v. Löwis
provide the COM entry points, and find the location of pythoncom.pyd from the registry. I would discourage people from providing additional entry points to an extension module. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://

Re: [Python-Dev] Use dlopen() on Darwin/OS X to load extensions?

2006-04-03 Thread Martin v. Löwis
ke install" mode; if you know how to produce a Mac installer, testing it in such an installer ("framework mode"?) could also be done. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] posixmodule.c patch- revision 43586

2006-04-03 Thread Martin v. Löwis
hat's certainly better, though not correct, yet: woperation might be NULL. So I fixed all that (I hope). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Twisted and Python 2.5a0r43587

2006-04-03 Thread Martin v. Löwis
ave to find out whether Python is wrong for changing it, or the application is wrong for expecting things to behave exactly this way (or nobody is wrong, if this was an intentional breakage). Regards, Martin ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] Renaming sqlite3

2006-04-04 Thread Martin v. Löwis
> request. Ok - it's not that I dislike it. It would be technically feasible. It would be some effort to implement. However, I would expect that other people object more strongly. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Twisted and Python 2.5a0r43587

2006-04-04 Thread Martin v. Löwis
Thomas Wouters wrote: > And so I could. test_banana.CananaTestCase.testCrashNegativeLong > crashes, because it calls PyString_AsStringAndSize() with an int-ptr as > second argument (an adjacent ptr variable becomes garbage.) That's > certainly a problem with the Py_ssize_t chang

Re: [Python-Dev] Twisted and Python 2.5a0r43587

2006-04-04 Thread Martin v. Löwis
ctually, it *only* affects s#, z#, t#. "l" will always go along with a "long int" argument. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.

Re: [Python-Dev] Twisted and Python 2.5a0r43587

2006-04-04 Thread Martin v. Löwis
*lot* of API > duplication), we could add a #warning for every use of the old API > calls, so everyone sees it, even on 32-bit platforms. How would you do that? You could trigger a linker warning on platforms that support that, but that would be different from #warning - I doub

Re: [Python-Dev] reference leaks, __del__, and annotations

2006-04-04 Thread Martin v. Löwis
s atleast 4-aligned on all platforms we support. OTOH, using these bits would break existing code. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mail

Re: [Python-Dev] current 2.5 status

2006-04-04 Thread Martin v. Löwis
tation) would help: I would hope that the dialogs get forcefully closed when the window station get closed. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.

Re: [Python-Dev] PY_SSIZE_T_MIN?

2006-04-05 Thread Martin v. Löwis
IZE_T_MIN? Or is this just an oversight? That's just an oversight; I just added it. Thanks for pointing that out, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://

Re: [Python-Dev] 2.5a1 Performance

2006-04-05 Thread Martin v. Löwis
ave Python binaries for each release available on each slave. Unfortunately, there can't be a guarantee that the slaves are idle. Several of them fulfill some primary function for whoever contributed the slave installation (I know *my* Solaris mach

Re: [Python-Dev] 2.5a1 Performance

2006-04-05 Thread Martin v. Löwis
ckported branch patches nearly simultaneously (which is fine, of course - the machines just have to cater with that). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://m

Re: [Python-Dev] How to determine if char is signed or unsigned?

2006-04-05 Thread Martin v. Löwis
d by > ctypes using signed chars always. So you think char is unsigned on ppc debian? I would find that very surprising. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Possible issue with 2.5a1 Win32 binary

2006-04-05 Thread Martin v. Löwis
it on 2 machines, but can't work out what the issue > might be. I've assigned it to Martin, as the owner of the MSI files, > but if someone else is better placed to check it out, please do. I'm > happy to run tests, or whatever to help locate the issue, but I don't >

Re: [Python-Dev] Buildbot slave locks (Was: 2.5a1 Performance)

2006-04-05 Thread Martin v. Löwis
27;t first clear to me what "each buildslave gets its own lock"; I assumed it was my job to create a lock for each buildslave. I only then found out that a SlaveLock is always per slave (unlike a master lock, which is for the entire installation). Regards, Martin ___

Re: [Python-Dev] The "i" string-prefix: I18n'ed strings

2006-04-06 Thread Martin v. Löwis
Martin Blais wrote: >... >A(P(_("Click here to forget"), href="... >... I assume that this should be P(A(_("Click here to forget"), href="... instead (i.e. href is a parameter to A, not to P) > > (In my example, I built a library

Re: [Python-Dev] The "i" string-prefix: I18n'ed strings

2006-04-06 Thread Martin v. Löwis
Martin Blais wrote: >> P(a("Click here to forget", href="... > > No. That's not going to work: pygettext needs to be able to extract > the string for the catalogs. No markup, no extraction. (This is how > you enter strings that are not meant to be translated

Re: [Python-Dev] subprocess maintenance - SVN write access

2006-04-06 Thread Martin v. Löwis
Peter Åstrand wrote: > In case I should do some subprocess work, I need svn write access. I've > read section 1.2.8 in the FAQ, but to who should I send my SSH key? Yes, please send it to me, along with the preferred spelling of your name (I'd assume peter.astrand).

Re: [Python-Dev] packaging/bootstrap issue

2006-04-06 Thread Martin v. Löwis
s the AST doesn't change that often, this dummy commit would only be rarely needed (and, as I suggested, only on the .h file). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] The "i" string-prefix: I18n'ed strings

2006-04-07 Thread Martin v. Löwis
Martin Blais wrote: > I'm not sure all the cases are handled, but for those which aren't I > can't see why I couldn't hack the pygettext parser to make it do what > I want, e.g. is the case were the function contains multiple strings > handled? :: > > P(

Re: [Python-Dev] packaging/bootstrap issue

2006-04-07 Thread Martin v. Löwis
m misunderstanding, but I doubt that Anthony's touching the files on his exported tree would help with #1393109 Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Who understands _ssl.c on Windows?

2006-04-08 Thread Martin v. Löwis
OCK2_PSHPACK4) at push time, and then check for it to determine if they need to pop. Anyway, the fix is then straight-forward: just add /DWIN32 to _ssl.mak. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.or

Re: [Python-Dev] Who understands _ssl.c on Windows?

2006-04-08 Thread Martin v. Löwis
. I very much doubt nmake does such a thing. More likely, their makefile had the same bug as ours (i.e. lacking a WIN32 define). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] need info for externally maintained modules PEP

2006-04-09 Thread Martin v. Löwis
rom time to time. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Who understands _ssl.c on Windows?

2006-04-09 Thread Martin v. Löwis
LAPPED flag must be set on a socket on NT 4.0 for non-blocking mode to work. This shouldn't matter here, as the system is W2k, and because we used the socket API to create the socket (right?). Regards, Martin ___ Python-Dev mailing list Python-Dev@

[Python-Dev] Subversion downtime today

2006-04-09 Thread Martin v. Löwis
g any unrelated commits. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Win64 AMD64 (aka x64) binaries available64

2006-04-09 Thread Martin v. Löwis
picking up the wrong stdarg.h (the one of VS 2003), which would not work for AMD64. I have corrected that in vsextcomp, but I will need to check a few more things before releasing it. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.o

Re: [Python-Dev] need info for externally maintained modules PEP

2006-04-09 Thread Martin v. Löwis
c libraries using Modules/Setup, or building them through setup.py); adding more files would increase confusion. If you want additional files generated and installed, additional code can be put into setup.py to generate them. Regards, Martin ___ Python-Dev

[Python-Dev] Subversion repository back up

2006-04-09 Thread Martin v. Löwis
I just completed the repository import; write access to the projects repository is back. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

Re: [Python-Dev] need info for externally maintained modules PEP

2006-04-09 Thread Martin v. Löwis
he time to the new release, and it will continue to work fine. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] segfault (double free?) when '''-string crosses line

2006-04-09 Thread Martin v. Löwis
screw it > ;-) I would have no concerns with breaking the VMS port. If it is broken, we will either receive patches, or it stays broken. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Un

Re: [Python-Dev] segfault (double free?) when '''-string crosses line

2006-04-10 Thread Martin v. Löwis
ild on VMS, out of the box (i.e. without additional patches?) Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PSF Contributor Agreement for pysqlite

2006-04-10 Thread Martin v. Löwis
which have signed the agreement, so that committers can check each time whether the is available. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.or

Re: [Python-Dev] PSF Contributor Agreement for pysqlite

2006-04-10 Thread Martin v. Löwis
butions also: http://www.python.org/psf/contrib-form-python.html And yes, you are right - you haven't filed one, so far. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] I'm not getting email from SF when assignedabug/patch

2006-04-10 Thread Martin v. Löwis
Brett Cannon wrote: > Can someone (Martin, Barry?) post this on python.org (I don't think > this necessarily needs to be put into svn and I don't have any access > but svn) so Fredrik can free up the space on his server? Did I ever respond to that? I put the file on ht

Re: [Python-Dev] PSF Contributor Agreement for pysqlite

2006-04-10 Thread Martin v. Löwis
happy when it did get started. If you want to ping people: sure; I can send you the list of forms received so far. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http:

Re: [Python-Dev] PSF Contributor Agreement for pysqlite

2006-04-10 Thread Martin v. Löwis
John J Lee wrote: > On Mon, 10 Apr 2006, "Martin v. Löwis" wrote: >> I think I twice mailed everybody in Misc/ACKS. In principle, we want >> to have agreements from everybody who ever contributed, so that we >> can formally change the license (and so that it is cl

Re: [Python-Dev] pdb segfaults in 2.5 trunk?

2006-04-10 Thread Martin v. Löwis
Phillip J. Eby wrote: > Is anybody else getting this? I can't reproduce this, on Debian, gcc 4.0.3, trunk:45237. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscrib

Re: [Python-Dev] updating PyExpat (Was: need info for externally maintained modules PEP)

2006-04-10 Thread Martin v. Löwis
Trent Mick wrote: > I was going to be updating Modules/expat/... to Expat 2.0 relatively > soon. Must I then go via the PyXML folks to do this update then or can I > checkin to Python's SVN directly? Please check in directly. I'm going to update PyXML some tim

[Python-Dev] Py_Finalize does not release all memory, not even closely

2006-04-11 Thread Martin v. Löwis
, that's not real garbage, because the next Py_Initialize'd interpreter will continue to allocate from the arenas. But still, the actual objects that the modules hold on to will not be reclaimed until the process terminates. Please correct me if

Re: [Python-Dev] Py_Finalize does not release all memory, not even closely

2006-04-11 Thread Martin v. Löwis
o ahead and weaken the promises in the documentation. Then it's not a bug anymore that it leaks :-) Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] PyObject_REPR()

2006-04-12 Thread Martin v. Löwis
, such as P(o)). Nobody but you seemed to know about its existence, and, given that it is flawed, neither its definition nor its use belong into Python (IMO, of course). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python

Re: [Python-Dev] Preserving the blamelist

2006-04-12 Thread Martin v. Löwis
ures might have nothing to with the changes, though: It appears that some files are still left from earlier tests, and now the setUp code fails because /tmp/dir already exists... Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://

Re: [Python-Dev] building with C++

2006-04-12 Thread Martin v. Löwis
his on a branch or available as a patch somewhere? It's the trunk. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] int vs ssize_t in unicode

2006-04-12 Thread Martin v. Löwis
ts, not sure if they are a problem) Most of them are not, since most functions deal only with Unicode characters, character names, and character numbers (which are below 2**21). > 494: > isize = PyUnicode_GET_SIZE(input); This is a problem, though; I fixed it. Regards, Martin ___

<    44   45   46   47   48   49   50   51   52   53   >