Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-12 Thread Giovanni Bajo
, changing between external modules within or outside python2x dll would be a one-line switch in CMakeLists.txt (or similar). -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Evaluated cmake as an autoconf replacement

2009-04-12 Thread Giovanni Bajo
available on all platforms, and it can be installed in a couple of seconds. -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] PEP 372 -- Adding an ordered directory to collections ready for pronouncement

2009-03-02 Thread Giovanni Bajo
::unordered_map (and std::unordered_set), to be implemented with a hash table. So, if you come from C++, it's easy to mistake the meaning of an ordered dict. This said, I don't have a specific suggestion, but I would stay with lowercase-only for simmetry with defaultdict. -- Giovanni Bajo Develer S.r.l

Re: [Python-Dev] PEP 374 (DVCS) now in reST

2009-01-26 Thread Giovanni Bajo
. This is a good writeup of the new features: http://chestofbooks.com/computers/revision-control/subversion-svn/Merge- Sensitive-Logs-And-Annotations-Branchmerge-Advanced-Lo.html -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ Python-Dev

Re: [Python-Dev] __del__ and tp_dealloc in the IO lib

2009-01-23 Thread Giovanni Bajo
On gio, 2009-01-22 at 18:42 -0800, Guido van Rossum wrote: On Thu, Jan 22, 2009 at 5:22 PM, Giovanni Bajo ra...@develer.com wrote: CPython will always use reference counting and thus have a simple and clear GC criteria that can be exploited to simplify the code. Believe this at your own

Re: [Python-Dev] __del__ and tp_dealloc in the IO lib

2009-01-23 Thread Giovanni Bajo
On 1/23/2009 4:27 PM, Guido van Rossum wrote: On Fri, Jan 23, 2009 at 2:57 AM, Giovanni Bajo ra...@develer.com wrote: I miss to understand why many Python developers are so fierce in trying to push the idea of cross-python compatibility (which is something that does simply *not* exist in real

Re: [Python-Dev] [Python-3000] 2.6.1 and 3.0

2008-11-27 Thread Giovanni Bajo
an installer today, but only a few people have the required knowledge to really do releases on Windows. So I believe that switching to an alternative that doesn't require full understanding of MSI and msi.py would probably low the barrier and allow more people to help you out. -- Giovanni Bajo

Re: [Python-Dev] [Python-3000] 2.6.1 and 3.0

2008-11-26 Thread Giovanni Bajo
. -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ 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-3000] 2.6.1 and 3.0

2008-11-26 Thread Giovanni Bajo
besides Martin?). -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ 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] [Python-3000] 2.6.1 and 3.0

2008-11-26 Thread Giovanni Bajo
. -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ 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: Removal of GIL through refcounting removal.

2008-11-02 Thread Giovanni Bajo
experience with standard GCs from other languages has been less than stellar. ]] -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

[Python-Dev] Troubles with Roundup

2008-06-16 Thread Giovanni Bajo
Hello, I'm trying to login into the tracker but it gives me invalid login even after multiple password resets. I can't submit a proper bugreport because... I can't login :) Who can I privately contact to avoid spamming this list? Thanks! -- Giovanni Bajo Develer S.r.l. http

Re: [Python-Dev] Warn about mktemp once again?

2008-04-29 Thread Giovanni Bajo
requires a little care to be truly multiplatform). -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

Re: [Python-Dev] Warn about mktemp once again?

2008-04-28 Thread Giovanni Bajo
)? -- Giovanni Bajo Develer S.r.l. http://www.develer.com ___ 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] Subversion branch merging

2007-07-13 Thread Giovanni Bajo
in the details: eg, it supports case-insensitive filesystems). I can't speak of bzr. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] Building Python with CMake

2007-07-13 Thread Giovanni Bajo
of maintanance for developers is the #1 reason for having a 2.1Mb python25.dll under Windows, which I would really love to reduce. ] -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] itertools addition: getitem()

