Re: [Python-Dev] what versions of Python don't have the "addr" field in the socket object?

2007-09-12 Thread Martin v. Löwis
> I believe this is only in 2.5.1 and later -- can > anyone confirm that? That's correct. 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] Removing the GIL (Me, not you!)

2007-09-12 Thread Martin v. Löwis
u identify, that single CPU might get overloaded, so your scheme would give no benefits (since Python code could never run in parallel), and only disadvantages (since multiple Python interpreters today can run on multiple CPUs, but could not anymore under your sc

Re: [Python-Dev] SSL certs

2007-09-13 Thread Martin v. Löwis
nt wanted to talk to cheeseshop.python.org, or wiki.python.org (which all have the same IP address). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-13 Thread Martin v. Löwis
he malloc implementation. 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] Removing the GIL (Me, not you!)

2007-09-13 Thread Martin v. Löwis
re machines. My guess is that this interpretation is wrong. It was reported that there was a slowdown by a factor of 2 in a single-threaded application. That can't be due to lock contention. > If we can somehow guarantee all GC operations (which is why the GIL is > needed in the first p

Re: [Python-Dev] Removing the GIL (Me, not you!)

2007-09-13 Thread Martin v. Löwis
ks > that I don't know about - Martin?). Hence I'm assuming that we need to > reduce lock overhead. If acquiring and releasing locks (part of lock > overhead) is a simple context switch (and I don't doubt you here), then > the only remaining thing to optimize is memory op

Re: [Python-Dev] SSL certs

2007-09-13 Thread Martin v. Löwis
s wrapped up in gullible Web browsers or Java HTTPS > libraries that swallowed RFC 2818 whole, and not easily accessible by > applications. Does any of it recognize and accept "subject > alternative name"? Works fine with Firefox and MSIE. Regards, Martin __

[Python-Dev] Daily Windows Installers

2007-09-14 Thread Martin v. Löwis
/ There are still some glitches with that installation (in particular, the Microsoft help compiler seems to crash occasionally). If you find any problems with the MSI files themselves, please report them to this list, or to the bug tracker. Regards, Martin

Re: [Python-Dev] Daily Windows Installers

2007-09-14 Thread Martin v. Löwis
e input :-) If you fixed that problem fairly recently (within the last 48 hours), this may have been the one we were seeing. Unfortunately, this is again one of the Windows problems which make buildbot on Windows so difficult: it brings up an error window, and

Re: [Python-Dev] import file extensions

2007-09-14 Thread Martin v. Löwis
arate function (e.g. calling it "require"). 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] IPv6 hostname resolution using socket.getaddrinfo()

2007-09-17 Thread Martin v. Löwis
> Any help/ pointers? Did you read the man page of getaddrinfo, or the RFC? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/opti

Re: [Python-Dev] Python 3.0a documentation

2007-09-26 Thread Martin v. Löwis
yway if they also want to support some 2.x version (if that is possible at all), so it does not help them to know what Python version introduced a certain feature they use. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mai

Re: [Python-Dev] New lines, carriage returns, and Windows

2007-09-26 Thread Martin v. Löwis
representing \r separately, and does so if you ask it to. > So I'm curious: Is there a reason this behavior is useful that I'm > missing? I think you are missing how it works in the first place (or else you failed to communicate to me what precise behavior you

Re: [Python-Dev] New lines, carriage returns, and Windows

2007-09-26 Thread Martin v. Löwis
e resulting file. This I don't understand. Why don't you just use binary mode then? At least for Python 2.x, the *only* difference between text and binary mode is the treatment of line endings. For Python 3, things will be different as the d

Re: [Python-Dev] building with -Wwrite-strings

2007-09-28 Thread Martin v. Löwis
ould I do for the very common (taken from int_new): >static char *kwlist[] = {"x", "base", 0}; What's wrong with static const char *kwlist[] = {"x", "base", 0}; Regards, Martin ___ Python-Dev mailing l

Re: [Python-Dev] GC Changes

2007-10-02 Thread Martin v. Löwis
ules/gcmodule.c already. Take particular notice of the tp_traverse and tp_clear type methods. > Why isn't the mark-and-sweep mechanism used for all memory > management? See above - it's not implementable, because the root objects get not tracked. Regards, Martin ___

Re: [Python-Dev] Backporting Decimal

2007-10-02 Thread Martin v. Löwis
urity issue). I'm still trying to work on the PEP that formalizes this notion. 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] GC Changes

