Re: [Python-Dev] Removing hotshot profiler?

2007-10-04 Thread Brett Cannon
On 10/4/07, Fred Drake <[EMAIL PROTECTED]> wrote: > I vaguely recall some discussion about removing hotshot in favor of a > better maintained profiler that has better thread support as well. > Does anyone remember the decision? I don't see anything about it in > PEP 4 or the Python 3000 PEPs I che

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

2007-10-12 Thread Brett Cannon
On 10/12/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I keep getting regular requests from people looking for Python coders > (and this is in addition to Google asking me to hand over my contacts > :-). This is good news because it suggests Python is on the uptake > (always good to know). Yea

[Python-Dev] Anyone using ctags with Vim?

2007-10-15 Thread Brett Cannon
I just noticed that the 'tags' Makefile target does not work with ctags 5.7 since the -t option no longer exists. So question 1 is whether anyone is using the 'tags' target. If the answer is no, then if you have your own way of generating the tags, let me know and I will update the target. Other

Re: [Python-Dev] SSL 1.7

2007-10-18 Thread Brett Cannon
On 10/18/07, Bill Janssen <[EMAIL PROTECTED]> wrote: > > > One thing to watch out for: ssl.SSLError can't > > > inherit from socket.error, as it does in 2.6+, > > > > Why not? > > Mainly because I don't see how to get my hands on the C version of > socket.error. Patches gratefully accepted, though

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

2007-10-20 Thread Brett Cannon
On 10/20/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2007/10/19, Christian Heimes <[EMAIL PROTECTED]>: > > > I know a possible solution. You could write a patch that moves the > > imports in C code to the module init function and stores the modules in > > a global static variable. > > I though

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

2007-10-26 Thread Brett Cannon
On 10/25/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2007/10/25, Facundo Batista <[EMAIL PROTECTED]>: > > > BTW, I'll leave the optimization of importing strptime one time, > > there's no reason to try to import it everytime strptime() is called. > > No, I'm not. In consideration to the possib

Re: [Python-Dev] hex() and oct() still include the trailing L - change this in 2.6?

