Marc-Andre Lemburg m...@egenix.com added the comment:
The problem is that the warnings module's init function does not adhere
to the standard Python naming scheme for extension modules: it's called
_PyWarnings_Init rather than init_warnings. This C helper module was
added to Python 2.6.
OTOH,
New submission from Bill McCloskey bi...@cs.berkeley.edu:
The code for resource_setrlimit in Modules/resource.c does not handle
reference counting properly. The following Python code segfaults for me
on Ubuntu 8.10 in Python 2.5.2 and also a custom-built 2.6.1.
--
import resource
l = [0, 0]
New submission from bones7456 bones7...@gmail.com:
http://docs.python.org/library/functions.html?highlight=zip#zip
In this page, the example is error:
Python 2.6.2 (r262:71600, Apr 24 2009, 10:04:30)
[GCC 4.3.3] on linux2
Type help, copyright, credits or license for more information.
x = [1,
bones7456 bones7...@gmail.com added the comment:
type(x)
type 'list'
type(x2)
type 'tuple'
It cann't be equal...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6084
___
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r72822.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6084
___
Ned Deily n...@acm.org added the comment:
Reopening as RELEASE BLOCKER.
r71936 does indeed install pydoc and idle with a 3 suffix. However, it
also removed the 2to3 and smtp.py scripts previously installed by
setup.py without providing any replacements for them, versioned or not.
Section
Ned Deily n...@acm.org added the comment:
With the decision to have references to py3k scripts always contain a
3, I agree that make fullinstall is no longer appropriate.
With r72723 and current py3k, however, there are still some issues.
Compare ls -l bin from 2.6.2, 3.0.1, and current
Ronald Oussoren ronaldousso...@mac.com added the comment:
Ned: the 2to3 is not installed anymore by the main makefiles, I don't know
why.
I'm actually happy that smtpd.py isn't installed anymore, this always
looked more like an example that a real tool to me.
--
New submission from Wentao Han wentao@gmail.com:
The invocation of socket.getfqdn to get FQDN of the host may delay for
several seconds on some platforms when no appropriate host name is found.
This causes lag when using SimpleXMLRPCServer and other class derived from
BaseHTTPServer for
New submission from Vikram U Shenoy vikram.u.she...@gmail.com:
Attached are two patches (for trunk and py3k):
* Correct a trivial typo in doanddont.rst
* Correct a mistake in urllib2.rst, where URLError was being used
instead of the HTTPError, in case the urllib2.urlopen() was raising an
Changes by Vikram U Shenoy vikram.u.she...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file14041/doc_typo_trunk_may_22_2009.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6086
Changes by Vikram U Shenoy vikram.u.she...@gmail.com:
Added file: http://bugs.python.org/file14042/doc_typo_py3k_may_22_2009.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6086
___
Ned Deily n...@acm.org added the comment:
Ronald, no changes were made to the makefiles, just to setup.py in
r71400 and r71936 (which also renamed idle and pydoc):
[...]
Modified: python/branches/py3k/setup.py
==
---
Georg Brandl ge...@python.org added the comment:
Committed in trunk r72830 and py3k r72831. Thanks!
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6086
Ned Deily n...@acm.org added the comment:
Sorry, my assertion no changes were made to the makefiles is not quite
correct. r71372 did change the altinstall target for Issue1590, the
precipitator of this issue.
--
___
Python tracker
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk:
When used with a build from source (i.e. non-installed) of Python,
get_python_lib gives the result (on Linux)
[prefix]/lib/python[version]
Shouldn't this be [prefix]/Lib?
Note that get_python_inc() returns Include. That's because it
New submission from Leeon leeon...@ca.com:
Python3.0.1 is not available when system locale is zh_TW.eucTW
Expected result: python3.0 interpreter should works fine.
Actual result: python3.0 interpreter can not execute any statement or
ran python program.
Steps to reproduce this bug:
1. Login
Antoine Pitrou pit...@free.fr added the comment:
I'm not sure why you changed PyCode_CheckLineNumber to
_PyCode_CheckLineNumber. Other than that, I suppose you know what you're
doing :)
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
I can't reproduce this on trunk (or 3.0 maint) on Gentoo Linux:
~/python/py3k./python
Python 3.1b1+ (py3k:72816, May 21 2009, 22:01:55)
[GCC 4.3.3] on linux2
Type help, copyright, credits or license for more information.
import locale
New submission from Mark Florisson markflorisso...@gmail.com:
'{0[0](10)}'.format([None])
Traceback (most recent call last):
File stdin, line 1, in module
SystemError: error return without exception set
--
components: Interpreter Core
messages: 88198
nosy: eggy
severity: normal
Jeffrey Yasskin jyass...@gmail.com added the comment:
I had two reasons to change PyCode_CheckLineNumber to
_PyCode_CheckLineNumber: First, its behavior is changing without its
signature changing. Without a name change, that could break users
silently (if there are any codesearch missed).
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r72832.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6079
___
New submission from Ivan Bykov ivan.by...@gmail.com:
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
IDLE 2.6.2
import zipfile
new = zipfile.ZipFile('C:\\x', 'w', zipfile.ZIP_DEFLATED)
zi = zipfile.ZipInfo('test',(1,2,3,4,5,6))
R. David Murray rdmur...@bitdance.com added the comment:
trunk and py3k debug build gives this:
'{0[0](10)}'.format([None])
python: Objects/stringlib/string_format.h:379: FieldNameIterator_next:
Assertion `0' failed.
zsh: abort ./python
--
nosy: +r.david.murray
Changes by R. David Murray rdmur...@bitdance.com:
--
priority: - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6089
___
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6089
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
Added in r72833.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6078
___
Georg Brandl ge...@python.org added the comment:
That is a good point. IMHO we'll be fine with a warning in the docs,
and fixing our own two instances. Martin, what do you think?
--
assignee: - loewis
nosy: +georg.brandl, loewis
___
Python tracker
Eric Smith e...@trueblade.com added the comment:
Any character after a ']' other than '.' or '[' triggers this bug:
'{0[0]x}'.format([None])
Assertion failed: (0), function FieldNameIterator_next, file
Objects/stringlib/string_format.h, line 379.
I'll fix it this weekend.
--
Robert Cronk cron...@gmail.com added the comment:
I have had this problem with 2.6.1 on windows from multiple _threads_
instead of multiple processes. Is that not supported either? If not,
what is the workaround for logging from multiple threads? Shouldn't it
be easy to use a semaphore
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6081
___
___
Python-bugs-list mailing
Jean-Paul Calderone exar...@divmod.com added the comment:
I would certainly like to, but unfortunately at present I am unable to.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6071
___
Joe Amenta ament...@msu.edu added the comment:
Python writes compiled files with the same file permissions as the
source module. In your specific example:
$ python2.6 -c 'import module'
This will produce module.pyc with the same attributes as module.py
While I am not familiar with modifying
Jean-Paul Calderone exar...@divmod.com added the comment:
Perhaps Gregory has some idea about how this can most easily be
resolved, since I think he did the work on #3745 which introduced this
change in behavior.
--
nosy: +gregory.p.smith
___
Python
Benjamin Peterson benja...@python.org added the comment:
I don't think it matters which version of 2to3 is used. It has a same
function.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5756
Oleg Broytmann p...@phd.pp.ru added the comment:
I will try to look at import.c, though I must say I am a bad C
programmer. I have switched to Python after ten years of Pascal.
Low priority is ok.
--
___
Python tracker rep...@bugs.python.org
Gregory P. Smith g...@krypto.org added the comment:
to confirm, this is only a problem in 2.7 trunk right?
if so, i won't rush a fix.
but yes fallback code for legacy types or adding buffer api support to
array would work.
--
assignee: - gregory.p.smith
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
This exact problem? Single process, multiple threads, one single handler
for a given file? Can you post an example which demonstrates your issue?
Multiple threads *are* supported by the logging package, as mentioned in
the documentation. If
Robert Cronk cron...@gmail.com added the comment:
I will go through the code and make sure I am not mistaken, but I do
believe I have a single process, multiple threads, and only one handler
for this file and I'm getting the same types of error messages shown on
this page. I'm probably doing
New submission from Jack Miller j...@codezen.org:
I have some code that gets a Pycurses window object, grabs the standard
ncurses WINDOW* out of it and proceeds to use that as usual. Works great
on Linux. Segfaults on FreeBSD/amd64.
static PyObject * mvw(PyObject *self, PyObject *args)
{
R. David Murray rdmur...@bitdance.com added the comment:
Applied to trunk in r72835, with some test fixes after (to skip the test
if SSL isn't installed). Applied to py3k in r72836, ditto on fixes. I
also backported the fix and test to 26-maint and 30-maint.
--
nosy: +r.david.murray
R. David Murray rdmur...@bitdance.com added the comment:
Antoine, by reused for f's repr do you mean adding 'name=' into
the existing repr (probably before the encoding)?
Benjamin, by bytes do you mean BytesIO objects? Would it be
acceptible to give them a 'name' attribute set to 'None'?
Antoine Pitrou pit...@free.fr added the comment:
Antoine, by reused for f's repr do you mean adding 'name=' into
the existing repr (probably before the encoding)?
Exactly.
--
___
Python tracker rep...@bugs.python.org
43 matches
Mail list logo