[issue2887] bsddb 4.6.4 needs to be ported to Python 3.0

2008-05-25 Thread Gregory P. Smith

Gregory P. Smith [EMAIL PROTECTED] added the comment:

I believe Jesus wants to do this is such a way that bsddb.h and _bsddb.c
are a single code base with #ifdef's that compiles on 2.x and 3.x at once.

--
assignee:  - jcea

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2887
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2961] Two error messages inconsistent

2008-05-25 Thread Chester

Chester [EMAIL PROTECTED] added the comment:

For the case  a + 1  I recommend:
TypeError: can't concatenate 'str' and 'int' objects

And for the case  1 + a  I recommend:
TypeError: can't concatenate 'int' and 'str' objects


Consistency matters!

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2961
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2962] Goodbye, 'global' statement!

2008-05-25 Thread Chester

New submission from Chester [EMAIL PROTECTED]:

The 'global' statement is used to mark a variable as global. It is
used in functions to allow statements in the function body to rebind
global variables. Using the 'global' statement is generally
considered poor style and should be avoided whenever possible.
Example:

count = 1
def inc():
global count
count = count + 1


Since the use of the 'global' statement is frowned upon, it should be
removed from Python 3.0.

--
components: Interpreter Core
messages: 67322
nosy: chester
severity: normal
status: open
title: Goodbye, 'global' statement!
type: feature request
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2962
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2925] Revert Queue rename in 2.6

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Renamed and fixed references in r63599, r63600, r63603.

--
nosy: +georg.brandl
resolution:  - accepted
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2925
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2923] Revert ConfigParser rename in 2.6

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Renamed module, applied patch and adapted some further references in
r63605-07.

--
nosy: +georg.brandl
resolution:  - accepted
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2923
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2879] Rename _winreg to winreg

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Renamed in 3k in r63610, added note in 2.6 docs in r63611, added fixer
entry in r63612.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2879
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2961] Two error messages inconsistent

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

I don't see a problem here. You may be mislead by the assumption that
the error messages are generated by the parser, which they aren't --
they are generated at runtime by the objects you try to add.

The two types report their failure to do the operation differently --
strings are usually concatenated, so the first one makes sense for
strings, but ints have no such notion.

--
nosy: +georg.brandl
resolution:  - rejected
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2961
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2962] Goodbye, 'global' statement!

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

First, global is frowned upon in large projects, but sometimes useful in
quick  dirty scripts.

Second, the time for such changes to Python 3.0 is past.

Third, this at least needs a PEP.

--
nosy: +georg.brandl
resolution:  - rejected
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2962
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2963] Method cache is broken in Py3

2008-05-25 Thread Stefan Behnel

New submission from Stefan Behnel [EMAIL PROTECTED]:

The method cache is deactivated in current Py3. As Lisandro Dalcín
noticed, the following code in typeobject.c always returns false for a
Py3 identifier:

#define MCACHE_CACHEABLE_NAME(name) \
PyString_CheckExact(name) \
PyString_GET_SIZE(name) = MCACHE_MAX_ATTR_SIZE

--
components: Interpreter Core
messages: 67328
nosy: scoder
severity: normal
status: open
title: Method cache is broken in Py3
type: behavior
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2963
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2853] *** glibc detected *** python: double free or corruption

2008-05-25 Thread Gregory P. Smith

Gregory P. Smith [EMAIL PROTECTED] added the comment:

Could you supply some real code in a test case and better describe the
environment needed to reproduce this?  (what OS for the client and
server, 64bit, 32bit, mount options, etc).

--
nosy: +gregory.p.smith
priority:  - critical

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2853
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2782] datetime/date strftime() method and time.strftime() inconsistency

2008-05-25 Thread Gregory P. Smith

Gregory P. Smith [EMAIL PROTECTED] added the comment:

Yes, sounds like a bug.  I'll fix it.

