Re: [Python-Dev] Python 3.x and bytes

2011-05-17 Thread Benjamin Peterson
> there time to make changes to bytes? I don't doubt there is, and I'm afraid it's far to late to change this. -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Un

Re: [Python-Dev] Don't set local variable in a list comprehension or generator

2011-05-18 Thread Benjamin Peterson
t; > We may detect the usage of introspection (I don't know how hard it is), > only optimize trivial cases (like "x for x in ..."), or only optmize > with Python is running in optimize mode (python -O or python -OO). > > What do you t

[Python-Dev] 2.7.2 and 3.1.4

2011-05-18 Thread Benjamin Peterson
It's time to continue 2.7.* point releases with 2.7.2 and finish off 3.1.* with 3.1.4. I plan to do a RC for both on May 28th and a final on June 11th. -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org http://mail.pytho

Re: [Python-Dev] Equality testing

2011-05-18 Thread Benjamin Peterson
his is probably a Py4000 change if it happens at all, but does > this make sense?  Shouldn't an attempt to compare to unlike objects be a > TypeError, just like trying to order them is? No. Ordering for types which completely different doe

Re: [Python-Dev] Python 3.x and bytes

2011-05-19 Thread Benjamin Peterson
2011/5/19 Ethan Furman : > If anybody has a link to or an explanation why equal values must be equal > hashes I'm all ears.  My apologies in advance if this is an incredibly naive > question. https://secure.wikimedia.org/wikipedia/en/wiki/Hash_table -- Reg

Re: [Python-Dev] cpython: move specialized dir implementations into __dir__ methods (closes #12166)

2011-05-24 Thread Benjamin Peterson
2011/5/24 Georg Brandl : > On 24.05.2011 18:08, benjamin.peterson wrote: >> http://hg.python.org/cpython/rev/8f403199f999 >> changeset:   70331:8f403199f999 >> user:        Benjamin Peterson >> date:        Tue May 24 11:09:06 2011 -0500 >> summary: >>   mo

Re: [Python-Dev] [Python-checkins] cpython: Avoid useless "++" at the end of functions

2011-05-26 Thread Benjamin Peterson
w non-tested code is a bug :-) > >> I don't see any harm leaving them in. >> Maybe we should add a comment about why they're done. > > It makes Python faster (!) and make silent the Clang Static Analyzer :-) Surely, GCC can optimize that out. -- Reg

Re: [Python-Dev] cpython: Avoid useless "++" at the end of functions

2011-05-26 Thread Benjamin Peterson
e the usage as local idiom rather than style bug." I think a more general formulation would be: "Idiomatic code is more important than making static analyzers happy." -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org http

Re: [Python-Dev] Deprecate codecs.open() and StreamWriter/StreamReader

2011-05-27 Thread Benjamin Peterson
someone's head. -- Regards, Benjamin ___ 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] Deprecate codecs.open() and StreamWriter/StreamReader

2011-05-27 Thread Benjamin Peterson
2011/5/27 Victor Stinner : > Le vendredi 27 mai 2011 15:33:07, Benjamin Peterson a écrit : >> 2011/5/27 Victor Stinner : >> > You have until the release of Python 3.3 to prove that StreamReader >> > and/or StreamWriter can be faster than TextIOWrapper. If you can prove

[Python-Dev] [RELEASE] 3.1.4 release candidate 1

2011-05-29 Thread Benjamin Peterson
ed to: http://bugs.python.org Enjoy! -- Benjamin Peterson Release Manager benjamin at python.org (on behalf of the entire python-dev team and 3.1.4's contributors) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi

[Python-Dev] [RELEASE] Python 2.7.2 release candidate 1

2011-05-29 Thread Benjamin Peterson
major problems, 2.7.2 will be released in two weeks. Please report any bugs you find to http://bugs.python.org/ Enjoy! -- Benjamin Peterson Release Manager benjamin at python.org (on behalf of the entire python-dev team and 2.7.2's contributors)

