[issue12808] Coverage of codecs.py

2011-08-26 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Here is a stab at updated documentation. I would suggest that if further changes are recommended to the documentation, that a core committer go ahead and make them. I'm absolutely more than happy to keep taking "stabs" at it, but ultima

[issue12808] Coverage of codecs.py

2011-08-22 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Thanks for the review. Here is a patch incorporating the two comments being to move some comments. -- Added file: http://bugs.python.org/file23007/codecs.diff ___ Python tracker <http://bugs.python.

[issue12808] Coverage of codecs.py

2011-08-22 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Some more tests, updated initial state of BufferedIncrementalEncoder to be the correct type, updated rst file. Bit tired, hope I got it right! Thanks for the feedback everyone, helps me to get it done, even if it's more work fo

[issue12816] smtpd uses library outside of the standard libraries

2011-08-22 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg : Hi, I was writing some coverage tests, and started on a class called MailmanProxy inside of smtpd.py. It imports Mailman, which isn't in the standard library. I've attached a failing test to demonstrate the problem, but I didn't want

[issue12815] Coverage of smtpd.py

2011-08-22 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg : Okay, I really don't know if I'm doing the right things to test meaningfully here. However, 100% coverage of the PureProxy class has been achieved. I also slightly changed smtpd.py in a way that I'm not confident is what people would

[issue12808] Coverage of codecs.py

2011-08-21 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Also some pep8 compliance outside of the scope of the added lines of code. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12808] Coverage of codecs.py

2011-08-21 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg : Increases the coverage of codecs.py by about 3 lines... -- files: mywork.patch keywords: patch messages: 142661 nosy: ncoghlan, tleeuwenburg priority: normal severity: normal status: open title: Coverage of codecs.py versions: Python 3.4 Added

[issue11720] PyErr_WriteUnraisable while running cProfile

2011-03-30 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Never mind, I was doing something stupid. The error message doesn't really make it terribly obvious, but the cause is in my code. -- resolution: -> invalid status: open -> closed ___ Python tra

[issue11720] PyErr_WriteUnraisable while running cProfile

2011-03-30 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg : I am happy to come up with a minimal test for this if that would help, but repeating the problem is not hard. Take a Python2.7 interpreter, install the decorator module from PyPi, and also the code at https://bitbucket.org/tleeuwenburg

[issue9285] A decorator for cProfile and profile modules

2011-03-30 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: I have been working on a similar idea. I just wanted to raise an issue I ran into which might affect this code also. The decorated function ended up with a different function signature to the original inner function. This can be important sometimes. I

[issue2706] datetime: define division timedelta/timedelta

2010-04-19 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: On Tue, Apr 20, 2010 at 6:46 AM, Mark Dickinson wrote: > > Mark Dickinson added the comment: > > Tennessee, are you still tracking this issue? If not, can I steal it from > you. :) > Hi Mark, Please feel free to steal it from me

[issue3119] pickle.py is limited by python's call stack

2009-04-16 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : -- keywords: +needs review -patch stage: -> patch review ___ Python tracker <http://bugs.python.org/issue3119> ___ ___ Py

[issue2706] datetime: define division timedelta/timedelta

2009-04-08 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : -- assignee: -> tleeuwenb...@gmail.com ___ Python tracker <http://bugs.python.org/issue2706> ___ ___ Python-bugs-list mai

[issue2240] setitimer, getitimer wrapper

2009-04-08 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Closing this issue as the main functionality is committed. See issue 5722 for follow-up regarding FreeBSD functionality. -- nosy: +tleeuwenb...@gmail.com status: open -> closed ___ Python tracker &l

[issue5722] settimer / gettimer functionality on FreeBSD 6.3 (not 7.x)

2009-04-08 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: This issue is a follow-up to Issue 2240 (now closed). http://bugs.python.org/issue2240 -- ___ Python tracker <http://bugs.python.org/issue5

[issue5722] settimer / gettimer functionality on FreeBSD 6.3 (not 7.x)

2009-04-08 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg : Tests fail on FreeBSD 6.3 http://www.python.org/dev/buildbot/trunk/x86%20FreeBSD%203%20trunk/build s/77/step-test/0 Relevant extract from parent issue, post by Guilherme Polo: --- Trent Nelson

