Re: [Python-Dev] Proposal: defaultdict

2006-02-18 Thread Martin v. Löwis
e programmer expects it *might* raise a KeyError, and tries to deal with this situation. If the situation doesn't arise, the code continue just 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] ssize_t branch merged

2006-02-18 Thread Martin v. Löwis
mean. Nevertheless, it would be desirable IMO if it expanded to a literal, so that the preprocessor could understand it. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-de

Re: [Python-Dev] bytes.from_hex() [Was: PEP 332 revival in coordination with pep 349?]

2006-02-18 Thread Martin v. Löwis
Aahz wrote: > The problem is that they don't understand that "Martin v. L?wis" is not > Unicode -- once all strings are Unicode, this is guaranteed to work. This specific call, yes. I don't think the problem will go away as long as both encode and decode are available

Re: [Python-Dev] bytes.from_hex() [Was: PEP 332 revival in coordination with pep 349?]

2006-02-18 Thread Martin v. Löwis
thods on > strings and Unicode narrow down the possible return types. > The corresponding .bytes methods should only allow bytes and > Unicode. I forgot that: what is the rationale for that restriction? Regards, Martin ___ Python-Dev mailing li

Re: [Python-Dev] bytes.from_hex()

2006-02-18 Thread Martin v. Löwis
really deep understanding of Namespaces are one honking great idea -- let's do more of those! 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] Stackless Python sprint at PyCon 2006

2006-02-18 Thread Martin v. Löwis
to work on XP x64, make sure you have the latest platform SDK installed on these machines. I plan to build AMD64 binaries with the platform SDK, not with VS 2005. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mai

Re: [Python-Dev] bytes.from_hex() [Was: PEP 332 revival in coordination with pep 349?]

2006-02-18 Thread Martin v. Löwis
consistent. Either codecs can give arbitrary return types, then .encode/.decode should also be allowed to give arbitrary return types, or codecs should be restricted. What's the point of first allowing a wide interface, and then narrowing it? Also, if type inference is the go

Re: [Python-Dev] Proposal: defaultdict

2006-02-18 Thread Martin v. Löwis
at is a major > change. Not at all. dict.__getitem__ could always invoke arbitrary user code, through __hash__. 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] ssize_t branch merged

2006-02-18 Thread Martin v. Löwis
egral constants, I don't know; it appears that MS foresees a i128 suffix for them. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mai

Re: [Python-Dev] Proposal: defaultdict

2006-02-18 Thread Martin v. Löwis
ould be also an invariant that, after del d[some_key], d[some_key] will raise a KeyError. This kind of invariant doesn't take into account that there might be a default value. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] buildbot is all green

2006-02-18 Thread Martin v. Löwis
r, people have commented that the buildbot page is ugly, so yes, please do contribute something. Bonus points for visually separating the "trunk" columns from the "2.4" columns. Would a vertical line be appropriate? Bigger spacing? Regards, Martin _

Re: [Python-Dev] buildbot is all green

2006-02-18 Thread Martin v. Löwis
Neal Norwitz wrote: > http://www.python.org/dev/buildbot/ Unfortunately, test_logging still fails sporadically on Solaris. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscr

Re: [Python-Dev] Proposal: defaultdict

2006-02-18 Thread Martin v. Löwis
se? It should include all modified items, and none of the unmodified ones. Explicitly assigning the default value still makes the entry modified; you need to del it to set it back to "unmodified". > If the former, then > how do you access the entries without looping

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Martin v. Löwis
Georg Brandl wrote: > Don't we have a Windows slave yet? No; nobody volunteered a machine yet (plus the hand-holding that is always necessary with Windows). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.py

Re: [Python-Dev] bytes.from_hex()

2006-02-19 Thread Martin v. Löwis
stack = codecs.getwriter(codec)(stack) stack.write(string) stack.reset() return output.getValue() Notice that you have to start the stacking with the last codec, and you have to keep a reference to the StringIO object where the actual bytes end up. Regards, Martin P.S. there sho

Re: [Python-Dev] bytes.from_hex()

2006-02-19 Thread Martin v. Löwis
ghschool), it will be very hard for them to relearn. So I expect that it will take a decade or two until this all is common knowledge. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsu

