Alexander Todorov added the comment:
@Eryk Sun,
you are of course correct but still don't we need to handle this in Python?
- find_executable() will search for rst2man.py.exe which doesn't exist so no
good for the user
- there is also no rst2man.exe which is probably an issu
New submission from Alexander Todorov :
As part of installing python-bugzilla via pip it searches for `rst2man` or
`rst2man.py`, see:
https://github.com/python-bugzilla/python-bugzilla/blob/master/setup.py#L81
on Windows venvs there is venv\Scripts\rst2man.py (no .exe or without suffix)
and
Alexander Todorov added the comment:
Hi folks,
I have another very similar issue, it could be the same root cause. Let me know
if it is.
assert 3 == 3.0 will pass
self.assertEqual(3, 3.0) - will pass
this had the nasty side effect of my test suite not catching a problem with
SUT. I have
New submission from Alexander Todorov:
When using list.count() I get the following results
>>> [1, 2, 3].count(1)
1
>>> [1, 2, 3, True].count(2)
1
>>> [1, 2, 3, True].count(True)
2
>>> [1, 2, 3, True].count(1)
2
as you can
New submission from Alexander Todorov:
$ python2
Python 2.7.5 (default, Oct 11 2015, 17:47:16)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import inspect
>>&
New submission from Alexander Todorov:
The latest ssl.py file tries to validate hostnames vs certificates but includes
a faulty regexp which causes any wildcard domains (e.g. *.s3.amazonaws.com) to
fail validation.
Steps to Reproduce:
>>> import ssl
>>> ssl._dnsname_match(&
Alexander Todorov added the comment:
> Does test cases pass after removal of those lines? (I will be surprised)
Yes they do. Also see my detailed explanation above, there's no reason for test
cases to fail.
--
___
Python tracke
New submission from Alexander Todorov:
In the urllib.parse (or urlparse on Python 2.X) module there is this function:
157 def urlsplit(url, scheme='', allow_fragments=True):
158 """Parse a URL into 5 components:
159 :///?#
160 Return a 5-tup