2007-10-02 Thread Martin v. Löwis
ficult to integrate. For the extension-module globals, some sort of registration could be done (and PEP 3121 provides an infrastructure for that). For stack frames, such a registration is difficult to make efficient. Regards, Martin ___ Python-Dev mailing li

Re: [Python-Dev] SVN down?

2007-10-08 Thread Martin v. Löwis
> The apache server seems to be down. I just restarted it. 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%40m

Re: [Python-Dev] UTF8 in the PEP branch

2007-10-12 Thread Martin v. Löwis
rovide a way to get the date expanded according to the "C" locale. As a work-around, you can update your sources with LANG=C svn up which will prevent Date from being translated to your language. Regards, Martin P.S. Notice that subversion also prints the time in local time, rather th

Re: [Python-Dev] what license for a module derived from Objects/dictobjec.c

2007-10-12 Thread Martin v. Löwis
le itself, as well as a certain magic incantation. HTH, 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] UTF8 in the PEP branch

2007-10-12 Thread Martin v. Löwis
ot answer that question, because I don't understand your proposal. What file would you like to touch, and are you sure you have write permission to it? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mail

Re: [Python-Dev] Python developers are in demand

2007-10-12 Thread Martin v. Löwis
> The problem may be related to the fact that Python is rarely teached at > school or university. I know no school or university in Germany that is > teaching Python. I teach Python to the first semester, at the Hasso-Plattner-Institut in Potsdam, for the third year now. Regard

Re: [Python-Dev] UTF8 in the PEP branch

2007-10-14 Thread Martin v. Löwis
use a problem *in the PEP file*? > Maybe there is a $C-locale-Date$ > for subversion to automatically put the date there using C locale and > not the one of the user. > > I don't know if it exists, though. No, that's not supported.

Re: [Python-Dev] SVN down?

2007-10-14 Thread Martin v. Löwis
> Guess what? It's down the third time this week ... Guess what? I restarted it now only the second time this week. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscrib

Re: [Python-Dev] compile extensions under Windows Vista and VS8

2007-10-19 Thread Martin v. Löwis
e for details. This question is off-topic for python-dev. 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 failure AMD64 trunk

2007-10-19 Thread Martin v. Löwis
age running under ubuntu. > > Is there a way to display the winsound test on this machine? I'm annoyed > by the red color ;-). If you uninstall the sound driver, then the test should determine that there is no sound card, and skip it. Regards, Martin ___

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-10-24 Thread Martin v. Löwis
y action should be taken. 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] Does Python need a file locking module (slightly higher level)?

2007-10-25 Thread Martin v. Löwis
> I don't think file locking will ever work over NFS, since > it's a stateless protocol by design NFS is stateless, but the NFS locking protocol (NLM) is not. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http:/

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-10-30 Thread Martin v. Löwis
Python 2.4 calls the CRT, but then my question is still what kernel32 functions are called to have stat on NUL succeed. > Interestingly, plain old GetFileAttributes() works, and returns > FILE_ATTRIBUTE_ARCHIVE for them. What about the other attributes (like modification time, size, etc)? Rega

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-11-03 Thread Martin v. Löwis
d NUL? > GetFileAttributes() doesn't return those, just the FAT filesystem > attributes. GetFileSize and GetFileTime fail. Ok, so how does msvcrt stat() manage to fill these fields if those functions fail? Regards, Martin ___ Python-Dev mailin

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-11-06 Thread Martin v. Löwis
exists, whereas GetFileAttributesEx claims that it doesn't exist, all in a single version, and all is Windows API. Please understand that Python 2.4 *also* adheres to Windows behavior. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-11-06 Thread Martin v. Löwis
has both the time and the knowledge to resolve the issue. 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] Special file "nul" in Windows and os.stat