2007-11-08 Thread Brett Cannon
On Nov 8, 2007 6:05 PM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > I thought the hell of stripping trailing Ls off of stringed numbers was gone > but it appears that the hex() and oct() builtins still leave the trailing > 'L' on longs: > > Python 2.6a0 (trunk:58846M, Nov 4 2007, 15:44:12) > [GC

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

2007-11-10 Thread Brett Cannon
On Nov 9, 2007 9:05 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Hello! > > Guido has granted me committer privileges to svn.python.org and > bugs.python.org about a week ago. So I'm new and new people tend to make > mistakes until they've learned the specific rules of a project. > > Today I'v

Re: [Python-Dev] Proposal for new 2to23 tool

2007-11-11 Thread Brett Cannon
On Nov 11, 2007 4:00 PM, Graham Horler <[EMAIL PROTECTED]> wrote: > I have been developing in Python since 1.5, and now have to support 2.1 > as a minimum version. I do like to keep my code runnable on newer > versions however, and am considering the feasability of forward > compatibility with Pyt

Re: [Python-Dev] Proposal for new 2to23 tool

2007-11-12 Thread Brett Cannon
On Nov 12, 2007 12:50 AM, Graham Horler <[EMAIL PROTECTED]> wrote: > On 12 Nov 2007, 03:24:34, Jan Claeys wrote: > > > > Op zondag 11-11-2007 om 17:19 uur [tijdzone -0800], schreef Brett > > Cannon: > > > On Nov 11, 2007 4:00 PM, Graham Horler <[EMAIL

Re: [Python-Dev] New python developer

2007-11-13 Thread Brett Cannon
On Nov 13, 2007 1:05 PM, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: > Hello, > > As you may have seen, I have recently been granted developer > privileges on python svn. Welcome aboard, Amaury! -Brett ___ Python-Dev mailing list Python-Dev@python.o

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

2007-11-14 Thread Brett Cannon
On Nov 13, 2007 6:15 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Hello Pythonistas and fellow core developers! > > After Amaury introduced himself I've decided that I *have* to take some > time to introduce myself, too. Obviously welcome, but you have been in the thick of things already, so

Re: [Python-Dev] Python Library Addition: First-class Procedure Signatures

2007-11-14 Thread Brett Cannon
On Nov 14, 2007 10:30 AM, Isaac Morland <[EMAIL PROTECTED]> wrote: > For another project (see my previous email on named tuples), I needed to > represent procedure signatures, and use them to expand arguments into the > dictionary of values that exists when execution of a procedure starts. To my >

Re: [Python-Dev] smlop - maintaned ? - what is the status of this module ?

2007-11-14 Thread Brett Cannon
On Nov 14, 2007 1:52 PM, Grzegorz Makarewicz <[EMAIL PROTECTED]> wrote: > Hi > > I have some scripts where this module is used - asyncore, xmlrpc, sgmlop. > Some errors are arriving - memory errors reported by msvc2005 malloc/free. > > Where I should report bugs ? http://bugs.python.org/ -Brett _

Re: [Python-Dev] Python Library Addition: First-class Procedure Signatures

2007-11-15 Thread Brett Cannon
On Nov 15, 2007 8:42 AM, Isaac Morland <[EMAIL PROTECTED]> wrote: > On Wed, 14 Nov 2007, Brett Cannon wrote: > > > As Collin already pointed out, it sounds like you want PEP 362 to get > > into the stdlib. I have not made a big push to try to get my existing > > impl

Re: [Python-Dev] Python Library Addition: First-class Procedure Signatures

2007-11-16 Thread Brett Cannon
On Nov 15, 2007 12:48 PM, Steven Bethard <[EMAIL PROTECTED]> wrote: > On Nov 14, 2007 1:18 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > On Nov 14, 2007 10:30 AM, Isaac Morland <[EMAIL PROTECTED]> wrote: > > > So I wrote a Signature class. Inst

Re: [Python-Dev] Python Library Addition: First-class Procedure Signatures

2007-11-16 Thread Brett Cannon
On Nov 15, 2007 12:48 PM, Steven Bethard <[EMAIL PROTECTED]> wrote: > On Nov 14, 2007 1:18 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > On Nov 14, 2007 10:30 AM, Isaac Morland <[EMAIL PROTECTED]> wrote: > > > So I wrote a Signature class. Inst

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

2007-11-18 Thread Brett Cannon
On Nov 18, 2007 3:16 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Brett Cannon wrote: > > Can't you do this testing in your own checkout without committing the > > change until you have talked to python-dev about the idea of changing > > how all types are i

Re: [Python-Dev] interested in google intership..

2007-11-21 Thread Brett Cannon
On Nov 21, 2007 6:02 AM, cave girl <[EMAIL PROTECTED]> wrote: > Sir, > I am a computer science student studying in India. I have maintained a good > academic record throughtout my engineering. I would like to associate myself > with GOOGLE. I will be glad if you let me know how to apply for GOOGLE

[Python-Dev] test_doctest failing

2007-11-23 Thread Brett Cannon
Looks like Skip's r59137 fix for working with tracing has led to test_doctest to be broken on 2.5 and the trunk (at least according to the buildbots). Can someone either revert the commit or fix it? I would normally do it myself but US Thanksgiving has me tied up to not do too much beyond bitchin

Re: [Python-Dev] .pyc location?

2007-11-23 Thread Brett Cannon
On Nov 23, 2007 10:02 AM, Andreas Raab <[EMAIL PROTECTED]> wrote: > Nick Coghlan wrote: > > Issues with collocating the compiled files with the source files do > > arise occasionally, but they can generally be resolved by having root > > run compileall [1] over the affected directories. In cases wh

Re: [Python-Dev] test_doctest failing

2007-11-24 Thread Brett Cannon
On Nov 24, 2007 1:57 PM, Titus Brown <[EMAIL PROTECTED]> wrote: > On Sat, Nov 24, 2007 at 10:23:06AM -0800, Guido van Rossum wrote: > -> On Nov 24, 2007 6:35 AM, <[EMAIL PROTECTED]> wrote: > -> > Thanks, Titus. Both the doctest and trace tests pass with your change. > -> > Checked back in. I did

Re: [Python-Dev] Statsvn output for /python/branches/py3k

2007-11-28 Thread Brett Cannon
On Nov 28, 2007 3:25 PM, Joseph Armbruster <[EMAIL PROTECTED]> wrote: > All, > > I was looking at statsvn today at work and gave it a test-run on a repo there. > I wondered what it would look like for python3k. And... here are the > results: > > http://www.joevial.com/statsvn/ Interesting. Un

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

2007-11-28 Thread Brett Cannon
On Nov 28, 2007 12:45 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Nov 28, 2007 12:28 PM, Laurent Gautier <[EMAIL PROTECTED]> wrote: > > I find __root_namespace__ rather explicit without being unbearably long. > > Perhaps the length is even an advantage -- this is not something that > shoul

Re: [Python-Dev] -O2 faster than -O3?

2007-11-30 Thread Brett Cannon
On Nov 30, 2007 12:02 PM, Neil Toronto <[EMAIL PROTECTED]> wrote: > On both of my systems, using -O2 reduces execution time in pystone by 9% > and in pybench by 8%. It's function inlining: "-O3 > -fno-inline-functions" works just as well as "-O2". Removing "-g" has > little effect on the result. >

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

2007-11-30 Thread Brett Cannon
On Nov 30, 2007 3:16 PM, Fred Drake <[EMAIL PROTECTED]> wrote: > On Nov 30, 2007, at 6:05 PM, Guido van Rossum wrote: > > It's almost as if nobody has seen my proposal to leave __builtins__ > > alone and rename the __builtin__ module instead. > > > I suspect that's indistinguishable from everyone b

Re: [Python-Dev] Problems with GeneratorExit deriving from Exception

2007-12-02 Thread Brett Cannon
On Dec 1, 2007 11:14 PM, Chad Austin <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > On Dec 1, 2007 2:38 PM, Chad Austin <[EMAIL PROTECTED]> wrote: > >> This problem could be solved in several ways: > >> > >> 1) Make GeneratorExit derive from BaseException, just like SystemExit. > > > > We

Re: [Python-Dev] StandardError removed from py3k

2007-12-02 Thread Brett Cannon
On Dec 2, 2007 1:49 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > Antoine Pitrou schrieb: > > Le dimanche 02 décembre 2007 à 12:08 -0800, Neal Norwitz a écrit : > >> Note that StandardError was removed from py3k. > > > > Out of curiosity, what is the reason for this? Another exception tree > > rear

Re: [Python-Dev] [Python-3000] Call for Project Participation in Development Sprints at PyCon 2008

2007-12-14 Thread Brett Cannon
On Dec 14, 2007 11:51 AM, Facundo Batista <[EMAIL PROTECTED]> wrote: > Python-related projects: join the PyCon Development Sprints! > > The development sprints are a key part of PyCon, a chance for the > contributors to open-source projects to get together face-to-face for > up to four days of inte

Re: [Python-Dev] Spurious Buildbot Reports

2007-12-19 Thread Brett Cannon
On Dec 19, 2007 4:33 PM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > The bots are kicking-off so many false alarms that it is becoming difficult > to tell whether a check-in genuinely broke a build. > > At the root of the problem is a number of tests in the test suite that > randomly blow-up.

Re: [Python-Dev] viewvc at svn.python.org down?

2007-12-26 Thread Brett Cannon
On Dec 26, 2007 9:49 AM, O.R.Senthil Kumaran <[EMAIL PROTECTED]> wrote: > The viewvc interface of svn.python.org seems down. > svn is working properly though. > Anyone aware of the problem? > I believe the machine hosting the Subversion server was to be upgraded today. That might be the cause of

Re: [Python-Dev] Contributing to Python

2008-01-04 Thread Brett Cannon
On Jan 3, 2008 5:24 PM, Titus Brown <[EMAIL PROTECTED]> wrote: > On Thu, Jan 03, 2008 at 03:24:16PM -0500, Joseph Armbruster wrote: > -> Having a "core mentor" would be great but do they really have time for > -> that? I've been lucky at finding people in #python / #python-dev) that can > -> answe

Re: [Python-Dev] [Pydotorg] Do we need both Trac and Roundup?

2008-01-06 Thread Brett Cannon
On Jan 6, 2008 8:57 AM, <[EMAIL PROTECTED]> wrote: > > A ticket I opened on Roundup about a website issue some time ago was closed > today. It was related to a different topic, but in the discussion I wrote: > > Is there some reason at this point that we need to maintain two separate > tr

Re: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages

2008-01-06 Thread Brett Cannon
On Jan 6, 2008 2:01 PM, Steven Bethard <[EMAIL PROTECTED]> wrote: > On Jan 6, 2008 1:07 PM, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > > At 12:03 PM 1/6/2008 -0700, Steven Bethard wrote: > > >Maybe the situation is different here, but having someone installing a > > >different version of sqlite be

Re: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages

2008-01-07 Thread Brett Cannon
On Jan 6, 2008 8:28 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Jan 6, 2008 7:23 PM, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > > At 04:23 PM 1/6/2008 -0800, Guido van Rossum wrote: > > >Regarding using common words, either the stdlib grabs these, or > > >*nobody* gets to use them (for fe

Re: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages

2008-01-07 Thread Brett Cannon
On Jan 7, 2008 12:40 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On Jan 7, 2008 12:19 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > On Jan 6, 2008 8:28 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > On Jan 6, 2008 7:23 PM, Phillip J. Eby <

Re: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages

2008-01-07 Thread Brett Cannon
On Jan 7, 2008 3:47 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Jan 7, 2008 12:56 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > OK. So an html package could have htmllib for its __init__ (or > > html.lib), and then have html.entities and html.parser for > &

Re: [Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages

2008-01-07 Thread Brett Cannon
On Jan 7, 2008 2:24 PM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > >> And then extend this to any other > >> package that we consider creating? Otherwise leave it out? How would > >> that follow for sqlite since that is not going to get any shorter > >> thanks to a package? Should it still go

Re: [Python-Dev] PEP: Lazy module imports and post import hook

2008-01-09 Thread Brett Cannon
On Jan 9, 2008 7:38 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Nick Craig-Wood wrote: > > Christian Heimes <[EMAIL PROTECTED]> wrote: > >> I've attached the first public draft of my first PEP. > > > > Some brief thoughts from me on the PEP... > > > > Post import hooks sound great and a good ide

Re: [Python-Dev] Priorities in the tracker

2008-01-20 Thread Brett Cannon
On Jan 20, 2008 10:42 AM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > After some months of tracker operation, I'd like to discuss one aspect > of the tracker schema: priorities. > > Each issue has a severity and a priority. The severity is assigned by > the submitter, defaults to normal, and ind

Re: [Python-Dev] PEP 365 (was Re: PEP: per user site-packages directory)

2008-01-21 Thread Brett Cannon
On Jan 21, 2008 1:46 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > What I meant was that we could include an easy_install.py whose sole > > function is to ensure that setuptools is installed and then invoke > > the "real" easy_install. Thus, the first time you ran easy_install, > > a curren

Re: [Python-Dev] 2.5.2 release coming up

2008-01-22 Thread Brett Cannon
On Jan 22, 2008 8:47 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > While the exact release schedule for 2.5.2 is still up in the air, I > expect that it will be within a few weeks. This means that we need to > make sure that anything that should go into 2.5.2 goes in ASAP, > preferably this wee

Re: [Python-Dev] functions vs methods (was Re: trunc())

2008-01-27 Thread Brett Cannon
On Jan 27, 2008 12:53 PM, Aahz <[EMAIL PROTECTED]> wrote: > On Sun, Jan 27, 2008, "Martin v. L?wis" wrote: > > > > Students just asked me why len() is not a method, and I didn't know a > > good answer; the same holds for many other builtins. This is a clear > > candidate for a method, IMO. > > This

Re: [Python-Dev] refleaks and caches

2008-01-27 Thread Brett Cannon
On Jan 27, 2008 3:37 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Phillip J. Eby wrote: > > Expose an API to clear the cache, and clear it at shutdown? It > > should probably be part of interpreter shutdown anyway. > > Good point. I've implemented PyType_ClearCache and exposed it via > sys._c

[Python-Dev] Announcing the Python core sprint at PyCon 2008

2008-01-28 Thread Brett Cannon
r the sprint by the end of February as an email on what you need to do beforehand will be sent at that time based on the sprint sign-up page. And if you are not attending PyCon, we will most likely have several people in attendance on IRC, thus allowing even people not at PyCon to participate! -

Re: [Python-Dev] Assigning issues

2008-01-30 Thread Brett Cannon
On Jan 30, 2008 8:49 AM, Jesus Cea <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I just trying to open a new bug in bssdb module and assign it to me :-). > Seems I have no permissions to do that :-). > > The issue is http://bugs.python.org/issue1976 > We have not

[Python-Dev] A word of warning against using sqlite3 from MacPorts

2008-02-02 Thread Brett Cannon
I was running the test suite today and I was getting a segfault in test_sqlite. That seemed odd since I had not seen any issues on any buildbots. And running the test independently was fine. Noticing that sqlite 3.5.5 was recently available I had MacPorts update. Unfortunately this didn't fix thin

[Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

2008-02-02 Thread Brett Cannon
This year at PyCon, sprint coaches are giving tutorials up to three hours long the night before sprinting starts. Being the sprint coach on the core means that I get to be that person for the core. Here is to hoping people wait for me for dinner that night. Anyway, to make the tutorial as useful a

[Python-Dev] Should a change in search order of directories in setup.py be backported?

2008-02-02 Thread Brett Cannon
I found out that the directories listed in $CPPFLAGS and $LDFLAGS were being added in reverse order in setup.py. That meant having ``-I/foo -I/bar`` was searching /bar first. I fixed setup.py in the trunk so that the declared order if followed instead. But should this be backported? It will change

Re: [Python-Dev] Should a change in search order of directories in setup.py be backported?

2008-02-03 Thread Brett Cannon
On Feb 3, 2008 12:08 AM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > But should this be backported? It will change how extensions are > > compiled if there is more than one version on a machine. Not sure if > > we want people to suddenly have what they link against change in a > > micro releas

Re: [Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

2008-02-03 Thread Brett Cannon
On Feb 2, 2008 7:34 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Brett Cannon wrote: > > Anyway, to make the tutorial as useful as possible I need to worry > > about Windows users. But being an OS X/UNIX user, I don't know how to > > help these people. =) As

Re: [Python-Dev] Any tips to tell sprinter at PyCon about developing on Windows?

2008-02-03 Thread Brett Cannon
On Feb 3, 2008 2:21 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Brett Cannon wrote: > > PCbuild/readme.txt says that pressing F6 will also build everything > > fine. Is that true as well? > > > > And what is the best way to just launch an interpreter

[Python-Dev] Any Emacs tips for core developers?

2008-02-03 Thread Brett Cannon
I noticed on the download page that http://www.python.org/emacs is listed as the place to get your modes for Python development (which seemed to lack any mention of Vim and the support in svn; a slight bias =). Is this true for core development as well? Basically if someone can tell me the best pl

Re: [Python-Dev] Any Emacs tips for core developers?

2008-02-04 Thread Brett Cannon
On Feb 3, 2008 3:48 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I believe recent versions of Emacs and Vim have Python support > standard. At least, it's been years since I last had to do anything to > install it. > Python support is standard for Vim. But the stuff in Misc/Vim is much more u

[Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-04 Thread Brett Cannon
The 1 MB PDF can be found at http://www.cs.ubc.ca/~drifty/pycon/sprint_tutorial.pdf . If you find any bad info or some info that is really lacking, let me know. But please realize that my slides are never really meant to be read on their own as it just goes against my presentation style. So don't t

Re: [Python-Dev] Any Emacs tips for core developers?

2008-02-04 Thread Brett Cannon
On Feb 4, 2008 2:35 PM, <[EMAIL PROTECTED]> wrote: > > Brett> Python support is standard for Vim. But the stuff in Misc/Vim is > Brett> much more up-to-date and specific to core development. > > Brett, > > I should have asked this before, but what's so special about core (Python?) > develo

Re: [Python-Dev] Any Emacs tips for core developers?

2008-02-04 Thread Brett Cannon
On Feb 4, 2008 4:47 PM, <[EMAIL PROTECTED]> wrote: > > >> I should have asked this before, but what's so special about core > >> (Python?) development that the tools should be different than for > >> non-core development? > > Brett> Usually the core has keywords, built-ins, etc. t

Re: [Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-04 Thread Brett Cannon
On Feb 4, 2008 5:26 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > > Brett Cannon wrote: > > The 1 MB PDF can be found at > > http://www.cs.ubc.ca/~drifty/pycon/sprint_tutorial.pdf . If you find > > any bad info or some info that is really lacking, let me know.

[Python-Dev] Get rid of strerror.c and memmove.c?

2008-02-07 Thread Brett Cannon
I ran LLVM's under-development C front-end, clang (http://clang.llvm.org), against Python today. While a ton of message crop up thanks to lacking header files, I did come across a handful of semi-useful warnings (e.g., the change I checked into Python/compile.c). One thing it picked up is that on

Re: [Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-08 Thread Brett Cannon
On Feb 6, 2008 4:46 AM, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2008/2/4, Brett Cannon <[EMAIL PROTECTED]>: > > > The 1 MB PDF can be found at > > http://www.cs.ubc.ca/~drifty/pycon/sprint_tutorial.pdf . If you find > > any bad info or some info that

Re: [Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-08 Thread Brett Cannon
On Feb 8, 2008 12:53 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Brett Cannon wrote: > > The corrected version of the slides are now up at the same location. > > I found a minor mistake > > PC/ > * Build files for compilers older than VS 7.1. > > The PC

Re: [Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-09 Thread Brett Cannon
On Feb 9, 2008 7:14 AM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > On 4 Feb, 22:29, "Brett Cannon" <[EMAIL PROTECTED]> wrote: > > The 1 MB PDF can be found > > athttp://www.cs.ubc.ca/~drifty/pycon/sprint_tutorial.pdf. If you find > > > any b

Re: [Python-Dev] Small configure typo?

2008-02-13 Thread Brett Cannon
On Feb 13, 2008 9:24 AM, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote: > With zsh when I try to autocomplete the ./configure options I get this: > > _arguments:comparguments:303: invalid option definition: > --enable-universalsdk[SDKDIR][Build against Mac OS X 10.4u SDK (ppc/i386)] > > S

[Python-Dev] Error in post-revprop-change hook in svn

2008-02-13 Thread Brett Cannon
I mistyped Jeroen's name so I edited the log message. But I got the following error message in the process:: svn: 'post-revprop-change' hook failed; no error output available The change still occurred, though. Anybody with access to the svn hooks know what is going on? -Brett _

Re: [Python-Dev] Py_CLEAR to avoid crashes

2008-02-16 Thread Brett Cannon
On Feb 16, 2008 3:12 PM, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: > Hello, > > I think I found a prolific vein of potential crashes throughout the > python interpreter. > The idea is inspired from the discussion Issue1020188 and is quite > simple: find a Py_DECREF(xxx->yyy), where xxx repres

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-18 Thread Brett Cannon
On Feb 18, 2008 11:11 AM, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: > Jeroen Ruigrok van der Werven wrote: > > -On [20080218 13:38], Virgil Dupras ([EMAIL PROTECTED]) wrote: > > >Personally, I think that a bug tracker is a good place to keep RFE, > > >not a PEP. I think that the PEP would ten

Re: [Python-Dev] small Grammar questions

2008-02-19 Thread Brett Cannon
On Feb 19, 2008 1:38 PM, Andrew Dalke <[EMAIL PROTECTED]> wrote: > I'm finishing up a PLY lexer and parser for the current CVS version of > the Python grammar. As part of it I've been testing a lot of dark > corners in the grammar definition and implementation. Python 2.5 has > some small and rar

Re: [Python-Dev] small Grammar questions

2008-02-19 Thread Brett Cannon
On Feb 19, 2008 6:15 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > Steve Holden wrote: > [...] > > The one that surprised me was the legality of > > > > def eggs((a, )=c): > > pass > > > > That just seems like unpacking-abuse to me. > > > Needless to say, a call that tries to *use* th

Re: [Python-Dev] Reminder: bug day on Saturday

2008-02-20 Thread Brett Cannon
On Feb 20, 2008 8:03 AM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: > We have a bug day this Saturday. Join us on IRC and let's see how > many issues we can clear up. > > http://wiki.python.org/moin/PythonBugDay for more. > > There are currently 69 bugs marked as 'easy', which is probably more > tha

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-20 Thread Brett Cannon
On Feb 20, 2008 12:36 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > I agree, the name is a bit confusing when you're not used to it. > > Renaming it is easy. To the native speakers reading it: What should > it be called? (please try to come up with something shorter than > "request for enhan

Re: [Python-Dev] Unit Test Guide

2008-02-21 Thread Brett Cannon
On Thu, Feb 21, 2008 at 7:43 AM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote: > On 21 Feb, 12:30, "Virgil Dupras" <[EMAIL PROTECTED]> wrote: > > Hi devs, > > > > > > Specifically, I'd like to know about files managements in tests. Is > > every test expected to clean after itself, or is there an

Re: [Python-Dev] [Python-checkins] r60919 - peps/trunk/pep-0008.txt

2008-02-21 Thread Brett Cannon
On Thu, Feb 21, 2008 at 9:15 AM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > On Feb 21, 2008, at 11:21 AM, skip.montanaro wrote: > > > Author: skip.montanaro > > Date: Thu Feb 21 17:21:15 2008 > > New Revision: 60919 > > > > Modified: >

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-21 Thread Brett Cannon
assumption. > >> > >> What would be the difference between accepted and fixed for a closed > ticket? > > > > I don't know what others do, but I use accepted for a patch submission > > and fixed for a bug report. > >

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-21 Thread Brett Cannon
On Thu, Feb 21, 2008 at 8:06 AM, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2008/2/21, Gregory P. Smith <[EMAIL PROTECTED]>: > > > > > That sounds eminently sensible. So sensible there should be > > > documentation that tells us to do that. Drat it, wh

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-22 Thread Brett Cannon
On Fri, Feb 22, 2008 at 10:01 AM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Can we make the names a little longer? > > Somebody really needs to take lead here. I won't change > anything unless somebody tells me precisely what to do, > so I can blame somebody. Messages like this (which I >

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-22 Thread Brett Cannon
On Fri, Feb 22, 2008 at 1:21 PM, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2008/2/22, Brett Cannon <[EMAIL PROTECTED]>: > > > > I think Martin is right that someone needs to take the lead and do a > > complete review of how issues are handled. That way we

Re: [Python-Dev] Small RFEs and the Bug Tracker

2008-02-22 Thread Brett Cannon
On Fri, Feb 22, 2008 at 1:28 PM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: > On Fri, Feb 22, 2008 at 01:06:05PM -0800, Brett Cannon wrote: > > I think Martin is right that someone needs to take the lead and do a > > complete review of how issues are handled. That way we ca

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

2008-02-22 Thread Brett Cannon
On Fri, Feb 22, 2008 at 3:45 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi everyone, > > I've volunteered to be the release manager for Python 2.6 and 3.0. > It's been several years since I've RM'd a Python release, and I'm > happy to do i

[Python-Dev] Please sign up for the PyCon sprint if you are attending!

2008-02-22 Thread Brett Cannon
With the PyCon sprint approaching I would like all attendees to be signed up on the wiki page for the sprint: http://wiki.python.org/moin/PyCon2008/SprintSignups/Python . I am going to be using that list to send out an email about what is exactly expected of people in terms of setup ahead of time,

Re: [Python-Dev] Proposed revision of PEP 3 (using the issue tracker)

2008-02-23 Thread Brett Cannon
On Sat, Feb 23, 2008 at 10:17 PM, Ron Adam <[EMAIL PROTECTED]> wrote: > > > Nick Coghlan wrote: > > Martin v. Löwis wrote: > >> One issue to consider is also politeness. People sometimes complain that > >> they feel treated unfair if their report is declared "invalid" - they > >> surely believ

Re: [Python-Dev] optimizing out local variables

2008-02-24 Thread Brett Cannon
On Sun, Feb 24, 2008 at 6:27 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > Short description (see http://bugs.python.org/issue2181 for the patch > and more details): > > Optimize code like: >x = any_expression >return x > > to: >return any_expression > > The local variable x is no l

Re: [Python-Dev] Buildbots for trunk are all red

2008-02-26 Thread Brett Cannon
On Tue, Feb 26, 2008 at 1:52 PM, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2008/2/26, "Martin v. Löwis" <[EMAIL PROTECTED]>: > > > > They check out bsddb from subversion, see Tools/buildbot/external. > > If you don't trust that they did so correctly, edit the script to > > remove bsddb, che

Re: [Python-Dev] Buildbots for trunk are all red

2008-02-26 Thread Brett Cannon
On Tue, Feb 26, 2008 at 9:46 PM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > > > > On 2/26/08, Brett Cannon <[EMAIL PROTECTED]> wrote: > > On Tue, Feb 26, 2008 at 1:52 PM, Facundo Batista > > <[EMAIL PROTECTED]> wrote: > >

[Python-Dev] Getting a second review on a rewrite of test_logging

2008-02-26 Thread Brett Cannon
I think over a week ago I applied some GHOP work that turned test_logging into a doctest, but it turns out it is still flaky. Luckily Antoine Pitrou rewrote test_logging using unittest and seems to have made it more sound. But before I replace test_logging again (especially with a more dramatic ch

Re: [Python-Dev] [ANN] Python 2.3.7 and 2.4.5, release candidate 1

2008-03-02 Thread Brett Cannon
On Sun, Mar 2, 2008 at 4:52 PM, Fred Drake <[EMAIL PROTECTED]> wrote: > On Mar 2, 2008, at 7:43 PM, Fred Drake wrote: > > 2.4.5 won't build for me from the svn checkout on Mac OS X 10.5.2: > > > Neither does 2.3.7 now that I've tried that: > > gcc -u __dummy -u _PyMac_Error -framework System -f

[Python-Dev] [OT] Python mentioned on OOPSLA 2008 postcard

2008-03-11 Thread Brett Cannon
I just got my postcard announcing OOPSLA 2008. Interesting thing is that the postcard, which lists various things that will be at OOPSLA, includes Python. It's actually listed in the first line and the thing is not alphabetized. And even cooler, it is the first language listed (ruby, Objective-C, C

[Python-Dev] How best to handle test_errno?

2008-03-13 Thread Brett Cannon
I am going through my backlog of GHOP work and noticed that test_errno is essentially a no-op at the moment. I was wondering if anyone knew if there are any guaranteed values for the errno module? If not, the test current says that Linux has all the values; is that really true? -Brett

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

2008-03-16 Thread Brett Cannon
On Sun, Mar 16, 2008 at 10:32 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I'm changing the subject to keep this separate from the project > management tools discussion. > > > > Of course I know that xturtle is only a side issue in the current > > development efforts. Unfortunately I'm no

[Python-Dev] Currently adding known 2.6 showstoppers to the tracker

2008-03-17 Thread Brett Cannon
Right now at the sprint I am going through a list of issues Neal and I compiled of what needs to happen to get 2.6/3.0 out the door (although the list is pretty much 2.6-specific). They are all being flagged as "immediate" priority. Hopefully it won't take too long to add all of them (although the

Re: [Python-Dev] Currently adding known 2.6 showstoppers to the tracker

2008-03-17 Thread Brett Cannon
a, beta or final). > Fine by me. If Barry has no issue with that I will drop all of their priority to urgent. But until then I will just keep doing immediate and change them en-mass. -Brett > > > On Mon, Mar 17, 2008 at 12:28 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >

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

2008-03-17 Thread Brett Cannon
On Mon, Mar 17, 2008 at 3:35 PM, Gregor Lingl <[EMAIL PROTECTED]> wrote: > > > Brett Cannon schrieb: > > ... > > > The current plan is to introduce a tk package and turtle was to become > > tk.turtle. xturtle, if picked up, can just take the place of the

[Python-Dev] Change in priority fields

2008-03-17 Thread Brett Cannon
Barry, Neal, and myself had a conversation and changed the priority fields in the tracker. You can click on 'priority' to see an explanation, but the new fields are: - release blocker - critical - high - normal - low So "release blocker" blocks a release. "Critical" could very easily block a rele

[Python-Dev] Introducing the ``make check`` command

2008-03-18 Thread Brett Cannon
After having one too many commits be rejected by having trailing whitespace, I wrote a script that runs reindent.py over all .py files that are to be checked in. But since there are other things that one should be aware of when creating a patch I let people know if they edited anything in the Doc d

Re: [Python-Dev] Introducing the ``make check`` command

2008-03-18 Thread Brett Cannon
On Tue, Mar 18, 2008 at 4:09 PM, Isaac Morland <[EMAIL PROTECTED]> wrote: > On Tue, 18 Mar 2008, Brett Cannon wrote: > > > Lastly, I would like to have it strip trailing whitespace in C files. > > The only problem is that I don't know if removing trailing whitespac

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

2008-03-21 Thread Brett Cannon
On Fri, Mar 21, 2008 at 1:42 AM, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote: > (To provide counterweight.) > > > -On [20080320 20:44], Barry Warsaw ([EMAIL PROTECTED]) wrote: > >We have not made a decision to move to Bazaar officially, nor have we made > >a decision to even move off

Re: [Python-Dev] Proposal: from __future__ import unicode_string_literals

2008-03-21 Thread Brett Cannon
On Fri, Mar 21, 2008 at 11:06 AM, Eric Smith <[EMAIL PROTECTED]> wrote: > Christian Heimes wrote: > > Eric Smith schrieb: > > > It's not implementable because the work has to occur in ast.c (see > >> Py_UnicodeFlag). It can't occur later, because you need to skip the > >> encoding being done

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

2008-03-21 Thread Brett Cannon
On Thu, Mar 20, 2008 at 2:49 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Barry Warsaw schrieb: > > > 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 control system. >

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

2008-03-21 Thread Brett Cannon
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]> wrote: > > > > On 21/03/2008, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > > I tend to make a repository and make a working copy for each patch

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

2008-03-21 Thread Brett Cannon
On Fri, Mar 21, 2008 at 2:38 PM, Paul Moore <[EMAIL PROTECTED]> wrote: > On 21/03/2008, Antoine Pitrou <[EMAIL PROTECTED]> wrote: > > I see your trunk history is stripped. For those who want the complete > trunk > > history (back to 17 years ago!), I have my own mirror here: > > http://dev.

Re: [Python-Dev] Commit access request

2008-03-27 Thread Brett Cannon
On Thu, Mar 27, 2008 at 2:25 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > > > 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: > > > >

<    19   20   21   22   23   24   25   26   27   28   >