Re: [Python-Dev] Help with inotify

2005-10-28 Thread Martin v. Löwis
lly not a pythondev question anymore). 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] Conversion to Subversion is complete

2005-10-28 Thread Martin v. Löwis
s it useful for TortoiseSVN. 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] Conversion to Subversion is complete

2005-10-28 Thread Martin v. Löwis
Martin v. Löwis wrote: >>I am also curious as to what you would have me check out for the >>sandbox; whole directory or just the trunk? > > > You would usually only check out the trunk (unless you want to work > on a branch, of course). Actually, you would prob

Re: [Python-Dev] Divorcing str and unicode (no more implicitconversions).

2005-10-28 Thread Martin v. Löwis
nsliteration is clearly common for Latin-based languages (French, German, Spanish, say), but I doubt non-Latin scripts are that often transliterated (even if conventions exist). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mai

Re: [Python-Dev] Divorcing str and unicode (no more implicitconversions).

2005-10-29 Thread Martin v. Löwis
Atsuo Ishimoto wrote: > I'm +0.1 for non-ASCII identifiers, although module names should remain > ASCII. ASCII identifiers might be encouraged, but as Martin said, it is > very useful for some groups of users. Thanks for these data. This mostly reflects my experience with German an

Re: [Python-Dev] Divorcing str and unicode (no more implicitconversions).

2005-10-29 Thread Martin v. Löwis
s François Pinard, who keeps requesting it, saying that local people where surprised they couldn't use accented characters in Python. Perhaps that's because he actually is Quebecian :-) Regards, Martin ___ Python-Dev mailing list

Re: [Python-Dev] Conversion to Subversion is complete

2005-10-29 Thread Martin v. Löwis
ld be done, or whether it could be done. What do others think? I personally found those long subject lines listing all the changed files very ugly and unreadable. The other question (whether it could be done) is probably answered as "yes", but I have to research what magic precisely is nec

Re: [Python-Dev] [Python-checkins] commit of r41352 - in python/trunk: . Lib Lib/distutils Lib/distutils/command Lib/encodings

2005-10-29 Thread Martin v. Löwis
svn:ignore -F .cvsignore . Without a file, I wouldn't know how to edit the property, so I would probably do svn propget svn:ignore . > ignores vim ignores svn propset svn:ignore -F ignores . rm ignores Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] [Python-checkins] commit of r41352 - in python/trunk: . Lib Lib/distutils Lib/distutils/command Lib/encodings

2005-10-30 Thread Martin v. Löwis
Noam Raphael wrote: > Won't "svn propedit svn:ignore ." do the trick? It certainly would. Thanks for pointing that out. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyth

Re: [Python-Dev] svn:ignore (Was: [Python-checkins] commit of r41352 - in python/trunk: . Lib Lib/distutils Lib/distutils/command Lib/encodings)

2005-10-30 Thread Martin v. Löwis
ng a single number for a multi-file delete operation feels good :-) 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] Freezing the CVS on Oct 26 for SVN switchover

2005-10-30 Thread Martin v. Löwis
rmanent and accessible than a mailing list archive; I think I would normally add them to the developer FAQ instead of to the Wiki, primarily because I can memorize the location of the FAQ better. Regards, Martin ___ Python-Dev mailing list Python-Dev@pyth

Re: [Python-Dev] svn checksum error

2005-10-30 Thread Martin v. Löwis
atural question then is: what operating system, what subversion version are you using? 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] svn checksum error

2005-10-30 Thread Martin v. Löwis
[EMAIL PROTECTED] wrote: > Martin> The natural question then is: what operating system, what > Martin> subversion version are you using? > > Sorry, wasn't thinking in terms of svn bugs. I was anticipating some sort > of obvious pilot error. I am on Mac OSX 1

Re: [Python-Dev] i18n identifiers (was: Divorcing str and unicode (no more implicit conversions).

2005-10-31 Thread Martin v. Löwis
ature conditional to preserve compatibility. 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] Problems with revision 4077 of new SVN repository

2005-11-02 Thread Martin v. Löwis
Robin Munn wrote: > echo "New commit message goes here" > new-message.txt > svnadmin setlog --bypass-hooks -r 4077 /path/to/repos new-message.txt Thanks for pointing that out, and for giving those instructions. I now corrected the log messag

Re: [Python-Dev] Problems with revision 4077 of new SVN repository