2007-07-10 Thread Giovanni Bajo
for getitem(it, n) with n not in (0, -1)? I share Raymond's feelings on this. And by the way, if you wonder, I have these exact feelings as well for islice... :) -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Py2.6 buildouts to the set API

2007-05-19 Thread Giovanni Bajo
to details (eg: does the set keep a strong or weak reference to the callback? What if I need to do several *transactional* modifications in a row, and thus would like my callback to be called only once at the end?). -- Giovanni Bajo ___ Python-Dev mailing

Re: [Python-Dev] svn logs

2007-05-09 Thread Giovanni Bajo
On 08/05/2007 19.37, Neal Norwitz wrote: Part of the problem might be that we are using an old version of svn (1.1) AFAIK. IIRC these operations were sped up in later versions. Yes they were. If that's the case, then probably the server should be updated. -- Giovanni Bajo

Re: [Python-Dev] New Super PEP

2007-05-02 Thread Giovanni Bajo
enough to make it worth. -- Giovanni Bajo ___ 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] New Super PEP

2007-05-02 Thread Giovanni Bajo
code using super (and the suggestions he proposes are specifically for making code using super less fragile to refactorings). -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Status of thread cancellation

2007-03-16 Thread Giovanni Bajo
only a very little chunk of memory which is shared, and Python makes it incredibly easy to marshal data to a process (pickle or whatever). So in many cases there's really little excuses for going mad with threads. -- Giovanni Bajo ___ Python-Dev mailing

Re: [Python-Dev] Encouraging developers

2007-03-05 Thread Giovanni Bajo
. There are many valid Python programmers out there, and there are many many patches to stdlib which really don't even require a good programmer to be written. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Encouraging developers

2007-03-05 Thread Giovanni Bajo
a red herring, pushed by some SCM wonk. The problem with patch submission has absolutely *nothing* to do with tools. Do we have any evidence that new developers are getting frustrated because they can't handle their patches well enough with the current tools? -- Giovanni Bajo

Re: [Python-Dev] Making builtins more efficient

2007-02-21 Thread Giovanni Bajo
. It's a bit much to summarize again now, but you should be able to find it in the archive with this subject and a date of 2006-03-08. Are you aware of this patch, which is still awaiting review? https://sourceforge.net/tracker/?func=detailatid=305470aid=1616125group_id=5470 -- Giovanni Bajo

Re: [Python-Dev] Py2.6 ideas

2007-02-15 Thread Giovanni Bajo
iterable positional arguments (or keyword arguments). This matches tuple() (and other containers) in behaviour, and makes it easier to substitute existing uses with named tuples. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] New syntax for 'dynamic' attribute access

2007-02-13 Thread Giovanni Bajo
self.http_error_default(url, fp, errcode, errmsg, headers) -- Giovanni Bajo ___ 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] New syntax for 'dynamic' attribute access

2007-02-13 Thread Giovanni Bajo
= chain.get(kind, ()) for handler in handlers: func = handler.[[meth_name]] result = func(*args) if result is not None: return result Little heavy on the eye, but it seems that it's exactly what people want and can't find in the .[] syntax. -- Giovanni Bajo

Re: [Python-Dev] Python's C interface for types

2007-01-26 Thread Giovanni Bajo
required property is that objects which compare equal have the same hash value; [...] I personally consider *very* important that hash(5.0) == hash(5) (and that 5.0 == 5, of course). -- Giovanni Bajo

Re: [Python-Dev] [Python-checkins] buildbot failure in amd64 gentoo 2.5

2007-01-23 Thread Giovanni Bajo
vulnerable to the spambots, I'd be happy to incorporate them into Buildbot. I'd throw a CAPTCHA in. There are even some written in Python. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] file(file)

2007-01-13 Thread Giovanni Bajo
happen in the 2.x serie... -- Giovanni Bajo ___ 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] fpectl: does a better implementation make sense?

2006-11-30 Thread Giovanni Bajo
would check for FPU errors and raise an appropriate exception if needed. Is this suggestion still valid or people changed their mind meanwhile? Would such a rewrite of fpectl (or a new module with a different name) be accepted? -- Giovanni Bajo