2007-11-06 Thread Martin v. Löwis
nything useful with these fields. You mean, it does nothing documented... AFAICT from the code, it always fills in something. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-11-06 Thread Martin v. Löwis
. one including wild cards), right? > This is on my machine, using the Windows Server 2003 SP1 CRT source > code. How consistent it is across versions, or anything else, I can't > say :-( Thanks, that helps already. Regards, Martin ___ Py

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-11-06 Thread Martin v. Löwis
: it may succeed even if the string being passed does not denote a file name. > * As an aside, Martin, I find the argument that "hard-wiring is bad" to > be against what is actually occurring in the posixmodule. For that > matter, the S_IFEXEC flag is hardwired to path in (*.bat, *

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-11-07 Thread Martin v. Löwis
compromise of keeping higher precision > timestamps for paths where GetFileAttribute* works and retaining the old > behavior for all others. Sure, but I really dislike the string parsing that the CRT does (and I don't want to go back to using the CRT for stat-like calls). Regards, Mart

Re: [Python-Dev] Special file "nul" in Windows and os.stat

2007-11-07 Thread Martin v. Löwis
f "nul", but I guess a "natural" problem is that the user says she wants to create a file named "nul", and the application checks whether this is a new file name, which it isn't (it exists in every directory, if I understand correctly). Regards, Martin ___

Re: [Python-Dev] XML codec?

2007-11-07 Thread Martin v. Löwis
e.g. in a text editor), there should rarely be encoding errors, since one could use character references in many cases. Also, the XML spec talks about detecting EBCDIC, which I believe your implementation doesn't. Regards, Martin ___ Py

Re: [Python-Dev] XML codec?

2007-11-08 Thread Martin v. Löwis
character reference in an XML Name. So the codec would have to parse the output stream to know whether or not a character reference could be used. > Correct, but as long as Python doesn't have an EBCDIC codec, that won't > help much. Adding *detectio

Re: [Python-Dev] XML codec?

2007-11-08 Thread Martin v. Löwis
TF-8? > OK, so should I put the C code into a _xml module? I don't see the need for C code at all. 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] XML codec?

2007-11-09 Thread Martin v. Löwis
is inside a codec? Exactly so. This functionality just *isn't* a codec - there is no encoding. Instead, it is an algorithm for *detecting* an encoding. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mail

Re: [Python-Dev] XML codec?

2007-11-09 Thread Martin v. Löwis
if (strlen>5) +{ +if (*str != ' ' && *str != '\t' && *str != '\r' && *str != '\n') +return 1; is well-maintainable C. I feel it is much

Re: [Python-Dev] XML codec?

2007-11-09 Thread Martin v. Löwis
>> So what if the unicode string doesn't start with an XML declaration? >> Will it add one? > > No. Ok. So the XML document would be ill-formed then unless the encoding is UTF-8, right? > The point of this code is not just to return whether the string starts > with " * The string does start wi

Re: [Python-Dev] XML codec?

2007-11-09 Thread Martin v. Löwis
g detection separately from encodings), and leaving integration of modules to the application, in particular if the integration is trivial. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubsc

Re: [Python-Dev] XML codec?

2007-11-09 Thread Martin v. Löwis
nce > the code is already written, why not use it ? It's a maintenance issue. 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] XML codec?

2007-11-09 Thread Martin v. Löwis
etection" is not an encoding. 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] XML codec?

2007-11-09 Thread Martin v. Löwis
> It's clear to me that detecting an encoding is actually the simplest > part of all this (so long as there's an API to do it!) Putting it > inside a codec seems like the wrong subdivision of responsibility. In case it isn't clear - this is exactly my vie

Re: [Python-Dev] XML codec?

2007-11-09 Thread Martin v. Löwis
the stream). YAGNI. 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] XML codec?

2007-11-10 Thread Martin v. Löwis
n and the continuation of the stream. The application would read data out of the stream, and pass it to the detection. It then can process it in whatever manner it meant to process it in the first place. Regards, Martin ___ Python-Dev mailing list Py

Re: [Python-Dev] XML codec?

2007-11-10 Thread Martin v. Löwis
> A non-seekable stream is not all that uncommon in network processing. Right. But what is the relationship to XML encoding autodetection? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyt

Re: [Python-Dev] XML codec?

2007-11-11 Thread Martin v. Löwis
as exactly 4 characters (e.g. ""). However, external entities may be smaller, such as "x". > But anyway: would a Python implementation of these two functions > (detect_encoding()/fix_encoding()) be accepted? I could agree to a Pyt

