[issue14558] Documentation for unittest.main does not describe some keyword arguments.

2012-04-11 Thread Jeffrey Finkelstein
New submission from Jeffrey Finkelstein jeffrey.finkelst...@gmail.com: Documentation for unittest.main, at http://docs.python.org/dev/library/unittest.html#unittest.main, does not describe the keyword arguments 'module', 'argv', or 'testLoader'. -- assignee: docs@python components

[issue13278] Typo in documentation for sched module

2011-10-28 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Thank you for the great work, Python project! On Fri, Oct 28, 2011 at 5:36 AM, Ezio Melotti rep...@bugs.python.org wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the report

[issue13278] Typo in documentation for sched module

2011-10-27 Thread Jeffrey Finkelstein
New submission from Jeffrey Finkelstein jeffrey.finkelst...@gmail.com: In the documentation for the sched.scheduler.enter() function, change the phrase Other then the relative time to Other than the relative time (i.e. change then to than). -- assignee: docs@python components

[issue12516] imghdr.what should take one argument

2011-07-07 Thread Jeffrey Finkelstein
New submission from Jeffrey Finkelstein jeffrey.finkelst...@gmail.com: Currently imghdr.what() accepts two parameters. The first is a file or filename and the second is a byte stream. If the second is not None, the first is ignored. This is clunky. It would be simpler to accept just one

[issue10455] typo in urllib.request documentation

2010-11-18 Thread Jeffrey Finkelstein
New submission from Jeffrey Finkelstein jeffrey.finkelst...@gmail.com: Typo in Doc/library/urllib.request.rst, under the urllib.response module description: and - an -- assignee: d...@python components: Documentation files: urllib.request_typo.diff keywords: patch messages: 121487 nosy

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2010-11-15 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: I am not having this problem on Ubuntu 10.10 with the most recent Python 2.7: terminal interaction $ ./python unicodetest.py --verbose test_unicode_docstring (__main__.UnicodeTest) täst - docstring with unicode character

[issue10390] json.load should handle bytes input

2010-11-11 Thread Jeffrey Finkelstein
New submission from Jeffrey Finkelstein jeffrey.finkelst...@gmail.com: The following code produces an error: # APIKEY defined above r = urllib.request.urlopen('http://api.billboard.com/apisvc/chart/v1/' 'list/spec?api_key={}format=JSON

[issue10390] json.load should handle bytes input

2010-11-11 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Nevermind. -- resolution: - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10390

[issue10036] compiler warnings for various modules on Ubuntu x86

2010-10-05 Thread Jeffrey Finkelstein
New submission from Jeffrey Finkelstein jeffrey.finkelst...@gmail.com: On Ubuntu 10.04.1, with uname -a outputting Linux hostname 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux gcc --version outputting gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 On hg revision 7965

[issue6664] readlines should understand Line Separator and Paragraph Separator characters

2010-10-01 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: This seems to be because codecs.StreamReader.readlines() function does this: def readlines(self, sizehint=None, keepends=True): data = self.read() return data.splitlines(keepends) But the io readlines

[issue1050268] rfc822.parseaddr is broken, breaks sendmail call in smtplib

2010-09-30 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: I can confirm this bug. Attached is the test case. -- keywords: +patch nosy: +jfinkels Added file: http://bugs.python.org/file19079/issue1050268.testcase.patch ___ Python tracker

[issue1481347] parse_makefile doesn't handle $$ correctly

2010-09-30 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: There seems to be a test case for this: http://svn.python.org/view/python/trunk/Lib/distutils/tests/test_sysconfig.py?view=diffr1=73340r2=73341 -- nosy: +jfinkels ___ Python

[issue6640] urlparse should parse mailto: URL headers as query parameters

2010-09-28 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Adding the 'mailto' scheme to the urllib.parse.uses_query list changes the behavior as described in msg91249. A patch with a test is attached. Note that this changes the behavior of urllib.parse.urlparse() on 'mailto:' URLs

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-27 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Here's a patch for the python-email6 branch. It seemed to make sense to remove parsedate_tz() and mktime_tz() here, since the parsedate() function now returns a datetime object, including timezone information

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-22 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Where does email6 live? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9864

[issue9909] request for calendar.dayofyear() function

2010-09-20 Thread Jeffrey Finkelstein
New submission from Jeffrey Finkelstein jeffrey.finkelst...@gmail.com: This is a function which computes the integer between 1 and 366 representing the day of the year, given a year, month, and day. The implementation I have provided computes the difference between the ordinal numbers

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-20 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: If the changes I propose in issue9909 are implemented (briefly: a calendar.dayofyear() function), the following patch (with documentation and tests) should fill in the missing fields in the returned tuple. Note

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-20 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: I was not clear: the patch I provided REQUIRES the function I provided in issue9909. But I don't know how to change the Dependencies field in Roundup. -- ___ Python tracker rep

[issue1187] pipe fd handling issues in subprocess.py on POSIX

2010-09-16 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Here's a patch which adds the test from 1187-dustin.patch for the py3k branch. The test passes without any additional changes to the py3k code. -- nosy: +jfinkels Added file: http://bugs.python.org/file18902/issue1187

[issue9759] GzipFile object should raise ValueError on .read() after .close()

2010-09-15 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Here's the updated patch, which checks whether the file is closed on each call to read(), write(), and flush(), along with a test. -- Added file: http://bugs.python.org/file18893/issue9759.patch

[issue1194222] parsedate and Y2K

2010-08-24 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Attached a patch with just the y2k changes and new unit test, for the py3k branch. -- Added file: http://bugs.python.org/file18629/issue1194222-py3k.diff ___ Python tracker rep

[issue1194222] parsedate and Y2K

2010-08-24 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Attached a patch with just the y2k changes and new unit test, for the trunk branch. -- Added file: http://bugs.python.org/file18630/issue1194222-trunk.diff ___ Python tracker rep

[issue1194222] parsedate and Y2K

2010-08-24 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Added my copyright information to the patch for trunk. -- Added file: http://bugs.python.org/file18631/issue1194222-trunk.diff ___ Python tracker rep...@bugs.python.org http

[issue1194222] parsedate and Y2K

2010-08-24 Thread Jeffrey Finkelstein
Changes by Jeffrey Finkelstein jeffrey.finkelst...@gmail.com: Removed file: http://bugs.python.org/file18630/issue1194222-trunk.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1194222

[issue1194222] parsedate and Y2K

2010-08-24 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Removed copyright additions from patch. -- Added file: http://bugs.python.org/file18633/issue1194222-py3k.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue1194222] parsedate and Y2K

2010-08-24 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Removed copyright additions from patch. -- Added file: http://bugs.python.org/file18634/issue1194222-trunk.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue1194222] parsedate and Y2K

2010-08-21 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: Sorry about that; the diff paths have the a/ and b/ prefixes. Patch with -p1 at the top-level directory: patch -p1 issue1194222fix-py3k.diff -- ___ Python tracker rep

[issue1194222] parsedate and Y2K

2010-08-21 Thread Jeffrey Finkelstein
Jeffrey Finkelstein jeffrey.finkelst...@gmail.com added the comment: I suppose this is a bug fix because it changes the behavior of email.utils.parsedate_tz() to match the RFC standards. -- versions: +Python 2.7, Python 3.1 ___ Python tracker rep