[issue23598] No backspace on curses on iTerm (mac)

2015-03-06 Thread Robert Greener
New submission from Robert Greener: iTerm uses ^? for backspace which is curses.ascii.DEL, patch, makes curses.ascii.DEL use same behaviour as curses.ascii.BS -- files: cursesbackspace.patch keywords: patch messages: 237345 nosy: ragreener priority: normal severity: normal status: open

[issue23597] Allow easy display of local variables in log messages?

2015-03-05 Thread Robert Collins
Robert Collins added the comment: Yes, for debugging etc this can be very useful. I suggest further extending the new traceback interface to allow a filtering/transform hook of some sort, to allow folk more granular control than just repr overloading. -- nosy: +rbcollins

[issue23769] valgrind reports leaks for test_zipimport

2015-03-24 Thread Robert Kuska
Changes by Robert Kuska rku...@gmail.com: Added file: http://bugs.python.org/file38673/report ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23769

[issue23769] valgrind reports leaks for test_zipimport

2015-03-24 Thread Robert Kuska
New submission from Robert Kuska: Leaks happen only when both testDoctestFile and testDoctestSuite are run. Run with Python 3.4.2 and 3.4.1 with same result. I have extracted those two tests into `leak.py` (attached). $ valgrind --suppressions=/../cpython/Misc/valgrind-python.supp python3

[issue23769] valgrind reports leaks for test_zipimport

2015-03-24 Thread Robert Kuska
Robert Kuska added the comment: Summary for valgrind python3 test_zipimport.py ==18608== ==18608== HEAP SUMMARY: ==18608== in use at exit: 1,596,390 bytes in 11,536 blocks ==18608== total heap usage: 343,849 allocs, 332,313 frees, 59,355,776 bytes allocated ==18608== ==18608== LEAK

[issue23769] valgrind reports leaks for test_zipimport

2015-03-25 Thread Robert Kuska
Robert Kuska added the comment: I tried leak2.py with valgrind, I've uncommented the lines you mentioned. $ valgrind python3 leak2.py

[issue23809] RFE: emit a warning when a module in a traceback shadows a stdlib module

2015-03-29 Thread Robert Collins
Robert Collins added the comment: Implementation wise: this is not part of the generic rendering-of-tracebacks; I'd like to make the traceback new stuff be tastefully extensible - I'd be inclined to do this with a per-frame-callback on render (so we don't pay overhead on unrendered tb's

[issue23809] RFE: emit a warning when a module in a traceback shadows a stdlib module

2015-03-29 Thread Robert Collins
Robert Collins added the comment: Why limit this to just stdlib shadowing? A local module can shadow a top level module-or-package across the board. If we don't limit it to stdlib names, it becomes a lot easier to implement. -- ___ Python tracker

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-03-03 Thread Robert Collins
Robert Collins added the comment: Ok, all changes applied, lets see how this looks to folk. -- Added file: http://bugs.python.org/file38324/issue17911-5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17911

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-03-04 Thread Robert Collins
Robert Collins added the comment: Ok, cgitb - its passing a string instead of an exception type into format_exception - something that was never supported - it only works by accident AFAICT, because the old format code was ignoring the etype - it was deriving the type from the value. Thats

[issue23585] patchcheck doesn't depend on all

2015-03-04 Thread Robert Collins
New submission from Robert Collins: make patchcheck depends on the interpreter and modules being built to work correctly but the make target doesn't have this expressed. This simple patch will fix it and adds well under a second of latency for me. cpython.hg$ make patchcheck ./python ./Tools

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-03-04 Thread Robert Collins
Robert Collins added the comment: Thats really strange, I did a ./python -m test run before committing - the brown bag was due to me running with the patch for 22936 also applied. Looking into the failures reported now. -- ___ Python tracker rep

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-03-04 Thread Robert Collins
Robert Collins added the comment: Fixes for buildbots. -- Added file: http://bugs.python.org/file38335/issue-19711-8.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17911

[issue22936] traceback module has no way to show locals

2015-03-04 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: Removed file: http://bugs.python.org/file38332/issue-22936-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22936

[issue22936] traceback module has no way to show locals

2015-03-04 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: Added file: http://bugs.python.org/file38333/issue-22936-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22936

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-03-04 Thread Robert Collins
Robert Collins added the comment: Also apologies - ned told me on IRC that python -m test -uall is needed, not just -m test. Doh. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17911

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-03-04 Thread Robert Collins
Robert Collins added the comment: code module is using a _function from within the traceback module to filter out a frame - we can do that with the new interface easily (it filters the first tem). -- ___ Python tracker rep...@bugs.python.org http

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-03-04 Thread Robert Collins
Robert Collins added the comment: The decimal failure is due to _format_final_exc_line now filtering out 'None' as well, because the string captured values of objects leads to None - 'None' before we do rendering. I think in this case its reasonable to change the behaviour (since None itself

[issue22936] traceback module has no way to show locals

2015-03-04 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: Added file: http://bugs.python.org/file38336/issue-22936-4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22936

[issue22936] traceback module has no way to show locals

2015-03-04 Thread Robert Collins
Robert Collins added the comment: And now updated to HEAD as 17911 has been committed. -- Added file: http://bugs.python.org/file38332/issue-22936-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22936

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-03-03 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: Added file: http://bugs.python.org/file38325/issue17911-6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17911

[issue23857] [RFE] Make certificate verification optionable

2015-04-03 Thread Robert Kuska
Changes by Robert Kuska rku...@gmail.com: -- nosy: +bkabrda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23857 ___ ___ Python-bugs-list mailing

[issue23857] [RFE] Make certificate verification optionable

2015-04-03 Thread Robert Kuska
Robert Kuska added the comment: 1) patch attached, dunno how I missed it, thank you. 3) I work for Red Hat additional interest for example here http://seclists.org/oss-sec/2015/q1/785 2) It exists but it is not system wide, I would like to provide users option to opt-in or opt-out without