Re: [Python-Dev] [RELEASE] Python 2.7.2 release candidate 1

2011-05-29 Thread Benjamin Peterson
2011/5/29 Jack Diederich : > On Sun, May 29, 2011 at 6:47 PM, Benjamin Peterson > wrote: >> 2.7.2 is the second in bugfix release for the Python 2.7 series. 2.7 is the >> last >> major verison of the 2.x line and will be receiving bug fixes while new >> feature

Re: [Python-Dev] Release pages malformed on python.org

2011-05-31 Thread Benjamin Peterson
wnload/releases/2.7.2/ Wohaa. Martin, I think this is from your checkin? -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/pyth

Re: [Python-Dev] Docs for the packaging module

2011-06-01 Thread Benjamin Peterson
nk to Doc/distutils). Or we could just delete them and have people look at docs for old versions of Python. -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] Question about Module Loading

2011-06-01 Thread Benjamin Peterson
2011/6/1 Timothy Kadich : > If a Python program imported a module, say numpy for example, where in the > source is this line interpreted and then handled by import.c ? Many different files. Start from TARGET(IMPORT_NAME) in ceval.c. -- Regards, Be

[Python-Dev] keyword-only arguments and varags

2011-06-04 Thread Benjamin Peterson
Currently, def f(*, kw, **kwargs): pass is valid syntax, but def f(*args, *, kw): pass is not. I don't see any mention of it in the PEP but perhaps there is a good reason this isn't allowed. It seems to be perfectly well-defined to me. -- Regards

Re: [Python-Dev] keyword-only arguments and varags

2011-06-05 Thread Benjamin Peterson
2011/6/5 Nick Coghlan : > On Sun, Jun 5, 2011 at 11:45 AM, Benjamin Peterson > wrote: >> Currently, >> >> def f(*, kw, **kwargs): pass >> >> is valid syntax, but >> >> def f(*args, *, kw): pass >> >> is not. >> >> I don&

Re: [Python-Dev] [Python-checkins] cpython (3.1): onto 3.1.5