2005-11-02 Thread Martin v. Löwis
Robin Munn wrote: >>Revision 4077 is fine now. However, the same problem exists in revision >>4284, which has a 0x01 character before the word "add". Same solution: I now have fixed that as well. Regards, Martin ___ Python-Dev m

Re: [Python-Dev] PYTHOPN_API_VERSION

2005-11-03 Thread Martin v. Löwis
where it was first introduced. 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] Proposal: can we have a python-dev-announce mailing list?

2005-11-03 Thread Martin v. Löwis
discussion. More specifically, I'm sure I would have forgotten to post about the svn switchover to python-dev-announce, just as I failed to post to comp.lang.python.announce. This is all volunteer work. Regards, Martin ___ Python-Dev mailing list P

Re: [Python-Dev] No more problems with new SVN repository

2005-11-03 Thread Martin v. Löwis
the future, subversion might be able to transmit such log messages in well-formed webdav. 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] Plea to distribute debugging lib

2005-11-04 Thread Martin v. Löwis
to test whether the feature works correctly. Regards, Martin (*) that is, sf.net/projects/python ___ 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] Plea to distribute debugging lib

2005-11-04 Thread Martin v. Löwis
creates a different memory layout for PyObject. So in the end, I would assume you are requesting what you call a debug-python, i.e. one that (in your system) *has* BOOST_DEBUG_PYTHON defined. Regards, Martin ___ Python-Dev mailing list Python

Re: [Python-Dev] Plea to distribute debugging lib

2005-11-04 Thread Martin v. Löwis
e similar to the MSI file, so that the debug file has the same version number as the MSI file. > I s'pose that means, "put it in the patches tracker." > Exactly. Regards, Martin ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] Why should the default hash(x) == id(x)?

2005-11-05 Thread Martin v. Löwis
to always return "False". This would be confusing, because it would cause "x == x" to give False. More generally, I claim that the current behaviour is better than *any* alternative. To refute this claim, you would have to come up with an alternative first. Regards, Martin

Re: [Python-Dev] Why should the default hash(x) == id(x)?

2005-11-06 Thread Martin v. Löwis
is equality operator. This will likely cause a lot of breakage. Objects will compare equal even though they conceptually are not, and even though they did not compare equal in previous Python versions. Regards, Martin ___ Python-Dev mailing list Python

Re: [Python-Dev] Should the default equality operator compare values instead of identities?

2005-11-07 Thread Martin v. Löwis
is case... This is sort-of supported today: >>> a=[] >>> a.append(a) >>> b=[] >>> b.append(b) >>> a == b True Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mai

Re: [Python-Dev] cross-compiling

2005-11-07 Thread Martin v. Löwis
up the answers to those from a user > supplied file. You shouldn't be required to do that. Instead, just edit pyconfig.h manually, to match the target. autoconf is designed to support that. It would help if Makefile was target-independent (only host-dependent). Not sure whethe

Re: [Python-Dev] cross-compiling

2005-11-07 Thread Martin v. Löwis
you are kind of stuck. I don't > think there is an obvious way to select the extension modules to build > and the C libraries for them to link against. Of course there is: Modules/Setup. Regards, Martin ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-08 Thread Martin v. Löwis
master plan. Instead, individual contributors propose specific modifications, e.g. through PEPs. I personally have no plan to replace Tkinter. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinf

Re: [Python-Dev] Weak references: dereference notification

2005-11-09 Thread Martin v. Löwis
PyWrapper per GObject at any time. 5. id() of a GObject may change over time, if the wrapper becomes unreferenced and then recreated. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsub

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-09 Thread Martin v. Löwis
lkit at least as good as Tk, and one that doesn't interfere with > Python's event loop capabilities. I personally don't think so. The task is just too huge for volunteers to commit to. Regards, Martin ___ Python-Dev mailing list Pyt

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-09 Thread Martin v. Löwis
ee a reason > why they'd need their own event loop. They need to fetch events from the operating system level, and dispatch them to the widgets. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Martin v. Löwis
see what the problem is. Why does the visualization framework care that Tkinter is around? Why are the events that the visualization framework needs to process? 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] Event loops, PyOS_InputHook, and Tkinter

2005-11-10 Thread Martin v. Löwis
eason, and why it would be difficult > to solve. Before trying to explain the reason, please try to explain the problem first. What is it *really* that you want to do which you feel you currently can't do? Regards, Martin ___ Python-Dev maili

Re: [Python-Dev] dev FAQ updated with day-to-day svn questions

2005-11-10 Thread Martin v. Löwis
Nick Coghlan wrote: > Should the section "Developing on Windows" disappear now? I think so, yes (along with the document it refers to). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listin

