[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris

Charles Harris added the comment:

OK, you fixed what broke us before. If I revert our fixes the problem goes 
away. So, thanks I guess ;)

You can close this.

--

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



[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris

Charles Harris added the comment:

I ran with Python 3.6.0rc1 (default, Dec  7 2016, 14:00:51) and get the same 
errors in both NumPy 1.13.0-dev and 1.12. But I gave you a wrong suggestion, we 
disable some test errors for releases, which is what is on PyPI, and that is 
doubtless why you don't see them. My fault, and I apologize. You will probably 
need to clone the github repo (https://github.com/numpy/numpy) and do a 
`python3.6 runtests.py` in the master branch to see the problem. 

I'm suspecting the problem needs to be fixed on the numpy end, but need to know 
what the changes were made to get an idea of a fix. We do some odd stuff with 
the warnings queue in order to make sure no warnings are inadvertently disabled 
in the tests.

--

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



[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris

Charles Harris added the comment:

The NumPy 1.12.0b1 tarball is available on PyPI if you want to download it.

--

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



[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris

Charles Harris added the comment:

You probably need to run NumPy 1.12 to see the problem. Tt looks like the new 
suppress_warnings context manager is what has been broken. Note that is was 
broken by 3.6 before, fixed, and now seems to be broken again.

--

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



[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris

Charles Harris added the comment:

I downloaded the tarball and installed the release here and got the same 
errors. We setup the tests in developement mode by turning some warnings into 
errors, in particular DeprecationWarnings and RuntimeWarnings, and suppressing 
others. The tests that are failing are checking for warnings turn the errors 
back into warnings. The latter seems to be failing.

There could be an interaction between the setup and recent changes in Python 
3.6.0rc1. What exactly was changed in the warnings module after the last beta?

--

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



[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris

Charles Harris added the comment:

The failing tests don't use the context manager mentioned in msg278976 and 
which was fixed. In any case, the failures are new an appeared today. A failing 
test may be viewed at: 
https://github.com/numpy/numpy/blob/master/numpy/lib/tests/test_nanfunctions.py#L546

--

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



[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris

Charles Harris added the comment:

Probably this commit: https://hg.python.org/cpython/rev/aaee06743c61 .

--

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



[issue28897] Python 3.6.0rc1 breaks NumPy tests.

2016-12-07 Thread Charles Harris

New submission from Charles Harris:

The lastest Python 3.6 pre-release broke a number of NumPy tests. The failing 
tests are of the sort

with warnings.catch_warnings(record=True) as w:
warnings.simplefilter('always')
...

And the failure seems to be that nothing is recorded in w. None of the beta 
releases caused problems. It is possible that the testing environment (Travis 
CI) messed up, but reporting this here just in case.

--
components: Library (Lib)
messages: 282633
nosy: charris44
priority: normal
severity: normal
status: open
title: Python 3.6.0rc1 breaks NumPy tests.
type: behavior
versions: Python 3.6

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



[issue10613] gzip._PaddedFile calls getattr with arguments in reversed order

2010-12-02 Thread Charles Harris

New submission from Charles Harris charlesr.har...@gmail.com:

The attached patch fixes the problem.

--
components: Library (Lib)
files: gzip.patch
keywords: patch
messages: 123171
nosy: charris44
priority: normal
severity: normal
status: open
title: gzip._PaddedFile calls getattr with arguments in reversed order
versions: Python 3.2
Added file: http://bugs.python.org/file19919/gzip.patch

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



[issue10613] gzip._PaddedFile calls getattr with arguments in reversed order

2010-12-02 Thread Charles Harris

Charles Harris charlesr.har...@gmail.com added the comment:

Hi Eric,

On Thu, Dec 2, 2010 at 8:12 PM, Éric Araujo rep...@bugs.python.org wrote:

Where are the guidelines for writing python tests?

Chuck

--
Added file: http://bugs.python.org/file19921/unnamed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10613
___Hi Eric,brbrdiv class=gmail_quoteOn Thu, Dec 2, 2010 at 8:12 PM, Éric 
Araujo span dir=ltrlt;a 
href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;/span 
wrote:brblockquote class=gmail_quote style=margin: 0pt 0pt 0pt 0.8ex; 
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;
br
Éric Araujo lt;a href=mailto:mer...@netwok.org;mer...@netwok.org/agt; 
added the comment:br
br
Thanks for the report and patch.  Can you add a test, to prevent a 
regression?br
br
--br
nosy: +eric.araujobr
stage:  -gt; unit test neededbr
type:  -gt; behaviorbr
versions: +Python 2.7, Python 3.1br
divdiv/divdiv class=h5br/div/div/blockquotedivbrWhere are 
the guidelines for writing python tests?brbrChuck br/divbr/div
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10613] gzip._PaddedFile calls getattr with arguments in reversed order

2010-12-02 Thread Charles Harris

Changes by Charles Harris charlesr.har...@gmail.com:


Removed file: http://bugs.python.org/file19921/unnamed

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



[issue10613] gzip._PaddedFile calls getattr with arguments in reversed order

2010-12-02 Thread Charles Harris

Charles Harris charlesr.har...@gmail.com added the comment:

Looks like this was fixed by r86555 and a test added. I think you can close the 
ticket.

--

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