Re: [Python-Dev] XML codec?

2007-11-11 Thread Martin v. Löwis
them for Py2). The design of the Py2 codecs is fairly flawed, unfortunately. 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] XML codec?

2007-11-11 Thread Martin v. Löwis
o the standard library until I see why one would absolutely need to have that. Not every piece of code that is useful in some application should be added to the standard library. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mai

Re: [Python-Dev] XML codec?

2007-11-11 Thread Martin v. Löwis
every piece of code that is useful in some >> application should be added to the standard library. > > Agreed, but the application space of web services is large > enough to warrant this. If that was the case, wouldn't the existing Python web service libraries already include su

Re: [Python-Dev] smlop - maintaned ? - what is the status of this module ?

2007-11-14 Thread Martin v. Löwis
ffect. sgmlop is not part of the Python distribution, so you should report errors directly to Fredrik Lundh (sp!). Notice, however, that you should use msvc2003, not 2005, to compile it. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org h

Re: [Python-Dev] Tracker summary emails

2007-11-21 Thread Martin v. Löwis
ng it had also offered hosting and active maintenance) FWIW, help in adminstration is desired for *all* hosts on *.python.org (web, mailing lists, PyPI, ...) Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/l

Re: [Python-Dev] Tracker summary emails

2007-11-21 Thread Martin v. Löwis
hon.org runs, but I believe it's Linux 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] Build Notes for building trunk with Visual Studio 2008 Express Edition

2007-11-23 Thread Martin v. Löwis
hem what precisely to install, in what order, to make it work. Currently, the build slaves run, in order Tools\buildbot\build.bat Tools\buildbot\test.bat Tools\buildbot\clean.bat These will of course need to be adjusted after a switchover, but they heavily rely on devenv.com working. Regards

Re: [Python-Dev] Backquote deprecation warning

2007-11-23 Thread Martin v. Löwis
> Should the node structure gain an additional field to drag the filename > around? Or can we simply life with the fact that the user won't get a > filename in the deprecation warning? I think struct compiling should carry the file name, starting in PyAST_FromNode. R

Re: [Python-Dev] Build Notes for building trunk with Visual Studio 2008 Express Edition

2007-11-26 Thread Martin v. Löwis
g that they manage to release Tcl/Tk 8.5 before Python gets released. 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] Mac _OSA extension doesn't build on Leopard

2007-12-04 Thread Martin v. Löwis
> Can anybody help? > I don't even know what OSA is! I can help with that: It's the Open Scripting Architecture, http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/osa.html (Probably not the kind of help you were asking for :-)

Re: [Python-Dev] Signals+Threads (PyGTK waking up 10x/sec).

2007-12-08 Thread Martin v. Löwis
hough perhaps not in a timely manner - this is precisely where the busy-waiting in gtk comes from). Python does not attempt to block any signals, let alone using pthread_sigmask. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://ma

Re: [Python-Dev] functional continuations

2007-12-16 Thread Martin v. Löwis
nclusion into the Python interpreter. 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] Tkinter problems with Tcl/Tk 8.5