But should time.strftime allow a unicode format string as input in the
first place?  For backwards compatibility I'd say yes.  But.. Sane
output can not be guaranteed from time.strftime when given a unicode
format string if it contains multibyte characters that happen to have a
valid (bytewise) % format code in them within a multibyte character. 
Anyways the output is always byte string without a specified encoding so
giving it actual unicode characters as input is not advised (at least in
2.6, i didn't check 3.0).

there's an amusing comment in Modules/datetimemodule.c:

/* I sure don't want to reproduce the strftime code from the time module,
 * so this imports the module and calls it.  All the hair is due to
 * giving special meanings to the %z, %Z and %f format codes via a
 * preprocessing step on the format string.
...
*/
static PyObject * wrap_strftime(

--
assignee:  - gregory.p.smith
nosy: +gregory.p.smith
priority:  - normal

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2782
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2669] bsddb iterkeys sliently fails when database modified during iteration

2008-05-25 Thread Gregory P. Smith

Gregory P. Smith [EMAIL PROTECTED] added the comment:

Fixed in trunk r63617.

Fix issue2669: bsddb simple/legacy interface iteration silently fails
when database changes size during iteration.

It now behaves like a dictionary, the next attempt to get a value from
the iterator after the database has changed size will raise a RuntimeError.

--
assignee:  - gregory.p.smith
nosy: +gregory.p.smith
priority:  - normal
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2669
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2964] instancemethod_descr_get() lacks an INCREF

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Thanks, fixed in r63620.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2964
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2891] urllib not handling ftp servers that do not support REST

2008-05-25 Thread Gregory P. Smith

Gregory P. Smith [EMAIL PROTECTED] added the comment:

I believe that means we can close this issue here?  If not, please reopen.

--
nosy: +gregory.p.smith
resolution:  - invalid
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2891
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2595] Multiple integer overflows in imgfile extension module lead to buffer overflow

2008-05-25 Thread Gregory P. Smith

Changes by Gregory P. Smith [EMAIL PROTECTED]:


--
priority:  - low

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2595
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2523] binary buffered reading is quadratic

2008-05-25 Thread Gregory P. Smith

Changes by Gregory P. Smith [EMAIL PROTECTED]:


--
nosy: +gregory.p.smith
priority:  - high

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2523
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2949] Windows installer doesn't include OpenSSL license and notice

2008-05-25 Thread Gregory P. Smith

Changes by Gregory P. Smith [EMAIL PROTECTED]:


--
priority:  - release blocker

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2949
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2455] stat.ST_CTIME and stat.ST_ATIME problem

2008-05-25 Thread Gregory P. Smith

Changes by Gregory P. Smith [EMAIL PROTECTED]:


--
resolution:  - invalid
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2455
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2254] Python CGIHTTPServer information disclosure

2008-05-25 Thread Gregory P. Smith

Gregory P. Smith [EMAIL PROTECTED] added the comment:

Could you please create a test case for this as a patch to
Lib/test/test_httpservers.py?

thanks!

--
assignee:  - gregory.p.smith
nosy: +gregory.p.smith
priority:  - normal

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2254
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2588] PyOS_vsnprintf() underflow leads to memory corruption

2008-05-25 Thread Gregory P. Smith

Changes by Gregory P. Smith [EMAIL PROTECTED]:


--
assignee:  - gregory.p.smith
keywords: +patch
nosy: +gregory.p.smith
priority:  - normal

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2588
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2589] PyOS_vsnprintf() potential integer overflow leads to memory corruption on esoteric architectures

2008-05-25 Thread Gregory P. Smith

Changes by Gregory P. Smith [EMAIL PROTECTED]:


--
assignee:  - gregory.p.smith
nosy: +gregory.p.smith
priority:  - low

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2589
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2901] error: can't allocate region from mmap() when receiving big chunk of data

2008-05-25 Thread Gregory P. Smith

Changes by Gregory P. Smith [EMAIL PROTECTED]:


--
nosy: +gregory.p.smith
priority:  - normal

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2901
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2964] instancemethod_descr_get() lacks an INCREF

2008-05-25 Thread Stefan Behnel

New submission from Stefan Behnel [EMAIL PROTECTED]:

Here is a fix for Objects/classobject.c in Py3.0a5 that fixes a ref
count crash for classmethods.

--
components: Interpreter Core
files: instancemethod-fix.patch
keywords: patch
messages: 67334
nosy: scoder
severity: normal
status: open
title: instancemethod_descr_get() lacks an INCREF
type: crash
versions: Python 3.0
Added file: http://bugs.python.org/file10434/instancemethod-fix.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2964
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-05-25 Thread Georg Brandl

New submission from Georg Brandl [EMAIL PROTECTED]:

The weak dictionaries in the weakref module still present the 2.x
dictionary methods (iter*). This should be fixed for consistency with 3k
dicts.

--
components: Library (Lib)
messages: 67339
nosy: georg.brandl
priority: critical
severity: normal
status: open
title: Update interface of weakref dictionaries
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-05-25 Thread Gregory P. Smith

Changes by Gregory P. Smith [EMAIL PROTECTED]:


--
keywords: +patch
nosy: +gregory.p.smith
priority:  - normal

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2218
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2963] Method cache is broken in Py3

2008-05-25 Thread Stefan Behnel

