Ned Deily n...@acm.org added the comment:
Can we be sure it's harmless? A quick Google search turned up at least one
package that depends on Tkinter.__version__ (granted, for Python 2).
http://permalink.gmane.org/gmane.comp.python.matplotlib.general/24453
--
nosy: +ned.deily
New submission from de elyd...@gmail.com:
hi all,
I'm using win7, with Ff as default browser.
i wont to open url in other browser installed on my PC.
i tried:
url = 'http://www.google.com'
op = webbrowser.get('opera')
op.open(url)
and i get this error:
Traceback (most recent call last):
File
Charles-François Natali neolo...@free.fr added the comment:
It's not a bug.
so.readlines reads the subprocess' stdout until EOF is encountered, but in the
meantime, if it writes a lot to stderr, the corresponding pipe fills up, and
the subprocess blocks on the write.
You should use Popen's
Charles-François Natali neolo...@free.fr added the comment:
Here's a patch.
--
keywords: +needs review, patch
nosy: +charles-francois.natali, haypo
stage: - patch review
versions: +Python 3.3 -Python 2.7, Python 3.1
Added file: http://bugs.python.org/file0/mmap_exceptions.diff
Jan Papež honyc...@centrum.cz added the comment:
Did you try to use this?
q = quotedata(msg.as_string())
--
nosy: +honyczek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8050
___
New submission from Niels Heinen ni...@heinen.ws:
Running the python binary without a script or using the -i flag will
start the process in interactive mode. The interactive mode requires an
external module to be loaded: readline.
Per default behavior, Python also tries to load this module from
R. David Murray rdmur...@bitdance.com added the comment:
This is a general principle of how Python runs in interactive mode and is not
confined to loading readline. The same would be true for any module loaded
during startup, and there are quite a few that are so loaded. Since loading
Julian Taylor jtaylor.deb...@googlemail.com added the comment:
matplotlib fails to build due to this with 2.7.2rc1 in ubuntu oneiric (but its
seems simple to fix):
https://launchpad.net/ubuntu/+source/matplotlib/1.0.1-2ubuntu1/+build/2535369
--
___
Benjamin Peterson benja...@python.org added the comment:
2011/6/2 Ned Deily rep...@bugs.python.org:
Ned Deily n...@acm.org added the comment:
Can we be sure it's harmless? A quick Google search turned up at least one
package that depends on Tkinter.__version__ (granted, for Python 2).
New submission from Mark Mc Mahon mtnbikingm...@gmail.com:
Using some.msi where the first property is VT_EMPTY
Using COM:
from win32com.client import gencache
com_lib = gencache.EnsureModule('{000C1092---C000-0046}',
409, 1, 0)
com_msi = com_lib.Installer()
db =
Changes by Brian Curtin br...@python.org:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12239
___
___
Python-bugs-list
Changes by Brian Curtin br...@python.org:
--
stage: - needs patch
type: - behavior
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12239
___
New submission from Erik Bray erik.m.b...@gmail.com:
I have a use case where I have a small library of setup_hook functions for
various purposes that are used by multiple projects. Some projects may want to
use more than one of these setup_hooks.
I can certainly create a wrapper hook for
New submission from Tim Koopman python@nandoe.net:
Creating an empty header produces an exception when calling the encode function:
from email.header import Header
Header('', 'iso-8859-1').encode()
Traceback (most recent call last):
File stdin, line 1, in module
File
New submission from Eli Collins e...@assurancetechnologies.com:
It would be useful to have an environment marker which matched the compiler
being used when compiling a C extension.
Sometimes different compilers require different options (different lib names,
different flags, etc); distutils1
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12238
___
___
Python-bugs-list mailing list
R. David Murray rdmur...@bitdance.com added the comment:
I can't reproduce this. What exact version of Python are you using?
--
assignee: - r.david.murray
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
New submission from Bryce Verdier bryceverd...@gmail.com:
In the docs for getpass:
http://docs.python.org/release/2.6.6/library/getpass.html (as an example).
It hints that getuser() doesn't work on OSX. I tried this out and it works fine
for python 2.6 on 10.6.
I have included a patch for
Tim Koopman python@nandoe.net added the comment:
The default Arch Linux version: 3.2.0
Python 3.2 (r32:88445, Apr 15 2011, 11:09:05)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12241
Tim Koopman python@nandoe.net added the comment:
Looking at the source of 3.2.1, it appears this was already solved. Sorry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12241
___
Kyle Keating kkeat...@gmail.com added the comment:
This looks to break pretty good... I did confirm this on 3.0, I'm guessing 3.2
is the same.
import sys
import xml.dom
doc = xml.dom.getDOMImplementation().createDocument(None, 'xml', None)
Kyle Keating kkeat...@gmail.com added the comment:
oops, the first xml element in the output should read element00/ not
element/
just a typo! don't get confused!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12129
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
It is uncomfortable changing exception types have been a published API for over
a decade, so I'll leave this one open for a bit so that others can comment.
Most of the changes in the patch are correct and match their counterparts
New submission from Santoso Wijaya santoso.wij...@gmail.com:
Observe:
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on
win32
Type help, copyright, credits or license for more information.
from cStringIO import StringIO
result = StringIO('Hello, ')
R. David Murray rdmur...@bitdance.com added the comment:
I think you are correct that the Availability can be removed, since the actual
limits of the support are exactly as complicated as the code that supports
them, and should give *some* result on most (all?) platforms. However, OS/X is
R. David Murray rdmur...@bitdance.com added the comment:
No problem. It's too bad that regression slipped in to 3.2.0. I probably
fixed it by accident, since I rewrote a bunch of that code in 3.2.1 while
fixing a different bug.
--
resolution: - out of date
stage: -
New submission from Raymond Hettinger raymond.hettin...@gmail.com:
sys.float_info.rounds
1
--
assignee: docs@python
components: Documentation
messages: 137493
nosy: docs@python, rhettinger
priority: normal
severity: normal
status: open
title: Document the meaning of FLT_ROUNDS
Georg Brandl ge...@python.org added the comment:
1. The class for read-only objects is called StringI (the one for read-write
objects is StringO).
2./3. This is documented:
http://docs.python.org/library/stringio#cStringIO.StringIO
These differences between StringIO and cStringIO are
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
If I happen to not have the directory, $PREFIX/python3.3/site-packages, I get
an erroneous message telling me that I don't write permissions.
--
assignee: tarek
components: Distutils2
files: create-dir-if-nonexistent.diff
Santoso Wijaya santoso.wij...@gmail.com added the comment:
_ Should've read the docs again more carefully before submitting.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12244
___
New submission from George Patterson geopasc...@gmail.com:
I'm uncertain this is a bug, but it seems persistent over several machines and
I can't figure out where the issue lies.
Most of my troubleshooting has been on a MacBook Pro with Mac OS X version
10.6.7. I have a simple python script
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
sys.path is probably not relevant here (it's used to import python modules).
Can you print the value of os.environ['PATH'] instead?
--
nosy: +amaury.forgeotdarc
___
Python tracker
Brian Curtin br...@python.org added the comment:
Attached is a complete patch. All tests pass.
Lib/test/support.py
* Handle AttributeError, which Hirokazu noticed on pre-XP machines
Lib/test/test_os.py
* This sets up a three-deep directory tree and creates a symbolic link in the
middle
New submission from Barry A. Warsaw ba...@python.org:
I'm making this a release blocker for 2.7.2 because I want to ensure that the
change is deliberate and appropriate. This is triggered by a bug report in
Ubuntu where the change in behavior was noticed:
R. David Murray rdmur...@bitdance.com added the comment:
As I recall the issue that triggered the change was reported by Michael Foord,
so I'm adding him as nosy too.
--
nosy: +michael.foord, r.david.murray
___
Python tracker rep...@bugs.python.org
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
It's not indicated where one should run the command 'make html' in the
Building the documentation page, so when it failed for me when running it
from the cpython distribution root, I was left a little puzzled, searching
where the
Nick Coghlan ncogh...@gmail.com added the comment:
Hmm, that behaviour looks unrelated to the specific problem Michael reported.
The initial problem in this space was that defining __dir__() completely
determined the result of dir() calls, but object.__dir__() didn't actually
work, so you
Changes by Andreas Stührk andy-pyt...@hammerhartes.de:
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12248
___
___
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I don't believe there is any reason to have tightened up
the type constraints while fixing that - dir() should be
returning sorted(obj.__dir__()) and not caring about the
exact return type of the magic method.
+1
--
Ned Deily n...@acm.org added the comment:
The difference in behavior you are seeing does indeed have to do with the PATH
environment variable. When you start IDLE via a terminal shell, it inherits
the PATH value from your shell environment. path_helper(8) sets the default
value for a login
40 matches
Mail list logo