2011-06-11 Thread Benjamin Peterson
> > I presume that only security patches should be added. Indeed. -- Regards, Benjamin ___ 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-checkins] cpython (2.7): allow "fake" filenames in findsource (closes #9284)

2011-06-12 Thread Benjamin Peterson
> > Either this exception should be mentioned in the inspect.getsource() > documentation or else doctest should be monkeypatching inspect as well > as linecache. I should have made more clear in the message that this is actually a regression from 2.6. -- Regards, Benjamin ___

[Python-Dev] [RELEASE] Python 2.7.2

2011-06-12 Thread Benjamin Peterson
those in the northern hemisphere, have a nice summer! -- Benjamin Peterson Release Manager benjamin at python.org (on behalf of the entire python-dev team and 2.7.2's contributors) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.o

[Python-Dev] [RELEASED] Python 3.1.4

2011-06-12 Thread Benjamin Peterson
s can always be reported to: http://bugs.python.org Enjoy and be merry! -- Benjamin Peterson Release Manager benjamin at python.org (on behalf of the entire python-dev team and 3.1.4's contributors) ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] [RELEASED] Python 3.1.4

2011-06-12 Thread Benjamin Peterson
2011/6/12 Paul Moore : > On 12 June 2011 18:58, Benjamin Peterson wrote: >> On behalf of the Python development team, I'm sanguine to announce a release >> candidate for the fourth bugfix release for the Python 3.1 series, Python >> 3.1.4. > > Is this actually a R

[Python-Dev] is anyone using Misc/RPM?

2011-06-12 Thread Benjamin Peterson
If no one is using it, I'd like to delete it. I also don't think we should be in business of distributing distribution specific files. -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi

Re: [Python-Dev] is anyone using Misc/RPM?

2011-06-12 Thread Benjamin Peterson
2011/6/12 "Martin v. Löwis" : > Am 12.06.2011 22:37, schrieb Benjamin Peterson: >> I also don't think we >> should be in business of distributing distribution specific files. > > I disagree. We certainly include PCbuild/*.vcproj, and Tools/msi, > which are

Re: [Python-Dev] [Python-checkins] peps: Happy Tau Day folks! :)

2011-06-27 Thread Benjamin Peterson
+++ You're not going to give us the source? -- Regards, Benjamin ___ 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] cpython: remove duplicate -I

2011-06-28 Thread Benjamin Peterson
2011/6/28 Ned Deily : > In article , >  benjamin.peterson wrote: > >> http://hg.python.org/cpython/rev/0d0ca6f95d9d >> changeset:   70879:0d0ca6f95d9d >> user:        Benjamin Peterson >> date:        Sun Jun 19 17:17:30 2011 -0500 >> summar

Re: [Python-Dev] [Python-checkins] cpython: no one passes NULL here (or should anyway)

2011-07-03 Thread Benjamin Peterson
2011/7/3 Nick Coghlan : > On Mon, Jul 4, 2011 at 8:02 AM, benjamin.peterson > wrote: >> http://hg.python.org/cpython/rev/bbbeddafeec0 >> changeset:   71160:bbbeddafeec0 >> user:        Benjamin Peterson >> date:        Sun Jul 03 17:06:32 2011 -0500 >> summ

Re: [Python-Dev] [Python-checkins] cpython: no one passes NULL here (or should anyway)

2011-07-03 Thread Benjamin Peterson
2011/7/3 Nick Coghlan : > On Mon, Jul 4, 2011 at 12:54 PM, Benjamin Peterson > wrote: >> 2011/7/3 Nick Coghlan : >>> May need to replace that with an assert(f != NULL) to keep static >>> analysers happy. >> >> Surely static analyzers don't assume

Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-06 Thread Benjamin Peterson
2011/7/6 Victor Stinner : > codecs.open() will be changed to reuse the builtin open() function > (TextIOWrapper). This doesn't strike me as particularly backwards compatible, since you've just enumerated the differences between StreamWriter/Reader and TextIOWrapper. -- R

Re: [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

2011-07-06 Thread Benjamin Peterson
2011/7/6 Nick Coghlan : > On Thu, Jul 7, 2011 at 11:16 AM, Benjamin Peterson > wrote: >> 2011/7/6 Victor Stinner : >>> codecs.open() will be changed to reuse the builtin open() function >>> (TextIOWrapper). >> >> This doesn't strike me as particul

Re: [Python-Dev] [Python-checkins] cpython (3.1): Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.

2011-07-14 Thread Benjamin Peterson
ue #12502: asyncore: fix polling loop with AF_UNIX sockets. Please do not apply bugfixes to 3.1. -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.py

Re: [Python-Dev] is sys.modules not meant to be replaced?

2011-07-23 Thread Benjamin Peterson
cts. You can expect other code to be holding on to old references. -- Regards, Benjamin ___ 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] is sys.modules not meant to be replaced?

2011-07-23 Thread Benjamin Peterson
2011/7/24 Eric Snow : > On Sat, Jul 23, 2011 at 10:55 PM, Benjamin Peterson > wrote: >> 2011/7/23 Eric Snow : >>> The documentation[1] doesn't say, but the implementation of the imp >>> module makes me wonder if sys.modules was not meant to be replaceable. &g

Re: [Python-Dev] Status of the PEP 400? (deprecate codecs.StreamReader/StreamWriter)

2011-07-27 Thread Benjamin Peterson
> > TBH, I said I was only -0 on the PEP, and if the stream returned by > codecs.open() in 3.3 is sufficiently compatible with the stream > returned the same function returns in 3.2, I am okay with it. (Except > I also want you to cut a trillion dollars from the non-military > budg

Re: [Python-Dev] the history of tests being inside Lib/ in Python

2011-07-29 Thread Benjamin Peterson
2011/7/29 Eli Bendersky : > The other thread had some claims (*) that made me wonder - why are the tests > in Python kept in Lib/ at all? > > AFAIK, this is rather an unusual project structure. Not really. It seems to be about half/half to me. -- Regar

Re: [Python-Dev] the history of tests being inside Lib/ in Python

2011-07-29 Thread Benjamin Peterson
2011/7/29 Eli Bendersky : > > On Sat, Jul 30, 2011 at 06:36, Benjamin Peterson > wrote: >> >> 2011/7/29 Eli Bendersky : >> > The other thread had some claims (*) that made me wonder - why are the >> > tests >> > in Python kept in Lib/ at all? &g

Re: [Python-Dev] cpython: make the types of None and Ellipsis callable

2011-07-30 Thread Benjamin Peterson
2011/7/29 Georg Brandl : > Am 30.07.2011 01:20, schrieb benjamin.peterson: >> http://hg.python.org/cpython/rev/84c3be27b4c7 >> changeset:   71614:84c3be27b4c7 >> parent:      71611:a6afd26caa8a >> user:        Benjamin Peterson >> date:        Fri Jul 29 18:19:43

[Python-Dev] Nosy lists on issue tracker.

2008-02-19 Thread Benjamin Peterson
Hi, What is the policy regarding nosy lists? Is it appropriate it add people to it besides oneself? As I cannot assign items, I'm sometimes tempted to add someone relevant to the list. (ie Should I add Georg to documentation related issues?) Thanks for your patience, Benjamin -- Ben

Re: [Python-Dev] 2.6 and 3.0 project management

2008-03-16 Thread Benjamin Peterson
On Sun, Mar 16, 2008 at 8:51 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Python 3.0 and 2.6 are coming along really nice. I am optimistic that > we can make the projected August date for the final releases of 2.6 > and 3.0. As you may remember, Barry (the new release manager for both) > sugg

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-16 Thread Benjamin Peterson
On Sun, Mar 16, 2008 at 10:23 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Moving this to a new subject to keep the discussion of tasks and the > discussion of task tracking tools separate. > > On Sun, Mar 16, 2008 at 9:42 AM, Christian Heimes <[EMAIL PROTECTED]> > wrote: > > I did a quick b

Re: [Python-Dev] 2.6 and 3.0 project management

2008-03-16 Thread Benjamin Peterson
On Sun, Mar 16, 2008 at 11:37 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sun, Mar 16, 2008 at 11:19 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > I don't like the idea of task like items in the main bug tracker. > > Why not? Bugs are als

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-16 Thread Benjamin Peterson
On Sun, Mar 16, 2008 at 11:44 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sun, Mar 16, 2008 at 11:26 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > On Sun, Mar 16, 2008 at 10:23 AM, Guido van Rossum <[EMAIL PROTECTED]> > wrote: > > > >

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-16 Thread Benjamin Peterson
On Sun, Mar 16, 2008 at 12:32 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sun, Mar 16, 2008 at 11:57 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > [Guido] > > > That's a rather long thread. Was any conclusion reached? I'm not sure > >

Re: [Python-Dev] 2.6 and 3.0 tasks

2008-03-16 Thread Benjamin Peterson
On Sun, Mar 16, 2008 at 1:01 PM, Benjamin Peterson < [EMAIL PROTECTED]> wrote: > > > On Sun, Mar 16, 2008 at 12:32 PM, Guido van Rossum <[EMAIL PROTECTED]> > wrote: > > > On Sun, Mar 16, 2008 at 11:57 AM, Benjamin Peterson > > <[EMAIL PROTECTED]> wr

Re: [Python-Dev] test_support.have_unicode

2008-03-18 Thread Benjamin Peterson
On Tue, Mar 18, 2008 at 8:18 AM, Virgil Dupras <[EMAIL PROTECTED]> wrote: > The test_support unit has this have_unicode. Do we need the Python's > test unit to be *that* backward compatible? Is there still an > implementation of Python that doesn't support unicode? If there is, > should the test s

[Python-Dev] PyErr_Warn or PyErr_WarnEx

2008-03-18 Thread Benjamin Peterson
/dev/c-api/exceptions.html Cheers, Benjamin Peterson ___ 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] Checking for the -3 flag from Python code

2008-03-19 Thread Benjamin Peterson
On Wed, Mar 19, 2008 at 6:51 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > This flag is exposed to python code as sys.flags.py3k_warning > > So the hack added to some of the test code that I saw go by on > python-checkins isn't needed :) Somebody can remove TODO in Lib/test/test_py3kwarn.py. > >

Re: [Python-Dev] Order of Fixers

2008-03-19 Thread Benjamin Peterson
On Wed, Mar 19, 2008 at 1:01 PM, David Wolever <[EMAIL PROTECTED]> wrote: > At the moment, fixers are run in alphabetical order -- but this poses > a problem, because some depend on others (for example, fix_print will > need to be run _before_ fix_future, because fix_print looks for the > 'from __

Re: [Python-Dev] Python source code on Bazaar vcs

2008-03-21 Thread Benjamin Peterson
On Thu, Mar 20, 2008 at 2:42 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm happy to announce that we now have available for public > consumption, the Python source code for 2.5, 2.6 and 3.0 available > under the Bazaar distributed version con

Re: [Python-Dev] [Python-3000] Python source code on Bazaar vcs

2008-03-21 Thread Benjamin Peterson
On Fri, Mar 21, 2008 at 4:28 PM, Paul Moore <[EMAIL PROTECTED]> wrote: > On 21/03/2008, Brett Cannon <[EMAIL PROTECTED]> wrote: > > Just to head this off, this is not a specific vote of confidence for > > Bazaar. The Bazaar developers were at PyCon and both Barry and Thomas > > were willing to p

Re: [Python-Dev] [Python-3000] Python source code on Bazaar vcs

2008-03-21 Thread Benjamin Peterson
On Fri, Mar 21, 2008 at 5:04 PM, Paul Moore <[EMAIL PROTECTED]> wrote: > On 21/03/2008, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > I tend to make a repository and make a working copy for each patch in > it. > > The history is saved in the repository so it

Re: [Python-Dev] Primer on distributed revision control?

2008-03-21 Thread Benjamin Peterson
://youtube.com/watch?v=4XpnKHJAok8 For anything else, Google it! > > > Thanks, > > Skip Cheers, Benjamin Peterson > > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-de

Re: [Python-Dev] [Python-3000] Python source code on Bazaar vcs

2008-03-21 Thread Benjamin Peterson
On Fri, Mar 21, 2008 at 6:12 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Fri, Mar 21, 2008 at 3:10 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > On Fri, Mar 21, 2008 at 5:04 PM, Paul Moore <[EMAIL PROTECTED]&g

Re: [Python-Dev] Python source code on Mercurial

2008-03-22 Thread Benjamin Peterson
On Sat, Mar 22, 2008 at 7:39 AM, Paul Moore <[EMAIL PROTECTED]> wrote: > On 21/03/2008, Brett Cannon <[EMAIL PROTECTED]> wrote: > > Bazaar supports lightweight checkouts which act like svn checkouts. > > They are also actively working on allowing for partial checkouts. That > > way you can eithe

Re: [Python-Dev] Making sys.py3k_warning writable

2008-03-22 Thread Benjamin Peterson
sane that you appear a > tiny blip on the distant coast of sanity. > --- Bucky Katt, Get Fuzzy > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http:

Re: [Python-Dev] Making sys.py3k_warning writable

2008-03-22 Thread Benjamin Peterson
Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/musiccomposition%40gmail.com > -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-D

Re: [Python-Dev] Making sys.py3k_warning writable

2008-03-22 Thread Benjamin Peterson
> > > Regards, > Martin > -- Cheers, Benjamin Peterson ___ 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] Making sys.py3k_warning writable

2008-03-23 Thread Benjamin Peterson
_ > 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/musiccomposition%40gmail.com > -- Cheers, Benjamin Peterson __

[Python-Dev] Commit access request

2008-03-24 Thread Benjamin Peterson
I've been wanting to help with. I'm willing to field questions. -- Thanks for your consideration, Benjamin Peterson ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.

Re: [Python-Dev] Commit access request

2008-03-24 Thread Benjamin Peterson
I've attached my SSH keys. On Mon, Mar 24, 2008 at 6:56 AM, Benjamin Peterson < [EMAIL PROTECTED]> wrote: > Hi Python devs, > I have been contributing to since December. (See me first issue on the > tracker, #1828; it was a major learning experience.) :P In that time, I hav

Re: [Python-Dev] Commit access request

2008-03-25 Thread Benjamin Peterson
On Tue, Mar 25, 2008 at 12:40 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > Georg Brandl schrieb: > > Benjamin Peterson schrieb: > >> Hi Python devs, > >> I have been contributing to since December. (See me first issue on the > >> tracker, #1828; it wa

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-26 Thread Benjamin Peterson
pile. Should those hold up betas? (when we get there) > > > Right now, I don't know of any reason to hold up the release other > than the failing tests. > > n > ___ > Python-3000 mailing list > [EMAIL PROTECTE

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-27 Thread Benjamin Peterson
log/ > > PyAr: http://www.python.org/ar/ > > > > > > -- > --Guido van Rossum (home page: > http://www.python.org/~guido/<http://www.python.org/%7Eguido/> > ) > ___ > Python-Dev mailing list > Pyth

Re: [Python-Dev] Commit access request

2008-03-27 Thread Benjamin Peterson
On Tue, Mar 25, 2008 at 3:27 PM, Benjamin Peterson < [EMAIL PROTECTED]> wrote: > > > On Tue, Mar 25, 2008 at 12:40 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > > > Georg Brandl schrieb: > > > Benjamin Peterson schrieb: > > >> Hi Python devs

[Python-Dev] editing the docs

2008-03-29 Thread Benjamin Peterson
Hi, Now that I'm starting to examine and do some edits on the docs, I'd like to ask some guidance. What editor(s) do you guys use? I'm not one to cling to an editor, so all suggestions are fair game. -- Thanks, Benjamin Peterson ___ Pyt

Re: [Python-Dev] editing the docs

2008-03-29 Thread Benjamin Peterson
On Sat, Mar 29, 2008 at 12:25 PM, Jeroen Ruigrok van der Werven < [EMAIL PROTECTED]> wrote: > -On [20080329 17:13], Benjamin Peterson ([EMAIL PROTECTED]) > wrote: > >Now that I'm starting to examine and do some edits on the docs, I'd like > to ask > >some gui

Re: [Python-Dev] Python source code on Bazaar vcs

2008-03-29 Thread Benjamin Peterson
yyjXo4HLEE= > =Gcjq > -END PGP SIGNATURE- > ___ > 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/m

Re: [Python-Dev] Python source code on Bazaar vcs

2008-03-29 Thread Benjamin Peterson
On Sat, Mar 29, 2008 at 4:59 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mar 29, 2008, at 5:11 PM, Benjamin Peterson wrote: > > > Once you've pushed the branches, is there a way to remove them? > > D

Re: [Python-Dev] No time for svn merge

2008-03-30 Thread Benjamin Peterson
scribe: > http://mail.python.org/mailman/options/python-dev/musiccomposition%40gmail.com > -- Cheers, Benjamin Peterson ___ 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] No time for svn merge

2008-03-30 Thread Benjamin Peterson
t; sending out messages automatically to committers who > don't either merge or block their changes within 24 hours > (or send a summary message every day to python-dev). Like above, let's try a little before we start setting up new infrastructure left and right. > > > Rega

Re: [Python-Dev] No time for svn merge

2008-03-30 Thread Benjamin Peterson
time to figure out what > they do, and what the 3.x equivalent should be. Ok. I merged some more of the low hanging fruit. Somebody who understands AST better than me should probably do the merges with that. > > > Regards, > Martin > -- Cheers, Benjamin Peterson __

Re: [Python-Dev] No time for svn merge

2008-03-30 Thread Benjamin Peterson
On Sun, Mar 30, 2008 at 9:43 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > On Sun, Mar 30, 2008 at 7:41 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > > > > > > > On Sun, Mar 30, 2008 at 4:54 PM, "Martin v. Löwis" <[EMAIL PROTECTED]&g

Re: [Python-Dev] No time for svn merge

2008-04-02 Thread Benjamin Peterson
ife easier. I think we should let The Merger decide what makes his life easier. :) > > >Trent. > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscrib

Re: [Python-Dev] Annotations support in python

2008-04-04 Thread Benjamin Peterson
cribe: > > http://mail.python.org/mailman/options/python-dev/nnorwitz%40gmail.com > > > > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe:

Re: [Python-Dev] New project : Spyke python-to-C compiler

2008-04-07 Thread Benjamin Peterson
s, > comments and inquiries sought. > rahul > ___ > 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/music

Re: [Python-Dev] python source code

2008-04-07 Thread Benjamin Peterson
tp://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/musiccomposition%40gmail.com > > -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-Dev@python.org http://ma

Re: [Python-Dev] unittest's redundant assertions: asserts vs. failIf/Unlesses

2008-04-07 Thread Benjamin Peterson
if x != y: > raise AssertionError(...) > > Someone please open a bug for this task. See 2578. > > -- > --Guido van Rossum (home page: http://www.python.org/~guido/) > > > ___ > Python-Dev mailing list > Python-Dev@

[Python-Dev] generated NEWS files

2008-04-10 Thread Benjamin Peterson
write a script to extract and compile these messages into NEWS before release. -- Cheers, Benjamin Peterson ___ 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] generated NEWS files

2008-04-10 Thread Benjamin Peterson
27;t present. I think we'd have to come up with some way to let people change/edit by overriding those in the commit messages, but I'm not sure how that would be done. > > --Guido -- Cheers, Benjamin Peterson ___ Python-Dev mailing li

Re: [Python-Dev] generated NEWS files

2008-04-11 Thread Benjamin Peterson
t may be difficult to remember, but it's fairly easy to execute. > > Regards, > Martin > -- Cheers, Benjamin Peterson ___ 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] NeedsReview keyword

2008-04-14 Thread Benjamin Peterson
ok hard at and make the choice. -- Cheers, Benjamin Peterson ___ 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] Interface to change Py3kWarning in Python