[issue23857] [RFE] Make certificate verification optionable

2015-04-03 Thread Robert Kuska
Robert Kuska added the comment: If you mean hack site.py to be sitecustomize I don't find it as a sufficient solution because users may use their own sitecustomize and this way we would replace theirs. Sslcustomize solution could be another option how to handle this but the config idea

[issue23857] [RFE] Make certificate verification optionable

2015-04-03 Thread Robert Kuska
Robert Kuska added the comment: ( ^ I was replying to Victor) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23857 ___ ___ Python-bugs-list

[issue23857] [RFE] Make certificate verification optionable

2015-04-03 Thread Robert Kuska
New submission from Robert Kuska: Proposed patch adds possibility to opt-out certificate verification. Disclaimer: it is just proof of concept as the config value is hard-coded. How it works? This patch depends on existence of config file which holds information about the protocol settings

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-04-20 Thread Robert Collins
Robert Collins added the comment: Ok, so here's whats happening: the default behaviour is to do discovery of '.', which bypasses the namespace support code. Running with tests as the first parameter works because it doesn't require the directory being directly scanned to be a package

[issue22619] Possible implementation of negative limit for traceback functions

2015-04-26 Thread Robert Collins
Robert Collins added the comment: Nice, looks pretty elegant to me. I have nothing to add to the prior reviewers comments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22619

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-04-24 Thread Robert Collins
Robert Collins added the comment: Thanks, I shall look at this Monday. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24054

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-04-28 Thread Robert Collins
Robert Collins added the comment: Ah the user model? I think the following: If I run 'python -m unittest' in a directory, then I expect to run all of the tests contained within that directory tree, and no others. Does that definition help

[issue17908] Unittest runner needs an option to call gc.collect() after each test

2015-04-28 Thread Robert Collins
Robert Collins added the comment: I'm going to disagree with michael and antoine here. The *internals* should be clean and pluggable for sure, but this is actually a pretty common thing to try, so there's no reason to force it to only be done by external plugins. Right now the way to plug

[issue23882] unittest discovery and namespaced packages

2015-04-17 Thread Robert Collins
Robert Collins added the comment: Hi. I'd be happy enough to use pkgutil helpers if they (like walkdirs) allowed trimming the output: part of the definition of discovery is that one can control it, to stop it importing or processing part of the tree that one doesn't want processed. Alex: can

[issue23857] Make default HTTPS certificate verification setting configurable via global ini file

