Re: [Python-3000] Using memoryviews

2008-11-21 Thread Benjamin Peterson
On Fri, Nov 21, 2008 at 5:34 PM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Benjamin Peterson wrote: >> On Fri, Nov 21, 2008 at 1:41 PM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: >>> In the past, we've always tried to provide abstract access methods to >>>

Re: [Python-3000] Using memoryviews

2008-11-21 Thread Benjamin Peterson
;s a good idea, too, and we should get something like that in for 3.1. I rather feel like the new buffer API slipped in without any real review. -- Cheers, Benjamin Peterson "There's nothing quite as beautiful as an oboe... except a chicken stuck in a vacuum cleaner."

Re: [Python-3000] encode function errors="replace", but print() failed, is this a bug?

2008-11-19 Thread Benjamin Peterson
you want to change this behavior, replace sys.stdout with your own io.TextIOWrapper with 'replace' as the errors argument. -- Cheers, Benjamin Peterson "There's nothing quite as beautiful as an oboe... except a chicken stuck in a vacuum cleaner." _

Re: [Python-3000] cyclic imports worked in py2.6, fail in 3.0

2008-11-10 Thread Benjamin Peterson
.core import something) Instead of inserting Mul into the namespace of different modules, you do something like: from .mul import Mul at the bottom of files that use the cyclic import. > > * if it is supposed to work, is this a bug in python3.0? No, Python 3.0 is just being stricter. :) Yo

Re: [Python-3000] [Python-Dev] RELEASED Python 3.0rc2

2008-11-07 Thread Benjamin Peterson
networking libraries for Py3k! -- Cheers, Benjamin Peterson "There's nothing quite as beautiful as an oboe... except a chicken stuck in a vacuum cleaner." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/ma

Re: [Python-3000] close() on open(fd, closefd=False)

2008-10-31 Thread Benjamin Peterson
've release 2.6's io backport with this (mis)feature. > > Maybe the warning could be dropped all along, too. That may be the best course of action. -- Cheers, Benjamin Peterson "There's nothing quite as beautiful as an oboe... except a chicken stuck in a vacuum clea

Re: [Python-3000] Proposed Python 3.0 schedule

2008-10-08 Thread Benjamin Peterson
- http://bugs.python.org/issue3725 (telnetlib module broken by str to > unicode conversion) > - http://bugs.python.org/issue3727 (poplib module broken by str to > unicode conversion) > > -- > Dmitry Vasiliev > http://hlabs.spb.ru > -- Cheers, Benjamin Peterson "Ther

Re: [Python-3000] [python-committers] [Python-Dev] Proposed Python 3.0 schedule

2008-10-08 Thread Benjamin Peterson
ling list > [EMAIL PROTECTED] > http://mail.python.org/mailman/listinfo/python-committers > -- Cheers, Benjamin Peterson "There's nothing quite as beautiful as an oboe... except a chicken stuck in a vacuum cleaner." ___ Python-3

Re: [Python-3000] Proposed Python 3.0 schedule

2008-10-06 Thread Benjamin Peterson
olved. And looking at the tracker, I only see 18 release blockers. -- Cheers, Benjamin Peterson "There's nothing quite as beautiful as an oboe... except a chicken stuck in a vacuum cleaner." ___ Python-3000 mailing list Python-3000@python.org http://m

Re: [Python-3000] Alternative to standard regular expressions

2008-09-27 Thread Benjamin Peterson
number of times I've used it. In other words, I'm tempted to stretch our > beloved term "unpythonic" to regular expressions. This is rare for a small > python module. Try the comp.lang.python or python-ideas mailing list. This list is more devoted to the current deve

Re: [Python-3000] Proposed revised schedule

2008-09-08 Thread Benjamin Peterson
on of OSX contains 3.0 or not -- but I do > care about it having 2.6. I'm not really sure what good that would do us unless we wanted to bring 3.0 back to the beta phase and continue to work on some larger issues with it. I also suspect doing two separate, but close together final r

