[issue10957] Python developer FAQ grammar error

2011-01-21 Thread Jerry Seutter
Changes by Jerry Seutter : -- title: Python FAQ grammar error -> Python developer FAQ grammar error ___ Python tracker <http://bugs.python.org/issue10957> ___ _

[issue10957] Python FAQ grammar error

2011-01-21 Thread Jerry Seutter
Jerry Seutter added the comment: I agree with what Rafe said. -- ___ Python tracker <http://bugs.python.org/issue10957> ___ ___ Python-bugs-list mailin

[issue10957] Python FAQ grammar error

2011-01-20 Thread Jerry Seutter
New submission from Jerry Seutter : Section 4.1 of the Python FAQ (http://www.python.org/dev/faq/) contains a grammar error: The sentence I am referring to says: "If you are developing on OS X for Python 2.x and will not be working with the OS X-specific modules from the standard li

[issue8911] regrtest.main should have a test skipping argument

2010-12-11 Thread Jerry Seutter
Jerry Seutter added the comment: Hi Tarsis, I looked at your patch. It looks like it only does step 1 and doesn't move away from parse_command_line directly modifying sys.argv. Was this the patch file that you intended to upload? -- ___ P

[issue8911] regrtest.main should have a test skipping argument

2010-07-28 Thread Jerry Seutter
Jerry Seutter added the comment: Hi Brett (and others) I'm thinking of making the following changes: 1. In Lib/test/regrtest.py, move command line parsing out of main() into a function called parse_command_line() 2. parse_command_line() will parse command line settings and store them

[issue8911] regrtest.main should have a test skipping argument

2010-07-19 Thread Jerry Seutter
Changes by Jerry Seutter : -- assignee: -> jerry.seutter nosy: +jerry.seutter ___ Python tracker <http://bugs.python.org/issue8911> ___ ___ Python-bugs-lis

[issue7449] A number tests "crash" if python is compiled --without-threads

2010-03-05 Thread Jerry Seutter
Jerry Seutter added the comment: I'll break up the patch into multiple files as well. It will make it easier to deal with if I cause a regression. -- ___ Python tracker <http://bugs.python.org/i

[issue7449] A number tests "crash" if python is compiled --without-threads

2010-03-05 Thread Jerry Seutter
Jerry Seutter added the comment: I think the latest (v3) patch is in pretty good shape. You and David have been through the changes and the result is a much improved set of changes. If you want (and you're okay with it), I can commit the changes from here and take the beating if it

[issue7449] A number tests "crash" if python is compiled --without-threads

2010-03-05 Thread Jerry Seutter
Jerry Seutter added the comment: I think this issue is going to reoccur every time someone adds a unit test that relies on threading. What do you think about using a buildbot slave to run the tests with a non-multithreaded build of python

[issue7449] A number tests "crash" if python is compiled --without-threads

2010-03-05 Thread Jerry Seutter
Jerry Seutter added the comment: Uploaded a new version of the patch, nothreads_3.patch. @r.david.murray - Good point about unittest.skipUnless, I didn't know about that function. I removed my decorator and used skipUnless() instead. @haypo: test_xmlrpc.py - Modified the URL changes so

[issue7449] A number tests "crash" if python is compiled --without-threads

2010-03-02 Thread Jerry Seutter
Jerry Seutter added the comment: In the test_xmlrpc.py case I changed the value from URL to 'http:' because the code that sets URL to a valid url relies on threading. When threading is disabled, URL is set to None and the test will fail. The two ServerProxy test cases that were m

[issue7449] A number tests "crash" if python is compiled --without-threads

2009-12-10 Thread Jerry Seutter
Changes by Jerry Seutter : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue7449> ___ ___ Python-bugs-list mailing list Un

[issue7449] A number tests "crash" if python is compiled --without-threads

2009-12-10 Thread Jerry Seutter
Jerry Seutter added the comment: The patch makes it so that tests that use threading skip rather than generate errors when python is compiled --without-threads. I added a skip_if_no('modulename') decorator to test_support. Let me know if this patch is too big to review and I'

[issue7449] A number tests "crash" if python is compiled --without-threads

2009-12-06 Thread Jerry Seutter
Changes by Jerry Seutter : -- assignee: -> jseutter nosy: +jseutter ___ Python tracker <http://bugs.python.org/issue7449> ___ ___ Python-bugs-list mai

[issue3435] trace.py tries to get coverage data from non Python files

2008-10-17 Thread Jerry Seutter
Changes by Jerry Seutter <[EMAIL PROTECTED]>: -- nosy: +jseutter ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3435> ___ __

[issue2430] Stop test_format.py from executing as side effect of import

2008-03-19 Thread Jerry Seutter
New submission from Jerry Seutter <[EMAIL PROTECTED]>: Changes to test file only, no other changes. -- components: Tests files: test_format_to_unittest.patch keywords: patch, patch messages: 64148 nosy: jseutter priority: low severity: normal status: open title: Stop test_format.p

[issue2423] test_smtplib.py no longer butt slow

2008-03-19 Thread Jerry Seutter
Changes by Jerry Seutter <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file9767/mock_socket.py __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2423> __

[issue2423] test_smtplib.py no longer butt slow

2008-03-19 Thread Jerry Seutter
New submission from Jerry Seutter <[EMAIL PROTECTED]>: Changes only affect test files. test_smtplib.py before: 39.7s test_smtplib.py after: 0.8s socket.getfqdn() calls were causing all the slowness. Added a mock_socket.py file to handle some tests. For other tests that tested both

[issue2407] warnings.filterwarnings() not isolated between tests

2008-03-18 Thread Jerry Seutter
Jerry Seutter <[EMAIL PROTECTED]> added the comment: Improved version of the patch that uses context manager to restore old warning state Added file: http://bugs.python.org/file9751/warnings_fix_v2.patch __ Tracker <[EMAIL PROTECTED]> <http://

[issue2403] Add figleaf coverage metrics

2008-03-18 Thread Jerry Seutter
Jerry Seutter <[EMAIL PROTECTED]> added the comment: Thanks for the input. * ../../python.exe changed to sys.executable. * Figleaf is 69kb. It seems to work fine doing it all in one read() call. Should it be chunked? * Optparse isn't used, partially because I'm lazy and pa

[issue2407] warnings.filterwarnings() not isolated between tests

2008-03-18 Thread Jerry Seutter
New submission from Jerry Seutter <[EMAIL PROTECTED]>: Some tests were not cleaning up warning filters. Fixed the problem by making regrtest.py restore default filters before each module is executed. This exposed other errors which are also fixed in the patch. The patch only affect

[issue2403] Add figleaf coverage metrics

2008-03-18 Thread Jerry Seutter
Jerry Seutter <[EMAIL PROTECTED]> added the comment: To test: 1. Unzip the zipfile in the base python directory. The zipfile will create Tools/coverage*. 2. cd Tools; patch -p0 README.patch 3. cd coverage 4. ../../python.exe coverage.py The script will download figleaf, then run regrt

[issue2403] Add figleaf coverage metrics

2008-03-18 Thread Jerry Seutter
Changes by Jerry Seutter <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file9738/coverage.zip __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2403> __

[issue2403] Add figleaf coverage metrics

2008-03-18 Thread Jerry Seutter
New submission from Jerry Seutter <[EMAIL PROTECTED]>: This issue adds support for figleaf unit test coverage information. The diffs apply against trunk -- components: Tests files: README.patch keywords: patch, patch messages: 63975 nosy: jseutter priority: low severity: normal

[issue2383] Remove old XXX comment in stat.py

2008-03-17 Thread Jerry Seutter
New submission from Jerry Seutter <[EMAIL PROTECTED]>: The comment about constants has been unmodified since 1994 (14 years) and we have yet to support a system that has non-standard constants for stat(). It can safely be removed. This patch contains changes to comment

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-03-17 Thread Jerry Seutter
Changes by Jerry Seutter <[EMAIL PROTECTED]>: -- components: +Interpreter Core __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2378> __ ___ Python

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-03-17 Thread Jerry Seutter
New submission from Jerry Seutter <[EMAIL PROTECTED]>: Found a bug when trying to integrate figleaf coverage into trunk. I have ripped the code down to the smallest subset that still causes the behaviour. The code works on the latest release of Python 2.5 but is broken on trunk. It co

[issue2193] Cookie Colon Name Bug

2008-02-27 Thread Jerry Seutter
Changes by Jerry Seutter: -- type: -> behavior __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2193> __ ___ Python-bugs-list mailing list Uns

[issue2193] Cookie Colon Name Bug

2008-02-27 Thread Jerry Seutter
Jerry Seutter added the comment: Heh, I think I should not have gotten involved in this bug. :) I have a few comments: In response to 2.: David M. Kristol in that article is referring to the original Netscape cookie implementation which is somewhat different from what is set out in the RFC&#

[issue2193] Cookie Colon Name Bug

2008-02-26 Thread Jerry Seutter
Jerry Seutter added the comment: Hm. Your bug doesn't agree with my interpretation of the RFC's. RFC2109 section 4.1 states that the the cookie name (attr) is of type "token", which in RFC2068 section 2.2 is defined as any chars excluding control characters and special