2015-04-07 Thread Robert Kuska
Robert Kuska added the comment: Le 06/04/2015 13:29, Nick Coghlan a écrit : So while this isn't a feature upstream itself needs, it's one potentially needed by multiple *downstreams*, so in my view it makes sense for us to work with upstream to come up with the one obvious way

[issue23839] Clear caches after every test

2015-04-01 Thread Robert Collins
Robert Collins added the comment: I'd like to see a definite profile of a bloated stdlib test process before we assume we know the issue - the usual leak I see in test code is used test objects, and I'm not sure we've ported the usual fix for that into unittest yet (we should). As far

[issue23839] Clear caches after every test

2015-04-01 Thread Robert Collins
Robert Collins added the comment: +1 on moving to the summary classes rather than actual tracebacks in unittest. (Or perhaps even just serialised tracebacks like we do in testtools). -- ___ Python tracker rep...@bugs.python.org http

[issue9858] Python and C implementations of io are out of sync

2015-05-20 Thread Robert Collins
Robert Collins added the comment: I think ignoring weakref is wrong: it means the two implementations are different. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9858

[issue24424] xml.dom.minidom: performance issue with Node.insertBefore()

2015-06-10 Thread Robert Haschke
New submission from Robert Haschke: Node.insertBefore() has a serious performance issue: Using self.childNodes.index(refChild) it searches for the correct index in childNodes where the newChild should be inserted. However, index() is linear in time w.r.t. the size of childNodes. Hence

[issue24263] unittest cannot load module whose name starts with Unicode

2015-06-22 Thread Robert Collins
Robert Collins added the comment: Are the module names valid in import statements? it would help if you could perhaps attach a little tar/zip file with an example failure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue24412] setUpClass equivalent for addCleanup

2015-06-13 Thread Robert Collins
Robert Collins added the comment: It would be nice for symmetry. I mean, setUpClass isn't needed either, and we have it ;). however, we actually have two contexts this would be called from - setUpClass and setUpModule; both share their internals. So we probably need a decoupled cleanups

[issue4753] Faster opcode dispatch on gcc

2015-05-27 Thread Robert Collins
Robert Collins added the comment: FWIW I'm interested and willing to poke at this if more testers/reviewers are needed. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4753

[issue22625] When cross-compiling, don’t try to execute binaries

2015-07-31 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22625 ___ ___ Python-bugs

[issue24079] xml.etree.ElementTree.Element.text does not conform to the documentation

2015-08-12 Thread Robert Collins
Robert Collins added the comment: So it is downplayed but it is still documented as being application usable. I'll give this another week for Ned to reply, then commit it in the absence of a reply: I think its ok as is. I'd be ok with a tweaked version along the lines Ned proposed too: both

[issue18383] test_warnings modifies warnings.filters when running with -W default

2015-08-12 Thread Robert Collins
Robert Collins added the comment: @ashkop so append=True could be clearer as 'atend=True' - both forms of call are expected to add the filter, but one adds to the front, one to the end. Looking at warn_explicit, its takes the first matching filter, and then acts on its action. So

[issue23725] update tempfile docs to say that TemporaryFile is secure

2015-08-12 Thread Robert Collins
Robert Collins added the comment: Sorry, I didn't realise that Zbigniew was an alternative spelling of your first name. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23725

[issue23725] update tempfile docs to say that TemporaryFile is secure

2015-08-12 Thread Robert Collins
Robert Collins added the comment: Thanks for the patch. I've committed the current status as an unambiguous improvement; we can add tempdir as deprecated later if there is consensus on that, the current patch did improve its docs per R. David Murray's request anyhow. -- resolution

[issue21126] Return results from doctest.run_docstring_examples()

2015-08-12 Thread Robert Collins
Robert Collins added the comment: So, I think this needs a test; returning a generator would be nice but would be an API break. Also the doc update needs to say 3.6 now. Thanks; moving back to patch review. -- nosy: +rbcollins stage: commit review - patch review

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2015-08-13 Thread Robert Collins
Robert Collins added the comment: Ok, so will someone commit 3), or would you like me to do so? After that it sounds like we can move this back to patch review, since there will be nothing left ready for commit. -- ___ Python tracker rep

[issue24769] Interpreter doesn't start when dynamic loading is disabled