[Python-Dev] Summer of Code: zipfile?

2006-11-12 Thread Giovanni Bajo
Hello, wasn't there a project about the zipfile module in the Summer of Code? How did it go? Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] Importing .pyc in -O mode and vice versa

2006-11-06 Thread Giovanni Bajo
() == /nobarepyc.py Just import it before importing anything else (or in site.py if you prefer) and you'll be done. Ah, it doesn't work with zipimports... -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Importing .pyc in -O mode and vice versa

2006-11-06 Thread Giovanni Bajo
application is run with a specific setting, you can use python -I -OO app.py. And that's all. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

Re: [Python-Dev] Proposal: No more standard library additions

2006-10-13 Thread Giovanni Bajo
Perl SMTP libraries... and rightfully so!). Therefore, you have to obsolete old stuff if you want there to be only One Obvious Way To Do It. I'm totally in favor of obsoletion and removal of old cruft from the standard library. I'm totally against *not* having a standard library. Giovanni Bajo

[Python-Dev] [py3k] Re: Proposal: No more standard library additions

2006-10-13 Thread Giovanni Bajo
I apologize, this had to go to [EMAIL PROTECTED] ___ 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 spawnvp not implemented on Windows?

2006-10-13 Thread Giovanni Bajo
exclude the setuptools stuff which is its disputed maintenance/evolution). subprocess has been introduced in Python 2.4. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Python 2.5 performance

2006-10-12 Thread Giovanni Bajo
improvement comes from ceval.c only (or maybe a few other selected files). Is it possible to somehow link the PGO-optimized ceval.obj into the VS2003 project? -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] PEP 355 status

2006-09-30 Thread Giovanni Bajo
PEP355 incredibly good for my own path manipulation (much cleaner and concise than the awful os.path+os+shutil+stat mix), and I have trouble understanding what is *so* wrong with it. You said it's an amalgam of unrelated functionality, but you didn't say what exactly is unrelated for you. Giovanni

Re: [Python-Dev] New relative import issue

2006-09-23 Thread Giovanni Bajo
module level (and even less so one requiring so much guess-work as this one). Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev

Re: [Python-Dev] Minipython

2006-09-23 Thread Giovanni Bajo
which modules to link in, I was able to reduce of another 300K or so, but nothing really incredible. I would also suggest -ffunction-sections in these cases, but you might already know that. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Removing __del__

2006-09-23 Thread Giovanni Bajo
users of it. Giovanni Bajo ___ 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] GCC patch for catching errors in PyArg_ParseTuple

2006-09-22 Thread Giovanni Bajo
. It was written for the current trunk, but hopefully applies to most recent releases. A way not to maintain this patch forever would be to devise a way to make format syntax pluggable / scriptable. There have been previous discussions on the GCC mailing lists. Giovanni Bajo

Re: [Python-Dev] New relative import issue

2006-09-21 Thread Giovanni Bajo
be valid use cases for doing sys.path hackery, but I have yet to find them. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python

Re: [Python-Dev] Testsuite fails on Windows if a space is in the path

2006-09-18 Thread Giovanni Bajo
installation). Besides, it won't be allowed in Vista with the default user permissions. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

Re: [Python-Dev] Unicode Imports

2006-09-08 Thread Giovanni Bajo
release is not a problem. Anyway, I'm not pushing for this specific policy (even if I like it): I'm just suggesting Release Managers to more formally define what should and what should not go in a point release. Giovanni Bajo ___ Python-Dev mailing list

Re: [Python-Dev] Error while building 2.5rc1 pythoncore_pgo on VC8

2006-09-04 Thread Giovanni Bajo
a 30% improvement in pystone, for free. -- Giovanni Bajo ___ 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] Dicts are broken Was: unicode hell/mixing str andunicode asdictionarykeys

2006-08-05 Thread Giovanni Bajo
different semantically. Then I'd ask why Python goes through hoops to make sure that hash(1.0) == hash(1), in the first place. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] Dicts are broken Was: unicode hell/mixing str and unicode asdictionarykeys

