On Sun, Mar 23, 2008 at 6:21 PM, <[EMAIL PROTECTED]> wrote:
>
> So, regarding -3 warnings in the 2.6 test code, should they be fixed or
> not?
I think we should introduce a decorator and/or a context manager in
test_support like this:
def silence_py3k(func):
def decorator(*args, **kwargs):
So, regarding -3 warnings in the 2.6 test code, should they be fixed or not?
Skip
___
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/archi
skip> Maybe regrtest should gain a -3 flag. All it would have to do is
skip> restart itself moving the -3 from after regrtest to before it.
Ehh... That didn't seem like such a great idea about 10 seconds after I hit
send. Adding a test3 target to Makefile.pre.in is a lot easier.
Skip
>> Would turning the -3 flag on make it too hard to diagnose problems?
Martin> Yes. I don't think it should be turned on regularly in the tests
Martin> until they regularly are quiet under -3.
Maybe regrtest should gain a -3 flag. All it would have to do is restart
itself moving the
> Would turning the -3 flag on make it too hard to diagnose problems?
Yes. I don't think it should be turned on regularly in the tests until
they regularly are quiet under -3.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail
On Sat, Mar 22, 2008 at 2:58 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Steven Bethard wrote:
> > Right now, test_py3kwarn only runs if the test suite is run using the
> > -3 command line flag to Python. So for most regrtest runs (e.g. the
> > buildbots) this test will never be run.
>
>
On Sat, Mar 22, 2008 at 4:08 PM, "Martin v. Löwis" <[EMAIL PROTECTED]>
wrote:
> > For the buildbots, it would be easy to turn -3 on, though.
> >
> > Should I work a patch to allow Python code to disable/enable the flag?
>
> +0.
See issue 2458.
>
>
> Regards,
> Martin
>
--
Cheers,
Benjami
> For the buildbots, it would be easy to turn -3 on, though.
>
> Should I work a patch to allow Python code to disable/enable the flag?
+0.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/py
On Sat, Mar 22, 2008 at 3:58 PM, "Martin v. Löwis" <[EMAIL PROTECTED]>
wrote:
> Steven Bethard wrote:
> > Right now, test_py3kwarn only runs if the test suite is run using the
> > -3 command line flag to Python. So for most regrtest runs (e.g. the
> > buildbots) this test will never be run.
>
> Fo
Steven Bethard wrote:
> Right now, test_py3kwarn only runs if the test suite is run using the
> -3 command line flag to Python. So for most regrtest runs (e.g. the
> buildbots) this test will never be run.
For the buildbots, it would be easy to turn -3 on, though.
Regards,
Martin
On Sat, Mar 22, 2008 at 3:34 PM, Steven Bethard <[EMAIL PROTECTED]>
wrote:
> Right now, test_py3kwarn only runs if the test suite is run using the
> -3 command line flag to Python. So for most regrtest runs (e.g. the
> buildbots) this test will never be run.
>
> It would be nice to be able to tur
Right now, test_py3kwarn only runs if the test suite is run using the
-3 command line flag to Python. So for most regrtest runs (e.g. the
buildbots) this test will never be run.
It would be nice to be able to turn the flag on from Python (e.g.
within test_py3kwarn). Is that possible? Here's what
12 matches
Mail list logo