New submission from James Morgan jmorg1...@gmail.com:
Hi,
For some reason I have recently lost the ability to open IDLE for python 2.6.2.
I was able to open it for 2.5 without issue. I reinstalled 2.6.2 several times,
removed 2.5, tried 2.6.5 instead, still cannot load IDLE. I can load the
Martin v. Löwis mar...@v.loewis.de added the comment:
Why do you think this is a bug in Python? It rather sounds like you
misconfigured your system somehow. Without access to the system, it is
difficult to guess what the misconfiguration might be, though.
--
nosy: +loewis
holger krekel holger.kre...@gmail.com added the comment:
Thanks for helping with this! Attached is a patch that adds a keyword
check=True to getsourcefile so that findsource can defer existence-checking
until after cache lookup. Eventually, findsource will still raise an IOError
if it can't
James Morgan jmorg1...@gmail.com added the comment:
Thanks for the reply.
I have used idle before on this system without issue, and since 2.5 worked I
figured there was some difference between 2.5 and 2.6 which was causing the
issue.
I have found since that the issue is likely not with idle
Pascal Chambon chambon.pas...@gmail.com added the comment:
Hello
I advocate the inclusion of this patch to the 2.6 maintenance branch, because
currently the io module in this branch (which is still the most recent 2.X
version released) is simply broken.
People using it will certainly
Mark Dickinson dicki...@gmail.com added the comment:
New patch (factorial3.patch) addressing all of Alexander's points except the
one about including Python source somewhere.
I also expanded the lookup table to 20 entries on LP64 systems.
--
Added file:
Martin v. Löwis mar...@v.loewis.de added the comment:
I am new to this help system
Please understand that this is not a help system at all.
Instead, it is a bug tracker: a way for people to contribute
to Python, by reporting bugs or contributing code. For help,
please contact one of the Python
Stefan Krah stefan-use...@bytereef.org added the comment:
I can't pinpoint the exact causes for each individual test failure. I assumed
that they are caused by threading/signal issues, because the tests pass when
Python is compiled --without-threads.
But here's a list of possible culprits
Stefan Krah stefan-use...@bytereef.org added the comment:
The FreeBSD-6.4-RELEASE-i386 buildbot has similar libpthread issues.
This is just in:
==
FAIL: test_send_signal (test.test_subprocess.POSIXProcessTestCase)
Mark Dickinson dicki...@gmail.com added the comment:
And the same patch, but with a (deliberately simple) pure Python version of the
algorithm in test_math.py.
--
Added file: http://bugs.python.org/file17352/factorial4.patch
___
Python tracker
James Morgan jmorg1...@gmail.com added the comment:
Sorry, I guess I misunderstood the function as I saw some issues which appeared
similar in style to my own.
Never mind this then I will seek help elsewhere. Thankyou.
--
___
Python tracker
Changes by James Morgan jmorg1...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8723
___
___
Python-bugs-list
New submission from INADA Naoki songofaca...@gmail.com:
http://docs.python.org/dev/library/simplexmlrpcserver.html#SimpleXMLRPCServer.SimpleXMLRPCServer
bind_and_activate parameter is described but not defined in directive.
--
messages: 105803
nosy: naoki
priority: normal
severity:
Changes by INADA Naoki songofaca...@gmail.com:
--
assignee: - d...@python
components: +Documentation
nosy: +d...@python
versions: +Python 2.6, Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8724
New submission from STINNER Victor victor.stin...@haypocalc.com:
I introduced initfsencoding() in #8610 to ensure that Py_FileSystemEncoding is
not more NULL. In the discussion, Marc Lemburg noticed that falling back the
UTF-8 on nl_langinfo(CODESET) error is a bad idea: ASCII is better (I
STINNER Victor victor.stin...@haypocalc.com added the comment:
I commited the last patch (fall back to UTF-8): r81190 (3.x), blocked in 3.1
(r81191).
I opened a new issue for the UTF-8/ASCII fallback: #8725, because the ASCII
fallback is a different issue.
--
resolution: - fixed
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
dependencies: +Create PyUnicode_EncodeFSDefault() function, Python3 doesn't
support locale different than utf8 and an non-ASCII path (POSIX)
nosy: +Arfrever, lemburg, loewis, pitrou
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Sat, May 15, 2010 at 6:32 AM, Mark Dickinson rep...@bugs.python.org wrote:
New patch (factorial3.patch) addressing all of Alexander's points except the
one about including Python source somewhere.
Thanks for making
Mark Dickinson dicki...@gmail.com added the comment:
It's a matter of taste, but I was taught that C allows trailing commas
in initializers specifically for the cases like this to avoid using a
leading comma.
Unfortunately, I think C89 doesn't allow for this, and there are tracker issues
Mark Dickinson dicki...@gmail.com added the comment:
Ah; Alexander's right: I was misremembering. An extra comma in an *enum*
list isn't allowed (cf. issue 5889); an extra comma in an array initializer
is. I'll rewrite that bit.
--
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
bootstrap failure on Windows: import did use default error handler,
it uses surrogateescape error handler, but PyUnicode_EncodeString()
doesn't have codec fast-path for MBCS+surrogateescape.
I enabled shortcuts in
STINNER Victor victor.stin...@haypocalc.com added the comment:
PyUnicode_AsEncodedString() contains a special path for the file system
encoding. I don't think that it is still needed, but I don't know how to check
that.
/* During bootstrap, we may need to find the encodings
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
There is one place in the notes still referring to
factorial_part_product.
--
nosy: +Alexander.Belopolsky
___
Python tracker rep...@bugs.python.org
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
The comment for bit_length is missing a space or two:
Objects/longobject.c.Someday
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8692
Mark Dickinson dicki...@gmail.com added the comment:
There is one place in the notes still referring to
factorial_part_product.
Hmm. I can't find it. Can you be more specific?
I'll fix the spaces before 'Someday'.
--
___
Python tracker
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Sorry for terseness. Sending it from my phone.
The line was in factorial4.patch:
+ * The factorial_partial_product function computes the product of all
odd j in
Hmm. I can't find it. Can you be more specific?
Mark Dickinson dicki...@gmail.com added the comment:
Okay, thanks. I'm still not seeing what's wrong with this, though (sorry for
being slow :( )
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8692
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
s/partial_product/odd_part/
It looks like you made this change in some places but not all.
On May 15, 2010, at 11:16 AM, Mark Dickinson rep...@bugs.python.org
wrote:
Mark Dickinson dicki...@gmail.com added the comment:
Mark Dickinson dicki...@gmail.com added the comment:
But factorial_partial_product and factorial_odd_part both exist: the former is
just computing the product of all odd integers in the given interval, while the
latter computes the odd part of factorial(n).
I've double checked the comments
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Sorry I didn't realize that ...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8692
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited as r81194 (py3k), blocked in 3.1 (r81195).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8715
STINNER Victor victor.stin...@haypocalc.com added the comment:
PyUnicode_AsEncodedString() contains a special path for the file system
encoding. I don't think that it is still needed, but I don't know how to check
that. = read msg105810
--
___
Brett Cannon br...@python.org added the comment:
Since Martin seemed to fix this, closing the issue.
--
nosy: +brett.cannon
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8708
Antoine Pitrou pit...@free.fr added the comment:
Committed in r81203. Thank you, Pascal!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: -Python 2.7, Python 3.1, Python 3.2
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
The current patch gives much smaller benefits than the originally posted
benchmarks, although they are still substantial:
$ ./python -m timeit -s a = set(range(10)); sd = a.difference; b =
set(range(1000)) sd(b)
- before: 5.56 msec per loop
New submission from Antoine Pitrou pit...@free.fr:
[...]
test_capi
test test_capi failed -- Traceback (most recent call last):
File /home/antoine/py3k/__svn__/Lib/test/test_capi.py, line 49, in
test_no_FatalError_infinite_loop
b'Fatal Python error:'
AssertionError: b'' != b'Fatal Python
New submission from Antoine Pitrou pit...@free.fr:
[...]
test_import
Warning -- sys.path was modified by test_import
test test_import failed -- Traceback (most recent call last):
File /home/antoine/py3k/__svn__/Lib/test/test_import.py, line 167, in
test_module_with_large_stack
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +jyasskin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8726
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
It turns out that the test segfaults:
$ ./python -E -bb -c import _testcapi; _testcapi.crash_no_current_thread()
Erreur de segmentation (core dumped)
And here is the backtrace:
Program terminated with signal 11, Segmentation fault.
#0
Antoine Pitrou pit...@free.fr added the comment:
I'm trying a fix in r81209. If the buildbots don't complain I'll close the
issue.
--
assignee: barry - pitrou
stage: needs patch - committed/rejected
status: open - pending
___
Python tracker
Jeffrey Yasskin jyass...@gmail.com added the comment:
Ah, darn. Any thoughts on what do to? Shall I make the test conditional on a
pydebug build, or just remove it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8726
Antoine Pitrou pit...@free.fr added the comment:
This can be narrowed down to the following test sequence:
$ ./python -E -m test.regrtest test_heapq test_import
test_heapq
test_import
Warning -- sys.path was modified by test_import
test test_import failed -- Traceback (most recent call last):
Antoine Pitrou pit...@free.fr added the comment:
Your test could call PyThreadState_Get() explicitly, before calling
PyErr_SetString() (which should then never get executed).
--
___
Python tracker rep...@bugs.python.org
New submission from Sridhar Ratnakumar sridh...@activestate.com:
On Linux, with Python 2.7 trunk (built on May 13th)
[...]
File
/home/apy/as/pypm-trunk/eggs/httplib2-0.6.0-py2.7.egg/httplib2/__init__.py,
line 1129, in request
(response, content) = self._request(conn, authority, uri,
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Looks like this has been fixed, at least on Python trunk (2.7).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6645
___
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com:
The Mapping ABC's __eq__ method should return NotImplemented if the other type
is not a Mapping, to give the other type a chance at the comparison. Right now
it simply returns false.
The comparison methods on the other
Brett Cannon br...@python.org added the comment:
THe sys.path modification warning is a red herring; the test simply was not
cleaning up after itself properly. That little bit is fixed in r81214.
Don't know about the cause of the actual failure yet.
--
Changes by Nir Aides n...@winpdb.org:
Removed file: http://bugs.python.org/file17330/bfs.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Nir Aides n...@winpdb.org added the comment:
Updated bfs.patch to patch cleanly updated py3k branch. Use:
$ patch -p1 bfs.patch
--
Added file: http://bugs.python.org/file17356/bfs.patch
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
I found the cause of the failure.
When Barry implemented PEP 3147, he made PyPycLoader.bytecode_path() operate as
if the only possible bytecode file one would want is the __cached__ one. That
obviously is not accurate in the face of source-less
Changes by Brett Cannon br...@python.org:
--
priority: normal - critical
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8727
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
The gentoo-3.x buildbot also shows the threading problems again:
test test_subprocess failed -- Traceback (most recent call last):
File
/home/buildslave/python-trunk/3.x.norwitz-x86/build/Lib/test/test_subprocess.py,
line 770, in
Changes by Éric Araujo mer...@netwok.org:
--
assignee: tarek - skrah
nosy: +merwok, skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue858809
___
Éric Araujo mer...@netwok.org added the comment:
(Fixing Roundup form bug)
--
assignee: skrah - tarek
nosy: -skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue858809
___
Changes by Éric Araujo mer...@netwok.org:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue858809
___
___
Python-bugs-list mailing list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3686
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
Note: Using find -delete avoids the extra process spawning for rm. However, if
the -f option is really necessary, we’ll have to use rm.
Someone has an idea about the imperfect regex/glob pattern?
--
nosy: +merwok
Changes by Éric Araujo mer...@netwok.org:
--
assignee: tarek - sjoerd
components: +Distutils2 -Distutils
nosy: +merwok, sjoerd
versions: +Python 2.5, Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4508
Éric Araujo mer...@netwok.org added the comment:
(Fixing damn HTML form changing select values, really sorry)
--
assignee: sjoerd - tarek
nosy: -sjoerd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4508
Changes by Éric Araujo mer...@netwok.org:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4508
___
___
Python-bugs-list mailing list
Unsubscribe:
Skip Montanaro s...@pobox.com added the comment:
Note: Using find -delete avoids the extra process spawning for rm.
The -delete expression isn't universally available. For example, it is not
present on Solaris. Better just to stick with the reliable rm.
Skip
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
Version 2:
- #8715 has been commited: patch PyUnicode_EncodeFSDefault()
- fix the documentation according the changes
--
Added file: http://bugs.python.org/file17357/fsencoding_ascii-2.patch
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17353/fsencoding_ascii.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8725
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
New patch fixing this issue:
- os.get_exec_path() type now depends on the OS: str on Windows, bytes on Unix
- os.get_exec_path(None) uses os.environ on Windows, os.environb on Unix
- os.get_exec_path(env) uses 'PATH' or b'PATH'
STINNER Victor victor.stin...@haypocalc.com added the comment:
pitou Why wouldn't you give byte variables in env too?
Ok, attached patch canonicalize env keys and values to bytes. If a variable is
defined twice (str name, bytes name), a ValueError is raised.
The patch depends on #8513: it
STINNER Victor victor.stin...@haypocalc.com added the comment:
Python 3.1 accepts duplicate variables (str name, bytes name). It creates the
two variables is a random order:
subprocess.call(['env'], env={'xx': 'str', b'xx': 'bytes'})
xx=str
xx=bytes
0
subprocess.call(['env'], env={'xxx':
Benjamin Peterson benja...@python.org added the comment:
A test would be good.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8729
___
R. David Murray rdmur...@bitdance.com added the comment:
Can you provide a small code example that will reproduce the problem?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8728
Heikki Toivonen hjtoi-bugzi...@comcast.net added the comment:
Since SSLv2 is insecure, could you at least add a warning for that protocol? I
think there was a separate issue for removing it altogether, but could a
warning be added here?
The documentation should mention that
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
Will do, sometime this week.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8729
___
70 matches
Mail list logo