2007-12-16 Thread Martin v. Löwis
and have a default for the rest. If Tcl_GetObjType was not available, I see no other way but to convert everything through strings, which would put the burden of typing things onto the Tkinter user (or perhaps on Tkinter, to type the well-known comma

Re: [Python-Dev] Spurious Buildbot Reports

2007-12-26 Thread Martin v. Löwis
age itself, it would be a lot > more convenient if the "current/last build" field on the buildbot slave > details page was a hyperlink to that build's results page rather than a > mere number as it is now. In short: contributions are welcome. Regards, Martin ___

Re: [Python-Dev] Fate of Windows build directories

2007-12-31 Thread Martin v. Löwis
ipt to back port the PCbuild9 > directory to PCbuild8 (http://bugs.python.org/issue1455). The > script would make maintenance of the PCbuild8 directory easier. As I said in the tracker: I have no opinion, but Kristjan may have one. > PCbuild9/ > The new

Re: [Python-Dev] Tkinter problems with Tcl/Tk 8.5

2008-01-01 Thread Martin v. Löwis
a string. I'm sure there are other places where Tk 8.5 will break existing Tkinter applications. 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] Contributing to Python

2008-01-03 Thread Martin v. Löwis
committers will "quickly" commit patches when they find that your review leaves nothing to be added. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://m

Re: [Python-Dev] Contributing to Python

2008-01-04 Thread Martin v. Löwis
r, and it was a flaw in the patch, or maybe there is a real issue, and the submitter forgot to comment it properly - it's always the submitter's fault if you don't understand :-) Regards, Martin ___ Python-Dev mailing list Python-Dev@pyt

Re: [Python-Dev] Changing PyAPI_DATA(type) into PyAPI_DATA(type, variablename)?

2008-01-09 Thread Martin v. Löwis
d like to see some explicit rationale being recorded in the source so that people know what this was meant for and won't change it back. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] How to change path at compile time?

2008-01-12 Thread Martin v. Löwis
> Is there any reasonable way to change the default sys.path at compile > time? (ie. add a directory). [this is off-topic for python-dev] Edit PYTHONPATH in Modules/Setup, e.g. by setting SITEPATH. Regards, Martin ___ Python-Dev mailing list

Re: [Python-Dev] [Python-checkins] r59947 - in python/trunk:Lib/test/test_structseq.py Misc/NEWS

2008-01-13 Thread Martin v. Löwis
dexed access should be removed in Python 3. Whether then structseq needs to be preserved at all, I don't know. 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] r59947 - in python/trunk:Lib/test/test_structseq.py Misc/NEWS

2008-01-14 Thread Martin v. Löwis
> There seems to be a use case for it still, otherwise > collections.namedtuple wouldn't be added to 2.6, right? Perhaps; I'm not strongly opposed to keeping structseq. I'll work on making stat_result and struct_time regular fixed-size types, for

Re: [Python-Dev] [Python-checkins] r59947 - in python/trunk:Lib/test/test_structseq.py Misc/NEWS

2008-01-14 Thread Martin v. Löwis
> Correct. We don't need item access anymore. However the struct seq > should still be slice-able for functions like time.mktime(). Can you please explain that? What application do you have in mind? Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] [Python-checkins] r59947 - in python/trunk:Lib/test/test_structseq.py Misc/NEWS

2008-01-14 Thread Martin v. Löwis
Guido van Rossum wrote: > On Jan 14, 2008 2:19 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: >>> Correct. We don't need item access anymore. However the struct seq >>> should still be slice-able for functions like time.mktime(). >> Can you plea

Re: [Python-Dev] PEP: per user site-packages directory

2008-01-15 Thread Martin v. Löwis
as a choice for webapp development. For that, I think the requirements need to be much more explicit. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.py

Re: [Python-Dev] Monkeypatching idioms -- elegant or ugly?

2008-01-15 Thread Martin v. Löwis
> Second, a "metaclass" to add a number of methods (or other attributes) > to an existing class, using a convenient class notation: I think this is similar to my "partial" classes: http://pypi.python.org/pypi/partial Regards, Martin

Re: [Python-Dev] Monkeypatching idioms -- elegant or ugly?

2008-01-19 Thread Martin v. Löwis
ore. I like to see all three scenarios supported; to support categories properly, you need to also have support in the reflection, in pydoc, and perhaps also in the online documentation (if standard library classes get split into categories). Regards, Martin

[Python-Dev] Priorities in the tracker

2008-01-20 Thread Martin v. Löwis
eened. So what should we do? Leave things as-is? Drop the notion of priority? Change our process to make sure priorities do get set (and honored)? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-

Re: [Python-Dev] [python] Re: PEP: per user site-packages directory

2008-01-21 Thread Martin v. Löwis
about it (except complaining). 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] PEP 365 (was Re: PEP: per user site-packages directory)

2008-01-21 Thread Martin v. Löwis
actually using setuptools to the end user. 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] why is mmap a builtin module on windows?

2008-01-23 Thread Martin v. Löwis
much > faster because relocation is slow (see PC/dllbase_nt.txt). Martin or > Mark can give you a better answer. Actually, that *is* the current answer. That plus a remark "Contributions are welcome, as long as they a) come with a clear, objective policy on what should go into pythonxy.