Re: [Python-Dev] bytes.from_hex()

2006-02-19 Thread Martin v. Löwis
e where base64 is *not* necessarily ASCII-encoded, see the "binary" data type in XML Schema. There, base64 is embedded into an XML document, and uses the encoding of the entire XML document. As a result, you may get base64 data in utf16le. Regards, Martin __

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Martin v. Löwis
Walter Dörwald wrote: > I'd like to see vertical lines between the column. Can you please elaborate? Between which columns? > Why is everything bold? Not sure. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Martin v. Löwis
Unix), and gets triggered whenever a checkin occurs. So the machine doesn't have to be *dedicated*; any machine that is always on might do. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Martin v. Löwis
d it would require quite a lot of changes to the buildbot, so I abstain from wanting such a thing (atleast for the moment). Your regex-matching (or whatever the mechanism is) works quite well for me. Regards, Martin ___ Python-Dev mailing list Python-De

Re: [Python-Dev] buildbot is all green

2006-02-19 Thread Martin v. Löwis
he "main" page. An individual checkin affects either the trunk or 2.4, but never both; many check-ins come in pairs. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] bytes.from_hex()

2006-02-20 Thread Martin v. Löwis
Stephen J. Turnbull wrote: > Martin> For an example where base64 is *not* necessarily > Martin> ASCII-encoded, see the "binary" data type in XML > Martin> Schema. There, base64 is embedded into an XML document, > Martin> and uses the encodin

Re: [Python-Dev] buildbot is all green

2006-02-20 Thread Martin v. Löwis
mpty. Perhaps the author of the change could be placed *below* > the timestamp instead of next to it? Also for all practical purposes > we can probably get rid of the seconds in the timestamp. The latter was easy to do, so I did it. The former is tricky; contributions are we

Re: [Python-Dev] buildbot is all green

2006-02-20 Thread Martin v. Löwis
y only additional classes for the header or some such); I can then try to edit buildbot to add these changes into the page. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Removing Non-Unicode Support?

2006-02-20 Thread Martin v. Löwis
support can indeed provide some savings. For reference, we also have an option to drop complex numbers: 9654 692 4 10350286e Objects/complexobject.o Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.

Re: [Python-Dev] bdist_* to stdlib?

2006-02-20 Thread Martin v. Löwis
S: why do you have to share /usr/share across architectures? It will only save you a small percentage of disk space, and at additional hassles. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

Re: [Python-Dev] buildbot is all green

2006-02-20 Thread Martin v. Löwis
easy; for Windows, not so. 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] Win64 AMD64 (aka x64) binaries available64

2006-02-20 Thread Martin v. Löwis
nt to build extensions for this build using distutils, you need to 1. install the platform SDK (2003 SP1 should work) 2. open an AMD64 retail shell 3. run the included distutils It might be possible to drop 2) some day, but finding the SDK from the registry is really tricky. Regards, M

Re: [Python-Dev] buildbot is all green

2006-02-20 Thread Martin v. Löwis
variables all set up, so that both svn.exe and devenv.exe can be found in the path. Then I would need the sequence of commands that the buildbot master should issue (svn update, build, run tests, clean). Regards, Martin ___ Python-Dev mailing list Py

Re: [Python-Dev] defaultdict proposal round three

2006-02-20 Thread Martin v. Löwis
. Inheritance is more about code reuse than about polymorphism. 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-02-20 Thread Martin v. Löwis
-code the 2003 SP1 registry key - it is not at all certain that future SDK releases will use the same registry scheme, and Microsoft has tricked users often enough in thinking they understood the scheme, just to change it with the next release entirely)

Re: [Python-Dev] defaultdict proposal round three

2006-02-21 Thread Martin v. Löwis
rred if dict itself was modified, but after ruling out changes to dict.__getitem__, d[k]+=1 is too important to not support 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] buildbot vs. Windows

2006-02-21 Thread Martin v. Löwis
h-pydebug. Combining this with -r would multiply the number of builders by 4 already. I'm not keen on deciding this for myself. Somebody else please decide for me. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.

Re: [Python-Dev] buildbot vs. Windows

