Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-15 Thread Glyph Lefkowitz
On Feb 15, 2010, at 3:50 PM, Michael Foord wrote: > On 15/02/2010 20:27, Glyph Lefkowitz wrote: >> >> >> On Feb 13, 2010, at 12:46 PM, Guido van Rossum wrote: >> >>> On Fri, Feb 12, 2010 at 8:01 PM, Glyph Lefkowitz >>> wrote: I find setUpClass more hostile to *other* kinds of testing, be

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-15 Thread Michael Foord
On 15/02/2010 20:27, Glyph Lefkowitz wrote: On Feb 13, 2010, at 12:46 PM, Guido van Rossum wrote: On Fri, Feb 12, 2010 at 8:01 PM, Glyph Lefkowitz mailto:gl...@twistedmatrix.com>> wrote: On Feb 11, 2010, at 1:11 PM, Guido van Rossum wrote: For what it's worth, I am a big fan of abusing test

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-15 Thread Glyph Lefkowitz
On Feb 13, 2010, at 12:46 PM, Guido van Rossum wrote: > On Fri, Feb 12, 2010 at 8:01 PM, Glyph Lefkowitz > wrote: >> On Feb 11, 2010, at 1:11 PM, Guido van Rossum wrote: >> >> For what it's worth, I am a big fan of abusing test frameworks in generally, >> and pyunit specifically, to perform ev

Re: [Python-Dev] 3.1.2

2010-02-15 Thread Amaury Forgeot d'Arc
Hi, 2010/2/15 Benjamin Peterson > 2010/2/15 "Martin v. Löwis" : > > Stefan Behnel wrote: > >> Benjamin Peterson, 13.02.2010 03:52: > >>> It's about time for another 3.1 bug fix release. I propose this > schedule: > >>> > >>> March 6: Release Candidate (same day as 2.7a4) > >>> March 20: 3.1.2 F

Re: [Python-Dev] pysandsox project

2010-02-15 Thread Hanno Schlichting
On Mon, Feb 15, 2010 at 6:11 PM, Victor Stinner wrote: > pysandbox is based on safelite.py, project written by tav one year ago (search > tav in python-dev archive, February 2009). I tested RestrictedPython, but the > approach is different (rewrite bytecode) and the project is not maintained > sin

Re: [Python-Dev] 3.1.2

2010-02-15 Thread Benjamin Peterson
2010/2/15 "Martin v. Löwis" : > Stefan Behnel wrote: >> Benjamin Peterson, 13.02.2010 03:52: >>> It's about time for another 3.1 bug fix release. I propose this schedule: >>> >>> March 6: Release Candidate (same day as 2.7a4) >>> March 20:  3.1.2 Final release >> >> Does a crash like #7173 qualify

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-15 Thread Michael Foord
On 15/02/2010 17:05, Michael Foord wrote: [snip] This is also an interesting point. The 'naive' implementation, which I think I prefer, only runs the setUpModule of modules actually containing tests. Similarly setUpClass is only called on classes with actual tests, although they may call up to

[Python-Dev] pysandsox project

2010-02-15 Thread Victor Stinner
Hi, I'm working on a new sandbox project. The goal is to create an empty namespace and write strict rules for the interaction with the existing namespace (full featured Python namespace). By default, you cannot read a file, use print, import a module or exit Python. But you can enable some fun

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-15 Thread Michael Foord
On 13/02/2010 04:01, Glyph Lefkowitz wrote: [snipping some good points...] Regarding the objection that setUp/tearDown for classes would run into issues with subclassing, I propose to let the standard semantics of subclasses do their job. Thus a subclass that overrides setUpClass or tearDownClass

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-15 Thread Michael Foord
On 13/02/2010 11:00, Robert Collins wrote: On Sat, 2010-02-13 at 10:42 +, Antoine Pitrou wrote: Robert Collins robertcollins.net> writes: I'm not personally very keen on inspecting everything in self.__dict__, I suspect it would tickle bugs in other unittest extensions. However

[Python-Dev] Release timer for Core Development page

2010-02-15 Thread anatoly techtonik
I've got another idea of having a release timer on http://python.org/dev/ page together with link to generated release calendar. It will help to automatically monitor deadlines for feature fixes in alpha releases without manually monitoring this mailing list. There is already a navigation box on t

Re: [Python-Dev] Google Groups Mirror

2010-02-15 Thread anatoly techtonik
On Mon, Feb 15, 2010 at 1:31 AM, Barry Warsaw wrote: > >> What is the point in maintaining archive listed in >> http://mail.python.org/mailman/listinfo/python-dev if it is not >> searchable? >> Recently I needed to find old thread about adding tags to roundup but >> couldn't. >> >> GMane archive

Re: [Python-Dev] 3.1.2

2010-02-15 Thread Martin v. Löwis
Stefan Behnel wrote: > Benjamin Peterson, 13.02.2010 03:52: >> It's about time for another 3.1 bug fix release. I propose this schedule: >> >> March 6: Release Candidate (same day as 2.7a4) >> March 20: 3.1.2 Final release > > Does a crash like #7173 qualify as a blocker for 3.1.2? I'm not the r

Re: [Python-Dev] 3.1.2

2010-02-15 Thread Stefan Behnel
Benjamin Peterson, 13.02.2010 03:52: > It's about time for another 3.1 bug fix release. I propose this schedule: > > March 6: Release Candidate (same day as 2.7a4) > March 20: 3.1.2 Final release Does a crash like #7173 qualify as a blocker for 3.1.2? Stefan ___