Re: [Tracker-discuss] Spammer-messages this morning just me cleaning up

2007-06-14 Thread Brett Cannon
On 6/9/07, Paul Dubois [EMAIL PROTECTED] wrote: You may have received some messages this morning that looked like more spam. They were not, they were me permanently retiring some issues that had been posted by spammers a month ago. Unfortunately we have set up an auditor that sends ALL changes

[issue1675334] Draft implementation for PEP 364

2007-08-23 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +py3k _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1675334 _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-08-23 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +py3k __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1001 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1202533] a bunch of infinite C recursions

2007-08-28 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +patch priority: normal - high severity: normal - major type: - crash versions: +Python 2.6 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1202533

[issue1202533] a bunch of infinite C recursions

2007-08-28 Thread Brett Cannon
Changes by Brett Cannon: -- priority: high - urgent _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1202533 _ ___ Python-bugs-list mailing list Unsubscribe

[issue1022] use bytes for code objects

2007-09-02 Thread Brett Cannon
Brett Cannon added the comment: I have security/stability issues with code objects having mutable bytecode. This would allow someone to possibly crash the interpreter with crappy bytecode. I also have a worry that someone might come up with some clever way of causing different code to execute

[issue1127] No tests for inspect.getfullargspec()

2007-09-06 Thread Brett Cannon
Changes by Brett Cannon: -- components: Library (Lib) keywords: py3k priority: high severity: normal status: open title: No tests for inspect.getfullargspec() versions: Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1127

[issue1267884] crash recursive __getattr__

2007-09-06 Thread Brett Cannon
Changes by Brett Cannon: -- superseder: - a bunch of infinite C recursions _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1267884 _ ___ Python-bugs-list mailing

[issue1202533] a bunch of infinite C recursions

2007-09-06 Thread Brett Cannon
Brett Cannon added the comment: Rev. 58032 applied the patch and added a test to test_descr. -- resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1202533

[issue1121] Document inspect.getfullargspec()

2007-09-06 Thread Brett Cannon
New submission from Brett Cannon: inspect.getfullargspec() needs to be documented before it is backported to 2.6. -- components: Documentation keywords: py3k messages: 55717 nosy: brett.cannon priority: normal severity: normal status: open title: Document inspect.getfullargspec

[issue1121] Document inspect.getfullargspec()

2007-09-06 Thread Brett Cannon
Changes by Brett Cannon: -- severity: normal - minor __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1121 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1456280] Traceback error when compiling Regex

2007-09-10 Thread Brett Cannon
Changes by Brett Cannon: -- superseder: - re incompatibility in sre title: Traceback error when compiling Regex - Traceback error when compiling Regex _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1456280

[issue214033] re incompatibility in sre

2007-09-10 Thread Brett Cannon
Changes by Brett Cannon: -- resolution: accepted - type: - behavior versions: +Python 2.6 Tracker [EMAIL PROTECTED] http://bugs.python.org/issue214033 ___ Python-bugs

[issue1096] Deeply recursive repr segfault

2007-09-10 Thread Brett Cannon
Changes by Brett Cannon: -- priority: - urgent __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1096 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1096] Deeply recursive repr segfault

2007-09-10 Thread Brett Cannon
Brett Cannon added the comment: Fixed in rev. 58096. -- assignee: - brett.cannon nosy: +brett.cannon resolution: - fixed status: open - closed versions: +Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1096

[issue1147] string exceptions inconsistently deprecated/disabled

2007-09-11 Thread Brett Cannon
Changes by Brett Cannon: -- assignee: - brett.cannon nosy: +brett.cannon __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1147 __ ___ Python-bugs-list mailing list

[issue1147] string exceptions inconsistently deprecated/disabled

2007-09-11 Thread Brett Cannon
Brett Cannon added the comment: Fixed on the trunk in rev. 58108. Need to change 2.5 to raise a warning. -- priority: - normal versions: -Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1147

[issue1147] string exceptions inconsistently deprecated/disabled

2007-09-11 Thread Brett Cannon
Brett Cannon added the comment: Rev. 58109 covers 2.5. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1147 __ ___ Python

[issue1686386] Python SEGFAULT on invalid superclass access

2007-09-12 Thread Brett Cannon
Brett Cannon added the comment: So the first example (in msg31624) crashes because of infinite recursion with the repr of exceptions:: #7771 0x00065178 in BaseException_repr (self=0x5dc6b8) at Objects/exceptions.c:128 #7772 0x0001d90c in PyObject_Repr (v=0x5dc6b8) at Objects/object.c:362 #7773

[issue1686386] Python SEGFAULT on invalid superclass access

2007-09-12 Thread Brett Cannon
Changes by Brett Cannon: -- versions: +Python 2.6 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1686386 _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1686386] Python SEGFAULT on invalid superclass access

2007-09-12 Thread Brett Cannon
Brett Cannon added the comment: OK, so I have attached a possible patch. I found out that tuple.__repr__ didn't do anything to prevent infinite recursion since you can't pull it off from Python code. But obviously C code is another matter. =) Same goes for object.__str__; it didn't think

[issue1686386] Python SEGFAULT on tuple.__repr__ and str()

