Re: [Python-Dev] PEP about sys.implementation and implementation specific user site directory

2009-10-09 Thread Christian Heimes
user site suffix seems unnecessary. Christian ___ 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] Clean up Python/thread_*.h ?

2009-10-24 Thread Christian Heimes
files was last changed by Guido and Thomas Wouters. thread_sgi.h Same as thread_cthread.h I'mm +1 on removing the files. Let's ask Martin and Andrew before we remove the wince and os2 thread files. Christian ___ Pytho

Re: [Python-Dev] MSDN subscribers: Using Visual Studio?

2009-10-29 Thread Christian Heimes
_86. though. Christian ___ 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] Reworking the GIL

2009-11-01 Thread Christian Heimes
Antoine Pitrou wrote: > Based on this whole discussion, I think I am going to merge the new GIL work > into the py3k branch, with priority requests disabled. > > If you think this is premature or uncalled for, or if you just want to review > the changes before making a judgement, please voice up :

Re: [Python-Dev] Reworking the GIL

2009-11-01 Thread Christian Heimes
Antoine Pitrou wrote: > Christian Heimes cheimes.de> writes: >> +1 from me. I trust you like Brett does. >> >> How much work would it cost to make your patch optional at compile time? > > Quite a bit, because it changes the logic for processing asynchronous

Re: [Python-Dev] buildtime vs runtime in Distutils

2009-11-14 Thread Christian Heimes
th fixing a problem that isn't our fault? The decision to split the header files into a separate package, that isn't installed by default, has already created tons of bad user experience in the past. Do you want to endorse the split even further? -0 from me Christian

Re: [Python-Dev] buildtime vs runtime in Distutils

2009-11-19 Thread Christian Heimes
s "sysconfig.py.in" Are you planing to implement the proposal for Windows, too? There may be no need to change the code because we have full control over the official installers. Also the VisualStudio Windows build doesn't use ./configure but hand crafted header files. You'd h

Re: [Python-Dev] wpython is back

2009-11-27 Thread Christian Heimes
Cesare Di Mauro wrote: > > You'll find some at page 28 > here > .. > > Mart made more interesting > oneswith > Unladen benchmarks. The PDF

Re: [Python-Dev] Fwd: Download Page - AMD64

2010-01-12 Thread Christian Heimes
Michael Foord wrote: > I presume the email below is about the Windows binary. Does the AMD64 > release work on intel 64bit and can we make the wording clearer on the > download page? > > The current description is " Windows AMD64 binary". The installer works on all AMD64 compatible Intel CPUs.

[Python-Dev] E3 BEFEHLE

2010-01-16 Thread Christian Heimes
ERESSEA Lord "evzp24" ; TIMESTAMP 1263675732032 ; Magellan Version 2.0.4 (build 361) ; ECHECK -r100 -s -l -w4 -v4.3.2 LOCALE de REGION -2,0 ; Rlyeh ; ECheck Lohn 11 EINHEIT umwc; Pyrit Eisenbeisser [2,0$] // Zwerg: Bergmann LERNEN Bergbau EINHEIT 4fh4; Beryllium [2,771$] // Halb

Re: [Python-Dev] Summary of 2 years of Python fuzzing

2010-01-25 Thread Christian Heimes
sion as well? I'd like to validate some extensions and library bindings I wrote or that I'm using heavily at work. I'm especially interested in Cython support: annotating the erroneous line of Cython code and getting the shared library that causes the error to distinguish

Re: [Python-Dev] patch to make list.pop(0) work in O(1) time

2010-01-25 Thread Christian Heimes
e -0.5 on the change unless Guido, Tim or Raymond think that the size and complication impact is worth the hassle. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.p

Re: [Python-Dev] patch to make list.pop(0) work in O(1) time

2010-01-25 Thread Christian Heimes
t_resize() should occasionally compact the free space before the head with memcpy() if it gets too large. listinsert() could be optimized for 0 if the list has some free space in front of the header, too. I favor this approach over an integer offset because doe

Re: [Python-Dev] IO module improvements

