[issue11277] test_zlib crashes under Snow Leopard buildbot

2011-02-26 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <http://bugs.python.org/issue11277> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11327] Running test_time.py in python27 caused python to unexpectedly quit

2011-02-26 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/issue11327> ___ ___ Python-bugs-

[issue11336] Typo in patch.rst

2011-02-26 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, but the wording was completely changed a little while ago so the error has been dealt with. -- nosy: +brett.cannon resolution: -> out of date status: open -> closed ___ Python tracker

[issue11332] Increase logging/__init__.py coverage to 97%

2011-02-26 Thread Brett Cannon
Brett Cannon added the comment: Just to give an opinion (which can be ignored), I see no issue with mocking if done carefully and properly. It should just be kept to a minimum (and typically be privately exposing certain things that can be overridden

[issue11332] Increase logging/__init__.py coverage to 97%

2011-02-26 Thread Brett Cannon
Brett Cannon added the comment: OK, but acceptance tests do not need to not try to get higher test coverage. For instance, for testing disable() simply using it and making sure the outcome is as expected also works. I can understand wanting to avoid some low-level whitebox testing, but I

[issue11332] Increase logging/__init__.py coverage to 97%

2011-02-27 Thread Brett Cannon
Brett Cannon added the comment: Testing the documented API is definitely wanted, Oliver. Any change in behaviour needs to be detected to ensure there is not backwards-compatibility regressions without it being intentional. -- ___ Python tracker

[issue11340] test_distutils fails

2011-02-27 Thread Brett Cannon
Brett Cannon added the comment: Can you provide the test's failing report and traceback? -- nosy: +brett.cannon status: open -> pending ___ Python tracker <http://bugs.python.org

[issue11340] test_distutils fails

2011-02-27 Thread Brett Cannon
Brett Cannon added the comment: My mistake; missed the attachment. -- status: pending -> open ___ Python tracker <http://bugs.python.org/issue11340> ___ ___ Py

[issue11497] Devguide: re-run configure in Unix setup step after installing deps

2011-03-14 Thread Brett Cannon
Brett Cannon added the comment: Fixed in [9bacb56f08e7] -- nosy: +brett.cannon resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue11550] Fix ResourceWarning in test_pulldom

2011-03-15 Thread Brett Cannon
Brett Cannon added the comment: Fixed in [aa000dd4287f]. I went with a simpler solution than Ben's, but it did help figure out what to do. -- nosy: +brett.cannon resolution: -> fixed stage: -> committed/rejected status: open -> closed

[issue11469] Fix resource warning in test_trailers

2011-03-15 Thread Brett Cannon
Brett Cannon added the comment: So is this a bogus bug, or a valid bug created with a bogus account? -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue11

[issue11563] test_urllibnet is triggering a ResourceWarning

2011-03-15 Thread Brett Cannon
New submission from Brett Cannon : test.test_urllibnet.urlopenNetworkTests.test_getcode() is leaving a socket open. My guess is that the error condition being triggered is somehow leaving the socket open but I can't find where. -- components: Library (Lib) messages: 131059

[issue8916] Move PEP 362 (function signature objects) into inspect

2011-03-16 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon stage: -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker <http://bugs.python.org/

[issue1559549] ImportError needs attributes for module and file name

2011-03-16 Thread Brett Cannon
Brett Cannon added the comment: At the PyCon 2011 sprint we discussed this issue and Nick, myself, and some other people agreed that using a keyword-only argument for passing in the module name is probably a better solution. While it won't be backwards-compatible (BaseException doe

[issue502085] pickle problems (with Boost.Python)

2011-03-16 Thread Brett Cannon
Changes by Brett Cannon : -- Removed message: http://bugs.python.org/msg131148 ___ Python tracker <http://bugs.python.org/issue502085> ___ ___ Python-bugs-list m

[issue11494] Confusing error message from warnings.warn