Re: [Python-Dev] 2.5.2 release coming up

2008-01-23 Thread Martin v. Löwis
might be executing > malicious Python code. > I'll look into it. msilib is used in distutils (for bdist_msi), so it should get fixed. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinf

Re: [Python-Dev] trunc()

2008-01-24 Thread Martin v. Löwis
, for floats, it converts it to an integer using round-towards-zero semantics. 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] trunc()

2008-01-24 Thread Martin v. Löwis
the others, and deserves to be the meaning of int()? 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] why is mmap a builtin module on windows?

2008-01-25 Thread Martin v. Löwis
> b) automate all aspects of adding modules that should not go > into pythonxy.dll according to the policy." > > > i.e. create visual studio project files for those modules? and make them > built automatically? And adjust msi.py to package them automati

[Python-Dev] Upcoming 2.5.2 release

2008-01-27 Thread Martin v. Löwis
. Kind 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] trunc()

2008-01-27 Thread Martin v. Löwis
only int literals which have a problem with methods, but then, you won't call any of these on an int literal, normally. 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] Upcoming 2.4.5 and 2.3.7 releases

2008-01-27 Thread Martin v. Löwis
should be preserved; if you think any of the patches committed in the 2.4 branch is a security fix, please let me know. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscr

Re: [Python-Dev] Incorrect documentation of the raw_input built-in function

2008-01-28 Thread Martin v. Löwis
ndard error. No, that doesn't really make sense. If you are in the middle of a pipe, what good does it do to write the prompt to stderr, yet read the user input from stdin? If you really care about processes that run in a pipe, interact with /dev/tty. Regards, Martin ___

Re: [Python-Dev] Upcoming 2.4.5 and 2.3.7 releases

2008-01-28 Thread Martin v. Löwis
don't have to - I will do it for you (although I don't understand fully what "to be bummed" means). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://m

Re: [Python-Dev] Upcoming 2.4.5 and 2.3.7 releases

2008-01-28 Thread Martin v. Löwis
2.5, bug fixes could be added until that branch also goes into the security-only mode (i.e. after 2.6 is released). Please let me know what you think. Regards, Martin (*) other locations are possible as well, such as branches/email/2.3 or /email/branches/2.3 ___

Re: [Python-Dev] functions vs methods (was Re: trunc())

2008-01-28 Thread Martin v. Löwis
s to be gratuitous > breakage, even in 3.0. I wouldn't want to propose removal of len(), no. However, I do think that adding more builtins (trunc in particular) is bad, especially when they make perfect methods. Regards, Martin ___ Python-Dev ma

Re: [Python-Dev] Upcoming 2.4.5 and 2.3.7 releases

2008-01-28 Thread Martin v. Löwis
> What do you think of the above? Sounds fine to me. I won't touch this then for the moment, please let me know when you are done rearranging things. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Upcoming 2.4.5 and 2.3.7 releases

2008-01-29 Thread Martin v. Löwis
from the standard library at all. 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] Upcoming 2.5.2 release

2008-01-30 Thread Martin v. Löwis
only; no new > | features allowed. > > As current bsddb module maintainer, I was wondering if 2.5.2 will > support BerkeleyDB 4.6 :-?. Maybe I'm misunderstanding the question - whom are asking? If me - Python 2.5.2 will essentially do what the maintenance branch doe

Re: [Python-Dev] Assigning issues

2008-01-30 Thread Martin v. Löwis
, and you get additional rights only with additional roles, normally. I also agree with Nick as to what the purpose of assignments is. To indicate that you are working on a specific issue, a message saying so is enough (which could also include estimated completion dates, which a mere self

Re: [Python-Dev] Upcoming 2.5.2 release

2008-01-31 Thread Martin v. Löwis
in the block! :). Being new is not a problem in itself. But do please take the extra work of double- and triple-checking any claims you make. If you want to become the new maintainer of the bsddb module, you need to learn how to check out a branch of Python and h

Re: [Python-Dev] Tracker marks my messages as spam :-)

2008-01-31 Thread Martin v. Löwis
eporting messages as misclassified here. Georg has reclassified the message as ham now. 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

<    28   29   30   31   32   33   34   35   36   37   >