2010-02-05 Thread Christian Heimes
pen("/etc/passwd") >>> fd = f.fileno() >>> os.readlink("/proc/self/fds/%i" % fd) '/etc/passwd' On Windows it's possible to get the file name from the handle with GetFileInformationByHandleEx(). This doesn't strike me as a feasible options ..

Re: [Python-Dev] __file__ is not always an absolute path

2010-02-06 Thread Christian Heimes
.py", so all pyc files were created relative to the library root of Python. The __file__ attribute of all pre-compiled Python files were relative, too. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] __file__ is not always an absolute path

2010-02-06 Thread Christian Heimes
n recall the Python version but it must have been 2.2 or 2.3, maybe 2.1. I'm not entirely sure how it happened, too. All I can remember that I traced the cause down to the way compileall was called. I've tried to reproduce the issue with Python 2.6 but failed. I

Re: [Python-Dev] Proposal for virtualenv functionality in Python

2010-02-20 Thread Christian Heimes
ouldn't use symlinks on Windows for stuff like virtualenv. The python.exe on Windows is small (just a few kb) since it is linked against the dll. Let's copy it and we are on the safe side. Christian ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] Proposal for virtualenv functionality in Python

2010-02-20 Thread Christian Heimes
humble opinion links are aliens on Windows. I wouldn't use them to implement virtualenv. :) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/ma

Re: [Python-Dev] Are PyCFunctions supposed to invisibly consume self when used as a method?

2010-06-12 Thread Christian Heimes
mp;PyMap_Type); SETBUILTIN("object",&PyBaseObject_Type); >>> class Example: ... iid = instancemethod(id) ... id = id ... >>> Example().id() Traceback (most recent call last): File "", line 1, in TypeError: id() takes exactly one

Re: [Python-Dev] Are PyCFunctions supposed to invisibly consume self when used as a method?

2010-06-12 Thread Christian Heimes
Am 13.06.2010 01:15, schrieb Guido van Rossum: > Hey! No borrowing the time machine! :-) Too late, Guido. The keys to the time machine are back at their usual place. You should hide them better next time. ;) Christian ___ Python-Dev mailing list Pyt

Re: [Python-Dev] More detailed build instructions for Windows

2010-07-03 Thread Christian Heimes
did you look at specifically that said "and newer"? That > would be a bug. The readme.txt in the PCbuild directory contains the sentence "Microsoft Visual C++ 2008 Express Edition is required at the very least". The wording could be interpreted as "2008 at

Re: [Python-Dev] Rounding float to int directly ...

2006-08-02 Thread Christian Tanzer
y'd still be correct under such a change. -- Christian Tanzerhttp://www.c-tanzer.at/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http:

Re: [Python-Dev] Rounding float to int directly ...

2006-08-03 Thread Christian Tanzer
Nick Maclaren <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Christian Tanzer) wrote: > > Greg Ewing <[EMAIL PROTECTED]> wrote: > > > > > What's the feeling about this? If, e.g. int() > > > were changed in Py3k to round instead of trun

[Python-Dev] datetime module enhancements

2007-03-09 Thread Christian Heimes
available at https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1665292&group_id=5470 Comments? Christian ___ 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] datetime module enhancements

2007-03-09 Thread Christian Heimes
< -(sys.maxint-1). Christian ___ 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] datetime module enhancements

2007-03-09 Thread Christian Heimes
th C level date and time libraries. Christian ___ 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] datetime module enhancements

2007-03-09 Thread Christian Heimes
xtensions in Python? * What do you think about including PyTz in the Python core? PyTz is really, REALLY useful when one has to deal with time zones. http://pytz.sourceforge.net/ * The dateutil package contains additional features which may prove as useful: http://labix.o

Re: [Python-Dev] datetime module enhancements

2007-03-09 Thread Christian Heimes
es at the end of daylight savings, which you can read more about in the Python Library Reference (datetime.tzinfo). Amost all (over 540) of the Olson timezones are supported. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.pytho

Re: [Python-Dev] datetime module enhancements