Stefan Behnel [EMAIL PROTECTED] added the comment:

Here is a patch that fixes this.

--
keywords: +patch
Added file: http://bugs.python.org/file10435/py3k-method-cache-fix.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2963
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2963] Method cache is broken in Py3

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Committed patch as r63621. Thanks!

--
nosy: +georg.brandl
resolution:  - accepted
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2963
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2966] pydoc doesnt show 'from module import identifier' in the docs

2008-05-25 Thread Peter Puk

New submission from Peter Puk [EMAIL PROTECTED]:

When you try to make a doc from your programm woth pydoc, it doesnt show
the the identifiers in the modules section. when i put 'from module
import identifier' in my code

--
components: Extension Modules
messages: 67340
nosy: peter.puk
severity: normal
status: open
title: pydoc doesnt show 'from module import identifier' in the docs
versions: Python 2.5

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2966
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2967] [PATCH] Rename Tkinter to tkinter in test_tcl

2008-05-25 Thread Ismail Donmez

Changes by Ismail Donmez [EMAIL PROTECTED]:


--
type:  - compile error

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2967
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2967] [PATCH] Rename Tkinter to tkinter in test_tcl

2008-05-25 Thread Ismail Donmez

New submission from Ismail Donmez [EMAIL PROTECTED]:

Tkinter module is renamed to tkinter. test_tcl should be updated for this. 
Patch attached.

--
components: Tests
files: tcl.patch
keywords: patch
messages: 67341
nosy: cartman
severity: normal
status: open
title: [PATCH] Rename Tkinter to tkinter in test_tcl
versions: Python 3.0
Added file: http://bugs.python.org/file10436/tcl.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2967
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2967] [PATCH] Rename Tkinter to tkinter in test_tcl

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Thanks, fixed in r63624.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2967
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2966] pydoc doesnt show 'from module import identifier' in the docs

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Can you expand a bit? What exactly do you expect in the generated
documentation that is not there?

--
nosy: +georg.brandl

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2966
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2949] Windows installer doesn't include OpenSSL license and notice

2008-05-25 Thread Martin v. Löwis

Martin v. Löwis [EMAIL PROTECTED] added the comment:

This is now fixed in r63625 and r63626.

--
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2949
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue756093] complex pow() crash on Alpha

2008-05-25 Thread Ali Polatel

Ali Polatel [EMAIL PROTECTED] added the comment:

Probably related to this. test_pow fails on alpha with both 2.4.4 and 2.5.2.

test test_pow failed -- Traceback (most recent call last):
  File
/var/tmp/portage/dev-lang/python-2.4.4-r9/work/Python-2.4.4/Lib/test/test_pow.py,
line 109, in test_bug705231
eq(pow(a, 1.23e167), 1.0)
ValueError: negative number cannot be raised to a fractional power

I'll test with 2.6 and report back.

--
nosy: +hawking


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue756093

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue643841] New class special method lookup change

2008-05-25 Thread Nick Coghlan

Changes by Nick Coghlan [EMAIL PROTECTED]:


Added file: http://bugs.python.org/file10438/typetools.py


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue643841] New class special method lookup change

2008-05-25 Thread Nick Coghlan

Changes by Nick Coghlan [EMAIL PROTECTED]:


Removed file: http://bugs.python.org/file10389/typetools.py


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue643841] New class special method lookup change

2008-05-25 Thread Nick Coghlan

Changes by Nick Coghlan [EMAIL PROTECTED]:


Removed file: http://bugs.python.org/file10390/test_typetools.py


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue643841] New class special method lookup change

2008-05-25 Thread Nick Coghlan

Changes by Nick Coghlan [EMAIL PROTECTED]:


Removed file: http://bugs.python.org/file10402/typetools.rst


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue643841] New class special method lookup change

2008-05-25 Thread Nick Coghlan

Nick Coghlan [EMAIL PROTECTED] added the comment:

Updated test cases and documentation to cover use of a descriptor for
_target in a subclass, and uploaded most recent local copies of all 3 files.

--
keywords: +patch
versions: +Python 3.0 -Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, 
Python 2.4, Python 2.5
Added file: http://bugs.python.org/file10437/typetools.rst


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue643841] New class special method lookup change

2008-05-25 Thread Nick Coghlan

Changes by Nick Coghlan [EMAIL PROTECTED]:


Added file: http://bugs.python.org/file10439/test_typetools.py


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue643841

___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2875] Rename the thread module to _thread

2008-05-25 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Done in r63631. Fixer added in r63627 and r63629, notices to 2.6 docs
added in r63630.