2006-02-21 Thread Martin v. Löwis
n OSX? In general, "deprecated" warnings are useless for Python. We *know* we are providing wrappers around many deprecated functions. We will (nearly automatically) discontinue wrapping the functions when they get removed. Regards, Martin

Re: [Python-Dev] buildbot vs. Windows

2006-02-21 Thread Martin v. Löwis
I see only a single one of these, and only in an OSX-specific module. So no - "we" don't look into fixing them, as they don't occur on Linux at all (as _Qdmodule isn't built on Linux). Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] buildbot vs. Windows

2006-02-21 Thread Martin v. Löwis
ing warnings let the compilation fail, which in turn is flagged red. 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] buildbot vs. Windows

2006-02-21 Thread Martin v. Löwis
t pages for 2.4 and 2.5, you could add > pages for debug builds, perhaps with a lower frequency (once a day?), > without cluttering up the main two pages. Not soon, unless somebody has a complete recipe how to change the master config. Regards, Martin _

Re: [Python-Dev] readline compilarion fails on OSX

2006-02-21 Thread Martin v. Löwis
he build either succeeds or fails. 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] Two patches

2006-02-21 Thread Martin v. Löwis
hich currently silently > accept keyword arguments and throw them away. The patch adds error > messages. Sounds good as well. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] buildbot vs. Windows

2006-02-21 Thread Martin v. Löwis
lines (giving currently 6 lines of Apache configuration). So for multiplying this by 8, I would have to create 48 lines of Apache configuration, and use 24 TCP ports. This can be done, but it would take some time to implement. And who is going to look at the 24 pages? Regards, Martin _

Re: [Python-Dev] buildbot, and test failures

2006-02-22 Thread Martin v. Löwis
Anthony Baxter wrote: > Who's the person who hands out buildbot username/password pairs? That's me. > I > have an Ubuntu x86 box here that can become one (I think the only > linux, currently, is Gentoo...) How different are the Linuxes, though? How many of them do we

Re: [Python-Dev] My buildbot host upgraded to OSX 10.4

2006-03-04 Thread Martin v. Löwis
Probably after as well. My machine configuration is now not > substantially different from the loaner XServer.) Ok, I have now removed your machine from the list of slaves. Thanks for your contribution in getting this started! Martin ___ Python-Dev mail

Re: [Python-Dev] how about adding ping's uuid module to the standard lib ?

2006-03-07 Thread Martin v. Löwis
Fredrik Lundh wrote: > see subject and http://python.org/sf/1368955 > > comments ? Fine with me. 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] _bsddb.c ownership

2006-03-07 Thread Martin v. Löwis
il/python-dev/2002-October/029788.html http://mail.python.org/pipermail/python-dev/2002-November/030247.html Regards, Martin (*) although I did the original import. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi

Re: [Python-Dev] ctypes is in SVN now.

2006-03-09 Thread Martin v. Löwis
> extension needed for testing. IIRC, Martin promised to create them - is this > offer still valid? It is. I usually create the vcproj files by copying an existing one, and replacing everything that matters in a text editor. Regards, Martin ___

Re: [Python-Dev] [Python-checkins] r42929 - python/trunk/Tools/scripts/svneol.py

2006-03-09 Thread Martin v. Löwis
ther they're text files in the SVN eol-style "native" > sense. Last I tried, VS 2003 would tolerate \n line endings in vcproj files (these being plain XML files). I don't remember whether it would tolerate them in .sln files (as these are *no

Re: [Python-Dev] Generated code in test_ast.py

2006-03-09 Thread Martin v. Löwis
om the ast-branch worked better via make. Would this have fixed itself on a > linux box, or is this a manual process? It's a manual process. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mai

Re: [Python-Dev] Developing/patching ctypes

2006-03-10 Thread Martin v. Löwis
living in /ctypes/trunk, either. Be aware that the set of committers to svn.python.org/projects is currently restricted to Python committers. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Developing/patching ctypes

2006-03-10 Thread Martin v. Löwis
Thomas Heller wrote: > BTW: The buildbot reports ctypes test failures on the gentoo amd64 machine: FWIW, ctypes doesn't even build on a Windows AMD64 machine. It wants to use the Windows x86 FFI code, which does not compile with the AMD64 compiler. Regards

Re: [Python-Dev] unicodedata.c no longer compiles on Windows

2006-03-10 Thread Martin v. Löwis
Tim Peters wrote: > It's griping about this: > > /* Forward declaration */ > static PyMethodDef unicodedata_functions[]; This is now fixed. Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/li

Re: [Python-Dev] Developing/patching ctypes

2006-03-10 Thread Martin v. Löwis
mode; this is what the buildbot now uses. 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] Developing/patching ctypes