2011-03-20 Thread Brett Cannon
Brett Cannon added the comment: I'm not crazy about the idea of adding an inspect.isclass() check simply to clear up this rare error message. It's still decipherable what the problem is from the issubclass() message. Closing as "won't fix". -- resolution:

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-03-20 Thread Brett Cannon
Brett Cannon added the comment: This is what I get for trying to clean up site.py years ago. =) I'm fine with the change as long as there is a very clear Misc/NEWS message that the semantics on import have changed (and obviously this is not backported). -- assignee: -> eri

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-03-20 Thread Brett Cannon
Brett Cannon added the comment: Someone having the time to do a patch review. -- keywords: +needs review stage: -> patch review ___ Python tracker <http://bugs.python.org/issu

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-03-21 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: eric.araujo -> brett.cannon ___ Python tracker <http://bugs.python.org/issue11591> ___ ___ Python-bugs-list mai

[issue11561] "coverage" of Python regrtest cannot see initial import of libs

2011-03-21 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon components: +Demos and Tools stage: -> patch review versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/i

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-03-22 Thread Brett Cannon
Brett Cannon added the comment: Doc changes seem fine to me. -- assignee: brett.cannon -> eric.araujo ___ Python tracker <http://bugs.python.org/issu

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Brett Cannon
Brett Cannon added the comment: It should have been '-w', not '-W'. -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue11653> ___ _

[issue11651] Improve test targets in Makefile

2011-03-23 Thread Brett Cannon
Brett Cannon added the comment: I have attached a Python script which does what Antoine's patch does except which is expected to live in Tools/scripts. The perk of doing this in a Python script is that Windows users will be able to simply execute the script while the Makefile can be ma