Re: [Python-Dev] Building Python with Visual C++ 2005 Express Edition

2005-11-10 Thread Martin v. Löwis
issue, but that hasn't been checked in yet. 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 with Visual C++ 2005 Express Edition

2005-11-12 Thread Martin v. Löwis
VS2003 was (i.e. for Python, nothing is gained AFAICT); also, I'm getting the impression that VS2005 has too many bugs (*) to be useful, so I recommend to skip that release completely, and go then to VS2006 (or whenever that is release). Regards, Martin (*) besides the really sad chan

Re: [Python-Dev] Mapping cvs version numbers to svn revisions?

2005-11-12 Thread Martin v. Löwis
g file): the tarball that was used to do the conversion is at http://svn.python.org/snapshots/python-cvsroot-final.tar.bz2 Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubs

[Python-Dev] Checking working copy consistency

2005-11-12 Thread Martin v. Löwis
Hi Skip, I made a script that runs through a subversion sandbox and checks whether all md5sums are correct. Please run that on your working copy to see whether there are still any inconsistent files. Regards, Martin import os, xml.dom.minidom, md5 def checkdir(arg, path, files): if not

Re: [Python-Dev] Building Python with Visual C++ 2005 ExpressEdition

2005-11-12 Thread Martin v. Löwis
that we include (such as gzip, openssl, Tcl/Tk) would be needed as well. Plus, that person would have to defend the decision to drop VC (just as I am in the position of defending the switch to VS 2003). Regards, Martin ___ Python-Dev mailing list Python-Dev@pyt

Re: [Python-Dev] Is some magic required to check out new files from svn?

2005-11-13 Thread Martin v. Löwis
ld get confidence from that fact that nobody else is seeing these problems :-) I recommend to use pre-built binaries, e.g. the ones from http://metissian.com/projects/macosx/subversion/ I would also recommend to throw away the sandbox completely and check it out from scratch. Please report whe

Re: [Python-Dev] Is some magic required to check out new files from svn?

2005-11-13 Thread Martin v. Löwis
[EMAIL PROTECTED] wrote: > Martin> code.h should live in Include. It was originally committed to > Martin> CVS, so it is in the subversion repository from day one; it > Martin> should always have been there since you started using > Martin> subversion

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-13 Thread Martin v. Löwis
y, you are completely independent of any other event loops that may happen. It is also independent of the operating system (as long as the thread module is available). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-13 Thread Martin v. Löwis
-until-user-terminates-program. For this to work, you need a guarantee that the hook is invoked frequently. Again, I still think running the loop (as a true event loop) in a separate thread would probably solve the problem. Regards, Martin ___ Python

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-13 Thread Martin v. Löwis
s (somewhat deliberately) misleading. That separate thread might be the main thread (and, in many cases, is). The main thread is still a "separate" thread (separate from all others). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.

Re: [Python-Dev] Event loops, PyOS_InputHook, and Tkinter

2005-11-14 Thread Martin v. Löwis
should be possible to get nearly the same effect without such hooking. For example, if you chose to redraw at most 10 times per second, you will still get good performance. Alternatively, you could chose to redraw if there was no drawing command for 100ms. Regards, Martin

Re: [Python-Dev] str.dedent

2005-11-14 Thread Martin v. Löwis
ile. It is the style I use and recommend. Of course, it may occasionally become necessary to have a few-lines string literally in a function; in most cases, indenting it along with the rest of the function is fine, as HTML can stand extra spaces with no problems. R

Re: [Python-Dev] str.dedent

2005-11-18 Thread Martin v. Löwis
int here: There are intentionally no line breaks in this string; it must be a single line, or else showerror will break it in funny ways. So converting it to a multi-line string would break it, dedent or not. Regards, Martin ___ Python-Dev mailing list

Re: [Python-Dev] Patch Req. # 1351020 & 1351036: PythonD modifications

2005-11-19 Thread Martin v. Löwis
[EMAIL PROTECTED] wrote: > I would appreciate feedback concerning these patches before the next > "PythonD" (for DOS/DJGPP) is released. PEP 11 says that DOS is not supported anymore since Python 2.0. So I am -1 on reintroducing support for it.

Re: [Python-Dev] s/hotshot/lsprof

2005-11-19 Thread Martin v. Löwis
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

Re: [Python-Dev] ast status, memory leaks, etc

2005-11-20 Thread Martin v. Löwis
_arena (obmalloc.c:500) Likewise. 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] Patch Req. # 1351020 & 1351036: PythonD modifications

