Hi,
An interesting problem was pointed out to me, which I have distilled
to this testcase:
def gen():
raise TypeError, "I am a TypeError"
yield 1
def one(): return ''.join( x for x in gen() )
def two(): return ''.join([x for x in gen()])
for x in one, two:
try:
x()
exc
Hello all,
Recently I've found that rlcompleter does not work correctly with SWIG
generated classes.
In some cases dir(object) containes not only strings, but also type of
the object, smth like .
And condition "word[:n] == attr" throws an exception.
Is it possible to solve this problem with follo
I am sure people mainly care about the big changes inroduced by
revision 1.8 of the PEP (http://www.python.org/peps/pep-0348.html).
So, first is that WindowsError is staying. Enough people want it to
stay and have a legitimate use that I removed the proposal to ditch
it.
Second, I changed the ba
Here's July Part Two. As usual, if anyone can spare the time to proofread
this (it's fairly short this fortnight!), that would be great! Please send
any corrections or suggestions to Tim (tlesher at gmail.com), Steve
(steven.bethard at gmail.com) and/or me, rather than cluttering the list.
Ta!
=
https://sourceforge.net/tracker/index.php?func=detail&aid=1121611&group_id=5470&atid=305470
This is the hashlib module that speeds up python's md5 and sha1
support by using openssl (when available) as well as adding sha224/256
+ sha384/512 support (plus anything openssl provides).
I believe it is
Lalo> You can, however, convert from CVS to baz (arch), and from there
Lalo> to bzr.
Would this be with cscvs? According to the cscvs wiki page at
http://wiki.gnuarch.org/cscvs
cscvs is current unmaintained and can't handle repositories with branches.
In addition, it appears that t
And so says [EMAIL PROTECTED] on 14/08/05 07:00...
> Based on the message Guido forwarded, I installed bazaar-ng. From Mark's
> note it seems they convert cvs repositories to bzr repositories, but I
> didn't see any mention in the bzr docs of any sort of cvs2bzr tool.
> Likewise, Google didn't tur
Daniel Berlin wrote:
> The argument "network and disk is cheap" doesn't work for us when you
> are talking 5-10 gigabytes of initial transfer :). However, I doubt
> it's more than a hundred meg or so for python, if that.
>
> You may run into these problems in 10 years :)
I don't know how bazaar-
Gustavo Niemeyer wrote:
> You may use rsync:
>
> rsync -av --delete bazaar-ng.org::bazaar-ng/bzr/bzr.dev .
>
> Or bzr itself:
>
> bzr branch http://bazaar-ng.org/bzr/bzr.dev
Ah, thanks. Fetching it with rsync is so much faster than fetching
it with bzr, though...
Regards,
Martin
__
On Mon, 2005-08-15 at 00:15 +0200, "Martin v. Löwis" wrote:
> Daniel Berlin wrote:
> > I'm not sure how big python's repo is, but you probably want to use the
> > attached patch to speed up cvs2svn. It changes it to reconstruct the
> > revisions on it's own instead of calling cvs or rcs.
>
> Tha
"Martin v. Löwis" <[EMAIL PROTECTED]> writes:
> Ronald Oussoren wrote:
>> I'm trying to build CVS HEAD on OSX 10.4.2 (Xcode 2.1), with a
>> checkout that is less than two hours old. I'm building a standard
>> unix tree (no framework install):
>
> I just committed what I think is a bugfix for t
On Sun, 2005-08-14 at 23:58 +0200, "Martin v. Löwis" wrote:
> Guido van Rossum wrote:
> > Here's another POV.
>
> I think I agree with Daniel's view, in particular wrt. to performance.
> Whatever the replacement tool, it should perform as well or better
> than CVS currently does; it also shouldn't
Daniel Berlin wrote:
> I'm not sure how big python's repo is, but you probably want to use the
> attached patch to speed up cvs2svn. It changes it to reconstruct the
> revisions on it's own instead of calling cvs or rcs.
Thanks for the patch, but cvs2svn works fairly well for us as is (in
the ve
> I had problems finding the place where the bazaar-NG source code
> repository is stored - is there a public access to the HEAD version?
You may use rsync:
rsync -av --delete bazaar-ng.org::bazaar-ng/bzr/bzr.dev .
Or bzr itself:
bzr branch http://bazaar-ng.org/bzr/bzr.dev
Regards,
--
Gu
On Sun, 2005-08-14 at 11:13 -0700, Guido van Rossum wrote:
> Here's another POV. (Why does evereybody keep emailing me personally?)
>
Because we love you, and I forgot to cc python-dev.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.py
On Sun, 2005-08-14 at 11:12 -0600, Neil Schemenauer wrote:
> On Sun, Aug 14, 2005 at 06:16:11PM +0200, "Martin v. Löwis" wrote:
> > It depends on what "a bit" is. Waiting a month would be fine; waiting
> > two years might be pointless.
>
> It looks like the process of converting a CVS repository t
Guido van Rossum wrote:
> Here's another POV.
I think I agree with Daniel's view, in particular wrt. to performance.
Whatever the replacement tool, it should perform as well or better
than CVS currently does; it also shouldn't perform much worse than
subversion.
I've been using git (or, rather, c
Guido van Rossum wrote:
> It sounds as if bazaar-NG can use a bit of its own medicine -- I hope
> everybody who found a bug in their tools submitted a patch! :-)
I had problems finding the place where the bazaar-NG source code
repository is stored - is there a public access to the HEAD version?
Th
Ronald Oussoren wrote:
> I'm trying to build CVS HEAD on OSX 10.4.2 (Xcode 2.1), with a
> checkout that is less than two hours old. I'm building a standard
> unix tree (no framework install):
I just committed what I think is a bugfix for the recent st_gen support.
Unfortunately, I can't try th
> Like Skip, I tried experimenting with it. While that may be the right
> model, I don't think it is the right software. In bazaar-ng 0.0.5 (which
> is what Debian unstable currently has), bzr commit would not open
> a text editor, but require the commit message on the command line;
> selective com
"Terry Reedy" <[EMAIL PROTECTED]> writes:
> It seems to me that auto testing of the tentatively updated trunk before
> final commitment would avoid the 'who checked in test-breaking code'
> messages that appear here occasionally.
I don't think there's any fundamental impossibility in setting
On 8/14/05, Michael Hudson <[EMAIL PROTECTED]> wrote:
> Wilfredo Sánchez Vega <[EMAIL PROTECTED]> writes:
>
> >I'm curious about why Python lacks FileNotFoundError,
> > PermissionError and the like as subclasses of IOError.
>
> Good question. Lack of effort/inertia?
Well, I wonder how often
Wilfredo Sánchez Vega <[EMAIL PROTECTED]> writes:
>I'm curious about why Python lacks FileNotFoundError,
> PermissionError and the like as subclasses of IOError.
Good question. Lack of effort/inertia?
>Catching IOError and looking at errno to figure out what went
> wrong seems prett
I encourage everyone to look at mercurial. It is also written in Python. I
am using it daily.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/pyth
Ronald Oussoren <[EMAIL PROTECTED]> writes:
> Hi,
>
> I'm trying to build CVS HEAD on OSX 10.4.2 (Xcode 2.1), with a
> checkout that is less than two hours old. I'm building a standard
> unix tree (no framework install):
It seems very likely that it was this change:
http://fisheye.cenqua.com
On 8/14/05, Ronald Oussoren <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to build CVS HEAD on OSX 10.4.2 (Xcode 2.1), with a
> checkout that is less than two hours old. I'm building a standard
> unix tree (no framework install):
>
> $ ./configure --prefix=/opt/python/2.5
> ...
> $ make
> ...
>
Here's another POV. (Why does evereybody keep emailing me personally?)
--Guido van Rossum (home page: http://www.python.org/~guido/)
-- Forwarded message --
From: Daniel Berlin <[EMAIL PROTECTED]>
Date: Aug 13, 2005 7:33 PM
Subject: Re: [Python-Dev] PEP: Migrating the Python CVS t
On 8/14/05, Neil Schemenauer <[EMAIL PROTECTED]> wrote:
> It looks like the process of converting a CVS repository to
> Bazaar-NG does not yet work well (to be kind). The path
> CVS->SVN->bzr would probably work better. I suspect cvs2svn has
> been used on quite a few CVS repositories already. I
On Sat, Aug 13, 2005 at 06:03:46PM -0600, Neil Schemenauer wrote:
> Haven't tried it but should work:
>
> http://darcs.net/DarcsWiki/Tailor
After applying the attached patch, this command seemed to work for
converting the initial revision:
~/src/cvsync/tailor.py --source-kind cvs --target-k
Hi,
I'm trying to build CVS HEAD on OSX 10.4.2 (Xcode 2.1), with a
checkout that is less than two hours old. I'm building a standard
unix tree (no framework install):
$ ./configure --prefix=/opt/python/2.5
...
$ make
...
ar cr libpython2.5.a Modules/config.o Modules/getpath.o Modules/
main.o
On Sun, Aug 14, 2005 at 06:16:11PM +0200, "Martin v. Löwis" wrote:
> It depends on what "a bit" is. Waiting a month would be fine; waiting
> two years might be pointless.
It looks like the process of converting a CVS repository to
Bazaar-NG does not yet work well (to be kind). The path
CVS->SVN->
[EMAIL PROTECTED] wrote:
> Granted. What is the cost of waiting a bit longer to see if it (or
> something else) gets more usable and would hit the mark better than svn? I
> presume that once we switch away from cvs to something else, it's unlikely
> we would switch again unless some huge roadbloc
Martin> Like Skip, I tried experimenting with it. While that may be the
Martin> right model, I don't think it is the right software. [problems
Martin> elided]
Martin> So I assume that using bazaar-ng right now would cause problems
Martin> in day-to-day usage.
Granted. What
>> ... I didn't see any mention in the bzr docs of any sort of cvs2bzr
>> tool.
Neil> Haven't tried it but should work:
Neil> http://darcs.net/DarcsWiki/Tailor
Thanks Neil. I downloaded it last night and played around a bit. What
follows is a description that will hopeful
Guido van Rossum wrote:
> With permission, I'm forwarding an email from Mark Shuttleworth about
> Bazaar-2 (aka Bazaar-NG), a distributed source control system (not
> entirely unlike bitkeeper, I presume) written in Python and in use by
> the Ubuntu system. What do people think of using this for Py
Anthony> The current bazaar, last time I looked (a few months ago) did
Anthony> not work on Windows. This is a complete deal-breaker for us,
I assume it would be a deal breaker for many people. According to the
Bazaar-NG website it works on "Linux, Windows and Mac OS X, or any system
with
36 matches
Mail list logo