2007-03-09 Thread Christian Heimes
ds like a perfect solution for the issue. Christian ___ 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] datetime module enhancements

2007-03-10 Thread Christian Heimes
of dates in English and German: "On Saturday" or "On 2007-03-07" is a undefined time anytime on Saturday or the whole Saturday but Saturday and Sunday are a day apart. It feels right to me. Christian ___ Python-Dev mailing list P

Re: [Python-Dev] datetime module enhancements

2007-03-10 Thread Christian Heimes
Jon Ribbens schrieb: > What do you feel "next Tuesday plus 12 hours" means? ;-) First thought: It's nonsense! Nobody would say that. ;) Second though: Tuesday noon (12h after the beginning of Tuesday) Christian ___ Python-Dev maili

Re: [Python-Dev] datetime module enhancements

2007-03-10 Thread Christian Heimes
Tristan Seligmann schrieb: > pytz.timezone('Africa/Johannesburg') > > # SAST is UTC+2 not UTC+1.5 > pytz.timezone('Etc/GMT+2')._utcoffset > datetime.timedelta(-1, 79200) > # I thought I asked for GMT+2, not GMT-2 > > > ---

Re: [Python-Dev] datetime module enhancements

2007-03-10 Thread Christian Heimes
pytz.timezone('Etc/GMT+2')._utcoffset > datetime.timedelta(-1, 79200) That's another bug. Side note: You shouldn't access the _utcoffset attribute. The offset may depend on the date. I notified Stuart about the two issues in his package. Christian

Re: [Python-Dev] datetime module enhancements

2007-03-11 Thread Christian Heimes
Jon Ribbens schrieb: > I see you snipped without response my request to back up your claim > that "assuming that a date() is a datetime() with a time of midnight > will clearly break that logic". I've another idea. Date and datetime objects are compared by date. The date object for a given date is

[Python-Dev] who gets paid for this?

2007-03-16 Thread Christian Bird
ow? Or if there are devs who know this information about others, I'd be really appreciative to get it. Thanks a lot. -- Christian Bird -- Christian Bird [EMAIL PROTECTED] ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] About SSL tests