2015-08-17 Thread Robert Collins
Robert Collins added the comment: Patch looks good to me too. I think this needs to be put forward as a PR to bitbucket right? It looks Release Critical to me. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue24847] Can't import tkinter in Python 3.5.0rc1

2015-08-17 Thread Robert Collins
Robert Collins added the comment: Looks good to me. I think you should commit (or perhaps you are pending PR approval on the rc branch or something?) -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24847

[issue24710] Class name hardcoded in TracebackException.from_exception()

2015-08-19 Thread Robert Collins
Robert Collins added the comment: So I'm still ambivalent at best about this - this interface hasn't been designed for subclassing - I'm sure there is a bunch more stuff that would be needed. What /is/ needed feature wise here is a sideways extension mechanism for doing filtering

[issue20362] longMessage attribute is ignored in unittest.TestCase.assertRegexpMatches etc

2015-08-19 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20362

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-08-19 Thread Robert Collins
Robert Collins added the comment: I can't see how the patch could have caused the Traceback (most recent call last): File D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_symbol.py, line 44, in test_real_grammar_and_symbol_file os.stat(TEST_PY_FILE))) AssertionError

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-08-19 Thread Robert Collins
Robert Collins added the comment: So it looks like one failure is: FAIL: test_getline (test.test_linecache.GoodUnicode) -- Traceback (most recent call last): File D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib

[issue20362] longMessage attribute is ignored in unittest.TestCase.assertRegexpMatches etc

2015-08-19 Thread Robert Collins
Robert Collins added the comment: Thanks for the patch, applied to 3.5 and 3.6. -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20362

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-08-19 Thread Robert Collins
Robert Collins added the comment: Debian is green again and I think windows will do so to. -- stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24054

[issue22680] Blacklist FunctionTestCase from test discovery

2015-08-19 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22680

[issue17908] Unittest runner needs an option to call gc.collect() after each test

2015-08-23 Thread Robert Collins
Robert Collins added the comment: say, something to run a test until failure, or to watch for reference leaks, or to run tests in multiple processes :-)) I think a few complimentary things. unittest extensability currently requires a new CLI entry point for each thing. I'd like to fix

[issue22812] Documentation of unittest -p usage wrong on windows.

2015-08-23 Thread Robert Collins
Robert Collins added the comment: Thanks for the patch! -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22812

[issue23839] Clear caches after every test

