[issue26144] test_pkg test_4 and/or test_7 sometimes fail

2016-01-19 Thread Rose Ames
Rose Ames added the comment: Reproduced. In four runs, one errored in test_4, one failed in test_7, and the other two did both. -- nosy: +superluser ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26144] test_pkg test_4 and/or test_7 sometimes fail

2016-01-19 Thread Rose Ames
Rose Ames added the comment: redirecting stdout seems to reliably suppress both failures: $ ./python -m test -w test_pkg >foo $ cat foo [1/1] test_pkg 1 test OK. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.or

[issue24922] assertWarnsRegex doesn't allow multiple warning messages

2016-01-18 Thread Rose Ames
Rose Ames added the comment: Would this mean that we expect any one of the warnings to be raised, or all of them? If it's one, the example you give would be equivalent to: self.assertWarnsRegex(UserWarning, "^W100[01]") Matching all of the warnings seems more interestin

[issue18287] PyType_Ready() should sanity-check the tp_name field

2016-01-15 Thread Rose Ames
Rose Ames added the comment: There's still no check on tp_name. The patch looks reasonable, applies cleanly, compiles, and doesn't break any tests - suggest it be merged. -- nosy: +superluser ___ Python tracker <rep...@bugs.python.org>

[issue25791] Raise an ImportWarning when __spec__.parent/__package__ isn't defined for a relative import

2016-01-13 Thread Rose Ames
Rose Ames added the comment: that's what I figured. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25791> ___ ___ Python-bugs-

[issue25791] Raise an ImportWarning when __spec__.parent/__package__ isn't defined for a relative import

2016-01-13 Thread Rose Ames
Rose Ames added the comment: Patch with tests. Not sure if importlib.h should be included? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25791] Raise an ImportWarning when __spec__.parent/__package__ isn't defined for a relative import

2016-01-13 Thread Rose Ames
Changes by Rose Ames <r...@happyspork.com>: -- keywords: +patch Added file: http://bugs.python.org/file41609/issue25791.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25791] Raise an ImportWarning when __spec__.parent/__package__ isn't defined for a relative import

2016-01-13 Thread Rose Ames
Rose Ames added the comment: Thanks for the quick review, new patch uploaded. -- Added file: http://bugs.python.org/file41611/issue25791_2.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25711] Rewrite zipimport from scratch

2016-01-06 Thread Rose Ames
Rose Ames added the comment: Sorry for the late response. I didn't have much time over the holidays. I think I better let someone else take this one. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25711] Rewrite zipimport from scratch

2015-12-09 Thread Rose Ames
Rose Ames added the comment: Serhiy, how far along are you on this? I have a wip from this summer that I could finish over the holidays. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25791] Raise an ImportWarning when __spec__.parent/__package__ isn't defined for a relative import

2015-12-05 Thread Rose Ames
Changes by Rose Ames <r...@happyspork.com>: -- nosy: +superluser ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25791> ___ __

[issue3353] make built-in tokenizer available via Python C API

2015-11-05 Thread Rose Ames
Changes by Rose Ames <r...@happyspork.com>: -- nosy: +superluser ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3353> ___ __

[issue24370] OrderedDict behavior is unclear with misbehaving keys.

2015-06-19 Thread Rose Ames
Changes by Rose Ames r...@happyspork.com: -- nosy: +superluser ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24370 ___ ___ Python-bugs-list

[issue24468] Expose compiler flag constants as code object attributes

2015-06-19 Thread Rose Ames
Changes by Rose Ames r...@happyspork.com: -- nosy: +superluser ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24468 ___ ___ Python-bugs-list

[issue24427] subclass of multiprocessing Connection segfault upon attribute acces

2015-06-14 Thread Rose Ames
Rose Ames added the comment: Reproduced - the crash exists and the patch fixes it. -- nosy: +superluser versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24427

[issue21739] Add hint about expression in list comprehensions (https://docs.python.org/2/tutorial/datastructures.html#list-comprehensions)

2014-09-10 Thread Rose Ames
Rose Ames added the comment: Fwiw, I've seen a beginner be confused by this. Patch attached. -- keywords: +patch nosy: +superluser Added file: http://bugs.python.org/file36593/reword.patch ___ Python tracker rep...@bugs.python.org http

[issue13272] 2to3 fix_renames doesn't rename string.lowercase/uppercase/letters

2014-09-09 Thread Rose Ames
Rose Ames added the comment: Changing the imports only is straightforward, but I'm having trouble detecting and changing future uses of the variables, without also clobbering user-defined variables with the same names. I notice some of the current fixers have similar problems, for example

[issue13272] 2to3 fix_renames doesn't rename string.lowercase/uppercase/letters

2014-09-09 Thread Rose Ames
Rose Ames added the comment: ... d) how to format code :\ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13272 ___ ___ Python-bugs-list mailing

[issue20977] pyflakes: undefined ctype in 2 except blocks in the email module

2014-05-14 Thread Rose Ames
Rose Ames added the comment: Thanks guys! Added minimal tests necessary to expose the bug. -- Added file: http://bugs.python.org/file35253/expose_bug.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20977

[issue20977] pyflakes: undefined ctype in 2 except blocks in the email module

2014-05-13 Thread Rose Ames
Rose Ames added the comment: This is my first attempt at contributing to python I'd really appreciate some feedback :). Should I have added a test to demonstrate the bug before trying to fix it? -- ___ Python tracker rep...@bugs.python.org http

[issue21221] Minor struct_time documentation bug

2014-05-11 Thread Rose Ames
Rose Ames added the comment: Thanks for the quick feedback! Altered to A value of -1... -- nosy: +superluser Added file: http://bugs.python.org/file35219/tm_isdst2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21221

[issue21221] Minor struct_time documentation bug

2014-05-10 Thread Rose Ames
Changes by Rose Ames r...@happyspork.com: -- keywords: +patch Added file: http://bugs.python.org/file35211/tm_isdst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21221

[issue20977] pyflakes: undefined ctype in 2 except blocks in the email module

2014-05-10 Thread Rose Ames
Rose Ames added the comment: It looks like these are just typos, recording defects to ctype objects when it should be disp_header and cte_header? Apologies if it's more complicated than that. -- keywords: +patch nosy: +superluser Added file: http://bugs.python.org/file35212