Re: [Python-3000] Minor addition to Python interactive shell...

2008-08-23 Thread Benjamin Peterson
be scanned. > > Let me know what you think. > > Thank you. > > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/musiccom

[Python-3000] issue 3187 and decoding filenames

2008-08-21 Thread Benjamin Peterson
welcome. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000

Re: [Python-3000] Beta 3 planned for this Wednesday

2008-08-19 Thread Benjamin Peterson
o= > =oJk1 > -END PGP SIGNATURE- > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/musiccompositio

Re: [Python-3000] XML as bytes or unicode?

2008-08-18 Thread Benjamin Peterson
gt; http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/l

Re: [Python-3000] xml.etree.ElementTree and PEP 8

2008-08-10 Thread Benjamin Peterson
oming any worse by > making them PEP8 compliant. > > Stefan > > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/option

Re: [Python-3000] Zlib compress/decompress returning bytearray

2008-08-01 Thread Benjamin Peterson
ess. > > Saw this while trying to write a patch for #3382. > Shall I file an issue ? Yes, please do. > > Thanks > > -- > -Anand > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/py

Re: [Python-3000] Providing compress/uncompress functions in gzip

2008-08-01 Thread Benjamin Peterson
t the patch to the issue and we'll review it. > > Thanks -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Un

Re: [Python-3000] Providing compress/uncompress functions in gzip

2008-08-01 Thread Benjamin Peterson
e a feature request ticket on the tracker: http://bugs.python.org. > > Thanks > > -- > -Anand > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http

Re: [Python-3000] is it easier to multithread ?

2008-07-31 Thread Benjamin Peterson
on.org/mailman/options/python-3000/musiccomposition%40gmail.com > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] MemoryError oddities

2008-07-30 Thread Benjamin Peterson
is a valid use. > > -- > --Guido van Rossum (home page: http://www.python.org/~guido/) > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailm

Re: [Python-3000] Any Built in Session Handling?

2008-07-30 Thread Benjamin Peterson
listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com > > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python

Re: [Python-3000] MemoryError oddities

2008-07-29 Thread Benjamin Peterson
Error is better though, so perhaps those uses of > OverflowError should be fixed. I doubt that there are any apps (except > unit tests for this specific feature) that depend on such specific > errors. +1 OverflowErrors should probably by reserved for numeric overflows. -- Cheers, Benja

Re: [Python-3000] lib2to3 refactor.py has a lot of 2.6-isms

2008-07-25 Thread Benjamin Peterson
s/python-3000/musiccomposition%40gmail.com > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] Int and Long unification (was Re: Help replacing Py_FindMethod)

2008-07-19 Thread Benjamin Peterson
ceeds for floats, right? so it shouldn't be > use when checking for integers is desired. I believe he wants PyIndex_Check then. > > Regards, > Martin > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." _

Re: [Python-3000] Int and Long unification (was Re: Help replacing Py_FindMethod)

2008-07-19 Thread Benjamin Peterson
LEZ1ovxMWKkwzo/CVHfN > EZ5ljqBQ0hY= > =8TJz > -END PGP SIGNATURE- > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mail

Re: [Python-3000] [Python-Dev] No beta2 tonight

2008-07-17 Thread Benjamin Peterson
pped failing now (Thanks Bill). test_wsgiref is failing on the trunk, but as it is an externally maintained module, there isn't much I can do about it. (see issue #3401). Overall, though, I think we've done what we can here, so these shouldn't hold up the release. > > Re

Re: [Python-3000] [Python-Dev] No beta2 tonight

2008-07-17 Thread Benjamin Peterson
ailing on both the trunk and py3k. I don't know much about either of these items (or Windows for that matter), so any help would be greatly appreciated. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 ma

Re: [Python-3000] commit access request

2008-07-16 Thread Benjamin Peterson
ith a single command in SVN. > > :) I know what that feels like ... > > That's where Mercurial's "hg rollback" comes in very handy. And it's actually > a very nice feature that distributed VCSes split the commit and push > operations into two separate steps..