2007-04-03 Thread Christian Heimes
. On Windows ... (does Windows support a forced terminate?) """ Christian ___ 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] whitespace normalization

2007-04-26 Thread Christian Tanzer
rite-file-hooks 'delete-trailing-whitespace) ) In modern Emacsen, the `if` should be unnecessary. -- Christian Tanzerhttp://www.c-tanzer.at/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] New Super PEP

2007-05-02 Thread Christian Tanzer
` is slightly better than the title, the premise of James Knight is utterly wrong: Note that the __init__ method is not special -- the same thing happens with any method -- Christian Tanzerhttp://www.c-tanzer.at/ ___

[Python-Dev] updated for gdbinit

2007-05-15 Thread Christian Theune
$last if $pc > PyEval_EvalFrame && $pc < PyEval_EvalCodeEx pyframe end set $last=$sp up-silently 1 end select-frame 0 end Just in case anybody might want to use this and update the existing gdbinit. Christian P

Re: [Python-Dev] Finally fix installer to add Python to %PATH% on Windows

2011-01-28 Thread Christian Heimes
executable as template for all tasks: * get registry key from resource section of the executable * use the registry key to lookup the location and name of pythonXX.dll * load DLL * get optional dotted module name for resource section * either fire up interpreter as shell, with **argv or -m

Re: [Python-Dev] Builtin open() too slow

2011-03-12 Thread Christian Heimes
a bottleneck, if you use a good file system (XFS, ext* with hashed btree index). I've over a million files in one directory because it's as fast as 1000 directories with 1000 files each for all my performance relevant operations -- sometimes even faster. Christian ___

Re: [Python-Dev] "packaging" merge imminent

2011-05-17 Thread Christian Heimes
g directory and user's home directory under conditions like different effective user or the -E option. A good place for a local sysconfig.cfg could be the user's stdlib directory (e.g. ~/.local/lib/python3.2/sysconfig.cfg). Christian [1] ht

Re: [Python-Dev] 2.5 slower than 2.4 for some things?

2007-06-12 Thread Christian K
Z_]\w*", par), (r"\d+\.\d*", lambda y,x: x), (r"\d+", lambda y,x: x), (r"\+|-|\*|/", lambda y,x: x), (r"\s+", None), (r"\)+", lambda y,x: x), (r"\(+", lambda y,x:

[Python-Dev] csv changed from python 2.4 to 2.5

2007-06-25 Thread Christian K
rror: readonly attribute >>> the following however works: Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import csv >

Re: [Python-Dev] csv changed from python 2.4 to 2.5

2007-06-27 Thread Christian K
[EMAIL PROTECTED] wrote: > Christian> I could not find documentation of the following change in > Christian> python2.5. What is the reason for that? > > Without looking through the change history for the module it's unclear to me > why that would have changed.

Re: [Python-Dev] Need help fixing failing Py3k Unittests in py3k-struni

2007-07-10 Thread Christian Heimes
es.test.test_numbers: unpack requires a string argument of length 1 Segmentation fault Ubunutu 7.04 on i386 machine with an Intel P3. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: ht

Re: [Python-Dev] Need help fixing failing Py3k Unittests in py3k-struni

2007-07-10 Thread Christian Heimes
but I've reread the patch and removed the offending lines. I'm going to upload another patch as soon as I have verified mine again. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsu

Re: [Python-Dev] Documentation switch imminent

2007-08-14 Thread Christian Heimes
ydoc.gbrandl.de:3000/documenting/fromlatex/ (which > is not complete, patches are welcome :) http://pydoc.gbrandl.de:3000/documenting/fromlatex/ doesn't work for me: Keyword Not Found The keyword documenting/fromlatex is not directly associated with a page. Christian __

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

2007-09-13 Thread Christian Heimes
uldn't it decrease the overhead and increase speed when Py_INCREF and Py_DECREF are NOOPs for static and immutable objects? Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Where's the Starship's crew?

2007-10-06 Thread Christian Tismer
pen to make this my goal of life, if there are enough people interested. But they will, I know it. I do believe in Python, Starship, PyPy and Stackless. Please help me to make this life-dream into reality. happily being back to the roots -- chris -- Christian Tismer :^) <

[Python-Dev] SVN down?

2007-10-08 Thread Christian Heimes
apache server seems to be down. Christian ___ 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 down?

2007-10-11 Thread Christian Heimes
Martin v. Löwis wrote: >> The apache server seems to be down. > > I just restarted it. The anon SVN server is down again :( Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

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

2007-10-12 Thread Christian Heimes
(http://en.wikipedia.org/wiki/LinkedIn) or SourceForge Marketplace clone? Could we collaborate with one or multiple major players in the job market? Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] SVN down?

2007-10-14 Thread Christian Heimes
Guess what? It's down the third time this week ... Christian ___ 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] Deadlock by a second import in a thread

2007-10-19 Thread Christian Heimes
tatic variable. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Fwd: Deadlock by a second import in a thread

2007-10-25 Thread Christian Heimes
ule initializer but not for strptime. It depends on a Python module that imports datetime and time. I could look into the matter and provide a patch for the trunk. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python

Re: [Python-Dev] Fwd: Deadlock by a second import in a thread

2007-10-26 Thread Christian Heimes
when they are used the first time or I could load them in Py_InitializeEx. Christian $ find -name '*.c' | xargs grep PyImport_ImportModule\(\" ./Objects/unicodeobject.c:m = PyImport_ImportModule("unicodedata"); ./Objects/exceptions.c:bltinmod = PyImport_

Re: [Python-Dev] Declaring setters with getters

2007-10-31 Thread Christian Heimes
mplementation would either require support from the parser or some metaclass magic. Your KISS approach rocks! :) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.

[Python-Dev] Bug tracker: meaning of resolution keywords

2007-11-09 Thread Christian Heimes
P because it's crucial for future development high - the problem should be fixed soonish and must be fixed for the next release normal - the problem should be fixed for the next release low - nice to have features and fixes Christian ___ Python-Dev

Re: [Python-Dev] Bug tracker: meaning of resolution keywords

2007-11-09 Thread Christian Heimes
Christian Heimes wrote: > (*) It's missing from the list of resolutions but I like to have it > added. http://psf.upfronthosting.co.za/roundup/meta/issue167 Update: Georg Brandl pointed out that it makes more sense to add confirmed to status.

Re: [Python-Dev] Declaring setters with getters

2007-11-10 Thread Christian Heimes
ithdrawing the hacks, making the code and semantics much simpler. I like the new way better than the implicit magic of your former patch. (*) I've reviewed your patch and I found a minor typo caused by copy and paste. Good work Guido! Christian (*) The buzz words 'implicit' and &

[Python-Dev] Hello, I'm the other new guy

2007-11-13 Thread Christian Heimes
Hello Pythonistas and fellow core developers! After Amaury introduced himself I've decided that I *have* to take some time to introduce myself, too. Hello, my name is Christian Heimes and I'm a 28 years old German from Aachen. Aachen is a beautiful city about 70km West to Cologne an

Re: [Python-Dev] CPython crash with '%o'

2007-11-14 Thread Christian Heimes
to internal function >>> "%x" % x Traceback (most recent call last): File "", line 1, in SystemError: Objects/stringobject.c:4269: bad argument to internal function Objects/stringobject.c:_PyString_FormatLong(...) ... /* To modify the stri

Re: [Python-Dev] Hello, I'm the other new guy

2007-11-15 Thread Christian Heimes
category. I'm astonished that your son isn't afraid of you with all those hairs in your face. ;) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python

Re: [Python-Dev] r59042 - python/branches/py3k/Modules/xxmodule.c

2007-11-18 Thread Christian Heimes
it leads to code that doesn't compile on Windows. * I'm working on a very basic unit test to test distutils.core.Extension. I've chosen xxmodule and xxsubtype for the tests. I hope I didn't step over a line with the change. I didn't change the files w/o consulting the doc

Re: [Python-Dev] r59042 - python/branches/py3k/Modules/xxmodule.c

2007-11-18 Thread Christian Heimes
Brett Cannon wrote: > If the docs point that fact out then it is fine. I didn't even know about it! I didn't know it until today, too. I took me some reading why the h... the same code compiles fine on Linux but fails on Windows.

[Python-Dev] PCbuild9 for the trunk

2007-11-22 Thread Christian Heimes
ersion can also create PGO builds with the new directory. Preliminary tests are showing that PGO builds are roughly 10% faster than standard builds. Have fun! Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi

Re: [Python-Dev] PCbuild9 for the trunk

2007-11-22 Thread Christian Heimes
Joseph Armbruster wrote: > Christian, > > When will the third party library versions be finalized for Py3k? For the > time > being I am building with: > > bzip2-1.0.3 > db-4.4.20 > openssl-0.9.8g > sqlite-source-3.3.4 > tcl8.4.12 > tix-8.4.0 > tk8.4

Re: [Python-Dev] Should we do away with unbound methods in Py3k?

2007-11-22 Thread Christian Heimes
please give an example to a mer mortal? :) Christian ___ 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] Backquote deprecation warning

2007-11-23 Thread Christian Heimes
Martin v. Löwis wrote: > I think struct compiling should carry the file name, starting in > PyAST_FromNode. Thanks! I was trying to add the filename to node but it required too many changes. I really wonder why I wasn't touching the compiling struct.

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

2007-11-23 Thread Christian Heimes
isn't a critical error although VS reports it so. > _tkinter and _bsddb > --- > > The instructions suggest using VS 2003 to build the dependencies. I > don't have VS 2003 and don't have the time at the moment to > investigate further. bsddb is automatically

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

2007-11-23 Thread Christian Heimes
in the makefiles and configure headers of openssl. I've also added another step to the makefile patcher in build_ssl. It makes sure that the three algorithms are disabled. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyt

[Python-Dev] 1324 bugs in the tracker

2007-11-23 Thread Christian Heimes
egorizing bugs and checking patches. The tracker sure contains a lot of outdated junk and already fixed bugs. A group of five to ten highly motivated people could squall through the tracker smashing all those ugly bugs like the infantry in Starship Troopers - but hopefully with l

[Python-Dev] Backquote deprecation warning

2007-11-23 Thread Christian Heimes
imply life with the fact that the user won't get a filename in the deprecation warning? Christian ___ 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] Build Notes for building trunk with Visual Studio 2008 Express Edition

2007-11-23 Thread Christian Heimes
the standard Pyrex primes testcase as an extension. I noticed > that Christian has committed patches to the py3k trunk which > do useful things with the vcvars.bat file to pick up the > compiler environment, so I was going to email him privately to > look at backporting those into 2.6. T

Re: [Python-Dev] Should we do away with unbound methods in Py3k?

2007-11-23 Thread Christian Heimes
} else { PyObject_SetAttrString(func, "im_class", Py_None); } return func; } return PyMethod_New(func, obj, type); } http://bugs.python.org/issue1493 Christian ___ Pyth

Re: [Python-Dev] Should we do away with unbound methods in Py3k?

2007-11-24 Thread Christian Heimes
Christian Heimes wrote: > Without support from the descriptor it's not possible to distinguish a > function from an unbound method any more. I like to add im_class to the > function object. I don't see negative side effects, do you? OK, forget that. Pretend I've never sai

Re: [Python-Dev] Should we do away with unbound methods in Py3k?

2007-11-25 Thread Christian Heimes
Guido van Rossum wrote: > Thanks for the patch! Now I'm hoping someone will look into those > remaining six test failures. The tooth fairy has left a present for you, Guido. Georg has fixed 5 of the remaining bugs and I got test_unittest working this morning.

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

2007-11-26 Thread Christian Heimes
e optimization experts. I'm glad that everybody is happy with the new PCbuild9 directory. Tcl/Tk is the last obstacle. I'm not able to build the 64bit version with the cross compiler of VS 2008 Standard Edition. Christian ___ Python-Dev mailing l

Re: [Python-Dev] removing the new and types modules

2007-11-28 Thread Christian Heimes
nly ones I would suggest putting elsewhere are the module type > (exposing it through the imp module instead), and the new > dict_keys/_values/_items types (exposing them through the collections > module, as others have suggested). Several other types are used in the Pyt

[Python-Dev] [poll] New name for __builtins__

2007-11-28 Thread Christian Heimes
__root__ too short, __rootns__ too cryptic, and __root_namespace__ too long. :-) What else have we got? --- What name do you prefer? I'm +1 with Raymond on __root__ but I'm still open for better suggestions. Christian ___ Python-Dev mailing lis

Re: [Python-Dev] [poll] New name for __builtins__

2007-11-28 Thread Christian Heimes
Paul Moore wrote: > What about __global__? If that's not an option, I'm OK with __root__. __global__ was also on my list but I've abolished it. It could create confusing with globals(). Christian ___ Python-Dev mailing list Python-D

Re: [Python-Dev] [poll] New name for __builtins__

2007-11-28 Thread Christian Heimes
imply what kind of root it is or how its used. I don't like __python__ either. It doesn't explain the meaning of the variable at all. If you want to stick to something like __python__ I suggest __pythoncore__ or __pythonroot__, maybe __pythongastric__ (just kidding). Christian ___

Re: [Python-Dev] [poll] New name for __builtins__

2007-11-29 Thread Christian Heimes
Greg Ewing wrote: > __uberglobal__ Since Python 3.0 supports all unicode chars I vote for __überglobal__. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: h

Re: [Python-Dev] [poll] New name for __builtins__

2007-11-29 Thread Christian Heimes
at local, nonlocal, global and the-other-thingie are more like the layers of an onion than a tree. It makes sense to me. The name lookup starts at the local level and goes all the way out until it reaches the universal level. Or does it go in until it reaches the core of

Re: [Python-Dev] [poll] New name for __builtins__

2007-11-29 Thread Christian Heimes
the Aussies! :) Christian ___ 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] Statsvn output for /python/branches/py3k

2007-11-29 Thread Christian Heimes
ot* of space and meaningless lines. Christian ___ 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] msvcr90 support was added to mingw

2007-11-30 Thread Christian Heimes
e are interested in the topic but some may be glad to hear that MinGW is still supported. Christian [1] http://article.gmane.org/gmane.comp.gnu.mingw.user/24686 [2] http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/msvcrt.def.in?rev=1.8&content-type=text/x-cvsweb-markup&am

Re: [Python-Dev] [poll] New name for __builtins__

2007-12-01 Thread Christian Heimes
Georg Brandl wrote: > Done, see #1535. I've written a 2to3 fixer, see #1535. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/py

Re: [Python-Dev] Non-string keys in namespace dicts

2007-12-02 Thread Christian Heimes
Neil Toronto wrote: > It'd be nice to have a benchmark with a deep class hierarchy. Does > anybody know of one? Zope has some very complex and deep class hierarchies, especially when it comes down to Plone and Archetypes. Unfortunately Zope is still stuck with Python 2.4.

Re: [Python-Dev] Py3k code freeze imminent; 3.0a2 release Friday

2007-12-06 Thread Christian Heimes
Guido van Rossum wrote: > The buildbot is green for Solaris also, so I think we're in good > shape. I don't see any green buildbots for Windows though, but Windows > is always a flakey situation; Christian, what's your assessment? test_mailbox is still failing with lo

Re: [Python-Dev] Py3k code freeze imminent; 3.0a2 release Friday

2007-12-06 Thread Christian Heimes
t I don't have time to finish it until tonight. http://bugs.python.org/issue1469 Christian ___ 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] Split up the c-api documentation in smaller files?

2007-12-07 Thread Christian Heimes
is about 4-5 seconds! It also takes long to search for a string and scrolling isn't smooth, too. Can we split the files in smaller chunks, please? Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/p

[Python-Dev] Python 3.0a2 is out

2007-12-07 Thread Christian Heimes
A new alpha of Python 3000 was released a few minutes ago! http://www.python.org/download/releases/3.0/ Have fun and don't forget to report bugs at http://bugs.python.org/ Christian signature.asc Description: OpenPGP digital signature ___ P

Re: [Python-Dev] Improved dyn mod load debug

2007-12-17 Thread Christian Heimes
t initialized properly", pathname); return NULL; } Christian ___ 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] [patch] Improvements for float and math

2007-12-17 Thread Christian Heimes
long double precision for future use. * 1st and 2nd kind Bessel functions (j0, j1. jn, y0, y1, yn), error functions (erf, erfc) and gamma function (lgamma with sign). They are available in most libm libraries. Please review the patches and comment on them. Christian

[Python-Dev] epoll() and kqueue wrapper for the select module

2007-12-20 Thread Christian Heimes
select.KQ_EV_ONESHOT | select.KQ_EV_ADD)] >>> kq.control(ev, 0, 0) >>> events = kq.control([], 1, None) I already talked to some Twisted guys and they really like it. A patch is available at http://bugs.python.org/issue1657. The code needs more unit tests a

Re: [Python-Dev] epoll() and kqueue wrapper for the select module

2007-12-21 Thread Christian Heimes
ed. I agree with Gregory on that part of your answer. Christian ___ 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] My pending patches

2007-12-30 Thread Christian Heimes
ls back to PyImport_ImportModule unless the import lock is hold. In the latter case it raises an exception to prevent a dead lock. It solves a problem with imports from C code and threads. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.

[Python-Dev] Fate of Windows build directories

2007-12-31 Thread Christian Heimes
8 (http://bugs.python.org/issue1455). The script would make maintenance of the PCbuild8 directory easier. PCbuild9/ The new build dir for VS 2008. Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyth

<    2   3   4   5   6   7   8   9   10   11   >