New submission from Jeffrey Finkelstein :
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@pytho
Jeffrey Finkelstein added the comment:
Thank you for the great work, Python project!
On Fri, Oct 28, 2011 at 5:36 AM, Ezio Melotti wrote:
>
> Ezio Melotti added the comment:
>
> Fixed, thanks for the report!
>
> --
> assignee: docs@python -> ezio.melotti
New submission from Jeffrey Finkelstein :
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@p
New submission from Jeffrey Finkelstein :
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 argument, which
can be either an
New submission from Jeffrey Finkelstein :
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
m
Jeffrey Finkelstein added the comment:
I am not having this problem on Ubuntu 10.10 with the most recent Python 2.7:
$ ./python unicodetest.py --verbose
test_unicode_docstring (__main__.UnicodeTest)
täst - docstring with unicode character ... ok
Jeffrey Finkelstein added the comment:
Nevermind.
--
resolution: -> invalid
___
Python tracker
<http://bugs.python.org/issue10390>
___
___
Python-bugs-lis
New submission from Jeffrey Finkelstein :
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'
.format(
New submission from Jeffrey Finkelstein :
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 rev
Jeffrey Finkelstein 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() functions make multiple calls
Jeffrey Finkelstein 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=diff&r1=73340&r2=73341
--
nosy: +jfinkels
___
Python tracker
<http://bugs
Jeffrey Finkelstein 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
<http://bugs.python.
Jeffrey Finkelstein 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:
Jeffrey Finkelstein 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 (if it was parsed from the input s
Jeffrey Finkelstein added the comment:
Where does "email6" live?
--
___
Python tracker
<http://bugs.python.org/issue9864>
___
___
Python-bugs-l
Jeffrey Finkelstein 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
<http://bugs.py
Jeffrey Finkelstein 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 that the email._parseaddr module now
New submission from Jeffrey Finkelstein :
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 of the given day and January first
Jeffrey Finkelstein 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.
Jeffrey Finkelstein 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
___
P
Jeffrey Finkelstein added the comment:
Here's the 2.7 branch patch.
--
Added file: http://bugs.python.org/file18875/issue9759.patch
___
Python tracker
<http://bugs.python.org/i
Jeffrey Finkelstein added the comment:
Here is a patch for the py3k branch which adds a check for whether the GzipFile
is closed on each call to GzipFile.read(). If the file is closed already, the
method raises a ValueError if it is (with the message text copied from the
corresponding
Jeffrey Finkelstein added the comment:
Removed copyright additions from patch.
--
Added file: http://bugs.python.org/file18634/issue1194222-trunk.diff
___
Python tracker
<http://bugs.python.org/issue1194
Jeffrey Finkelstein added the comment:
Removed copyright additions from patch.
--
Added file: http://bugs.python.org/file18633/issue1194222-py3k.diff
___
Python tracker
<http://bugs.python.org/issue1194
Changes by Jeffrey Finkelstein :
Removed file: http://bugs.python.org/file18630/issue1194222-trunk.diff
___
Python tracker
<http://bugs.python.org/issue1194222>
___
___
Jeffrey Finkelstein added the comment:
Added my copyright information to the patch for trunk.
--
Added file: http://bugs.python.org/file18631/issue1194222-trunk.diff
___
Python tracker
<http://bugs.python.org/issue1194
Jeffrey Finkelstein 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
<http://bugs.python.
Jeffrey Finkelstein 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
<http://bugs.python.
Jeffrey Finkelstein 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
<http://bugs.python.
Jeffrey Finkelstein 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
<http://bu
30 matches
Mail list logo