[issue3119] pickle.py is limited by python's call stack

2009-04-07 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Aaron, Could you please upload another patch against the current trunk, then the issue could be flagged as requiring a patch review? Thanks, -Tennessee -- nosy: +tleeuwenb...@gmail.com ___ Python tracker

[issue2304] subprocess under windows fails to quote properly when shell=True

2009-04-07 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : -- stage: -> patch review ___ Python tracker <http://bugs.python.org/issue2304> ___ ___ Python-bugs-list mailing list Un

[issue1520662] support all of strftime(3)

2009-03-18 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: I might start trawling through these issues, slowly ticking them off. Thanks for the links. -T On Wed, Mar 18, 2009 at 1:17 PM, David W. Lambert wrote: > > David W. Lambert added the comment: > > (I have no clue where the

[issue1520662] support all of strftime(3)

2009-03-17 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: I'd be happy to look at this. Would you be able to detail what is missing for me, so that it is easier for me to get to grips with what is involved? I'm not intimately familiar with all of the functionality of these modules, so if you are able

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-17 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : Added file: http://bugs.python.org/file13355/strptime_patch_v2.txt ___ Python tracker <http://bugs.python.org/issue5236> ___ ___ Pytho

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-17 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Thanks for the comments all and sorry for the delay -- life! -- ___ Python tracker <http://bugs.python.org/issue5

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-13 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : -- stage: test needed -> patch review ___ Python tracker <http://bugs.python.org/issue5236> ___ ___ Python-bugs-list mai

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-12 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Python implementation to raise this exception if a bytes argument is passed in as argument 1. Test case added to test_time -- Added file: http://bugs.python.org/file13311/strptime_patch.txt ___ Python

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-11 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: See also thread http://mail.python.org/pipermail/python-dev/2009-March/087104.html -- ___ Python tracker <http://bugs.python.org/issue5

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-11 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: My mistake, it is part of the Lib component ... I failed to see the callback to Python from timemodule.c and jumped to conclusions. In any case, I'm happy to work on this. -- ___ Python tracker

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-11 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: I believe this shouldn't be tagged as part of the Lib component... Also, I am happy to work on this issue, developing tests and a patch. Would that be appropriate? I may take a little while to get the hang of things, but I'm happy to put some

[issue444582] Finding programs in PATH, addition to os

2009-03-11 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: +1 adding which to shutil -- nosy: +tleeuwenb...@gmail.com ___ Python tracker <http://bugs.python.org/issue444

[issue2706] datetime: define division timedelta/timedelta

2009-03-10 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Hi all, I'm trying to help out by reviewing issues in the tracker... so this is just a first attempt and I hope it is somewhat useful. This issue covers a number of discrete functional changes. I here review each in turn: 1) Allow truediv

[issue2706] datetime: define division timedelta/timedelta

2009-03-09 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : -- nosy: +tleeuwenb...@gmail.com nosy_count: 6.0 -> 7.0 ___ Python tracker <http://bugs.python.org/issue2706> ___ ___ Python-

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Now, with unit tests... :) Added file: http://bugs.python.org/file13253/queue_patch3.txt ___ Python tracker <http://bugs.python.org/issue5

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : Removed file: http://bugs.python.org/file13252/unnamed ___ Python tracker <http://bugs.python.org/issue5420> ___ ___ Python-bugs-list m

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Hi JP, I experimented with stacklevel but to be honest nothing I saw appeared greatly more useful than the default for the tests in question. What form would the unit tests take? Trying to assert that empty() and full() raised a deprecation warning

[issue5420] Queue deprecation warning patch

2009-03-05 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Patch covering all files in a single patch. * Updated warning message * Updated multiprocessing tests to avoid calls to empty and full * Placed deprecation warning in multiprocessing methods * Update wsgui to avoid deprecated calls Issues

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Add comment to NEWS as documented... Added file: http://bugs.python.org/file13246/NEWS_patch.txt ___ Python tracker <http://bugs.python.org/issue5

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg : A very tiny patch which places a DeprecationWarning inside Queue.empty and Queue.full -- components: Library (Lib) files: queue_patch.txt messages: 83180 nosy: tleeuwenb...@gmail.com severity: normal status: open title: Queue deprecation