2005-11-20 Thread Martin v. Löwis
d with the BeOS port and the VMS port, to take recent examples). So I would prefer to see some strong commitment from the porter. Even so, I don't think I'm willing to commit such a patch myself. If somebody else thinks this is worthwhile, I won't object. Regards, Martin __

Re: [Python-Dev] s/hotshot/lsprof

2005-11-20 Thread Martin v. Löwis
author will hate it, write his own, and then suggest to replace the existing one. It is the "let's build it from scratch" attitude which makes me nervous. Perhaps the library could be distributed separately for some time, e.g. as a package in the cheeseshop. When

Re: [Python-Dev] ast status, memory leaks, etc

2005-11-20 Thread Martin v. Löwis
s don't seem to become > actual memory leaks. You could try to classify the objects remaining, counting them by type. Perhaps selectively clearing out sys.modules to what it is after startup might also give insights. Regards, Martin ___ Pyth

Re: [Python-Dev] Patch Req. # 1351020 & 1351036: PythonD modifications

2005-11-20 Thread Martin v. Löwis
dy to forward bug reports to, and somebody to intervene if incompatible changes are made. This person would also indicate that the platform is no longer available, and hence the port can be removed. Regards, Martin ___ Python-Dev mailing list Python-Dev@p

Re: [Python-Dev] s/hotshot/lsprof

2005-11-20 Thread Martin v. Löwis
nd of model is more likely, as resistance to replacing the existing library will be lower. > (on the other hand, I'm not sure we need a profiler as part of the > standard library either, but that's me...) It's a battery, to some. Regards, Martin ___

Re: [Python-Dev] s/hotshot/lsprof

2005-11-20 Thread Martin v. Löwis
Tim Peters wrote: > Center for Alcohol & Drug Treatment Besides Jamie Zawinski's definition, Google also told me it stands for Computer Aided Drafting Technology where "to draft" turns out to have two different meaning

Re: [Python-Dev] Patch Req. # 1351020 & 1351036: PythonD modifications

2005-11-21 Thread Martin v. Löwis
mehow commit to future support, so that we are not left alone with code when cannot maintain if you ever drop out. 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] s/hotshot/lsprof

2005-11-21 Thread Martin v. Löwis
ary author himself. Perhaps it is true what Fredrik Lundh says: there shouldn't be a profiler in the standard library at all. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscr

Re: [Python-Dev] s/hotshot/lsprof

2005-11-21 Thread Martin v. Löwis
ome advance support from lsprof users, confirming that this is really a good thing to have. 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] svn diff -r {2001-01-01}

2005-11-21 Thread Martin v. Löwis
of commit dates for python/ somewhere, to find the necessary revision number more quickly. For dates past the switchover, everything is fine. So svn diff -r{00:00} Lib/ works fine. Regards, Martin ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] Problems with the Python Memory Manager

2005-11-24 Thread Martin v. Löwis
There are patches "floating around" that makes it return unused memory to the system (which it currently doesn't). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Problems with the Python Memory Manager

2005-11-24 Thread Martin v. Löwis
, and then allocate 1,000,000 objects of size 208, the memory is not reused. If the objects are all of same size, or all larger than 256 bytes, this effect does not occur. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.or

Re: [Python-Dev] Problems with the Python Memory Manager

2005-11-24 Thread Martin v. Löwis
rojects/python. 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] SRE should release the GIL (was: no subject)

2005-11-24 Thread Martin v. Löwis
since all the shared objects it accesses are immutable, likely no harm would be done releasing the GIL. I think SRE was originally also intended to operate on array.array objects; this would have caused bigger problems. Not sure whether this is still an is

[Python-Dev] CVS repository mostly closed now

2005-11-26 Thread Martin v. Löwis
the repository has moved; this is what I just did. 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

Re: [Python-Dev] For Python 3k, drop default/implicit hash, and comparison

2005-11-26 Thread Martin v. Löwis
comparison is not meaningful, > are objects which represent entities which are "outside" of the > process, or in other words, entities which are not "computational". You mean, things of the real world, right? Like people, bank accounts, and wheels. 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] Patch Req. # 1351020 & 1351036: PythonD modifications

2005-11-28 Thread Martin v. Löwis
#x27;s fine with you, it is fine with 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] Patch Req. # 1351020 & 1351036: PythonD modifications

2005-11-28 Thread Martin v. Löwis
d in: Python 2.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/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Memory management in the AST parser & compiler