2006-08-04 Thread Giovanni Bajo
type a number is, as long as he knows it's a number. On the other hand, unicode and str are going to diverge more and more. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe

Re: [Python-Dev] Document performance requirements?

2006-07-23 Thread Giovanni Bajo
). And if this is allowed, I would like to find in CPython tutorials and documentations a simple statement like: to implement the list and match its requirements, CPython choose a simple array as underlying data structure. -- Giovanni Bajo ___ Python-Dev mailing

Re: [Python-Dev] Python 2.4, VS 2005 Profile Guided Optmization

2006-07-23 Thread Giovanni Bajo
, and the fact that Visual Studio Express 2005 is free forever, I would hope as well for the decision to be reconsidered. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Document performance requirements?

2006-07-21 Thread Giovanni Bajo
or something complex like that). Documenting that it's just a bare vector (std::vector in C++) would be of great help. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] new security doc using object-capabilities

2006-07-20 Thread Giovanni Bajo
model is greatly welcome. It's just that us mere mortals need to use eval() *now*, and that recipe is good enough for many practice uses. If you can't win, you can at least lose with dignity :) -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] new security doc using object-capabilities

2006-07-20 Thread Giovanni Bajo
release the GIL (or poll some kind of watchdog used to abort them, pretty much like they normally poll CTRL+C), then the same trick used by the recipe could be used. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org

Re: [Python-Dev] Strategy for converting the decimal module to C

2006-07-18 Thread Giovanni Bajo
an exception is caused, flags[exception] is incremented. | (Whether or not the trap_enabler is set) | Should be reset by user of Decimal instance. [...] -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Dynamic module namspaces

2006-07-15 Thread Giovanni Bajo
and generic btw, you may want to consider it as a tool. -- Giovanni Bajo ___ 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] Community buildbots

2006-07-14 Thread Giovanni Bajo
think it would hurt to have it available as a __future__ import as well. There's also the advantage that all of a module's future assumptions could then be documented uniformly in one place, i.e. in a __future__ import at the top. +1. Giovanni Bajo

Re: [Python-Dev] Community buildbots (was Re: User's complaints)

2006-07-14 Thread Giovanni Bajo
of a bug in Python itself. Giovanni Bajo ___ 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] Community buildbots (was Re: User's complaints)

2006-07-14 Thread Giovanni Bajo
the trunk at the same time, causing may headaches to all the other developers. The work-plan is managed and updated in the GCC Wiki (which is off-line right now, but I'll post a link as example when it's back). -- Giovanni Bajo ___ Python-Dev mailing list

Re: [Python-Dev] Community buildbots (was Re: User's complaints)

2006-07-13 Thread Giovanni Bajo
. For instance, GCC has a rather complex 4-stage release process, whose last phase (beginning at the point the release is branched in SVN) is made of commits only for regressions. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Community buildbots

2006-07-13 Thread Giovanni Bajo
import unicode_literals would be really welcome, and would smooth the Py3k migration process -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] Switch and static, redux

2006-07-07 Thread Giovanni Bajo
AT LAST! :) Giovanni Bajo ___ 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] Explicit Lexical Scoping (pre-PEP?)

2006-07-04 Thread Giovanni Bajo
in Python today. Interesting. What if for-loops implicitally used my on the iteration variable? That would solve the binding problem we were discussing and make lambdas Do The Right Thing(TM) when used in loops. -- Giovanni Bajo ___ Python-Dev mailing

Re: [Python-Dev] 2.5 and beyond

2006-07-01 Thread Giovanni Bajo
which means that Python users *already* know that a variable is not really looked up only at run-time, but there's something going on even at function definition time. I don't see anything wrong if lambdas (or nested scopes) did the same for names provably coming from the outer scope. -- Giovanni

Re: [Python-Dev] 2.5 and beyond

2006-06-30 Thread Giovanni Bajo
people to use the i=i trick. Giovanni Bajo ___ 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] 2.5 and beyond