2015-08-23 Thread Robert Collins
Robert Collins added the comment: Ok, so this is still in the noise space - it might be useful, it might not. Do we have reports of machines failing to run the test suite (that are also usefully big enough to compile Python and use

[issue24193] Make LOGGING_FORMAT of assertLogs configurable

2015-08-23 Thread Robert Collins
Robert Collins added the comment: Parameters please, TestCase has nothing to do with this - it really shouldn't even have the method. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24193

[issue24168] Unittest discover fails with namespace package if the path contains the string same as the module name

2015-08-23 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- versions: +Python 3.5, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24168

[issue20851] Update devguide to cover testing from a tarball

2015-08-23 Thread Robert Collins
Robert Collins added the comment: Possibly silly q: how does one /make/ a Python release tarball? 'make dist' which is the autoconf standard complains that it has no such target... -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http

[issue24633] README file installed into site-packages conflicts with package named readme

2015-08-23 Thread Robert Collins
Robert Collins added the comment: Applied to 3.6 only (since I don't want to disrupt the 3.5 release train, and think that making packagers adjust on a point release would be mean). -- resolution: - fixed stage: patch review - resolved status: open - closed

[issue2786] Names in traceback should have class names, if they're methods

2015-08-23 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2786

[issue24055] unittest package-level set up tear down module

2015-08-23 Thread Robert Collins
Robert Collins added the comment: Personally I'm very skeptical of all the multi-test setup facilties because of the very poor interactions with parallel testing that this basic approach has. But - we haven't yet brought in something sensible to let us deprecate setUpModule and setUpClass, so

[issue24904] Patch: add timeout to difflib SequenceMatcher ratio() and quick_ratio()

2015-08-20 Thread Robert Collins
Robert Collins added the comment: So - I'm with Victor and Raymond here. I think modifying difflib to provide external control over the poor-O components would permit many more benefits than just controlling time: you could wrap them in a timer module to get what this patch does, you could

[issue14534] Add means to mark unittest.TestCases as do not run.

2015-08-20 Thread Robert Collins
Robert Collins added the comment: So I've two more cases for this that I think we need to ensure works. Firstly FunctionTestCase should be blacklistable, and its not abstract. Secondly we're going to want nose, unittest2 etc to be able to also honour this. I suspect that this is easy and may

[issue22680] Blacklist FunctionTestCase from test discovery

2015-08-20 Thread Robert Collins
Robert Collins added the comment: Thanks for this. I think that a better approach would be the other linked bug - we can kill many birds with one stone. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue22197] Allow better verbosity / output control in test cases

2015-08-20 Thread Robert Collins
Robert Collins added the comment: There's a few interacting things here. If I can suggest some design thoughts. buffering within a test is I think really something we should offer a test servicing API for. There are many thirdparty ones (e.g. I have one in fixtures) - but it should

[issue14534] Add means to mark unittest.TestCases as do not load.

2015-08-20 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- title: Add means to mark unittest.TestCases as do not run. - Add means to mark unittest.TestCases as do not load. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534

[issue14534] Add means to mark unittest.TestCases as do not run.

2015-08-20 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: Removed file: http://bugs.python.org/file36315/01438f18ee18.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534

[issue14534] Add means to mark unittest.TestCases as do not run.

2015-08-20 Thread Robert Collins
Robert Collins added the comment: Removed the bogus huge diff. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14534 ___ ___ Python-bugs-list

[issue24263] unittest cannot load module whose name starts with Unicode

2015-08-20 Thread Robert Collins
Robert Collins added the comment: I'm torn on whether this needs a test or not. It would be hard to regress, but testing this properly really wants hypothesis with a valid-python-identifier-strategy. I think on balance we do need one. So - we need a test in test_discover that mocks

[issue14534] Add means to mark unittest.TestCases as do not run.

2015-08-20 Thread Robert Collins
Robert Collins added the comment: I'm going to review on rietvald - I see a lot of changes needed - sorry - and some are a bit bikesheddy. But, if we do them I'll commit it asap and do any final fixup needed. -- ___ Python tracker rep

[issue24352] Provide a way for assertLogs to optionally not hide the logging output

2015-08-20 Thread Robert Collins
Robert Collins added the comment: Ok so, design thoughts here. assertLogs really does two things. Firstly it takes a copy of the logs so it can do its assertion. Secondly it disables all other logging, cleaning up noisy tests. Your specific need only conflicts with the second case. The way

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-08-20 Thread Robert Collins
Robert Collins added the comment: (for the trivial case of CLI discover without a parameter - so translate that to the lower level API and then test that) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23882

[issue23882] unittest discovery doesn't detect namespace packages when given no parameters

2015-08-20 Thread Robert Collins
Robert Collins added the comment: reviewed in rietvald, but here too just in case. The hunk that saves/restores _top_level_dir feels wrong to me - and not part of this bug, please remove it. The rest of the patch is fine today. But it also needs to add two specifically namespace tests

[issue24247] unittest discover modifies sys.path

2015-08-20 Thread Robert Collins
Robert Collins added the comment: It did that because you did not specify a top level directory. Without that, the cwd is not on the path and that breaks many environments. We should probably document it better. The workaround for your needs is to either just run 'unittest discover', or run

[issue24355] Provide a unittest api for controlling verbosity in tests

2015-08-20 Thread Robert Collins
Robert Collins added the comment: I've put a fairly comprehensive comment into issue22197. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24355

[issue24758] unittest.mock.Mock's new unsafe feature needs a better error message

2015-08-20 Thread Robert Collins
Robert Collins added the comment: @Randy - ok thanks. So, please do improve the prose in the error message, should be a very straight forward patch. -- stage: test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue24263] unittest cannot load module whose name starts with Unicode

2015-08-20 Thread Robert Collins
Robert Collins added the comment: Thank you very much for writing your patch in backwards compatible style - it will make backporting to unittest2 much easier. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24263

[issue24054] Invalid syntax in inspect_fodder2.py (on Python 2.x)