2005-11-28 Thread Martin v. Löwis
PyObject*); (whether the accessors return new or borrowed reference could be debated; plain C struct accesses would also be possible) Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Memory management in the AST parser & compiler

2005-11-28 Thread Martin v. Löwis
NULL, and returned. Then, "goto error" at any point in the code would be correct (assuming an exception had been set prior to the goto). No special release function for the body or the decorators would be necessary - they would be plain Python lists. Regards, Martin _

Re: [Python-Dev] CVS repository mostly closed now

2005-11-28 Thread Martin v. Löwis
anics in place, anybody should notice we switched to subversion (but I will write something on c.l.p.a, anyway). Regards, Martin P.S. Sorry for not getting your name right in the To: field; that's thunderbird. ___ Python-Dev mailing list Python-

Re: [Python-Dev] Memory management in the AST parser & compiler

2005-11-28 Thread Martin v. Löwis
Neal Norwitz wrote: > For those watching, Greg's and Martin's version were almost the same. > However, Greg's version left in the memory leak, while Martin fixed it > by letting the result fall through. Actually, Greg said (correctly) that his version also fixes t

[Python-Dev] ast-objects branch created

2005-11-30 Thread Martin v. Löwis
ng these, starting with ast.c. Feel free to commit any changes to that branch that you consider helpful. To avoid duplicated work, posting a note here might also help. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/

Re: [Python-Dev] Memory management in the AST parser & compiler

2005-11-30 Thread Martin v. Löwis
be of benefit when > reviewing the change before moving it back to the trunk. Well, there would be a clear two-split right now: one could change ast.c, and the other compile.c. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] PyAST_FromNode returning PyTypeObject* ?

2005-12-01 Thread Martin v. Löwis
EM macro inside ast.c: #define STEAL_ITEM(list,index,variable) \ do{PyList_SET_ITEM(list,index,variable);variable=NULL;}while(0) Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] ast-objects branch created

2005-12-01 Thread Martin v. Löwis
ated work: if we actually carry out the experiment of multiple alternative (or perhaps supplementing) implementations, we have much better grounds to pick the approach for the mainline. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail

[Python-Dev] Subject lines of commit email

2005-12-01 Thread Martin v. Löwis
feel strongly that this should be reverted, we will need to take a poll, as people also feel strongly that file names in the subject line are essential. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/lis

Re: [Python-Dev] SVN backup?

2005-12-04 Thread Martin v. Löwis
er you should do that for subversion also... Certainly, if you can contribute the resources for that! The daily snapshot of the repository is at http://svn.python.org/snapshots/projects-svn-tarball.tar.bz2 Regards, Martin ___ Python-Dev mailing list Pyth

Re: [Python-Dev] ast-objects branch created

2005-12-04 Thread Martin v. Löwis
n as well. 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] svn problem - can't get log info for a specific revision

2005-12-05 Thread Martin v. Löwis
evisions, so the version number uniquely identifies the change in the repository. Of course, this also builds on the knowledge that http://svn.python.org/projects is the same as svn+ssh://[EMAIL PROTECTED] (but more easy to type). Regards, Martin ___ Python

Re: [Python-Dev] svn problem - can't get log info for a specific revision

2005-12-05 Thread Martin v. Löwis
Martin v. Löwis wrote: > It complains that, in revision 36760, there was no release24-main > directory, so it can't know what the history is. I would consider it > a bug: it could know that release24-maint was a copy of trunk > which was made after 36760, so it could conclude I m

Re: [Python-Dev] Dynamic Link Library

2005-12-05 Thread Martin v. Löwis
f Python, not the development with Python. Use the general python-list@python.org (news:comp.lang.python) for general question. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev U

Re: [Python-Dev] ast-objects branch created

2005-12-06 Thread Martin v. Löwis
have to use) duplicates the reference, so you would still have to decref it explicitly. Of course, you could do so right away, instead of doing it on exit. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mai

Re: [Python-Dev] Documentation about Python's GC, python-dev list messages referenced in Modules/gcmodule.c not reachable anymore

2005-12-08 Thread Martin v. Löwis
local inspection, and thus hard to tell. For a real time system, it is not just important that all actions complete fast. Instead, it is important to tell what statements might be long-running, and how long. In Python's reference counting, this is possible, hence it is (IMO) suitable for real

Re: [Python-Dev] Tracker anonymity

2005-12-08 Thread Martin v. Löwis
For bug reports, this issue does not exist - but the other issues (of being able to get feedback) do, 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