2006-06-30 Thread Giovanni Bajo
[Giovanni Bajo] Yes but: a = [] for i in range(10): ... a.append(lambda: i) ... print [x() for x in a] [9, 9, 9, 9, 9, 9, 9, 9, 9, 9] This subtle semantic of lambda is quite confusing, and still forces people to use the i=i trick. [Tim Peters] So stay away from excruciating abuses

Re: [Python-Dev] PEP 328 and PEP 338, redux

2006-06-29 Thread Giovanni Bajo
, clearer spelling for the if condition (like: if not __imported__) would help as well. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

Re: [Python-Dev] PEP 328 and PEP 338, redux

2006-06-29 Thread Giovanni Bajo
of this. - (new) Defining a main() function is already the preferred style for reusability, so __main__ would encourage the preferred style. If you believe that these arguments collapse to I don't like it, then no, I don't have any arguments. -- Giovanni Bajo

Re: [Python-Dev] PEP 328 and PEP 338, redux

2006-06-28 Thread Giovanni Bajo
existing code with the if name == main paradigm. -- Giovanni Bajo ___ 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 328 and PEP 338, redux

2006-06-27 Thread Giovanni Bajo
require a minor change to run under -m. Is this actually a problem, or is it a new feature? This is where I wonder why the def __main__() PEP was rejected in the first place. It would have solved this problem as well. -- Giovanni Bajo ___ Python-Dev

Re: [Python-Dev] Moving the ctypes repository to python.org

2006-06-23 Thread Giovanni Bajo
. -- Giovanni Bajo ___ 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 2.4 extensions require VC 7.1?

2006-06-16 Thread Giovanni Bajo
available for download is an important fact, and we might want to rediscuss the issue. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options

Re: [Python-Dev] UUID module

2006-06-12 Thread Giovanni Bajo
be in the path. As a last note, you are parsing ipconfig output assuming an English Windows installation. My Italian Windows 2000 has localized output. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo

Re: [Python-Dev] External Package Maintenance (was Re: Please stopchanging wsgiref on the trunk)

2006-06-12 Thread Giovanni Bajo
way to maintain the standard library, not an agreement to remove it, just because we cannot find a way to maintain it properly. The fact that there hundreds of unreviewed patches to the standard library made by wannabe contributors is a blatant sign that something *can* be improved. -- Giovanni Bajo

Re: [Python-Dev] Source control tools

2006-06-12 Thread Giovanni Bajo
is written in a combination of bash and perl, with richful usage of textuils, coreutils and whatnot. It's basically unportable by design to native Windows. I guess the only sane approach is to use it under Cygwin. IMO this is a big no-go for real Windows developers. Giovanni Bajo

Re: [Python-Dev] External Package Maintenance (was Re: Please stopchanging wsgiref on the trunk)

2006-06-12 Thread Giovanni Bajo
repository, you can use svnmerge-like features to find out modifications and whatnot). Maintaining an external repository seems like a larger effort, and probably not worth it. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] UUID module

2006-06-11 Thread Giovanni Bajo
)) which is then caught. Giovanni Bajo ___ 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] Subversion repository question - back up to older versions

2006-06-09 Thread Giovanni Bajo
, while [/tags/r242, NNN] is more clear). Giovanni Bajo ___ 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] Subversion repository question - back up to older versions

2006-06-09 Thread Giovanni Bajo
with this as the answer. Hope you don't mind... It should show up on http://www.python.org/dev/faq/ as question 3.23 in a few minutes. Sure, I'm glad to help. You may want to revise it a little since it wasn't meant to be read out of the context... -- Giovanni Bajo

Re: [Python-Dev] Proposal for a new itertools function: iwindow

2006-05-27 Thread Giovanni Bajo
functionality. I know I have been implementing something similar very often. Since when do we need a full PEP process, nitpicking the small details to death, just to add a simple function? Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] New string method - splitquoted

2006-05-18 Thread Giovanni Bajo
shlex.split(), and follows the semantic of a standard UNIX shell, including escaping and other things. import shlex shlex.split(rHey I\'m a bad guy for you) ['Hey', I'm, 'a', 'bad guy', 'for', 'you'] Giovanni Bajo ___ Python-Dev mailing list Python