2007-09-12 Thread Brett Cannon
Changes by Brett Cannon: -- title: Python SEGFAULT on invalid superclass access - Python SEGFAULT on tuple.__repr__ and str() _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1686386

[issue1158] %f format for datetime objects

2007-09-13 Thread Brett Cannon
Brett Cannon added the comment: Are you going to add support to strptime as well? As for the 'time' module, I don't think it would be useful as it serves no purpose since the time tuple can't resolve to that resolution. If you do add support, though, I guess you just default to 0

[issue1158] %f format for datetime objects

2007-09-13 Thread Brett Cannon
Brett Cannon added the comment: On 9/13/07, Skip Montanaro [EMAIL PROTECTED] wrote: Skip Montanaro added the comment: Brett Are you going to add support to strptime as well? I looked at strptime for about two seconds then moved on. I presume you would know how to add it easily though

[issue416670] MatchObjects not deepcopy()able

2007-09-13 Thread Brett Cannon
Changes by Brett Cannon: -- dependencies: +Fix #416670: register SRE types Tracker [EMAIL PROTECTED] http://bugs.python.org/issue416670 ___ Python-bugs-list mailing

[issue416670] MatchObjects not deepcopy()able

2007-09-13 Thread Brett Cannon
Changes by Brett Cannon: -- dependencies: -Fix #416670: register SRE types Tracker [EMAIL PROTECTED] http://bugs.python.org/issue416670 ___ Python-bugs-list mailing

[issue487331] time mod's timezone doesn't honor TZ var

2007-09-13 Thread Brett Cannon
Brett Cannon added the comment: time.tzset() was added in Python 2.3. Closing as fixed. -- nosy: +brett.cannon resolution: - fixed status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue487331

[issue504152] rfc822 long header continuation broken

2007-09-13 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +patch Tracker [EMAIL PROTECTED] http://bugs.python.org/issue504152 ___ Python-bugs-list mailing list Unsubscribe: http

[issue614555] Rewrite _reduce and _reconstructor in C

2007-09-13 Thread Brett Cannon
Brett Cannon added the comment: Classifying as an RFE since this is not critical (as shown by it not happening since early 2003). -- nosy: +brett.cannon type: - rfe Tracker [EMAIL PROTECTED] http://bugs.python.org/issue614555

[issue1083] Confusing error message when dividing timedelta using /

2007-09-13 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +py3k versions: +Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1083 __ ___ Python-bugs-list mailing list Unsubscribe

[issue539444] asyncore file wrapper os.error

2007-09-13 Thread Brett Cannon
Brett Cannon added the comment: Following Josiah's advice and closing this as this has been sitting here long enough. -- nosy: +brett.cannon resolution: - invalid status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue539444

[issue542314] long file name support broken in windows

2007-09-13 Thread Brett Cannon
Brett Cannon added the comment: Can someone verify that the length issue has been fixed since Ptyhon 2.5? -- nosy: +brett.cannon Tracker [EMAIL PROTECTED] http://bugs.python.org/issue542314

[issue1083] Confusing error message when dividing timedelta using /

2007-09-13 Thread Brett Cannon
Brett Cannon added the comment: If you set nb_true_div on timedelta objects to delta_divide (just like nb_floor_div) you won't have this problem as the division will just work. Otherwise there is no other good way as if the divisor doesn't work you need to return NotImplemented, which

[issue1164] tp_print slots don't release the GIL

2007-09-15 Thread Brett Cannon
Changes by Brett Cannon: -- versions: +Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1164 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1164] tp_print slots don't release the GIL

2007-09-15 Thread Brett Cannon
Brett Cannon added the comment: Since I already did this once I just did a more thorough job; patch is attached. PyObject_WriteString() just calls PyFile_WriteObject() which ends up using PyObject_Print(), so it is was simple to handle those cases. I then released the GIL for strings, lists

[issue1164] tp_print slots don't release the GIL

2007-09-15 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1164 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1134] Parsing a simple script eats all of your memory

2007-09-15 Thread Brett Cannon
Brett Cannon added the comment: Note the patch is inlined in a message. -- keywords: +patch, py3k nosy: +brett.cannon __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1134

[issue1164] tp_print slots don't release the GIL

2007-09-15 Thread Brett Cannon
Brett Cannon added the comment: Good point. I changed it on my machine and it cut that whole section down to a single release/acquire. I will go ahead and do this for the other types and then upload another patch to be reviewed when it's ready. __ Tracker

[issue1164] tp_print slots don't release the GIL

2007-09-15 Thread Brett Cannon
Brett Cannon added the comment: OK, every PyTypeObject in Objects and Modules has its tp_print release the GIL. Once someone OKs the patch I will apply it. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1164

[issue1164] tp_print slots don't release the GIL

2007-09-16 Thread Brett Cannon
Brett Cannon added the comment: Applied in r58176. And I am glad this is not an issue in Py3K. =) -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1164

[issue1158] %f format for datetime objects

2007-09-17 Thread Brett Cannon
Brett Cannon added the comment: In terms of strptime, I would just change _strptime.strptime() to _strptime._strptime() and have it return everything along with the microseconds measurement. Then have public functions that call that function and either strip off the microseconds or not. -Brett