2006-03-10 Thread Martin v. Löwis
es, etc in the path. If that would help, I could provide you with a Python 2.5 MSI file (for x86), to run distutils, and get the 2.5 headers. OTTH, a lot of things don't work on Win64, so people could probably readily accept the lack of ctypes. Regards, Martin _

Re: [Python-Dev] Developing/patching ctypes

2006-03-10 Thread Martin v. Löwis
"leaking refcounts") > AssertionError: leaking refcounts > > test_long_future > """ > > Why is that? Because it is just a single exception. For that, a traceback is printed. Not so for multiple failures. Regards, Martin ___

Re: [Python-Dev] Developing/patching ctypes

2006-03-10 Thread Martin v. Löwis
.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/280/step-test/0 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

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

2006-03-10 Thread Martin v. Löwis
results out of this at all), please contact me. 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] Developing/patching ctypes

2006-03-11 Thread Martin v. Löwis
Trent Mick wrote: > I do this for ActivePython builds... by setting up the Platform SDK > compiler I want in the environment and then using: > > devenv.com .../pcbuild.sln /useenv /build Release Right - that might be the easiest thing to do. Reg

Re: [Python-Dev] Developing/patching ctypes

2006-03-11 Thread Martin v. Löwis
be re-running the test could be done in > a freshly spawned Python? Feel free to implement that; buildbot will immediately pick it up. Getting the command line right might be a challenge though (plus finding the right Python interpreter, etc.) Regards, Martin __

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

2006-03-11 Thread Martin v. Löwis
to the internet - I assume it must be reachable > from the outside. No: it opens a connection itself, and then keeps that connection permanently open. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/p

Re: [Python-Dev] libbzip2 version?

2006-03-11 Thread Martin v. Löwis
libraries (Tcl and bsddb in particular). On bzip2, I wonder whether 2.4 should also update to the newer library; on bsddb, I wonder what version to update to. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/list

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

2006-03-12 Thread Martin v. Löwis
er stop/start cycle. While the Unix buildbots reconnect, the Windows one doesn't. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/op

Re: [Python-Dev] PythonCore\CurrentVersion

2006-03-12 Thread Martin v. Löwis
ince done that: http://www.python.org/windows/registry.html 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] Still looking for volunteer to run Windows buildbot

2006-03-12 Thread Martin v. Löwis
riod. I see. So it is rather that the master doesn't see the slaves go away. 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] Still looking for volunteer to run Windows buildbot

2006-03-12 Thread Martin v. Löwis
resumably from its internal environment > configuration). The result is that build_ssl.py fallsback to its > "well-known" locations for a Perl install. Go ahead. The above makes a good check-in message. Regards, Martin ___ Python-

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

2006-03-13 Thread Martin v. Löwis
Trent Mick wrote: >>This touches on something we (including Martin) should think about: >>it's very painful to build a full Python on Windows because of these >>external packages... > > > Yup. That is part of what I meant by updating PCBuild\readme.txt below:

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

2006-03-13 Thread Martin v. Löwis
oked up. Grrr. I certainly don't care about the > sound card for that box but I don't want the test suite to keep > reporting a spurious failure. Now, if there was a reliable check whether a soundcard is present, that check could be run as a prerequisite, then raising TestSkip

Re: [Python-Dev] About "Coverity Study Ranks LAMP Code Quality"

2006-03-13 Thread Martin v. Löwis
y impossible to keep that information only with trusted people, they need to make a faithful attempt to restrict it. If you have contributed to open source projects, you should ask the maintainers of these projects to copy you the reports they produced. If these maintainers consider you tr

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

2006-03-13 Thread Martin v. Löwis
Trent Mick wrote: > 1. Use TestSkipped and skip all three test cases if there is not sound >card. Running the test suite will actually show that something is >being skipped. This is best. The sound tests are not that important that they absolutely need to be run. Regard

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

2006-03-14 Thread Martin v. Löwis
Tim Peters wrote: > I'd say instead that they should never be skipped: the real > difference on your box is the expected _outcome_ in the third > category. That is indeed more reasonable than what I proposed. Regards, Martin ___ Pyth

Re: [Python-Dev] Threading idea -- exposing a global thread lock

2006-03-14 Thread Martin v. Löwis
() call. So if you set the checkinterval to "no check", you cannot trust that there won't be any thread switching. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] About "Coverity Study Ranks LAMP Code Quality"

2006-03-15 Thread Martin v. Löwis
e developers is an established tradition for security-relevant bugs, and a reasonable one IMO. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/opt

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

2006-03-15 Thread Martin v. Löwis
0W2k%20trunk/builds/23/step-test/1 http://www.python.org/dev/buildbot/trunk/x86%20W2k%20trunk/builds/23/step-test/2 Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: htt

Re: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-15 Thread Martin v. Löwis
ieve ctypes "wants" to take that approach also. 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] Still looking for volunteer to run Windows buildbot

2006-03-15 Thread Martin v. Löwis
) So PythonWin needs to be installed on a Windows buildbot slave, right? 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] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-15 Thread Martin v. Löwis
Thomas Heller wrote: > BTW: Is a "porting guide" to make extension modules compatible with 2.5 > available somewhere? PEP 353 scratches only the surface... Wrt. ssize_t changes, PEP 353 is meant to be comprehensive. Which particular aspect are you missing?

Re: [Python-Dev] Problem with module loading on multi-arch?

2006-03-16 Thread Martin v. Löwis
udes a documentation and an implementation of these decisions, and then keep an eye on patches that might break this design. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail

Re: [Python-Dev] Python Library Reference top page too long

2006-03-16 Thread Martin v. Löwis
was broken into multiple pages, that would break. 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] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-16 Thread Martin v. Löwis
evious and the current release. Please contribute a patch that presents these changes in a form that you would consider acceptable. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsu

Re: [Python-Dev] Problem with module loading on multi-arch?

2006-03-17 Thread Martin v. Löwis
has a > list of paths to search. Well, I don't know about site-dep/site-indep, so I wouldn't be surprised if module search didn't, either. > If I did want to try to fix this myself, where would I find the code for it? The code f

Re: [Python-Dev] towards a stricter definition of sys.executable

2006-03-17 Thread Martin v. Löwis
interpreter - in an embedded interpreter, they just don't want to start a new interpreter, as that couldn't work, anyway. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubs

Re: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-17 Thread Martin v. Löwis
ot good enough to simply suggest to ignore compiler > warnings - this falls back on the extension authors and the > quality of their code without them really having done anything > wrong. Sure. Compiler warnings should be corrected. That's why the compiler emits them. Howev

Re: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-17 Thread Martin v. Löwis
Thomas Heller wrote: > I'm not sure if this is what Marc-Andre means, but maybe these definitions > could go into a new include file: How would that include file be used? You would have to copy it into your own source base, and include it, right? Rega

Re: [Python-Dev] Problem with module loading on multi-arch?

2006-03-17 Thread Martin v. Löwis
widespread. It would seem that module search needs > some modification to fully support it. Ah. That isn't supported at all, at the moment. Redhat should not be using it. Instead, there shouldn't be a difference between sitearch and sitelib. Regards, Martin __

Re: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-17 Thread Martin v. Löwis
rate in 32-bit mode for quite some time. Of course, developers of widely-used extension modules will need to support the PEP in some way. They should follow the guidelines in the PEP. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Py3K thought: use external library for client-side HTTP

2006-03-17 Thread Martin v. Löwis
A.M. Kuchling wrote: > Good idea? Dumb idea? I have no idea about urllib, but httplib certainly should stay, and its bugs should get fixed (and will get fixed, over time). It is very easy to write a httplib application, since you can follow its source code. It would be much more complicated to u

Re: [Python-Dev] Py_ssize_t backwards compatibility

2006-03-17 Thread Martin v. Löwis
See http://sourceforge.net/tracker/index.php?func=detail&aid=1453037&group_id=71702&atid=532156 for an example of applying this approach to ctypes. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] PY_SSIZE_T_CLEAN

2006-03-18 Thread Martin v. Löwis
defined before Python.h is included, and continue to output int if that macro isn't defined. which (IMO, of course), specifies precisely what PY_SSIZE_T_CLEAN does. What information do you find lacking here? Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] Problem with module loading on multi-arch?

2006-03-18 Thread Martin v. Löwis
rom people who claim they know how things ought to work, much without questioning 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/option

Re: [Python-Dev] All green!

2006-03-18 Thread Martin v. Löwis
Tim Peters wrote: > I believe it's possible to fiddle the buildbot master to send email > when a test run fails, and maybe it's time to start doing that. I just changed to do that, let's see whether that works. Regards, Martin _

Re: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-18 Thread Martin v. Löwis
r code *breaks* with the change only if you implement the sequence or buffer protocols. I'm doubtful that this is an issue for most applications, since many extensions (I believe) work without implementing these protocols. Regards, Martin ___ Pytho

Re: [Python-Dev] Patch or feature? Tix.Grid working for 2.5

2006-03-18 Thread Martin v. Löwis
ity) for the 2.5 branch... I wouldn't object to including it before beta 1. 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/p

Re: [Python-Dev] Two buildbot slaves wedged

2006-03-18 Thread Martin v. Löwis
he 0.7.2 changelog); the sighup command sometimes gets confused. I thought it would survive the configuration change when no build is ongoing, but apparently I was wrong. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyt

Re: [Python-Dev] pyexpat namespace problem (Was: libbzip2 version?)

2006-03-18 Thread Martin v. Löwis
I would like to see an update to the current Expat release 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/pyt

Re: [Python-Dev] buildbot failure in sparc solaris10 gcc trunk

2006-03-19 Thread Martin v. Löwis
Terry Reedy wrote: >> Buildbot URL: http://www.python.org:9010/ > > Both links failed with Cannot Find Server (Winxp/IE). Right. Buildbot doesn't know what its URL is; it is http://www.python.org/dev/buildbot/ Regards, Martin ___ P

Re: [Python-Dev] Py3K timescale and stdlib philosophy

2006-03-19 Thread Martin v. Löwis
der is unmaintained. So when 3.1 is released, 2.x is dead. 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] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-20 Thread Martin v. Löwis
lways is). It is possible to look at the changed APIs, see http://docs.python.org/dev/api/sequence.html Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.pyth

Re: [Python-Dev] supported platforms OS2?

2006-03-20 Thread Martin v. Löwis
Jim Jewett wrote: > Is there a list of currently supported platforms? No, only a negative list: PEP 11. > Is OS2 still actively supported? It's not listed as unsupported. Whether it actually works, nobody knows. Regards, Martin ___ Python-

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

2006-03-20 Thread Martin v. Löwis
ves special attention. I can believe you that you would have preferred not to see that patch at all, not at this time, and preferably never. I have a different view. I don't see it as a problem, but as a solution. Again, if you think the documentation should be improved,

Re: [Python-Dev] r43041 - python/trunk/Modules/_ctypes/cfield.c

2006-03-20 Thread Martin v. Löwis
t to change; I know that I don't work that way. That said, if somebody things it is worthwhile to create such a list: contributions are welcome. 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] Documenting the ssize_t Python C API changes

2006-03-21 Thread Martin v. Löwis
M.-A. Lemburg wrote: > Here's a grep of all the changed/new APIs, please include it > in the PEP. You want me to include that *literally*? Are you serious? Please go ahead and commit that change yourself: I consider it completely unreadable and entirely worthless. Rega

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

2006-03-21 Thread Martin v. Löwis
proc) likely also indicates an error, since many of these pointers have changed there types. I believe the only exception for this is inquiry, which still has legit uses, in nb_nonzero, tp_clear, and tp_is_gc. Regards, Martin ___ Python-Dev

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