Do you still want to warn when importing thread or dummy_thread directly
in 2.6, like PEP 3108 says?

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2875
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2968] Test_imports takes a long time to run

2008-05-25 Thread Martin v. Löwis

New submission from Martin v. Löwis [EMAIL PROTECTED]:

Test_imports takes a very long time to complete. I believe this is due
to the individual refactorings taking such a long time, even though they
apply to small pieces of code only.

--
messages: 67348
nosy: loewis
severity: normal
status: open
title: Test_imports takes a long time to run

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2968
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2968] Test_imports takes a long time to run

2008-05-25 Thread Martin v. Löwis

Changes by Martin v. Löwis [EMAIL PROTECTED]:


--
assignee:  - collinwinter
components: +2to3 (2.x to 3.0 conversion tool)
nosy: +collinwinter

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2968
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2969] Test_imports fails in 2.6

2008-05-25 Thread Martin v. Löwis

New submission from Martin v. Löwis [EMAIL PROTECTED]:

Test_imports fails for selected cases, when run under Python 2.6.
E.g. from_import_usage fails for rewriting __builtin__ print, and also
for __builtin__ zip.

--
assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
messages: 67349
nosy: collinwinter, loewis
severity: normal
status: open
title: Test_imports fails in 2.6

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2969
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2938] Interactive help writes to the python install destination directory

2008-05-25 Thread Martin v. Löwis

Martin v. Löwis [EMAIL PROTECTED] added the comment:

Thanks for the report. This should now be fixed with r63643, r63644 and
r63645.

--
nosy: +loewis
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2938
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2906] tkinter, assorted fixes

2008-05-25 Thread Guilherme Polo

Guilherme Polo [EMAIL PROTECTED] added the comment:

I found a problem in the previous patch, new one added. This patch now
only considers tuple and list as possible option value that should be
joined, and the items inside the list or tuple should be either a string
or integer, otherwise it doesn't try to join the values.

The problem in the previous patch is that it would always join the value
independent of the value's content. But if an option is composed of a
tuple of tuples (used by dialogs), this conversion shouldn't be done.

Added file: http://bugs.python.org/file10440/fixes_Tkinter.diff

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2906
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2906] tkinter, assorted fixes

2008-05-25 Thread Guilherme Polo

Changes by Guilherme Polo [EMAIL PROTECTED]:


Removed file: http://bugs.python.org/file10362/fixes_tkinter.diff

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2906
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2966] pydoc doesnt show 'from module import identifier' in the docs

2008-05-25 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

I think he means that if you use from m import x to import part of
module interface, x is not shown in the generated doc.

--
nosy: +benjamin.peterson

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2966
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2965] Update interface of weakref dictionaries

2008-05-25 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

Attaching patch.

--
keywords: +patch
nosy: +benjamin.peterson
Added file: http://bugs.python.org/file10441/weakref_py3k.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2965
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2572] 3.0 pickle docs -- what about old-style classes?

2008-05-25 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

Alexandre, would you mind fixing up the docs?

--
nosy: +benjamin.peterson

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2572
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2875] Rename the thread module to _thread

2008-05-25 Thread Brett Cannon

Brett Cannon [EMAIL PROTECTED] added the comment:

Yeah, it is essentially a deprecation so the warning should be there.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2875
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2875] Rename the thread module to _thread

2008-05-25 Thread Brett Cannon

Brett Cannon [EMAIL PROTECTED] added the comment:

But then again I thought that about the renames. =) Someone might actually 
pickle something from thread, so not sure how best to handle this one.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2875
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2775] Implement PEP 3108

2008-05-25 Thread Brett Cannon

Changes by Brett Cannon [EMAIL PROTECTED]:


--
dependencies:  -Rename _winreg to winreg, Rename the thread module to _thread, 
Revert ConfigParser rename in 2.6, Revert Queue rename in 2.6

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2775
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2876] Write UserDict fixer for 2to3

2008-05-25 Thread Brett Cannon

Brett Cannon [EMAIL PROTECTED] added the comment:

Raymond, can you tell me exactly where each module-level thing in UserDict 
went and if it was renamed or not? That way the fixer can get written.

--
assignee:  - rhettinger

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2876
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2877] Backport UserString move from 3.0

2008-05-25 Thread Brett Cannon

Brett Cannon [EMAIL PROTECTED] added the comment:

Raymond, can you tell me exactly where each module-level thing in 
UserString went and if it was renamed or not? That way the fixer can get 
written.

--
assignee:  - rhettinger

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2877
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2878] Backport UserList move in 3.0

2008-05-25 Thread Brett Cannon