[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-23 Thread Brett Cannon
Brett Cannon added the comment: The attached patch has both the code to make test skipping more obvious as well as eliminating the concept of expected skips. If someone can double-check that what I am doing here is sane and desirable I would appreciate it. -- assignee: brett.cannon

[issue8754] ImportError: quote bad module name in message

2011-03-23 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> haypo ___ Python tracker <http://bugs.python.org/issue8754> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6811] add a filename argument to marshal.load*

2011-03-23 Thread Brett Cannon
Brett Cannon added the comment: I went with a different solution as backwards-compatibility dictates a solution that is not as complete as one might do with an argument to marshal. -- resolution: -> wont fix stage: test needed -> committed/rejected status: open -&g

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Brett Cannon
Brett Cannon added the comment: The import failures are because you didn't rebuild (I added a new function to imp). Re-build and the import issues will go away. -- ___ Python tracker <http://bugs.python.org/is

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Brett Cannon
Brett Cannon added the comment: You have a build problem, Skip. On my system and at least all of the stable buildbots for 3.3 there are no test failures from imp._fix_co_filename(). -- ___ Python tracker <http://bugs.python.org/issue11

[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-24 Thread Brett Cannon
Brett Cannon added the comment: In terms of the symmetrical comment, what exactly do you mean? The semantics are opposites of each other. Do you not like the name? Or did I screw up and they truly aren't opposites? -- ___ Python tracker

[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-24 Thread Brett Cannon
Brett Cannon added the comment: I can change it to 'required' and 'optional'. As for Antoine's comment, do you have another suggestion? I realize it isn't necessarily easier per se to manage these lists than the 'expected' list, but what would you

[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-24 Thread Brett Cannon
Brett Cannon added the comment: On Thu, Mar 24, 2011 at 15:22, Antoine Pitrou wrote: Sure, but do the buildbots pick up on this fact in some visible way? > Perhaps we can keep required/optional for core things like "posix" or > "winreg". But failing the test su

[issue11664] Add patch method to unittest.TestCase

2011-03-25 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue11664> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-25 Thread Brett Cannon
Changes by Brett Cannon : -- keywords: +needs review stage: -> patch review ___ Python tracker <http://bugs.python.org/issue11572> ___ ___ Python-bugs-list mai

[issue11676] imp.load_module and submodules - doc issue, or bug?

2011-03-28 Thread Brett Cannon
Brett Cannon added the comment: I say it's a documentation bug. -- assignee: -> docs@python components: +Documentation -Interpreter Core, Library (Lib) nosy: +brett.cannon, docs@python stage: -> needs patch ___ Python tra

[issue11676] imp.load_module and submodules - doc issue, or bug?

2011-03-29 Thread Brett Cannon
Brett Cannon added the comment: It's actually not surprising that imp works this way: it predates packages. Because the semantics (I assume) have been like this for ages I say we document the current behavior (it's easy to work around) and simply continue to replace imp function

[issue11751] Increase distutils/filelist test coverage

2011-04-03 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> tarek components: +Distutils -Tests nosy: +eric.araujo, tarek ___ Python tracker <http://bugs.python.org/issu

[issue11742] Possible bug in Python/import.c

2011-04-03 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the report, but this has been fixed in the code repo. -- nosy: +brett.cannon resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue11701] email.parser.BytesParser().parse() closes file argument

2011-04-13 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <http://bugs.python.org/issue11701> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11863] Enforce PEP 11 - remove support for legacy systems

2011-04-18 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue11863> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4010] configure options don't trickle down to distutils

2010-11-17 Thread Brett Cannon
Brett Cannon added the comment: When I did the patch they were coming in reversed, so I reversed the reversal. Obviously something changed so now the manual reversal is not necessary anymore. -- ___ Python tracker <http://bugs.python.org/issue4

[issue4010] configure options don't trickle down to distutils

2010-11-17 Thread Brett Cannon
Brett Cannon added the comment: On Wed, Nov 17, 2010 at 17:19, Éric Araujo wrote: > > Éric Araujo added the comment: > > I don’t think there can be a unit test for that, so do we agree on just > removing the reversed call? As long as the person removing it verifies it and

[issue8754] ImportError: quote bad module name in message

2010-11-17 Thread Brett Cannon
Brett Cannon added the comment: I think everyone knows that importlib is there and might need to be patched. Plus I run importlib against the entire test suite already on occasion so changes which has a proper test will eventually get caught. So just file it against core

[issue8754] ImportError: quote bad module name in message

2010-11-17 Thread Brett Cannon
Brett Cannon added the comment: PyErr_Format doesn't need to change, just it's argument. A call to PyObject_Repr() (w/ proper error checking) should be all that is needed. And no, I don't make any "you do the Python, I'll do the C" deals because th

[issue10399] AST Optimization: inlining of function calls

2010-11-19 Thread Brett Cannon
Brett Cannon added the comment: No, it's rather Linux and tool specific to go into ast.py. But adding it to the Tools/ directory makes sense. -- ___ Python tracker <http://bugs.python.org/is

[issue9095] patchcheck should handle extraneous whitespace in .rst files

2010-11-22 Thread Brett Cannon
Brett Cannon added the comment: Just ran it without issue after doing an `svn up`. As for fix vs. not, while fixing indentations and removing trailing whitespace is nice, it isn't necessary. Both instances should be a rarity (most IDEs will make sure the situation doesn't occur), s

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Brett Cannon
Brett Cannon added the comment: I have no issue with moving importlib into Lib/test as long as I can still run the tests with ``python3 -m test.importlib``. I actually only put the tests in importlib.tests because that was common practice amongst newer packages in the stdlib. And just to

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

2010-12-12 Thread Brett Cannon
Brett Cannon added the comment: I'm with Raymond; this is unneeded consistency. I honestly would rather see what little support there is for a trailing comma to go away, but w/o looking at the grammar I am willing to bet that would be a pain to get right and not be worth the e

[issue9893] Usefulness of the Misc/Vim/ files?

2010-12-12 Thread Brett Cannon
Brett Cannon added the comment: So I just looked at the syntax file linked by Antoine and that is definitely *not* what he meant to link to; probably meant http://www.vim.org/scripts/script.php?script_id=790 . As for the indentation file, it's out-of-date and so doesn't sup

[issue4236] Crash when importing builtin module during interpreter shutdown