Re: [Python-Dev] Tracker anonymity

2005-12-08 Thread Martin v. Löwis
SF bug ids into roundup bug ids, and redirect appropriately; this hasn't been done (to my knowledge). 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] ElementTree - Why not part of the core? (fwd)

2005-12-08 Thread Martin v. Löwis
uld happen if he contributed one version for the standard library, and would continue to maintain the code outside of Python also). That said, I agree that ElementTree would be a valuable addition to the Python library, and has certainly passed the "collect feedback in the real world&qu

Re: [Python-Dev] ElementTree - Why not part of the core? (fwd)

2005-12-11 Thread Martin v. Löwis
be sufficient to set you as the "Assigned To" in the SF tracker? I don't see specific bug reporting instructions on the elementtree page. > and, optionally > > - sort out expat bundling issues, and include cElementTree as well > (using the same approach as above). Not

Re: [Python-Dev] ElementTree - Why not part of the core? (fwd)

2005-12-11 Thread Martin v. Löwis
sion you keep compatibility with? > (one way to do this would be to add an "function pointer table" to pyexpat > that contains pointers to selected portions of the expat API, and then add > an indirection level to cElementTree) Ok, this sounds like a larger piece of work. >

Re: [Python-Dev] ElementTree - Why not part of the core? (fwd)

2005-12-12 Thread Martin v. Löwis
Barry Warsaw wrote: > Which reminds me. I think it may make sense to offer svn.python.org to > other contrib projects that may or are included in the stdlib. Sure. Committers should understand what part of the tree they are supposed to write to. Regards,

Re: [Python-Dev] should I really have to install Python before Ican build it ?

2005-12-12 Thread Martin v. Löwis
se files always regenerated them properly before committing. See http://gcc.gnu.org/viewcvs/trunk/contrib/gcc_update?rev=106327&view=markup for gcc's solution to this problem; gcc developers are expected to invoke contrib/gcc_update, which will automatically spread the right

Re: [Python-Dev] ElementTree - Why not part of the core? (fwd)

2005-12-12 Thread Martin v. Löwis
p in the same directory, potentially with copies for symbolic release names), but if you think that manual merging at each external release is doable/better/simpler, it's fine with me. Regards, Martin ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] ElementTree in stdlib

2005-12-12 Thread Martin v. Löwis
n multiple languages cannot reuse their knowledge. It seems that this is irrelevant, as people don't work in multiple languages so much. I still think that Python should continue to provide standard APIs, for those that know how things are done in Java. Regards, Martin

Re: [Python-Dev] ElementTree in stdlib

2005-12-12 Thread Martin v. Löwis
ckage. Both has happened for ElementTree, but I think it could happen for other packages, as well. If it is merely the lack of due process you are complaining about, and you agree with the result, then IMO nothing would need to be changed about the result. Discussing it post-factum on xml-si

Re: [Python-Dev] ElementTree in stdlib

2005-12-13 Thread Martin v. Löwis
nd the integration of the package, the package really shouldn't be integrated (this is why I first predicted ElementTree would never become part of the library, because I assumed /F would not like the idea). Regards, Martin ___ Python-Dev maili

Re: [Python-Dev] ElementTree in stdlib

2005-12-13 Thread Martin v. Löwis
ve been incorporated in the core. > This could have been done long before /F ever wrote ElementTree. > But historically, this isn't what happened. That's not true. The current xml package *is* the consensus of xml-sig. Regards, Martin ___ Py

Re: [Python-Dev] Jython and CPython

2005-12-13 Thread Martin v. Löwis
in site here). If the portability problem can be solved by checking things into Jython instead, I think I would prefer that. Then having in CPython an import that only succeeds for Jython would be fine. Regards, Martin ___ Python-Dev mailing list Pyt

Re: [Python-Dev] Sharing expat instances

2005-12-13 Thread Martin v. Löwis
Fredrik Lundh wrote: > comments ? As Fred says: go ahead. 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/arch

Re: [Python-Dev] "xml" package in standard library

2005-12-14 Thread Martin v. Löwis
ith the change. You just broke source compatibility between the core package and PyXML. 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] Linked lists

2005-12-14 Thread Martin v. Löwis
Martin Blais wrote: > As I'm digging deeper into LISP and Scheme these days, I was > wondering, is there a good compelling reason why in Python we don't > have a native singly-linked and doubly-linked list types? As you seem to be asking for the historical reason: because nobod

<    50   51   52   53   54   55   56   57   58   >