2008-04-17 Thread Benjamin Peterson
NULL whenever you add a Py3k warning. -- Cheers, Benjamin Peterson ___ 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] Interface to change Py3kWarning in Python

2008-04-18 Thread Benjamin Peterson
On Fri, Apr 18, 2008 at 7:38 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Benjamin Peterson schrieb: > > > > In Python we usually have to methods for the job, like > set_py3kwarningmode and get_py3kwarningmode. I don't like the enable* > and disable* style.

[Python-Dev] unscriptable?

2008-04-18 Thread Benjamin Peterson
Consider this error: >>> 3["something"] Traceback (most recent call last): File "", line 1, in TypeError: 'int' object is unsubscriptable "unscriptable" seems rather ambiguous. How about "[obje

Re: [Python-Dev] unscriptable?

2008-04-18 Thread Benjamin Peterson
On Fri, Apr 18, 2008 at 5:43 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > Consider this error: > >>> 3["something"] > Traceback (most recent call last): > File "", line 1, in > TypeError: 'int' object is unsubscriptable &g

Re: [Python-Dev] Interface to change Py3kWarning in Python

2008-04-19 Thread Benjamin Peterson
r have to do more than > check a simple static C variable, for obvious reasons. Even if there's no dirty work, it could clean up this: if (Py_Py3kWarningFlag && PyErr_WarnEx(PyErr_DeprecationWarning, "msg", 2) < 0) to if (PyErr_WarnP