Re: [Python-3000] Reminder: beta 2's schedule for tomorrow

2008-07-15 Thread Benjamin Peterson
privileges, so someone has to do it for me. I can do that for you. OTOH, I think it's time we gave Antoine commit access; we've gotten nothing but great things out of him so far. :) -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." _

Re: [Python-3000] [Python-Dev] PEP: Consolidating names and classes in the `unittest` module

2008-07-14 Thread Benjamin Peterson
On Mon, Jul 14, 2008 at 6:18 PM, Ben Finney <[EMAIL PROTECTED]> wrote: > "Benjamin Peterson" <[EMAIL PROTECTED]> writes: > >> On Mon, Jul 14, 2008 at 8:25 AM, Ben Finney <[EMAIL PROTECTED]> wrote: >> > Use new-style classes throughout >> >

Re: [Python-3000] [Python-Dev] PEP: Consolidating names and classes in the `unittest` module

2008-07-14 Thread Benjamin Peterson
tyle > type hierarchy. > > * ``TestResult`` > * ``TestCase`` > * ``TestSuite`` > * ``TestLoader`` > * ``_WritelnDecorator`` > * ``TextTestRunner`` > * ``TestProgram`` They already do. __metaclass__ = type is found in unittest.py. -- Cheers, Be

Re: [Python-3000] to be merged

2008-07-02 Thread Benjamin Peterson
quot; [1] in your py3k working copy and then "svn ci -F svnmerge-commit-message.txt." [1] http://svn.collab.net/repos/svn/trunk/contrib/client-side/svnmerge > > Bill > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___

Re: [Python-3000] to be merged

2008-07-02 Thread Benjamin Peterson
P.S. Can people please remember to block commits that shouldn't be merged into 3.0? (Or even better, merge the ones you make that should.) I feel rather nervous deciding whether something should be merged or not when it's an edge case. -- Cheers, Benjamin Peterson "There&

Re: [Python-3000] to be merged

2008-07-02 Thread Benjamin Peterson
lemented. [1] http://www.python.org/dev/peps/pep-3118/ > > - Josiah > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinf

[Python-3000] to be merged

2008-07-02 Thread Benjamin Peterson
ngs. (These can just be blocked, right?) - SSL changes -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000

Re: [Python-3000] [Python-Dev] Second betas tomorrow

2008-07-01 Thread Benjamin Peterson
tes, etc.? > > http://www.google.com/calendar/ical/b6v58qvojllt0i6ql654r1vh00%40group.calendar.google.com/public/basic.ics Can I get the non-iCal version? -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___

Re: [Python-3000] [Python-Dev] Second betas tomorrow

2008-07-01 Thread Benjamin Peterson
On Tue, Jul 1, 2008 at 6:27 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > Is a Google Calendar kept by anyone that lists stuff like planned > release dates, etc.? It's on my personal one. :) -- Cheers, Benjamin Peterson "There

Re: [Python-3000] Second betas tomorrow

2008-07-01 Thread Benjamin Peterson
me either way. I vote for shifting things 2 weeks forward. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubs

Re: [Python-3000] PyBytes_FromObject

2008-06-28 Thread Benjamin Peterson
On Sat, Jun 28, 2008 at 11:38 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sat, Jun 28, 2008 at 8:47 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: >> On Sat, Jun 28, 2008 at 10:33 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: >>> Seems to make

Re: [Python-3000] PyBytes_FromObject

2008-06-28 Thread Benjamin Peterson
On Sat, Jun 28, 2008 at 10:33 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Seems to make sense. Do you see many places where it would make > existing code shorter? It's a good way to convert a bytearray to bytes. -- Cheers, Benjamin Peterson "There

[Python-3000] PyBytes_FromObject

2008-06-28 Thread Benjamin Peterson
It seems PyBytes is missing the parallel call for PyByteArray_FromObject. Should I add it? -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/m

