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
Changes by Brett Cannon:
--
keywords: +py3k
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1675334
_
___
Python-bugs-list mailing list
Unsubscribe:
http
Changes by Brett Cannon:
--
keywords: +py3k
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1001
__
___
Python-bugs-list mailing list
Unsubscribe:
http
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
Changes by Brett Cannon:
--
priority: high - urgent
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1202533
_
___
Python-bugs-list mailing list
Unsubscribe
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
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
Changes by Brett Cannon:
--
superseder: - a bunch of infinite C recursions
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1267884
_
___
Python-bugs-list mailing
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
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
Changes by Brett Cannon:
--
severity: normal - minor
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1121
__
___
Python-bugs-list mailing list
Unsubscribe:
http
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
Changes by Brett Cannon:
--
resolution: accepted -
type: - behavior
versions: +Python 2.6
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue214033
___
Python-bugs
Changes by Brett Cannon:
--
priority: - urgent
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1096
__
___
Python-bugs-list mailing list
Unsubscribe:
http
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
Changes by Brett Cannon:
--
assignee: - brett.cannon
nosy: +brett.cannon
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1147
__
___
Python-bugs-list mailing list
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
Brett Cannon added the comment:
Rev. 58109 covers 2.5.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1147
__
___
Python
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
Changes by Brett Cannon:
--
versions: +Python 2.6
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1686386
_
___
Python-bugs-list mailing list
Unsubscribe:
http
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
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
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
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
Changes by Brett Cannon:
--
dependencies: +Fix #416670: register SRE types
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue416670
___
Python-bugs-list mailing
Changes by Brett Cannon:
--
dependencies: -Fix #416670: register SRE types
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue416670
___
Python-bugs-list mailing
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
Changes by Brett Cannon:
--
keywords: +patch
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue504152
___
Python-bugs-list mailing list
Unsubscribe:
http
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
Changes by Brett Cannon:
--
keywords: +py3k
versions: +Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1083
__
___
Python-bugs-list mailing list
Unsubscribe
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
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
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
Changes by Brett Cannon:
--
versions: +Python 2.6
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1164
__
___
Python-bugs-list mailing list
Unsubscribe:
http
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
Changes by Brett Cannon:
--
keywords: +patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1164
__
___
Python-bugs-list mailing list
Unsubscribe:
http
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
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
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
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
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
Changes by Brett Cannon:
--
status: pending - open
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1686386
_
___
Python-bugs-list mailing list
Unsubscribe:
http
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by Brett Cannon br...@python.org:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10845
___
___
Python-bugs-list
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
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
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
Changes by Brett Cannon br...@python.org:
--
nosy: -brett.cannon
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7662
Changes by Brett Cannon br...@python.org:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10951
___
___
Python-bugs-list
Changes by Brett Cannon br...@python.org:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10923
___
___
Python-bugs-list
Changes by Brett Cannon br...@python.org:
--
priority: normal - critical
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10845
___
___
Python-bugs
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by Brett Cannon br...@python.org:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10994
___
___
Python-bugs-list
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
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9893
___
___
Python-bugs-list
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 5790 matches
Mail list logo