Brett Cannon [EMAIL PROTECTED] added the comment:

Raymond, can you tell me exactly where each module-level thing in UserList 
went and if it was renamed or not? That way the fixer can get written.

--
assignee:  - rhettinger
nosy: +rhettinger

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2878
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2872] Remove commands for PEP 3108

2008-05-25 Thread Brett Cannon

Changes by Brett Cannon [EMAIL PROTECTED]:


--
assignee:  - brett.cannon

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2872
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-25 Thread Terry J. Reedy

Terry J. Reedy [EMAIL PROTECTED] added the comment:

I think I *slightly* prefer the 'new' way.
Was pprint.py changed between 2.6 and 3.0?
Or is the change a side-effect of 3.0 changes?
Or of 2to3 if that was used?
(In glancing through it, I did not see anything that needed change)

Fred, I am assigning to you simply because you are listed as original
author and *might* immediately know the answers.

--
assignee:  - fdrake
nosy: +fdrake, tjreedy

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2888
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2876] Write UserDict fixer for 2to3

2008-05-25 Thread Raymond Hettinger

Raymond Hettinger [EMAIL PROTECTED] added the comment:

UserDict.UserDict is gone.
UserDict.IterableUserDict class is now collections.UserDict.
UserDict.Mixin is now collections.MutableMapping.

The new classes comform to the new dict API, so they fixer needs to 
also make same method adaptatations as for dicts (i.e. d.keys() -- list
(d.keys() and d.has_key -- d.__contains__).

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2876
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2878] Backport UserList move in 3.0

2008-05-25 Thread Raymond Hettinger

Raymond Hettinger [EMAIL PROTECTED] added the comment:

It was moved to the collections module.

--
assignee: rhettinger - brett.cannon

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2878
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2877] Backport UserString move from 3.0

2008-05-25 Thread Raymond Hettinger

Raymond Hettinger [EMAIL PROTECTED] added the comment:

It was moved to the collections module.

--
assignee: rhettinger - brett.cannon

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2877
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2876] Write UserDict fixer for 2to3

2008-05-25 Thread Raymond Hettinger

Changes by Raymond Hettinger [EMAIL PROTECTED]:


--
assignee: rhettinger - brett.cannon

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2876
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2970] test_distutils fails on Linux

2008-05-25 Thread Ismail Donmez

New submission from Ismail Donmez [EMAIL PROTECTED]:

This is on Ubuntu 8.04 :

test_distutils
Using PyPI login from /home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
Using PyPI login from /home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
Using PyPI login from /home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
test test_distutils produced unexpected output:
**
*** lines 2-3 of actual output doesn't appear in expected output after
line 1:
+ Using PyPI login from
/home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
+ Using PyPI login from
/home/cartman/Sources/py3k/Lib/distutils/tests/.pypirc
**


Same test passes on Darwin and outputs 5 lines so it might be a bug in
the expected output instead.

--
components: Tests
messages: 67364
nosy: cartman
severity: normal
status: open
title: test_distutils fails on Linux
type: behavior
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2970
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2971] test_zipfile64 fails

2008-05-25 Thread Ismail Donmez

New submission from Ismail Donmez [EMAIL PROTECTED]:

test_zipfile64
testDeflated (test.test_zipfile64.TestsWithSourceFile) ... ERROR
testStored (test.test_zipfile64.TestsWithSourceFile) ... ERROR

==
ERROR: testDeflated (test.test_zipfile64.TestsWithSourceFile)
--
Traceback (most recent call last):
  File /home/cartman/Sources/py3k/Lib/test/test_zipfile64.py, line 41,
in setUp
fp.write(self.data)
  File /home/cartman/Sources/py3k/Lib/io.py, line 987, in write
raise TypeError(can't write str to binary stream)
TypeError: can't write str to binary stream

==
ERROR: testStored (test.test_zipfile64.TestsWithSourceFile)
--
Traceback (most recent call last):
  File /home/cartman/Sources/py3k/Lib/test/test_zipfile64.py, line 41,
in setUp
fp.write(self.data)
  File /home/cartman/Sources/py3k/Lib/io.py, line 987, in write
raise TypeError(can't write str to binary stream)
TypeError: can't write str to binary stream

--
Ran 2 tests in 2.151s

FAILED (errors=2)
test test_zipfile64 failed -- errors occurred; run in verbose mode for
details
'test_zipfile64' left behind file '@test'
1 test failed:
test_zipfile64

--
components: Tests
messages: 67365
nosy: cartman
severity: normal
status: open
title: test_zipfile64 fails
type: behavior
versions: Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2971
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com