[issue1686386] Python SEGFAULT on tuple.__repr__ and str()

2007-09-17 Thread Brett Cannon
Changes by Brett Cannon: -- status: pending - open _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1686386 _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1123] split(None, maxsplit) does not strip whitespace correctly

2007-09-18 Thread Brett Cannon
Brett Cannon added the comment: The algorithm is actually kind of odd:: a b.split(None, 0) ['a b'] a b .split(None, 0) ['a b '] a b .split(None, 1) ['a', 'b '] So trailing whitespace on the original string is stripped only if the number of splits is great enough to lead

[issue1176] str.split() takes no keyword arguments (Should this be expected?)

2007-09-18 Thread Brett Cannon
Brett Cannon added the comment: This is expected as str.split() is implemented in C and C code only has keyword arguments if someone puts in the time and effort to support them. Support could be added if so desired. But it does slow down argument passing. If you look you will notice that none

[issue10399] AST Optimization: inlining of function calls

2010-11-19 Thread Brett Cannon
Brett Cannon br...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue10399

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

2010-11-22 Thread Brett Cannon
Brett Cannon br...@python.org 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

[issue10572] Move unittest test package to Lib/test

2010-11-29 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2010-12-12 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2010-12-12 Thread Brett Cannon
Brett Cannon br...@python.org 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

[issue4236] Crash when importing builtin module during interpreter shutdown

2010-12-14 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Nothing jumps to my mind. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4236 ___ ___ Python

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

2010-12-15 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: I say ditch it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10710 ___ ___ Python-bugs-list

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

2010-12-24 Thread Brett Cannon
Brett Cannon br...@python.org 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.cannon

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

2010-12-27 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2011-01-03 Thread Brett Cannon
Brett Cannon br...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue10238

[issue10848] Move test.regrtest from getopt to argparse

2011-01-06 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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

[issue10845] test_multiprocessing failure under Windows

2011-01-06 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs-list

[issue10894] Making stdlib APIs private

2011-01-12 Thread Brett Cannon
Brett Cannon br...@python.org 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

[issue10899] No function type annotations in the standard library

2011-01-12 Thread Brett Cannon
Brett Cannon br...@python.org 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

[issue7662] time.utcoffset()

2011-01-13 Thread Brett Cannon
Brett Cannon br...@python.org 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

[issue7662] time.utcoffset()

2011-01-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7662

[issue10951] gcc 4.6 warnings

2011-01-19 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10951 ___ ___ Python-bugs-list

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-19 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10923 ___ ___ Python-bugs-list

[issue10845] test_multiprocessing failure under Windows

2011-01-20 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: normal - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10845 ___ ___ Python-bugs

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

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

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

2011-01-20 Thread Brett Cannon
Brett Cannon br...@python.org 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 - closed

[issue10965] dev task of documenting undocumented APIs

2011-01-20 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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

[issue10965] dev task of documenting undocumented APIs

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

[issue10966] eliminate use of ImportError implicitly representing TestSkipped

2011-01-20 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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

[issue10966] eliminate use of ImportError implicitly representing TestSkipped

2011-01-20 Thread Brett Cannon
Brett Cannon br...@python.org 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 br...@python.org: 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

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

2011-01-20 Thread Brett Cannon
Brett Cannon br...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue10238

[issue10966] eliminate use of ImportError implicitly representing TestSkipped

2011-01-21 Thread Brett Cannon
Brett Cannon br...@python.org 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

[issue10967] move regrtest over to using more unittest infrastructure

2011-01-21 Thread Brett Cannon
Brett Cannon br...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue10967

[issue10957] Python developer FAQ grammar error

2011-01-21 Thread Brett Cannon
Brett Cannon br...@python.org 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

[issue10541] regrtest.py -T broken

2011-01-22 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2011-01-22 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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

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

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

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

2011-01-22 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2011-01-23 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2011-01-23 Thread Brett Cannon
Brett Cannon br...@python.org 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 rep

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

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

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

2011-01-23 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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

[issue10991] trace fails when test imported a temporary file

2011-01-23 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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

[issue10992] tests failing when run under coverage

2011-01-23 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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

[issue10994] implementation details in sys module

2011-01-24 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10994 ___ ___ Python-bugs-list

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

2011-01-24 Thread Brett Cannon
Brett Cannon br...@python.org 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 tracker rep

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

2011-01-24 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9893 ___ ___ Python-bugs-list

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

2011-01-24 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

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

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

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

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

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

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

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

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

2011-01-24 Thread Brett Cannon
Brett Cannon br...@python.org 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 br...@python.org added the comment: test_runpy fails because of a recursion depth test (test_main_recursion_error). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10990

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

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

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

2011-01-24 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2011-01-24 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

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

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

2011-01-24 Thread Brett Cannon
Brett Cannon br...@python.org 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

[issue10994] implementation details in sys module

2011-01-25 Thread Brett Cannon
Brett Cannon br...@python.org 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

  1   2   3   4   5   6   7   8   9   10   >