Re: [Python-3000] 2to3 fails here

2008-06-20 Thread Benjamin Peterson
.py", line 95, in > get_all_fix_names > names = os.listdir(fixer_dir) > OSError: [Errno 2] No such file or directory: 'lib2to3/fixes' > > What am I missing? Please see http://bugs.python.org/3131. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1.

Re: [Python-3000] failed to compile Python-3.0b1 with gcc-4.3.0: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2008-06-19 Thread Benjamin Peterson
On Thu, Jun 19, 2008 at 8:18 PM, nirinA raseliarison <[EMAIL PROTECTED]> wrote: > hello all, > i tried to build Python3.0b1 but the make process hangs > while running: Building with gcc 4.3 is buggy. See http://mail.python.org/pipermail/python-3000/2008-April/012965.html. -- C

[Python-3000] PEP 3118 struct changes

2008-06-17 Thread Benjamin Peterson
Amaury and I were remarking on IRC how the PEP 3118 changes to the struct module haven't been implemented. What are the plans regarding this, and can it go in after beta? -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___

Re: [Python-3000] [Python-Dev] First betas (perhaps) on June 18

2008-06-14 Thread Benjamin Peterson
osing all the release critical bugs. > I think this will actually free us up a bit more on bug day to concentrate > on fixing other issues. I kinda hate to do this to you, but I had to file another release blocker: #3114 -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1.&

Re: [Python-3000] Implicit exception chaining (patch)

2008-06-13 Thread Benjamin Peterson
nctionality is there, but its consequences on exception reporting > are still non-existent (no funky multi-traceback exception messages for you). Wonderful! I was just about to make an issue for this anyway. I think Guido said this is something that could be implemented post-beta, though. -- Cheer

Re: [Python-3000] [Python-Dev] First betas (perhaps) on June 18

2008-06-13 Thread Benjamin Peterson
ing. I will quite happily abide by this; it's already causing more than enough stress over here. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mai

Re: [Python-3000] [Python-Dev] Potential beta showstopper (was Re: Have been sick, am behind on mail, let me know if there's anything urgent for me)

2008-06-11 Thread Benjamin Peterson
On Wed, Jun 11, 2008 at 9:18 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Wed, Jun 11, 2008 at 3:18 PM, Benjamin Peterson >> >> Already done. > > Done what? Fixed, or backed out? Any more details? Old farts who > aren't on IRC want to know. :-) That wo

Re: [Python-3000] Potential beta showstopper (was Re: [Python-Dev] Have been sick, am behind on mail, let me know if there's anything urgent for me)

2008-06-11 Thread Benjamin Peterson
for about 3 more > hours and if this can't be fixed by then, we will have to postpone the > releases. Already done. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@pyt

Re: [Python-3000] [Python-Dev] Have been sick, am behind on mail, let me know if there's anything urgent for me

2008-06-11 Thread Benjamin Peterson
I'm going to handle it. -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] python3000 udp problem

2008-06-10 Thread Benjamin Peterson
7;,3722)) > udp.close() > > output: > main > Traceback (most recent call last): > File "C:\Python30\Projects\udp.py", line 6, in > udp.sendto("1",0,('127.0.0.1',3722)) > TypeError: sendto() argument 1 must be bytes or read-only buffer

Re: [Python-3000] Install on Vista / AMD64 AthlonX2 platform

2008-06-08 Thread Benjamin Peterson
y7mail email address. > www.yahoo7.com.au/mail > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com

Re: [Python-3000] Postponing the first betas

2008-06-02 Thread Benjamin Peterson
e back online until June > 16. But thanks to all the help I have been receiving on PEP 3108, I > trust the various people involved to continue to do the right thing in > my absence. That reminds me of those Dilbert cartoons where his mother ends up knowing much more about computers

Re: [Python-3000] PEP: str(container) should call str(item), not repr(item)

