New submission from Marcus CM [EMAIL PROTECTED]:
When using maildir on windows, the maildir._dump_message erronously
added \r\n to \r\r\n : in mailbox.py
target.write(buffer.read().replace('\n', os.linesep))
--
components: Library (Lib)
messages: 75463
nosy: [EMAIL PROTECTED]
New submission from Roland Brickl [EMAIL PROTECTED]:
curses.update_lines.cols() are normally usable within c programs. With
this change, it can now be used too. It only calls the preexisting
function that where only used internally. The cast in the return
statement are possibly false? But it
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Thanks for the patch! Fixed in r67077.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4048
New submission from Steven D'Aprano [EMAIL PROTECTED]:
import timing
help(timing)
= MODULE DOCS
http://www.python.org/doc/current/lib/module-timing.html
but there doesn't appear to be any such page: the URL gives Error 404:
File Not Found. Searching the reference library for timing
Andrii V. Mishkovskyi [EMAIL PROTECTED] added the comment:
Well, it's listed in Undocumented modules:
http://docs.python.org/library/undoc.html#obsolete
so I wouldn't call this a bug.
--
nosy: +mishok13
___
Python tracker [EMAIL PROTECTED]
STINNER Victor [EMAIL PROTECTED] added the comment:
Your function PyCurses_update_lines_cols() has no documentation. Can
you add it?
Can you also give an use case of update_lines_cols()? The function is
already called by curses.resizeterm() and curses.resize_term().
--
nosy: +haypo
New submission from Andy Buckley [EMAIL PROTECTED]:
optparse is a great option parser, but one thing that would make it even
greater would be if it provided a standard option (cf. --help) which
lists all the available options in a parseable form. Something prefixed
with --help, e.g.
Roland Brickl [EMAIL PROTECTED] added the comment:
Hi Victor,
i use this to get updated versions of curses.COLS and curses.LINES in
the fact of an curses.KEY_RESIZE event.
So i can use curses within python even without to have panels.
It seems that curses.panel are the prefered way to deal
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Agreed. This is a deprecated module and is gone in Python 3.0.
--
nosy: +benjamin.peterson
resolution: - wont fix
status: open - closed
___
Python tracker [EMAIL PROTECTED]
STINNER Victor [EMAIL PROTECTED] added the comment:
i use this to get updated versions of curses.COLS and curses.LINES in
the fact of an curses.KEY_RESIZE event.
I didn't know this event. Is a key in a special keyboard? Or an event raised
by some curses internals?
Updates curses.LINES and
Changes by Winfried Plappert [EMAIL PROTECTED]:
--
nosy: +wplappert
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4256
___
___
Python-bugs-list mailing
Roland Brickl [EMAIL PROTECTED] added the comment:
i use this to get updated versions of curses.COLS and curses.LINES in
the fact of an curses.KEY_RESIZE event.
I didn't know this event. Is a key in a special keyboard? Or an event
raised
by some curses internals?
Internal curses event.
Oh
Changes by STINNER Victor [EMAIL PROTECTED]:
--
title: Miserable subprocess.Popen performance - default subprocess.Popen
buffer size
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4194
___
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
Fixed in r67082(trunk), r67083(release26-maint), r67084(release25-maint).
--
keywords: -needs review
resolution: - fixed
status: open - closed
versions: +Python 2.7
___
Python tracker [EMAIL
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9346/unnamed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1978
___
___
Dan OD [EMAIL PROTECTED] added the comment:
Sorry to drag this up again, but if no-one has any complaints it would be
a huge help if gpolo's patch could be checked in. Thanks
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3774
New submission from Roy Smith [EMAIL PROTECTED]:
The docs say:
Return a string containing the hostname of the machine where the Python
interpreter is currently executing. If you want to know the current
machine's IP address, you may want to use gethostbyname(gethostname()).
This operation
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Thanks for the suggestion fixed in r67089.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4257
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Could you port this to 3.0, please?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3774
___
___
Changes by Brett Cannon [EMAIL PROTECTED]:
--
stage: - commit review
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4211
___
___
Python-bugs-list
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
The assertion on line 813 is indented incorrectly. Please fix that.
I'm concerned we really need better test coverage for this code, but
it's doubtful we'll get that before 3.0 final is released. I think this
is the best we're going to do,
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
Benjamin's reviewed this and the only thing that jumps out at me is some
funky indentation at about line 331. If you fix that, you can land this
patch.
--
keywords: -needs review
nosy: +barry
resolution: - accepted
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
Please fix the test as Benjamin suggests (network). While I'd prefer
a more fleshed out test suite, I think in time you can add that. For
now, this is still an improvement and likely the best we're going to get
before 3.0. Thanks for
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
Can you add some tests for this problem?
--
nosy: +barry
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4236
___
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
Christian, if you like the patch go ahead and land it.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
Christian Heimes [EMAIL PROTECTED] added the comment:
I don't fully grasp the details of the configure.in change. I don't have
the means to test the change on Mac and BSD. How should we pursue it?
The rest is fine with me.
___
Python tracker [EMAIL PROTECTED]
Christian Heimes [EMAIL PROTECTED] added the comment:
Martin, can you please review the configure.in change? Barry and I
agreed that you a most probably the best person for the job. :]
--
assignee: barry - loewis
___
Python tracker [EMAIL PROTECTED]
STINNER Victor [EMAIL PROTECTED] added the comment:
I updated my patch against Python3 trunk. I fixed my patch to pass
most long and struct tests:
- fix byte array import/export
- check for overflow
- compute exponent in conversion to a float (use PyLong_SHIFT=1)
- fix formating to support
STINNER Victor [EMAIL PROTECTED] added the comment:
And Now for Something Completely Different. Benchmarks!
- python3 rev67089.
- Pentium4 @ 3.0 GHz (integer = 32 bits)
- GCC 4.1.3 (Ubuntu Gutsy)
gcc -O0:
builtin: 20920.5 pystones/second
GMP: 17985.6 pystones/second
gcc -O3:
builtin:
Andrew McNamara [EMAIL PROTECTED] added the comment:
One reason why this issue has been having less impact is that a bug in
some versions of the copy.py code meant it was ignoring the
__deepcopy__ stubs and using the pickle logic to copy _sre objects -
so, if you run the right python version,
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1210
___
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
assignee: - benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3727
___
___
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
assignee: - benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3714
___
___
STINNER Victor [EMAIL PROTECTED] added the comment:
New version of the patch using short integer for long_add, long_sub,
long_mul, etc. New benchmark with -0O : 20161.3 pystones/second
(versus 20920.5 for the vanilla version). The overhead is now -3,6%
(yes, it's slower with GMP).
Added
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9141/py3k-long_gmp-v2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1814
___
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11933/py3k-long_gmp-v3.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1814
___
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
Done. Fixed in r67095(py3k).
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3774
___
___
Python-bugs-list
37 matches
Mail list logo