Re: [Python-Dev] New string method - splitquoted

2006-05-18 Thread Giovanni Bajo
myself had to parse. I believe the standard library already covers common usage. There will surely be cases where a custom lexer/splitetr will have to be written, but that's life :) Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] New string method - splitquoted

2006-05-18 Thread Giovanni Bajo
. -- Giovanni Bajo ___ 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] Alternative path suggestion

2006-05-06 Thread Giovanni Bajo
or not, and so does the simple, clear, mechanical thing: it splits on the right-most dot. And even if they know this limitation (if you want to call it so, I call it clear, consistent behaviour which applies to a not-always-consistently-used convention), the function is still useful. Giovanni Bajo

Re: [Python-Dev] Visual studio 2005 express now free

2006-04-21 Thread Giovanni Bajo
be great if the patches provided here were reviewed and integrated into the official Python distutils. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] setuptools in the stdlib

2006-04-19 Thread Giovanni Bajo
compatibility. Giovanni Bajo ___ 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] adding Construct to the standard library?

2006-04-18 Thread Giovanni Bajo
with binary protocols. I didn't see a good reason why you shouldn't extend ctypes so to provide features that it is currently missing. It looks like it could be easily extended to do so. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] setuptools in the stdlib

2006-04-18 Thread Giovanni Bajo
? Giovanni Bajo ___ 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] elementtree in stdlib

2006-04-07 Thread Giovanni Bajo
or \ elementtree.ElementTree or lxml.etree as ET Astonishingly cute. +1. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev

Re: [Python-Dev] Discussing the Great Library Reorganization

2006-03-29 Thread Giovanni Bajo
guess my db will shadow the stdlib one, making it impossible to access. An unique prefix for stdlib would solve this. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

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

2006-03-28 Thread Giovanni Bajo
, I'll shut up as I see there is a committee for this decision. The integration between tickets/svn/wiki in Trac is cute though, even if, after a while, you'd really want that mailman parsed that syntax as well (and maybe your MUA too :) -- Giovanni Bajo

Re: [Python-Dev] Changing -Q to warn for 2.5?

2006-03-26 Thread Giovanni Bajo
about the old semantic, it just won't be the one used by Python 3.0. While it's nice to have an option to help forward porting, I don't think we should force it. Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

Re: [Python-Dev] GeneratorExit inheriting from Exception

2006-03-19 Thread Giovanni Bajo
as expected. At *worse*, it would be catching too much, like SystemExit or GeneratorExit, which are still pretty uncommon exception. OTOH, I also understand that people have been told that deriving from Exception is the right thing to do forever now. Giovanni Bajo

Re: [Python-Dev] Python 2.5 Schedule

2006-03-18 Thread Giovanni Bajo
. -- Giovanni Bajo ___ 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] GeneratorExit inheriting from Exception

2006-03-18 Thread Giovanni Bajo
almost always wrong to use it, and if you really really need it, it's spelled exceptions.Exception. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] GeneratorExit inheriting from Exception

2006-03-18 Thread Giovanni Bajo
is just that, and people actually meant Error. In a way, the current PEP352 is superior here because it makes harder to do the bad thing by giving it a complex name (BaseException). Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] libbzip2 version?

2006-03-11 Thread Giovanni Bajo
Martin v. Löwis [EMAIL PROTECTED] wrote: On bzip2, I wonder whether 2.4 should also update to the newer library; +1, I seem to remember of exploits with corrupted data fed to the bz2 decompressor. Giovanni Bajo ___ Python-Dev mailing list Python

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

2006-03-09 Thread Giovanni Bajo
extension modules from python.dll out into their own .pyd files where they'd belong (were not for this technical annoyance of being forced to use the settings dialog in MSVC). -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http

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

2006-03-09 Thread Giovanni Bajo
would be committed in SVN under PCbuild, so to have a minimal impact on developer habits. -- Giovanni Bajo ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

  1   2   >