Re: [Python-Dev] PyArg_ParseTuple and Py_BuildValue question

2008-04-22 Thread Benjamin Peterson
tion in comp.lang.python but so > far no responses yet. I hope anyone can point me to the right direction. > Thanks in advance. What exactly is your problem? -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-Dev@python.org http:

Re: [Python-Dev] SetType=set in types module ?

2008-04-22 Thread Benjamin Peterson
ng to decide whether to remove it or not. Please file a bug report, though, to remind us if we decide to keep it. -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] GSoC Student Introduction

2008-04-22 Thread Benjamin Peterson
neral, and its use of patterns in > particular. > I would like to request commit privileges to work in a sandbox branch and > although I don't have any familiarity with bzr, I would be comfortable using > it. Luckily, Bazaar is really easy. Thanks for contribu

Re: [Python-Dev] PyArg_ParseTuple and Py_BuildValue question

2008-04-23 Thread Benjamin Peterson
He emailed me back saying that he found the solution to his problem. -- Cheers, Benjamin Peterson ___ 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] PyErr_Py3kWarn

2008-04-26 Thread Benjamin Peterson
I have a patch to to add an easy way to give a Py3k warning (issue 2671). Does this sound useful? -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] enhanced ioctl?

2008-04-28 Thread Benjamin Peterson
to the tracker. -- Cheers, Benjamin Peterson ___ 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] Module properties for C modules