2008-06-01 Thread Benjamin Peterson
#x27;t apply to 3.1 or > 3.2 -- by which time the unicode-keyed dicts or oddly-converted print > statements may change the importance. Notice how Guido said he's opposed to it, *and* it would cause too much disturbance. I believe he has previously shunned this idea. -- Cheers, Benjamin Peters

Re: [Python-3000] Mac module removal complete?

2008-05-30 Thread Benjamin Peterson
On Fri, May 30, 2008 at 2:36 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Fri, May 30, 2008 at 12:22 PM, Benjamin Peterson >> >> I'm pretty sure that plat-mac is going to go, but can Brett confirm? > > Ditch it. It's empty so there is no need to keep it. I

Re: [Python-3000] Mac module removal complete?

2008-05-30 Thread Benjamin Peterson
t were removed in Python 3. I'm pretty sure that plat-mac is going to go, but can Brett confirm? > > Some Mac head will need to do some additional cleanup before final release > (I'd do it, but as a non-Mac-user I can't judge well enough what is > important). I can han

Re: [Python-3000] PEP: str(container) should call str(item), not repr(item)

2008-05-29 Thread Benjamin Peterson
> Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com > -- Cheers, Benjamin P

Re: [Python-3000] [Python-Dev] Finishing up PEP 3108

2008-05-29 Thread Benjamin Peterson
On Wed, May 28, 2008 at 11:38 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > Issue 2854 - gestalt needs to be added back into 3.0. This is > Benjamin's issue. =) Is that your way of say "Check in the patch!" ? :) -- Cheers, Benjamin Peterson &q

Re: [Python-3000] suggestion: structured assignment

2008-05-28 Thread Benjamin Peterson
Hi Daniel, At the moment, we are preparing to ship betas, so this kind of proposal is a little late for 2.6/3.0. Also, I would recommend to try this on the python-ideas mailing list first. -- Cheers, Benjamin Peterson "There's no place like

Re: [Python-3000] Proposal to add __str__ method to iterables.

2008-05-28 Thread Benjamin Peterson
t;, which actually does have a use case as > the replacement for "".join(["1", "2"]). However, it's not expected. > ___ > Python-3000 mailing list > Python-3000@python.or

Re: [Python-3000] [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.) --

Re: [Python-3000] Removal of os.path.walk

2008-05-07 Thread Benjamin Peterson
Can I go ahead and remove this then? > > > It seems that os.walk has more options and a cleaner interface to > > walking trees than os.path.walk does. Is there support for the removal > > this in Py3k? > > > > -- > > Cheers, > > Benja

Re: [Python-3000] PEP 3108 - stdlib reorg/cleanup

2008-05-05 Thread Benjamin Peterson
of what state everything is in! > Hopefully I will start work on this tonight or tomorrow. What can I/we do to help? -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-

Re: [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-3000 mailing list Python-3000@python.org http://mail.python.org/m

Re: [Python-3000] Special offer! Ten code reviews

2008-05-02 Thread Benjamin Peterson
On Fri, May 2, 2008 at 3:32 PM, Antoine Pitrou <[EMAIL PROTECTED]> wrote: > I just tried to submit a patch using the Web form, and got a 500 Server > Error... It's been fixed. -- Cheers, Benjamin Peterson ___ Python-3000 mailing

Re: [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-3000 mailing list Python-3000@python.o

Re: [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-3000] gettext

2008-05-01 Thread Benjamin Peterson
On Thu, May 1, 2008 at 2:15 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > Torsten, I agree. Let's just rename ugettext() to gettext() and have it > return unicodes. That's the cleanest API we can do for Python. I have a patch for something like this at issue 2512.

Re: [Python-3000] range() issues

2008-04-30 Thread Benjamin Peterson
from the zen of Python It's practical to have a builtin function silently "lie" about the length of a sequence? I don't see how that makes anybody's life much easier. > > > > -- > --Guido van Rossum (home page: http://www.python.org/~guido/) > -- Cheers,

Re: [Python-3000] range() issues

2008-04-30 Thread Benjamin Peterson
verflow exception, and then use sys.maxsize? > But I didn't find a rationale. I'm sure it was PBP though. What's PBP? (A search only turns up a bicycle race. :)) -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Pytho

Re: [Python-3000] PEP 3108 - stdlib reorg/cleanup

2008-04-29 Thread Benjamin Peterson
of them before they were removed. -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] PEP 3108 - stdlib reorg/cleanup

2008-04-29 Thread Benjamin Peterson
missing the test fails. It looks like the patch already changes tests, which have optional imports. -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: h

Re: [Python-3000] range() issues

2008-04-29 Thread Benjamin Peterson
e! Where are the use cases for range slicing, anyway? -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] PEP 3108 - stdlib reorg/cleanup

