Bruce Sherwood bruce.sherw...@gmail.com added the comment:
Correction: distutils.get_python_lib() returns /usr/lib/python3/dist-packages
(which does exist), while distutils.get_python_inc() returns
/usr/include/python3.1. I don't understand the shadowy existence of some
python3 files that are
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
On Tue, Oct 26, 2010 at 11:18 AM, Guido van Rossum gu...@python.org wrote:
On Tue, Oct 26, 2010 at 8:13 AM, Alexander Belopolsky
alexander.belopol...@gmail.com wrote:
The one demo that I want to find a better place for
Guido van Rossum gu...@python.org added the comment:
IMO converting turtle.py into a package, unless that's already planned anyway,
is not a good project to undertake right now. (OTOH the demo itself already is
a package, less an __init__.py file.) Note that the turtle module already runs
New submission from Boštjan Mejak bostjan.me...@gmail.com:
There's a bug in the docs at
http://docs.python.org/library/locale.html#access-to-message-catalogs in a
statement before the last. A known exception to this rule are applications
that link use additional C libraries which internally
New submission from Antoine Pitrou pit...@free.fr:
Sun/Oracle uses the following patch to fix building of the socket module, since
on Solaris netpacket/packet.h is incompatible with its Linux counterpart.
Otherwise, it fails with the following messages:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Oct 26, 2010 at 12:00 PM, Guido van Rossum
rep...@bugs.python.org wrote:
..
IMO converting turtle.py into a package, unless that's already planned
anyway, is not a good project
to undertake right now.
What are
Guido van Rossum gu...@python.org added the comment:
I would like Gregor Lingl's approval of turning turtle.py into a package. It
might make some things harder for novices, e.g. trackebacks and just browsing
the source code.
Also many people don't expect to find any code in a file named
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10199
___
___
Python-bugs-list
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
assignee: - belopolsky
resolution: - accepted
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10193
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +glingl, gregorlingl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10199
___
Antoine Pitrou pit...@free.fr added the comment:
Here is a working patch for py3k. Tested under OpenSolaris with both gcc and
Sun C.
--
keywords: +patch
nosy: +laca
Added file: http://bugs.python.org/file19371/buildsocket.patch
___
Python tracker
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Oct 26, 2010 at 12:31 PM, Guido van Rossum
rep...@bugs.python.org wrote:
..
I would like Gregor Lingl's approval of turning turtle.py into a package.
Me too. :-) I added him to the nosy list.
It might make
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I thought this email-to-roundup bug was fixed some time ago. The mangled
sample session was:
turtle.forward('5 miles')
Traceback (most recent call last):
File stdin, line 1, in module
File string, line 1, in forward
Antoine Pitrou pit...@free.fr added the comment:
For the record, replacing /dev/null with conftest.out in the configure test
solves the detection problem (and allows Python to build cleanly). However,
there is then a problem in test_systemtap (even when replacing stap with
dtrace) since the
Antoine Pitrou pit...@free.fr added the comment:
(my last message was about building on OpenSolaris)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
Ned Deily n...@acm.org added the comment:
Just an FYI: the python.org installers for Mac OS X install the demos including
the turtle demo (which is probably the most useful of the bunch these days) in
/Applications/Python m.n/Extras/Demo. Depending on the default application
association for
Brett Cannon br...@python.org added the comment:
profile and cProfile could still conceivably be merged, even if it is under a
new name if someone found the time to do the compatibility work.
--
status: pending - open
___
Python tracker
Dave Malcolm dmalc...@redhat.com added the comment:
Attached is a new approach to doing this, based on Out-Of-Memory Testing
within http://sqlite.org/testing.html
This reads environment variables, and injects a fault at the given value of
serialno, and (optionally) ongoing failures
Changes by Boštjan Mejak bostjan.me...@gmail.com:
Removed file: http://bugs.python.org/file19370/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10200
___
Changes by Boštjan Mejak bostjan.me...@gmail.com:
--
assignee: - d...@python
components: +Documentation
nosy: +d...@python
versions: +3rd party, Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python
3.2, Python 3.3
___
Python tracker
Boštjan Mejak bostjan.me...@gmail.com added the comment:
...Also, please fix a typo here:
http://docs.python.org/library/string.html#string.Formatter.parse
This is used by vformat() to break the string in to either literal text,
or replacement fields.
Please fix in to to into.
--
Ned Deily n...@acm.org added the comment:
This was fixed by the changes for Issue6202: 2.7 (r73270) and 3.1 (r73268).
They removed the use of the obsolete MacOS encoding APIs and now use standard
POSIX detection.
--
nosy: +ned.deily
resolution: - duplicate
status: open - closed
Terry J. Reedy tjre...@udel.edu added the comment:
Various comments:
I usually expect things in stdlib to be usefully importable. Idlelib is clearly
an exception.
Also many people don't expect to find any code in a file named
__init__.py (and most of the time I agree with this).
Well,
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Attached patch, issue7061.diff, drops for Tk from turtle module title and
move its doc section under frameworks. I also fixed a couple of markup issues
that affected TOC rendering.
--
keywords: +patch
stage: -
Boštjan Mejak bostjan.me...@gmail.com added the comment:
There's also a possible typo here:
http://docs.python.org/library/string.html#format-specification-mini-language
format_spec ::=
[[fill]align][sign][#][0][width][,][.precision][type]
Don't you mean
Boštjan Mejak bostjan.me...@gmail.com added the comment:
Please fix all of those things. Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10200
___
Éric Araujo mer...@netwok.org added the comment:
Looks good. Remember to adjust the number of signs making the reST title
markup.
Nice that you’re fixing the ToC; I noticed a handful of issues some days ago
and thought about making a patch in a week or two. I’d open another report for
them
On Oct 26, 2010, at 10:05 AM, Alexander Belopolsky wrote:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Oct 26, 2010 at 12:31 PM, Guido van Rossum
Also many people don't expect to find any code in a file named __init__.py
(and most of the time I
agree
Éric Araujo mer...@netwok.org added the comment:
Hi Boštjan, thanks for the reports and suggestions.
A tip about versions. This field is used to mark the versions in which the bug
will be fixed, not all versions where the bug is found. 2.5 and 2.6 only get
security fixes; 2.7 and 3.1, the
Boštjan Mejak bostjan.me...@gmail.com added the comment:
I am terribly sorry for the red alarm. I didn't mean to. But since the typos
are all listed here, I don't want to copypaste the reports to d...@python.org.
Just please fix them. Thanks.
--
R. David Murray rdmur...@bitdance.com added the comment:
Yeah, I wish unittest hadn't been split up, and I really dislike the
organization of the email package, though I think I understand how it came
about historically. So I vote for flat :)
--
nosy: +r.david.murray
Antoine Pitrou pit...@free.fr added the comment:
Doing so would imply running each test many tens of thousands of
times, so perhaps we could run -c pass to establish at what serialno
the interpreter has fully started up, then use that as a starting
point when testing other scripts/modules.
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I think it a mistake that tkinter.__init__ is huge,
about as big as the other 13 modules added together.
It makes it really hard to dive into the code
That is certainly *not* a best practice.
--
nosy: +rhettinger
New submission from John Nagle na...@users.sourceforge.net:
ftplib doesn't check the status on socket close after writing. This can lead
to silently truncated files when sending files with ftplib.
A report of truncated files on comp.lang.python led me to check the source
code.
The ftplib
New submission from Paul Sokolovsky pfal...@users.sourceforge.net:
sqlite.Row class doesn't implement sequence protocol, which is rather
unfortunate, because it is described and expected to work like a tuple, with
extra mapping-like functionality.
Specific issue I hit:
Adding rows to PyGTK
Changes by Paul Sokolovsky pfal...@users.sourceforge.net:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
___
___
New submission from Eric Promislow er...@activestate.com:
The following code throws an exception in Python 3.1 (and 3.2 alpha),
but runs with 2.x:
exec('if True:\nprint(Hello)\n\n')
Traceback (most recent call last):
File stdin, line 1, in module
File string, line 4
Georg Brandl ge...@python.org added the comment:
I will have a go at the profiler situation.
I imagine the following: deprecate the cProfile module, and provide both
profiler classes from the profile module -- e.g. as PythonProfile and CProfile,
and provide Profile = PythonProfile. (From
Changes by Georg Brandl ge...@python.org:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10200
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
LGTM, if you verified that the label debugger is not in use at the moment.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7061
___
New submission from Étienne BERSAC bersac...@gmail.com:
Hi,
Here is the code to reproduce and the unexcpected behaviour :
21:37:41 bers...@st-francois-de-sales:~/Bureau/$ cat bug.py
from xml.etree.ElementTree import QName, ElementTree, Element, SubElement
import sys
head =
R. David Murray rdmur...@bitdance.com added the comment:
I can reproduce this on 3.1 but not py3k trunk.
--
nosy: +benjamin.peterson, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10204
Georg Brandl ge...@python.org added the comment:
Fixed in r85849, r85850, and the third one isn't a typo.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10200
New submission from R. David Murray rdmur...@bitdance.com:
To reproduce:
python -c '
(Hint: don't do this on a slow terminal)
--
messages: 119646
nosy: r.david.murray
priority: critical
severity: normal
stage: needs patch
status: open
title: python program starting with unmatched
Changes by Georg Brandl ge...@python.org:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10199
___
___
Python-bugs-list
Benjamin Peterson benja...@python.org added the comment:
That's because it's fixed.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10204
___
Boštjan Mejak bostjan.me...@gmail.com added the comment:
I forgot to mention to remove the comma in the text This is used by
vformat()http://docs.python.org/library/string.html#string.Formatter.vformat
to
break the string into either literal text, or replacement fields. found at
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +giampaolo.rodola
stage: - unit test needed
versions: -Python 2.5, Python 2.6, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10202
Georg Brandl ge...@python.org added the comment:
I don't think that comma is an error; it's more a stylistic issue. You could
write it with and without, and both are correct. (Remember that TOOWTDI does
absolutely not apply to natural languages.)
--
R. David Murray rdmur...@bitdance.com added the comment:
The fix is not something that can be backported to 3.1? (This is a regression
relative to 2.x).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10204
STINNER Victor victor.stin...@haypocalc.com added the comment:
... every call to PyRun_InteractiveOneFlags immediately returns
(the PyUnicode_FromString(stdin) in within PySys_GetObject() fails
to allocate memory); this leads to a tight loop sending the total
refcount to stderr:
I think
Antoine Pitrou pit...@free.fr added the comment:
It sounds more like an issue in socket.close(), right?
--
nosy: +exarkun, loewis, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10202
Benjamin Peterson benja...@python.org added the comment:
2010/10/26 R. David Murray rep...@bugs.python.org:
R. David Murray rdmur...@bitdance.com added the comment:
The fix is not something that can be backported to 3.1? (This is a
regression relative to 2.x).
No, it's not. The fix was a
Marc-Andre Lemburg m...@egenix.com added the comment:
Ronald Oussoren wrote:
Ronald Oussoren ronaldousso...@mac.com added the comment:
Marc-Andre: does the current HEAD of the 2.7 and 3.2 branches work for you?
The build still has duplicate flags, but that doesn't seem to cause problems
New submission from Antoine Pitrou pit...@free.fr:
This recurrent crash appeared recently under the XP-4 buildbot, between r85816
and r85819. But none of these revisions looks related to potential file issues.
Each time the test just finishes with:
[...]
test_file2k
program finished with exit
Changes by Kevin Chen kc...@mit.edu:
--
nosy: +kchen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7978
___
___
Python-bugs-list mailing list
Jesús Cea Avión j...@jcea.es added the comment:
This is not a problem under Solaris 10. I guess it is a problem with
OpenSolaris/OpenIndiana/Illumos.
Can you confirm?.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10201
Antoine Pitrou pit...@free.fr added the comment:
This is not a problem under Solaris 10. I guess it is a problem with
OpenSolaris/OpenIndiana/Illumos.
Can you confirm?.
It's with the most recent OpenSolaris development build (build 134).
--
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I don't quite understand the problem. How exactly do you manage to lose data?
The ftp server should send a 226 status code to indicate success over the
control connection, and presumably it will do so only after receiving the
proper TCP
Peter Ingebretson pinge...@yahoo.com added the comment:
Closing due to general lack of support on python-dev. Some portion of this
implementation may come back as part of a PEP reference implementation.
--
resolution: - rejected
status: open - closed
New submission from Piotr Matuszewski pythl...@farmatex.com.pl:
mazovia is an old encoding for Polish language, it's modified cp437 (more info
at http://en.wikipedia.org/wiki/Mazovia_encoding and (in Polish, but tables are
useful anyway) http://pl.wikipedia.org/wiki/Mazovia_(kod) )
--
David Bolen db3l@gmail.com added the comment:
Can't really say why it's just hitting now more consistently but the failure is
an internal CRT exception during a file close, when it is handed what appears
to be an invalid FILE * (the internal structure has bad data).
I think it's more
New submission from STINNER Victor victor.stin...@haypocalc.com:
PyUnicode_EncodeFSDefault() and os.fsencode() should decompose the filename
(NFD) before encoding it to utf-8.
PyUnicode_DecodeFSDefault(AndSize)() and os.fsdecode() should precompose the
filename (NFC) after decoding it from
STINNER Victor victor.stin...@haypocalc.com added the comment:
I opened the issue #10209: Mac OS X: Decompose filenames on encode, and
precompose filenames on decode.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8423
Jesús Cea Avión j...@jcea.es added the comment:
Could this to be considered a bug in OpenSolaris?.
If not, I think this fix should be backported to 2.5/2.6/2.7/3.1.
Just for the record, I am asking for help to get a buildbot under OpenIndiana:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch for os.fsencode/fsdecode importing unicodedata in the function (instead
of a global import). unicodedata module is not builtin and is dynamically
loaded. We should maybe ignore ImportError if the module is not available? With
New submission from STINNER Victor victor.stin...@haypocalc.com:
Using -b command line option, os.get_exec_path() always produce a warning.
Example:
$ ./python -b
import os: os.get_exec_path({'PATH': ''})
.../Lib/os.py:395: BytesWarning: Comparison between bytes and string
path_listb =
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Okay, here is a new submission.
I've redesigned it to be more reminiscent of the Java version, by allowing the
barrier to have a Broken state and raising a BrokenBarrierError.
I've also redesigned the mechanism from a simple
David Bolen db3l@gmail.com added the comment:
Ok, when it fails, the failure always appears to be one of the
FileThreadingTests tests, with the affected close() call occurring within
_close_file, called from _close_and_reopen_file, called from
_test_close_open_io. It seems tough to
John Nagle na...@users.sourceforge.net added the comment:
Proper behavior for ftplib when sending is to send all desired data, then call
sock.shutdown(socket.SHUT_RDWR). This indicates that no more data will be
sent, and blocks until the receiver has acknowledged all their data.
mark saaltink platonic.liq...@gmail.com added the comment:
I built the latest 2.7, with tk/tcl 8.5, and see the same problem.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10118
___
R. David Murray rdmur...@bitdance.com added the comment:
I thought I tested this on 2.6, but I forgot that my system has now made 2.7
the default python. And now that you mention it, I vaguely remember this
feature getting added. Sorry for the noise.
--
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Oct 26, 2010 at 3:32 PM, Georg Brandl rep...@bugs.python.org wrote:
..
LGTM, if you verified that the label debugger is not in use at the moment.
Good point. I naively hoped that Sphinx would warn me about a
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in revision 85853.
Terry, please chime in if I missed anything that you would consider part of
this issue. Note that the speed vs. delay may not be just a doc issue. I
opened issue 10170 for that.
--
Gregor Lingl gregorli...@users.sourceforge.net added the comment:
First of all: I'd not like to see turtle.py converted into a package. I think
with the turtle module things should be as simple as possible and I don't see
any need to put approx. 100kB of code into an __init__.py and be it only
101 - 175 of 175 matches
Mail list logo