Hugo Lopes Tavares added the comment:
I just caught a bug because on Python 3 `HTTPMessage` has `get_param`, while on
Python 2 there is `getparam`, with a different method signature. I am trying to
figure out a solution so my code can run in both python 2 and 3 without ifs on
python version
Hugo Lopes Tavares added the comment:
Any news about this patch? Is it going to be merged?
When is next CPython release?
--
___
Python tracker
<http://bugs.python.org/issue13
Hugo Lopes Tavares added the comment:
I see the bug was not fixed yet, and I started to investigate it.
I am attaching a test patch. I don't know if I will get it working soon, since
I see it as a very low priority for Python.
--
keywords: +patch
nosy: +hltbra
versions: +Pytho
Hugo Lopes Tavares added the comment:
Changed two test names to avoid misunderstanding.
--
Added file:
http://bugs.python.org/file26454/issue13592_add_repr_to_regex_v2_1.patch
___
Python tracker
<http://bugs.python.org/issue13
Hugo Lopes Tavares added the comment:
Thanks for the review ezio.melotti.
He has notice a few things in my patch:
* assertEquals is deprecated; should use assertEqual
* the convention is assertEqual(result, expected), not assertEqual(expected,
result)
* it should handle quotes correctly
Hugo Lopes Tavares added the comment:
Hey, I started the patch under `default` branch, and get the following working:
>>> import re
>>> re.compile("foo")
re.compile("foo", re.UNICODE)
>>> re.compile("foo&quo
Hugo Lopes Tavares added the comment:
I had no problems after running for a very long time (using -F). I am using Mac
OSX 10.6.8.
--
nosy: +hltbra
___
Python tracker
<http://bugs.python.org/issue15
Changes by Hugo Lopes Tavares :
Added file: http://bugs.python.org/file18244/example.py
___
Python tracker
<http://bugs.python.org/issue9409>
___
___
Python-bugs-list m
Changes by Hugo Lopes Tavares :
Added file: http://bugs.python.org/file18243/non-ascii.txt
___
Python tracker
<http://bugs.python.org/issue9409>
___
___
Python-bugs-list m
New submission from Hugo Lopes Tavares :
When trying to run my test suite I had a problem with python2.7. My suite ran
100% in Python2.4, Python2.5, Python2.6 and Python3.2a0, so I thought it would
be a kind of doctest flaw.
Taking a look at the code, there is the following in doctest.py:1331
10 matches
Mail list logo