[issue15907] move doctest test-data files into a subdirectory of Lib/test

2014-08-07 Thread Jason Robinson

Jason Robinson added the comment:

Ezio, here are new versions of the patch. This time I used `hg mv` command to 
move the files to the new location and then copied over the correct versions. 
It does look though to me that there is no difference except timestamps.

I will upload also a --git version in the next comment.

--
Added file: http://bugs.python.org/file36302/issue15907_2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15907
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15907] move doctest test-data files into a subdirectory of Lib/test

2014-08-07 Thread Jason Robinson

Jason Robinson added the comment:

Here is the `hg diff --git` patch.

Hope this one applies :)

--
Added file: http://bugs.python.org/file36303/issue15907_3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15907
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19996] httplib infinite read on invalid header

2014-08-02 Thread Jason Robinson

Jason Robinson added the comment:

I took the patches and verified that;

* running the new tests without the changed code in Lib/email/feedparser.py 
(head) and Lib/httplib.py, Lib/rfc822.py (2.7) fails both the new tests.
* running the new tests with the changed code passes the tests (on both head 
and 2.7).

Sainsburys Bank site seems to have been fixed thus verification in the first 
comment does not work - but the test I think emulates that well enough.

--
nosy: +ezio.melotti, jaywink
versions: +Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19996
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17762] platform.linux_distribution() should honor /etc/os-release

2014-08-02 Thread Jason Robinson

Jason Robinson added the comment:

platform.linux_distribution is being deprecated in 3.5 and removed in 3.6 as 
stated in comment http://bugs.python.org/issue1322#msg207427 in issue #1322

I'm guessing this issue should be closed when that patch is merged in?

--
nosy: +jaywink

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17762
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9514] platform.linux_distribution() under Ubuntu returns ('debian', 'squeeze/sid', '')

2014-08-02 Thread Jason Robinson

Jason Robinson added the comment:

platform.linux_distribution is being deprecated in 3.5 and removed in 3.6 as 
stated in comment http://bugs.python.org/issue1322#msg207427 in issue #1322

I'm guessing this issue should be closed when that patch is merged in?

--
nosy: +ezio.melotti, jaywink

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9514
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15907] move doctest test-data files into a subdirectory of Lib/test

2014-08-02 Thread Jason Robinson

Jason Robinson added the comment:

Here is a patch that hopefully does what was intended. All the tests passed 
locally, hopefully the tests we're adapted correctly to the new location of the 
files. My first patch :)

I added a new data file 'doctest_DocFileSuite_test.txt' to Lib/test to keep 
the test that tests that doctest.DocFileSuite loads files from calling module 
path. All the old files I moved to Lib/test/doctest and adapted tests to use 
them from there.

--
keywords: +patch
nosy: +ezio.melotti, jaywink
Added file: http://bugs.python.org/file36211/issue15907.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15907
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com