Gregory P. Smith [EMAIL PROTECTED] added the comment:
merged into py3k branch in r66285.
backported to release25-maint in r66288 and r66289.
--
resolution: - accepted
status: open - closed
versions: -Python 3.0
___
Python tracker [EMAIL PROTECTED]
New submission from skomoroh [EMAIL PROTECTED]:
Code:
import formatter
w = formatter.DumbWriter()
f = formatter.AbstractFormatter(w)
f.push_margin('dd')
f.pop_margin()
Result:
Traceback (most recent call last):
File formatter_test.py, line 7, in module
f.push_margin('dd')
File
Graham Higgins [EMAIL PROTECTED] added the comment:
Now confirmed. To reproduce, run sphinx-quickstart with project name
Test, accepting all defaults. Execute make html, examine
.build/html/index.html to find:
div class=section id=welcome-to-test-s-documentation
h1
Giampaolo Rodola' [EMAIL PROTECTED] added the comment:
Sorry, my fault.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3764
___
___
Python-bugs-list mailing list
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Jeffery, you made this change in r59671. Can you comment?
--
nosy: +benjamin.peterson, jyasskin
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3777
Rodrigo Bernardo Pimentel [EMAIL PROTECTED] added the comment:
(I've just realized it's not working properly for fix_dict; I'm fixing
it and will drop a note here when it is)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3417
Guido van Rossum [EMAIL PROTECTED] added the comment:
Making this into a release blocker just so someone will look at it.
Needs to be decided fixed by rc2 at the very latest.
--
nosy: +gvanrossum
priority: high - release blocker
___
Python tracker
Martin v. Löwis [EMAIL PROTECTED] added the comment:
This is my first excursion into cyclic garbage collector
implementations, so please review carefully.
If you don't implement a tp_clear function, you should leave
a comment why not. I think it's ok, since the underlying
containers will get
Martin v. Löwis [EMAIL PROTECTED] added the comment:
I'm not sure this is a bug. sys.getsizeof doesn't take padding in the
malloc implementation into account, either, so a long object that
accounts to 22 bytes (such as the number 1) uses at least 24 bytes,
also. In any case, I also think this
Skip Montanaro [EMAIL PROTECTED] added the comment:
Extra data point. I tried
f[1] = a
and
f[b1] = a
with dbm.{gnu,ndbm,dumb,sqlite}. All worked with bytes. A except
dbm.dumb worked with strings. (dbm.sqlite is my little proof-of-concept
module currently in the sandbox.)
Roumen Petrov [EMAIL PROTECTED] added the comment:
I realize too late that in my patch line if test $py_cv_lib_readline =
!yes; then is not correct. :(
It has to be if test $py_cv_lib_readline = no; then, i.e. s/!yes/no/'.
___
Python tracker [EMAIL PROTECTED]
Guido van Rossum [EMAIL PROTECTED] added the comment:
How hard would it be to fix dbm.dumb to accept strings as well?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3799
___
Gregory P. Smith [EMAIL PROTECTED] added the comment:
eek. not quite fixed then :)
i'll retest and take care of it.
--
resolution: accepted -
status: closed - open
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1204
Gregory P. Smith [EMAIL PROTECTED] added the comment:
fixed in trunk r66295/r66296.
merging and backporting now...
--
versions: +Python 3.0
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1204
___
Gregory P. Smith [EMAIL PROTECTED] added the comment:
merged to py3k r66297 + r66298
backported to release25-maint r66299 + r66300.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1204
Martin v. Löwis [EMAIL PROTECTED] added the comment:
The intention is that different interpreters have distinct, separate
instances of the type objects. This is desirable in case of class
variables, and standard for Python-defined types. Clearly, 3.0 won't
provide that separation for many of the
Martin v. Löwis [EMAIL PROTECTED] added the comment:
I will try to do that patch in coming weeks (obmalloc mostly allocates
some 256KB arenas so it should nearly always use mmap).
Exactly so. If you can, please also consider supporting Windows, in the
same way.
Anything in obmalloc that is
Changes by Brett Cannon [EMAIL PROTECTED]:
--
assignee: - brett.cannon
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3781
___
___
Python-bugs-list
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Also, can you please attach your config.log?
--
nosy: +loewis
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3784
___
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Why do you think this is a bug in Python? It sounds like a bug in the
operating system to me.
(actually, it's two bugs - please use separate bug reports in the future:
one is that Solaris doesn't implement wchgat, and the other one that it
Martin v. Löwis [EMAIL PROTECTED] added the comment:
The patch looks fine to me, please apply.
--
assignee: - amaury.forgeotdarc
keywords: -needs review
nosy: +loewis
resolution: - accepted
___
Python tracker [EMAIL PROTECTED]
Brett Cannon [EMAIL PROTECTED] added the comment:
The new patch ditches the WarningsRecorder class and just returns a list
that is directly mutated. I also removed all uses of
test.test_support.catch_warning() and moved them over. Docs have been
thoroughly updated to give example usage. And
Changes by Brett Cannon [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11382/catch_warnings_atts.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3781
___
New submission from Kevin M. Turner [EMAIL PROTECTED]:
This is a regression from 2.5 that causes our test suite to fail in 2.6.
Looks like a cut-and-paste bug. Patch attached.
--
components: Library (Lib)
files: cgi_parse_qsl.diff
keywords: patch
messages: 72755
nosy: acapnotic
Facundo Batista [EMAIL PROTECTED] added the comment:
Dumb error, it was even only in 2.6, 3.0 was ok.
Thanks for noticing it, I fixed it and added tests for both versions.
Thank you again!!
--
nosy: +facundobatista
resolution: - fixed
status: open - closed
Skip Montanaro [EMAIL PROTECTED] added the comment:
I'm not sure. I've never done anything with the io module. Simply
eliminating the bytes checks and letting it try to write the string
yields:
File /Users/skip/local/lib/python3.0/dbm/dumb.py, line 170, in
__setitem__
self._addkey(key,
Andrew McNamara [EMAIL PROTECTED] added the comment:
I don't think it's possible to say whether it's preformance critical -
I can certainly image use cases such as parser generators where its
speed could be noticed.
I tried building a version using regular expressions, but I couldn't do
any
Andrew McNamara [EMAIL PROTECTED] added the comment:
I meant I can certainly imagine use cases...
In case it's not clear, I think the implementation in the patch is
good enough (unless someone can suggest any obvious optimisations).
If someone can prove that re.escape() performance is causing
Martin v. Löwis [EMAIL PROTECTED] added the comment:
OTOH, if for some compelling reason it's believed Python knows better
than platform vendors, then obmalloc should be uglied-up on all paths to
make the enlightened choice.
I'm proposing that obmalloc is changed to know better than system
Tim Peters [EMAIL PROTECTED] added the comment:
I have to admit that if Python /didn't/ know better than platform libc
implementers in some cases, there would be no point to having obmalloc
at all :-(
What you (Martin) suggest is reasonable enough.
___
New submission from Marcus CM [EMAIL PROTECTED]:
The __getaddr does not handle certain valid MAIL FROM well :
For eg,
[EMAIL PROTECTED] SIZE= AUTH=
would result in a mismatch of bracket handling.
Suggested fix is :-
def __getaddr(self, keyword, arg):
address = None
Anand B Pillai [EMAIL PROTECTED] added the comment:
Hi Gregory,
Let me know if I can help out some way in testing the #3797
patches on various platforms.
Regards,
--Anand
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3492
32 matches
Mail list logo