2008-04-29 Thread Benjamin Peterson
all``); watch out for >tests that are skipped because an import failed for the removed >module. Why don't why apply the patch at issue 2409, so catching imports is easier? +1 Overall, I'm very impressed. It's hard to find a PEP (especially this big) that doesn't cause

[Python-3000] Removal of os.path.walk

2008-04-28 Thread Benjamin Peterson
It seems that os.walk has more options and a cleaner interface to walking trees than os.path.walk does. Is there support for the removal this in Py3k? -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http

Re: [Python-3000] range() issues

2008-04-26 Thread Benjamin Peterson
On Sat, Apr 26, 2008 at 3:34 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > "Set" is definitely misleading -- it has no ordering. True. I was trying to convey the unrepeated part of the set definition. Is "an ordered set of integers" better?

Re: [Python-3000] range() issues

2008-04-26 Thread Benjamin Peterson
On Sat, Apr 26, 2008 at 2:06 PM, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2008/4/26, Benjamin Peterson <[EMAIL PROTECTED]>: > > > > lens are forced to be <= Py_ssize_t because that's the limit put on > > sequence sizes. > > But this should b

Re: [Python-3000] range() issues

2008-04-26 Thread Benjamin Peterson
> > >From an external point of view, and knowing that ints are unbound, why > should I have an error here? lens are forced to be <= Py_ssize_t because that's the limit put on sequence sizes. -- Cheers, Benjamin Peterson ___ Python-3

[Python-3000] range() issues

2008-04-25 Thread Benjamin Peterson
bugs.python.org/msg65807 -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Re: [Python-3000] what do I use in place of reduce?

2008-04-23 Thread Benjamin Peterson
ture, please ask comp.lang.python or some similar group. This mailing list is for the core development of Python 3.x. Thanks! -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listin

[Python-3000] gettext

2008-04-23 Thread Benjamin Peterson
them in 3.0, but perhaps rename then to their non-"u" variants and deprecate? -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.pyt

Re: [Python-3000] Implementing % formatting in terms of str.format()

2008-04-14 Thread Benjamin Peterson
aps making it a > PendingDeprecationWarning whan -3 is given. I'm working on a patch for this. However, the exception system must call PyString_Format, because a warning can cause infinite recursion. What do you recommend? -- Cheers, Benjamin Peterson ___ P

Re: [Python-3000] Equality of range objects

2008-04-12 Thread Benjamin Peterson
If you're interested, I've implemented equality for range in issue 2603. -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.o

Re: [Python-3000] Implementing % formatting in terms of str.format()

2008-04-12 Thread Benjamin Peterson
gt; to only warn in an "extended Py3k warning mode" activated with -33. A Py3k warning is already a extended DeprecationWarning! Why don't we just give it a DeprecationWarning in 3.0? > > Georg -- Cheers, Benjamin Peterson __

Re: [Python-3000] properties on IOBase

2008-04-10 Thread Benjamin Peterson
On Thu, Apr 10, 2008 at 10:04 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Wed, Apr 9, 2008 at 7:07 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > Should IOBase's writeable, readable, and seekable methods have > > decorators like the closed m