2008-04-30 Thread Benjamin Peterson
thon-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/musiccomposition%40gmail.com > -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-

Re: [Python-Dev] [Python-3000] Reminder: last alphas next Wednesday 07-May-2008

2008-05-01 Thread Benjamin Peterson
; > Anyone have an issue with me doing this? Is PendingDeprecationWarning > safe enough for 2.6? Or should this be a 3.0-only thing with a > DeprecationWarning? I vote for a full DeprecationWarning. > > -Brett -- Cheers, Benjamin Peterson ___

Re: [Python-Dev] [Python-3000] Invitation to try out open source code review tool

2008-05-02 Thread Benjamin Peterson
page is really a wiki, so feel free to improve it! My request at the moment is to let people use their real names for display; my email address does not at all resemble my name. -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-Dev@python.

Re: [Python-Dev] [Python-3000] Invitation to try out open source code review tool

2008-05-02 Thread Benjamin Peterson
story there. :-) Maybe I tell you why next PyCon... One more question: What's the number on the upper right hand corner by my username? -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman

[Python-Dev] Duplicate tests

2008-05-03 Thread Benjamin Peterson
test_builtin tests most of the builtin types some how or another. All of these also have complete suites elsewhere in the tests. Shouldn't the tests in test_builtin be moved to the type specific tests? -- Cheers, Benjamin Peterson ___ Pytho

Re: [Python-Dev] ctypes documentation

2008-05-06 Thread Benjamin Peterson
s underway to > re-write it? So what exactly is eating you about it? -- Cheers, Benjamin Peterson ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/optio

Re: [Python-Dev] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Benjamin Peterson
find a way to more forcefully enforce > commit freezes for the betas though. I wonder if you couldn't alter the server side commit hook to reject everything with the message "Sorry, we're in a freeze." (You'd have to make an exception for yourself.) --

<    6   7   8   9   10   11   12   13   14   15   >