2015-08-18 Thread Robert Collins
Robert Collins added the comment: Thank you for the patch; sorry it took me so long to get to it - been working on a backlog of patch review. -- resolution: - fixed stage: - resolved status: open - closed versions: +Python 3.6 ___ Python tracker

[issue24891] python aborts running under nohup

2015-08-18 Thread Robert Collins
Robert Collins added the comment: What sort of errors? -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24891 ___ ___ Python-bugs

[issue24774] inconsistency in http.server.test

2015-08-16 Thread Robert Collins
Robert Collins added the comment: Thanks for the patch. Applied to 3.4 and up. -- nosy: +rbcollins resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24774

[issue24193] Make LOGGING_FORMAT of assertLogs configurable

2015-08-24 Thread Robert Collins
Robert Collins added the comment: I don't know if or when it was moved, but right now: ./python -m pydoc unittest.case.TestCase.assertLogs ... the docs for it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24193

[issue24134] assertRaises can behave differently

2015-06-29 Thread Robert Collins
Robert Collins added the comment: Hi, catching up (see my mail to -dev about not getting tracker mail). Deprecations++. Being nice for folk whom consume unittest2 which I backport to everything is important to me :). -- ___ Python tracker rep

[issue23254] Document how to close the TCPServer listening socket

2015-07-28 Thread Robert Collins
Robert Collins added the comment: Applied to 2.7/3.4/3.5/3.6. Thanks! -- nosy: +rbcollins resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23254

[issue23589] Redundant sentence in FAQ

2015-07-29 Thread Robert Collins
Robert Collins added the comment: @Demian, I agree that there are more improvements we can make. The current patch addresses the specific issue of this bug, and if you wished to make a new issue with further improvements that would be great. I'm going to apply this patch now though

[issue20556] Use specific asserts in threading tests

2015-07-29 Thread Robert Collins
Robert Collins added the comment: ping @serhiy - there's a bug in the patch. Moving back to patch review. -- nosy: +rbcollins stage: commit review - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20556

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-07-29 Thread Robert Collins
Robert Collins added the comment: So, I think this is worth applying. The discussion around :ipp etc is irrelevant here: this patch changes large or negative ints to be a valueerror, as non-ints are. The only question is where. I think this is in the category of 'will only break buggy

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-07-29 Thread Robert Collins
Robert Collins added the comment: ok, 3.6 only. -- versions: +Python 3.6 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20059

[issue23447] Import fails when doing a circular import involving an `import *`

2015-07-29 Thread Robert Collins
Robert Collins added the comment: Yep: The issue has no clear solution , e.g., no agreement on a technical solution or if it is even a problem worth fixing. Brett is saying he doesn't consider this a bug. Steven says he doesn't have time to push it forward. Oh, I see there is a patch

[issue23589] Redundant sentence in FAQ

2015-07-29 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23589

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-07-29 Thread Robert Collins
Robert Collins added the comment: @ezio I think you should commit what you have so far. LGTM. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23144

[issue20557] Use specific asserts in io tests

2015-07-29 Thread Robert Collins
Robert Collins added the comment: @serhiy I think you should apply this: you're a committer, and no committers have objected in over a year. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20557

[issue22227] Simplify tarfile iterator

2015-07-29 Thread Robert Collins
Robert Collins added the comment: @serhiy could you update the patch with the review feedback? Thanks. Moving back to patch review. Lars hasn't commented on this in a year, so I think we should go ahead once the patch is fixed: e.g. you should update the comments and commit it directly

[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2015-07-29 Thread Robert Collins
Robert Collins added the comment: LGTM - lukasz, do you want to commit this, or would you like someone else to if you're too busy? Looks like we should patch this in 3.4/3.5./3.6 at this point. -- nosy: +rbcollins versions: +Python 3.4, Python 3.6

[issue23447] Import fails when doing a circular import involving an `import *`

2015-07-29 Thread Robert Collins
Robert Collins added the comment: reset. -- nosy: +rbcollins resolution: not a bug - stage: - needs patch status: closed - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23447

[issue22141] rlcompleter.Completer matches too much

2015-07-29 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- stage: commit review - patch review status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22141

[issue22227] Simplify tarfile iterator

2015-08-02 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7

<    1   2   3   4   5   6   7   8   9   10   >