Re: [Python-3000] Implementing % formatting in terms of str.format()

2008-04-09 Thread Benjamin Peterson
written for it. > > Skip > > > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/musiccom

[Python-3000] properties on IOBase

2008-04-09 Thread Benjamin Peterson
Should IOBase's writeable, readable, and seekable methods have decorators like the closed method? -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe:

Re: [Python-3000] Equality of range objects

2008-04-08 Thread Benjamin Peterson
On Tue, Apr 8, 2008 at 4:43 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Tue, Apr 8, 2008 at 2:34 PM, Benjamin Peterson > > <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 8, 2008 at 4:29 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > On Tue,

Re: [Python-3000] Equality of range objects

2008-04-08 Thread Benjamin Peterson
On Tue, Apr 8, 2008 at 4:29 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Tue, Apr 8, 2008 at 1:27 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > Is there a reason this is not implemented, though? It's seems to me > > they should be eq

Re: [Python-3000] PEP: Cleaning out sys and the "interpreter" module

2008-04-08 Thread Benjamin Peterson
On Tue, Apr 8, 2008 at 4:07 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Tue, Apr 8, 2008 at 1:34 PM, Benjamin Peterson > <[EMAIL PROTECTED]> > Another thought: Even if other > > implementations provide these > > functions, it doesn't really m

Re: [Python-3000] PEP: Cleaning out sys and the "interpreter" module

2008-04-08 Thread Benjamin Peterson
On Mon, Apr 7, 2008 at 6:19 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Mon, Apr 7, 2008 at 3:04 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 7, 2008 at 4:45 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > -0.5 from

Re: [Python-3000] Equality of range objects

2008-04-08 Thread Benjamin Peterson
Is there a reason this is not implemented, though? It's seems to me they should be equivalent. [snip] -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubs

Re: [Python-3000] PEP: Cleaning out sys and the "interpreter" module

2008-04-07 Thread Benjamin Peterson
On Mon, Apr 7, 2008 at 6:19 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 7, 2008 at 3:04 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 7, 2008 at 4:45 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > -0.5 f

Re: [Python-3000] readinto annotation

2008-04-07 Thread Benjamin Peterson
//www.python.org/~guido/<http://www.python.org/%7Eguido/> > ) > ___ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/opti

Re: [Python-3000] PEP: Cleaning out sys and the "interpreter" module

2008-04-07 Thread Benjamin Peterson
be reasonably placed, of course.) > > > -- > --Guido van Rossum (home page: > http://www.python.org/~guido/<http://www.python.org/%7Eguido/> > ) > -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.

[Python-3000] PEP: Cleaning out sys and the "interpreter" module

2008-04-07 Thread Benjamin Peterson
ys and the "interpreter" module Version: $Revision$ Last-Modified: $Date$ Author: Benjamin Peterson Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 4-April-2008 Python-Version: 3.0 Abstract This PEP proposes a new low-level module for CPython-specific interpreter f

[Python-3000] readinto annotation

2008-04-06 Thread Benjamin Peterson
While working on the io module docs, I noticed the annotation for readinto methods is bytes. This should be bytearray, right? -- Cheers, Benjamin Peterson ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo

Re: [Python-3000] raw strings and \u

2008-04-05 Thread Benjamin Peterson
On Sat, Apr 5, 2008 at 12:58 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > On Sat, Apr 5, 2008 at 8:03 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > On Sat, Apr 5, 2008 at 10:00 AM, Guido van Rossum <[EMAIL PROTECTED]> > wrote: > > > :-) > >

Re: [Python-3000] raw strings and \u

2008-04-05 Thread Benjamin Peterson
7;t happen again. > > > On Sat, Apr 5, 2008 at 7:59 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > > > > > On Sat, Apr 5, 2008 at 9:58 AM, Guido van Rossum <[EMAIL PROTECTED]> > wrote: > > > Thanks -- that was quick! > > Well, I w

  1   2   >