Gregory Nofi added the comment:
There's a bug for that test failure: #9923. I submitted a patch with it.
Committing that should fix the failure.
--
___
Python tracker
<http://bugs.python.org/i
Gregory Nofi added the comment:
It's just theoretical. A web search shows that a few Windows programs, like PC
Pine, can use $MAILCAPS. But none of those tools look recent, like you said.
--
___
Python tracker
<http://bugs.python.org/i
Gregory Nofi added the comment:
I just submitted new versions of test_mailcap.py in case 6484.
--
___
Python tracker
<http://bugs.python.org/issue9923>
___
___
Changes by Gregory Nofi :
Added file: http://bugs.python.org/file19127/test_mailcap.py
___
Python tracker
<http://bugs.python.org/issue6484>
___
___
Python-bugs-list m
Gregory Nofi added the comment:
r.david.murray: Thanks a lot for your feedback! I've implemented those
suggestions and they helped located a bug. (See case 9923.)
--
Added file: http://bugs.python.org/file19126/test_mailcap.py
___
Python tr
Changes by Gregory Nofi :
Removed file: http://bugs.python.org/file17042/test_mailcap.py
___
Python tracker
<http://bugs.python.org/issue6484>
___
___
Python-bugs-list m
Changes by Gregory Nofi :
Removed file: http://bugs.python.org/file15752/test_mailcap.py
___
Python tracker
<http://bugs.python.org/issue6484>
___
___
Python-bugs-list m
Gregory Nofi added the comment:
Replacing .mailcap with mailcap.txt. Same content, but with more conventional
file name.
--
Added file: http://bugs.python.org/file19125/mailcap.txt
___
Python tracker
<http://bugs.python.org/issue6
Changes by Gregory Nofi :
Removed file: http://bugs.python.org/file15753/.mailcap
___
Python tracker
<http://bugs.python.org/issue6484>
___
___
Python-bugs-list mailin
Gregory Nofi added the comment:
I'm also creating a test for mailcap (Issue 6484), which is how I found this
bug. I'll have an update to that test submitted soon once I implement
r.david.murray's helpful suggestions.
--
___
Python
Gregory Nofi added the comment:
Fixing typo in title
--
title: mailcap module may will not work on non-POSIX platforms if MAILCAPS env
variable is set -> mailcap module may not work on non-POSIX platforms if
MAILCAPS env variable is set
___
Pyt
Changes by Gregory Nofi :
Added file: http://bugs.python.org/file18970/mailcap_py3k.py
___
Python tracker
<http://bugs.python.org/issue9923>
___
___
Python-bugs-list m
New submission from Gregory Nofi :
mailcap.getcaps() has a call to mailcap.listmailcapfiles(), which returns a
list of all mailcap files found on the system.
listmailcapfiles() first looks for the MAILCAPS environment variable. If it
exists, it converts the string value into a list by
Changes by Gregory Nofi :
Added file: http://bugs.python.org/file17458/builtins.v3.patch
___
Python tracker
<http://bugs.python.org/issue8816>
___
___
Python-bugs-list m
New submission from Gregory Nofi :
I'm attaching 2 patches with additional test cases for these built-in
functions. They are mostly negative tests.
* abs
* callable: trunk only
* len
* long: trunk only
* range: copied some py3k range tests into trunk
* reduce: trunk only
* vars
I'm
Changes by Gregory Nofi :
Removed file: http://bugs.python.org/file17041/test_mailcap.py
___
Python tracker
<http://bugs.python.org/issue6484>
___
___
Python-bugs-list m
Changes by Gregory Nofi :
Added file: http://bugs.python.org/file17042/test_mailcap.py
___
Python tracker
<http://bugs.python.org/issue6484>
___
___
Python-bugs-list m
Gregory Nofi added the comment:
Submitting Python 3 version of test. Note that it currently fails due to
Issue8496.
It should use the same .mailcap file I submitted earlier.
--
Added file: http://bugs.python.org/file17041/test_mailcap.py
New submission from Gregory Nofi :
The lookup method in the Python 3.2 mailcap module still uses filter as if it
will return a list, like it did in Python 2. If a value for the "key" argument
is passed to the method, the method will return a filter iterator rather than a
list.
I
Changes by Gregory Nofi :
Added file: http://bugs.python.org/file17036/test_grammar.v3.patch
___
Python tracker
<http://bugs.python.org/issue8414>
___
___
Python-bug
Gregory Nofi added the comment:
I've uploaded new versions of the patch.
__debug__: I removed the "if __debug__" clause and switched to skipUnless.
Exception args: I replaced str(e) with e.args. Thanks for pointing that out! I
had thought args was going to be deprecated but I
Changes by Gregory Nofi :
Added file: http://bugs.python.org/file16943/test_grammar.v3.patch
___
Python tracker
<http://bugs.python.org/issue8414>
___
___
Python-bug
New submission from Gregory Nofi :
I'm adding some assert tests to test_grammar.py to verify that the assert
statement raises (or doesn't raise) an AssertionError properly.
NOTE: I'm currently helping Dino port IronPython tests into CPython. This is
part of that series.
--
Changes by Gregory Nofi :
Added file: http://bugs.python.org/file16685/test_bool.v3.patch
___
Python tracker
<http://bugs.python.org/issue8248>
___
___
Python-bugs-list m
Gregory Nofi added the comment:
Indeed, the Decimal test is better off in
test_decimal.DecimalExplicitConstructionTest so I moved it there.
I forgot to include the index test for the py3k patch. That's in the updated
patch, too.
There is already a format test in the py3k b
Changes by Gregory Nofi :
Added file: http://bugs.python.org/file16678/test_bool.v3.patch
___
Python tracker
<http://bugs.python.org/issue8248>
___
___
Python-bugs-list m
New submission from Gregory Nofi :
These patches add these new test cases to test_bool.py.
Python 2+3:
- Conversion to float
- Conversion to Decimal
- Calling bool() of built-in types
Python 2 only:
- __index__()
- Conversion to long
- sprintf formatting
NOTE: I'm currently helping
Gregory Nofi added the comment:
This is a sample .mailcap I created for the test. It should also go in the
Lib/test directory.
It begins with a period due to a mailcap file naming convention (see RFC 1524).
Is it OK that the file will be semi-hidden?
--
Added file: http
Gregory Nofi added the comment:
Attached is a new file for testing the mailcap module in Python 2.7.
Writing the test was a little tricky because the existence and contents of the
.mailcap file(s) will vary depending on the system or user. Therefore, the test
mostly uses its own version of
29 matches
Mail list logo