2010-12-14 Thread Brett Cannon
Brett Cannon added the comment: Nothing jumps to my mind. -- ___ Python tracker <http://bugs.python.org/issue4236> ___ ___ Python-bugs-list mailing list Unsub

[issue10710] Is Misc/setuid-prog.c still needed?

2010-12-15 Thread Brett Cannon
Brett Cannon added the comment: I say ditch it. -- ___ Python tracker <http://bugs.python.org/issue10710> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10767] Lib/test/crashers/README is out of date

2010-12-24 Thread Brett Cannon
Brett Cannon added the comment: That's a fair assessment. A lot of the bugs that are easy to fix got closed out a couple of years back. The rest are (I think) considered too difficult and too marginal to worry about. -- nosy: +brett.c

[issue9893] Usefulness of the Misc/Vim/ files?

2010-12-27 Thread Brett Cannon
Brett Cannon added the comment: But if you have a local copy of the Vim files from the community what is preventing you from editing them for new keywords and sending a patch to the maintainer so that the rest of the community is brought up to speed that much faster? I suspect that not many

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-03 Thread Brett Cannon
Brett Cannon added the comment: This is still failing. I also just confirmed it is also happening for 3.1 and 2.7. -- versions: +Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/issue10

[issue10848] Move test.regrtest from getopt to argparse

2011-01-06 Thread Brett Cannon
New submission from Brett Cannon : r87812 shows that using getopt is not a good thing; having the short and long versions of an argument separated from each other can lead to bugs. It would be good to move test.regrtest over to argparse to help prevent that from happening again

[issue10845] test_multiprocessing failure under Windows

2011-01-06 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue10845> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10894] Making stdlib APIs private

2011-01-12 Thread Brett Cannon
Brett Cannon added the comment: I will be writing a proper task item for this (there's a reason it's a todo item =), but I will read this before writing it so feel free to leave any thoughts or ideas for the future task. -- ___ Pyth

[issue10899] No function type annotations in the standard library

2011-01-12 Thread Brett Cannon
Brett Cannon added the comment: You missed importlib/abc.py which uses the annotations to document the types of method arguments (and their return values), e.g., what Guido said he might use the annotations for. -- nosy: +brett.cannon ___ Python

[issue7662] time.utcoffset()

2011-01-13 Thread Brett Cannon
Brett Cannon added the comment: You can discuss within the comments whether this issue should be re-opened or not, but do not take it upon yourself to change the status on your own once a core developer has already closed an issue as their decision supersedes that of a regular user

[issue7662] time.utcoffset()

2011-01-13 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker <http://bugs.python.org/issue7662> ___ ___ Python-bugs-list mai

[issue10951] gcc 4.6 warnings

2011-01-19 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue10951> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-19 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue10923> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10845] test_multiprocessing failure under Windows

2011-01-20 Thread Brett Cannon
Changes by Brett Cannon : -- priority: normal -> critical ___ Python tracker <http://bugs.python.org/issue10845> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-20 Thread Brett Cannon
Brett Cannon added the comment: Filed a bug with LLVM/Clang: http://llvm.org/bugs/show_bug.cgi?id=9014 -- ___ Python tracker <http://bugs.python.org/issue10

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-20 Thread Brett Cannon
Brett Cannon added the comment: Chris Lattner from LLVM says that this has been fixed in their mainline and that to work around it in LLVM 2.8 one should build with the -no-integrated-as flag. -- resolution: -> fixed status: open ->

[issue10965] dev task of documenting undocumented APIs

2011-01-20 Thread Brett Cannon
New submission from Brett Cannon : Once the docs are built using Python 3, then the coverage results can be used by people wanting to contribute as something to do. Should also mention in the task that some APIs should probably be private: http://mail.python.org/pipermail/python-dev/2010

[issue10965] dev task of documenting undocumented APIs

2011-01-20 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Build 3.x documentation using python3.x ___ Python tracker <http://bugs.python.org/issue10965> ___ ___ Python-bug

[issue10966] eliminate use of ImportError implicitly representing TestSkipped

2011-01-20 Thread Brett Cannon
New submission from Brett Cannon : test.regrtest considers an ImportError to be a test to skip. It then uses this info to decide what skipped tests were expected (or not) based on a list kepted in regrtest.py. For detecting compiler failures, an ImportError should be a test error or failure

[issue10966] eliminate use of ImportError implicitly representing TestSkipped

2011-01-20 Thread Brett Cannon
Brett Cannon added the comment: Once the proper function in test.support comes about then a dev task to help move everything over can be created. And then once all needed test modules have been switched over the ImportError try/except statement in regrtest can be removed

[issue10967] move regrtest over to using more unittest infrastructure

2011-01-20 Thread Brett Cannon
New submission from Brett Cannon : test.regrtest is rather old and has not been updated to take advantage of all the latest features in unittest (e.g., test discovery). It might be a rather large undertaking with various bits requiring some changes (e.g., getting away from raising exceptions

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-20 Thread Brett Cannon
Brett Cannon added the comment: I have verified that if you add -no-integrated-as as a flag (e.g., through CFLAGS) then ctypes will build. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10966] eliminate use of ImportError implicitly representing TestSkipped

2011-01-21 Thread Brett Cannon
Brett Cannon added the comment: Yes. So for _winreg (if we even have tests) it would be skipped on all OSs other than Windows, on on Windows it would be a test failure if it didn't work as it is expected to exist. -- ___ Python tracker

[issue10967] move regrtest over to using more unittest infrastructure

2011-01-21 Thread Brett Cannon
Brett Cannon added the comment: Yes, I somewhat view this as an index issue. I don't expect a wholesale move but a more step-by-step move. -- ___ Python tracker <http://bugs.python.org/is

[issue10957] Python developer FAQ grammar error

2011-01-21 Thread Brett Cannon
Brett Cannon added the comment: That entire portion of the FAQ has been removed as it was redundant compared to other parts of the devguide. Closing as out of date. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue10541] regrtest.py -T broken

2011-01-22 Thread Brett Cannon
Brett Cannon added the comment: At least the test_trace fix for preventing the complete destruction of any preset trace should be looked at and possibly applied separately (prevents coverage.py from covering the entire test suite as well). Should probably add a test to regrtest to make sure

[issue10985] test_sys triggers a fatal python error when run under coverage.py

2011-01-22 Thread Brett Cannon
New submission from Brett Cannon : If you run test_sys under coverage.py with ``./python.exe -m coverage run --pylib Lib/test/regrtest.py test_sys`` you get:: Fatal Python error: Cannot recover from stack overflow Have not taken the time to try to figure out exactly what code is triggering

[issue10985] test_sys triggers a fatal python error when run under coverage.py

2011-01-22 Thread Brett Cannon
Brett Cannon added the comment: Ran the test under verbose mode at Antoine's suggestion; test triggering the failure is test_recursionlimit_recovery -- ___ Python tracker <http://bugs.python.org/is

[issue10985] test_sys triggers a fatal python error when run under coverage.py

2011-01-22 Thread Brett Cannon
Brett Cannon added the comment: The comment on the test says its brittle and sensitive to nothing mucking around with recursion depth, so the test probably need a unittest.skipIf check for a trace function. -- ___ Python tracker <h

[issue10985] test_sys triggers a fatal python error when run under coverage.py

2011-01-23 Thread Brett Cannon
Brett Cannon added the comment: I have a patch for this which makes it a CPython-only test along with being conditional if a trace function is set. Making it a release blocker to see if Georg will let me commit it. -- keywords: +patch nosy: +georg.brandl priority: normal -> rele

[issue10985] test_sys triggers a fatal python error when run under coverage.py

2011-01-23 Thread Brett Cannon
Brett Cannon added the comment: Georg cleared the commit; just waiting for a test run with coverage.py to finish before committing. -- resolution: -> accepted stage: unit test needed -> commit review ___ Python tracker <http://bugs.p

[issue10985] test_sys triggers a fatal python error when run under coverage.py

2011-01-23 Thread Brett Cannon
Brett Cannon added the comment: r88153 w/ a review by Georg Brandl -- resolution: accepted -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-23 Thread Brett Cannon
New submission from Brett Cannon : The attached patch adds resource monitoring to test.regrtest to detect which tests are changing the trace function w/o putting back to what it was previously. The tests listed below are thus all being naughty. This is a meta-issue to help track which tests

[issue10991] trace fails when test imported a temporary file

2011-01-23 Thread Brett Cannon
New submission from Brett Cannon : If you run ``test.regrtest -T`` you will discover that (at least) test_importlib and test_runpy prevent coverage data from being written out as 'trace' will try to find files which no longer exist. Both test suites create temp files, import them

[issue10992] tests failing when run under coverage

2011-01-23 Thread Brett Cannon
New submission from Brett Cannon : A bunch of tests fail when run under coverage (trend seems to be refcount tests). This is to act as a meta-issue to keep track of what tests need to be fixed. [fail under both coverage.py and regrtest -T] test_ctypes test_descr test_gc test_metaclass

[issue10994] implementation details in sys module

2011-01-24 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <http://bugs.python.org/issue10994> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10708] Misc/porting should be folded in to the development FAQ

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: I've done what I plan to do to Misc and moving Porting was not part of it. I have no issue if someone else moves it, though. -- resolution: -> rejected status: open -> closed ___ Python tra

[issue9893] Usefulness of the Misc/Vim/ files?

2011-01-24 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker <http://bugs.python.org/issue9893> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: Cinder on IRC found that test_exception's RuntimeError test triggers a trace_trampoline() line of code which resets the trace function as an exception gets triggered in the trace function itself. test_doctest is being messy and setting pdb's trace fu

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_pdb uses pdb.set_trace() w/o putting the original trace function back. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_scope blindly resets the trace function to None. -- ___ Python tracker <http://bugs.python.org/issue10990> ___ ___ Python-bug

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: And here is a revelation: test_sys_settrace clobbers the trace function blindly. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_zipimport_support fails because test_doctest fails; it re-runs the tests from a zipfile. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_io is causing coverage.py to complain thanks to the TextIOWrapperTests, and the regrtest check is complaining about SignalsTests. Don't know why specifically for either. -- ___ Python tracker

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_runpy fails because of a recursion depth test (test_main_recursion_error). -- ___ Python tracker <http://bugs.python.org/issue10

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_richcmp is failing because of a recursion test (test_recursion) -- ___ Python tracker <http://bugs.python.org/issue10

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: For test_io.*SignalsTests, its all the tests calling check_interrupted_write(). For TestIOWrapperTests its test_threads_write() (although only coverage.py is complaining, not regrtest). -- ___ Python tracker <h

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: OK, now that all the modules have been analyzed, let's see what is what. The modules not playing nicely with others by blindly reseting the trace module: test_doctest test_pdb test_scope test_sys_settrace test_zipimport_support (because of test_doctest)

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: Here is a patch that fixes test_scope. -- Added file: http://bugs.python.org/file20508/test_scope.diff ___ Python tracker <http://bugs.python.org/issue10

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: Here is a partial patch for test_sys_settrace. It fails on test_19_no_jump_without_trace_function for some reason I don't understand. It also doesn't protect against it being CPython-only as that is a function decorator and basically the whole modul

[issue10994] implementation details in sys module

2011-01-25 Thread Brett Cannon
Brett Cannon added the comment: You could return -1 for everything. =) In all seriousness, it could simply be proportional. IMO as long as people realize if a list takes up less space than a dict then the numbers seem fine to me. -- ___ Python

[issue10848] Move test.regrtest from getopt to argparse

2011-01-25 Thread Brett Cannon
Brett Cannon added the comment: If Sandro is willing to write test for regrtest as part of the move then that would be a complete net win from the current situation. -- ___ Python tracker <http://bugs.python.org/issue10

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