[issue5513] What's New should say VERY CLEARLY that the type file is gone

2009-03-20 Thread David W. Lambert

David W. Lambert lamber...@corning.com added the comment:

My file class extends text files with seek or read through condition or 
pattern, providing an awk like pattern{action} task separation.

If I allow a pre-existing stream into my constructor (subprocess.Popen 
my favorite) I still suffer the same garbage collection problem.

class file(io.TextIOWrapper):
'add condition matching to a stream'
def __init__(self,stream_or_name):
a = stream_or_name
buffer = (a.buffer if isinstance(a, io.TextIOWrapper)
   else io.BufferedReader(io.FileIO(a, 'r')))
super().__init__(buffer)

Use this on a stream whose reference count goes to zero causes
ValueError: I/O operation on closed file.  Increasing stream's reference 
count by saving it with the object corrects it.

I appreciate your considerations.
Dave.

--

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



[issue5507] ctypes configuration fails on mips-linux (and probably Irix)

2009-03-20 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

please find already open issue and close this one.

--
nosy: +rpetrov

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



[issue4625] IDLE won't open anymore, .idlerc unaccessible

2009-03-20 Thread Timothy Zhang

Timothy Zhang z...@live.cn added the comment:

I meet the same problem and have it fixed. I use Python 2.5.2 on Windows XP.

This is my solution:
1. Choose Tool-Folder Option in your explorer menu, then click View
tab, uncheck use simple file sharing(recommended).
2. Right click on C:\Documents and Settings\YourName\.idlerc folder,
then click property, you got the folder property dialog
3. Click Safety tab, you may found there's only System user in the
list. Click Add and add type your username, then click OK. 
4. Select your name in the list, enable all the permissions in the box
below.

Now this problem should be fixed. Hope this works.

--
nosy: +timium

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



[issue5524] execfile() removed from Python3

2009-03-20 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

martin There is a much simpler solution to the problem: 
martin use exec(open(fn,rb).read())

Ok... but there is the newline issue: (self quote) exec() doesn't support 
newline different than \n, see issue #4628.

And open_python() can be used for other usages than execfile() ;-)

Note: tokenize.open_python() is maybe not the best module and/or function 
name.

--

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



[issue5526] Local variables unavailable for operation of list comprehension when using eval()

2009-03-20 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

This is a fundamental limitation of how comprehensions are implemented
in Python 3 and is unlikely to change anytime soon.

--
nosy: +benjamin.peterson
resolution:  - wont fix
status: open - closed

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



[issue1322] platform.dist() has unpredictable result under Linux

2009-03-20 Thread Marc-Andre Lemburg

Marc-Andre Lemburg m...@egenix.com added the comment:

On 2009-03-18 18:13, Matthias Klose wrote:
 Matthias Klose d...@debian.org added the comment:
 
 MAL, please can we add zooko's patch in some form? The current
 implementation assumes an implementation, which doesn't exist on all
 platforms, and just dividing linux distributions in unsupported and
 supported seems to be odd.

I've already mentioned what needs to be done to make Zooko's patch
suitable for platform.py (see further up on this ticket discussion).

The patch still doesn't meet those requirement, so cannot be applied.

Furthermore, I would prefer that piping to lsb_release only be used
as fallback solution. This should not be the default mechanism.

Regarding the problems on Ubuntu: That's mainly due to the way Ubuntu
decided to use the LSB standard. Most other Linux platforms work
just fine with the existing platform.py parser.

In order to support Ubuntu as well, we'll have to parse the
DISTRIB_* variables in /etc/lsb-release.

 You cite some URL's in platform.py:
 
  - http://linuxmafia.com/faq/Admin/release-files.html
  
Linux System Base-compliant systems should have a file called
/etc/lsb_release, which may be in addition to a distribution-
specific file.
 
The standard doesn't say anything like this.
 
  - http://linux.die.net/man/1/lsb_release
This is one implementation, not more. The current platform.py
implementation seems to require this particular implementation.
 
 The only relevant URL is missing in this file:
 http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html

Thanks, I'll add that. Note that the link doesn't mention anything
about the file format of the /etc/lsb_release file or how it should
be parsed. That's why I added the other URLs.

BTW: Here's what man lsb_release says on OpenSUSE:


   If the installation is LSB  compliant,  the  /etc/lsb-release  file
should  contain  the
   LSB_VERSION  field.   The  value of the field should be a colon separated
list of supported
   module versions indicating the LSB specification modules to which the
installation is  com‐
   pliant. If the installation is not compliant, the above field should not
be present.

   Optional  fields are DISTRIB_ID, DISTRIB_RELEASE, DISTRIB_CODENAME,
DISTRIB_DESCRIPTION and
   can be used to override information which is parsed from the
/etc/distrib-release file.

   If the /etc/lsb-release.d directory exists, it is searched for
filenames which are  taken
   as additional module-version strings to add to LSB_VERSION.

   The /etc/distrib-release file contains a description line which is
parsed to get informa‐
   tion (especially on currently non-LSB compliant systems).


It is interesting to note that Ubuntu's /etc/lsb_release file does not
contain the LSB_VERSION field. That would suggest, that Ubuntu is not
LSB compliant.

--

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



[issue5033] setup.py crashes if sqlite version contains 'beta'

2009-03-20 Thread Gerhard Häring

Changes by Gerhard Häring g...@ghaering.de:


--
assignee:  - ghaering
nosy: +ghaering
priority:  - low

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



[issue1322] platform.dist() has unpredictable result under Linux

2009-03-20 Thread Zooko O'Whielacronx

Zooko O'Whielacronx zo...@zooko.com added the comment:

I just read back through this ticket, but I didn't understand exactly
what MAL wanted to have different from what this Python function
currently does:

http://allmydata.org/trac/tahoe/browser/src/allmydata/__init__.py?rev=20081125155118-92b7f-f74fc964ebd9d3c59afde68b6688c56ce20cca39#L31

MAL, could you please restate the changes you want?

By the way I think there is some confusion about what is standardized by
LSB.  As far as I know this one page is the complete spec:
http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html
and it doesn't specify the existence of any file that we can parse.  So
the quote you mention: Linux System Base-compliant systems should have
a file called /etc/lsb_release, which may be in addition to a
distribution-specific file. is just wrong.  More's the pity -- most
implementations use a file named /etc/lsb-release, and we can parse
that, and if we do it is much faster than executing the lsb_release
executable in a subprocess.  The slowness of invoking subprocess is why
I was forced to back off from my original patch of merely using only
what the LSB offers.

A second problem with relying on LSB is, as I've mentioned, that some
Linux distributions don't come (by default) with the de-facto-standard
lsb_release executable although they do come with an /etc/lsb-release
file.

That's why my current strategy is:

1.  Parse the de-facto-nearly-standard /etc/lsb-release file.

2.  Ad-hoc techniques encoded into the Python Standard Library's
platform.dist().

3.  Execute the de-jure-standard lsb_release in a subprocess.

4.  Arch Linux

--

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



[issue5518] cPickle produces inconsistent output

2009-03-20 Thread rb

rb rb-os...@justgohome.co.uk added the comment:

Martin,

Sorry, I don't follow. I realise that the refcounts will be different;
but pickling an object should surely be independent of the refcount as
there is no need to include the refcount in the output?

What other way (using pickle or not) can I convert a generic immutable
Python object to a string to use as a key in external storage?

Currently the documentation points out that the output may be different
between pickle and cPickle which implies that the output will be
consistent for a single module.

If pickle is not required to produce consistent output for the same
input (and refcount isn't really part of the input in this case; it is 
a side issue) than can this be documented?

--

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



[issue1726687] Bug found in datetime for Epoch time = -1

2009-03-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

Is the break intended in the test function? it seems that this will
skip the whole test. Isn't continue better?

--

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



[issue1726687] Bug found in datetime for Epoch time = -1

2009-03-20 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

@Amaury: You wrote:

  But negative time_t are still not allowed by the Microsoft CRT, 
the tests fail.

So I choosed to skip mktime(-1) test if mktime(-2) fails.

I don't have Windows to test my patch nor current behaviour.

--

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



[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-03-20 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Backported to trunk in r70479.

Mario, thanks for the long multiplication tweaks you submitted:  could you 
possibly regenerate your Feb 19th patch against the trunk (or py3k, 
whichever you prefer) and attach it to issue 3944?

--
resolution:  - accepted
status: open - closed

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



[issue5518] cPickle produces inconsistent output

2009-03-20 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

pickle is designed to provide persistent storage, not create keys for
objects. Changes to the format are fine as long as they are compatible.

--
nosy: +benjamin.peterson
status: pending - closed

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



[issue5527] multiprocessing won't work with Tkinter (under Linux)

2009-03-20 Thread Aki

New submission from Aki akin...@users.sourceforge.net:

Hello,

The attached test case, which uses multiprocessing module to run Tkinter
GUI process, runs flawlessly under Solaris but hung under Linux (CentOS5).

The test case is a trimmed version of much larger program but it still
exhibits the same problem.
I got a suggestion to use a function rather than a method of a class.
But it didn't make any difference.

I may have overlooked something but as far as I review my code, I
couldn't find anything that explains why the test case won't work (In
fact, it works under Solaris).

--
components: Library (Lib)
files: tk_test.py
messages: 83867
nosy: akineko
severity: normal
status: open
title: multiprocessing won't work with Tkinter (under Linux)
type: crash
versions: Python 2.6
Added file: http://bugs.python.org/file13383/tk_test.py

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



[issue5463] Remove deprecated features from struct module

2009-03-20 Thread Andreas Schawo

Andreas Schawo andreas.sch...@gmail.com added the comment:

Ok, heres the patch again.

Passed regression tests.

Should the version number increase to 0.3? Maybe to reflect there are no
more deprecated features. It should then take place after FLOAT_COERCE
cleanup.

I'm currently trying to figure out whats about _PY_STRUCT_RANGE_CHECKING
and why it is hardcoded constant in _struct.c.

--
Added file: http://bugs.python.org/file13384/struct_overflow_patch.diff

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



[issue1666318] shutil.copytree doesn't preserve directory permissions

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0

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



[issue1145257] shutil.copystat() may fail...

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +shutil.copytree doesn't preserve directory permissions
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

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



[issue1119626] patches to compile for AIX 4.1.x

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Unless someone tells me that providing 'stubs for openpty in posixmodule
and wgetnstr in curses module' is still a valid concern, I'll close this.

--
components: +Build
nosy: +ajaksu2
priority: normal - low
stage:  - test needed
status: open - pending
versions: +Python 2.7 -Python 2.4

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



[issue1157169] csv Sniffer returns bad dialect?

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1431091] CSV Sniffer fails to report mismatch of column counts

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1158490] locale fails if LANGUAGE has multiple locales

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1223976] error locale.getlocale() with LANGUAGE=eu_ES

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0

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



[issue1262856] fcntl.ioctl have a bit problem.

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1276509] 2.4.1 make fails on Solaris 10 (complexobject.c/HUGE_VAL)

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Will close as won't fix if nobody object.

From pymath.h:

/* HUGE_VAL is supposed to expand to a positive double infinity.  Python
 * uses Py_HUGE_VAL instead because some platforms are broken in this
 * respect.  We used to embed code in pyport.h to try to worm around that,
 * but different platforms are broken in conflicting ways.  If you're on
 * a platform where HUGE_VAL is defined incorrectly, fiddle your Python
 * config to #define Py_HUGE_VAL to something that works on your platform.
 */
#ifndef Py_HUGE_VAL
#define Py_HUGE_VAL HUGE_VAL
#endif

--
dependencies: +2.3.4 fails build on solaris 10 - complexobject.c
nosy: +ajaksu2
priority: normal - low
status: open - pending

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



[issue1243730] Big speedup in email message parsing

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Library (Lib) -Interpreter Core
nosy: +ajaksu2
stage:  - test needed
type:  - performance
versions: +Python 2.7, Python 3.1 -Python 2.5

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



[issue1234328] 'insufficient disk space' message wrong (msi on win xp pro)

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Will close as won't fix/lack of response unless someone wants this open.

--
nosy: +ajaksu2
priority: normal - low
status: open - pending
type:  - behavior

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



[issue1040026] os.times() is bogus

2009-03-20 Thread Giampaolo Rodola'

Giampaolo Rodola' billiej...@users.sourceforge.net added the comment:

Is this fixed in Python 2.6.1?
We have encountered some problems on both OS X and FreeBSD by using 2.6.1:
http://code.google.com/p/psutil/issues/detail?id=40

--
nosy: +giampaolo.rodola

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



[issue1298835] vendor-packages directory.

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Should be considered for 3.1 and 2.7.

--
nosy: +ajaksu2
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.4

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



[issue1296434] Call by object reference sometimes call by value

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Will close this unless someone offers better wording for the docs and it
doesn't involve a flamewar.

--
nosy: +ajaksu2
priority: normal - low
status: open - pending
type:  - feature request
versions: +Python 2.6 -Python 2.4

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



[issue1294232] Error in metaclass search order

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
stage:  - test needed
type:  - feature request
versions: +Python 2.6 -Python 2.4

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



[issue1291169] mmap with unsigned int offset and cross build for ppc

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

This is 'open' and 'out of date'...

There's been some recent mmap activity, so I'll leave closing this to
someone that understands mmap :)

--
nosy: +ajaksu2
versions: +Python 2.6 -Python 2.5

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



[issue1284496] traceback module can return undecodable byte strings

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Unicode -None
priority: normal - low
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1283289] PyArg_ParseTupleAndKeywords gives misleading error message

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Fixed on trunk and py3k, can someone test on the release branches?

Python 2.7a0 (trunk, Feb 24 2009, 10:30:17)
 re.compile(a).match(pos=10)
Traceback (most recent call last):
  File stdin, line 1, in module
TypeError: Required argument 'pattern' (pos 1) not found

--
nosy: +ajaksu2
versions: +Python 2.6, Python 3.0

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



[issue1295179] termios.c in qnx4.25

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue5528] Unable to launch IDLE on Windows

2009-03-20 Thread Chris

New submission from Chris chrisa...@yahoo.com:

I have recently installed python 2.6 and I have been successfully able 
to run python from a command line and from the Python command line.  
However, when I try to launch the IDLE, all I get is a window that 
flashes.  I tried launching the IDLE from a command line with the 
following command:  
c:\Python26\Lib\idlelibidle.py -n

I get the following error:

Traceback (most recent call last):
  File C:\Python26\Lib\idlelib\idle.py, line 21, in module
idlelib.PyShell.main()
  File C:\Python26\lib\idlelib\PyShell.py, line 1386, in main
root = Tk(className=Idle)
  File C:\Python26\lib\lib-tk\Tkinter.py, line 1643, in __init__
self.tk = _tkinter.create(screenName, baseName, className, 
interactive, want
objects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following 
directories:
{C:\IBMTOOLS\Python22\tcl\tcl8.4} C:/IBMTOOLS/Python22/tcl/tcl8.5 
C:/Python2
6/lib/tcl8.5 C:/lib/tcl8.5 C:/lib/tcl8.5 C:/library C:/library 
C:/tcl8.5.2/libra
ry C:/tcl8.5.2/library

C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl: version conflict for 
package Tcl: ha
ve 8.5.2, need exactly 8.4
version conflict for package Tcl: have 8.5.2, need exactly 8.4
while executing
package require -exact Tcl 8.4
(file C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl line 19)
invoked from within
source C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl
(uplevel body line 1)
invoked from within
uplevel #0 [list source $tclfile]

This probably means that Tcl wasn't installed properly.
*

I tried changing the python path from c:\IBMTOOLS\Python22 to 
C:\Python26, but that did not work. 

One other note is that I do not have adminstrator priviledges on this 
computer.

--
components: IDLE
messages: 83877
nosy: croy
severity: normal
status: open
title: Unable to launch IDLE on Windows
versions: Python 2.6

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



[issue1303673] traceback on trying to load a hotshot stats file

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Extension Modules -Library (Lib)
dependencies: +hotshot.stats.load fails with AssertionError
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1314572] Trailing slash redirection for SimpleHTTPServer

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Has patch.

--
keywords: +easy
nosy: +ajaksu2
stage:  - test needed
versions: +Python 2.7, Python 3.1

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



[issue1306484] compile() converts filename parameter to StringType

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Confirmed on trunk.

--
nosy: +ajaksu2
stage:  - needs patch
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1306253] Python 2.4.2c1 fails to build on 64-bit Solaris 10

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
type:  - behavior

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



[issue1332869] Fatal Python error: Interpreter not initialized

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
title:  Fatal Python error: Interpreter not initialized  - Fatal Python error: 
Interpreter not initialized
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1332732] Incorrect use of -L/usr/lib/termcap

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

I'll close this unless someone confirms the warning is still present in
supported versions.

--
nosy: +ajaksu2
status: open - pending

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



[issue1326448] set.__getstate__ is not overriden

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Confirmed, but it's still not clear whether it should change.

--
components: +Library (Lib) -None
nosy: +ajaksu2
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1327594] Static Windows Build fails to locate existing installation

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1326077] traceback.py formats SyntaxError differently

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Confirmed on trunk.

--
nosy: +ajaksu2
stage:  - needs patch
type:  - behavior
versions: +Python 2.6

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



[issue1324770] Adding redblack tree to collections module

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.5

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



[issue1252001] Issue with telnetlib read_until not timing out

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +Issue with telnetlib read_until not timing out

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



[issue1252001] Issue with telnetlib read_until not timing out

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +telnetlib expect() and read_until() do not time out properly 
-Issue with telnetlib read_until not timing out

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



[issue1360221] telnetlib expect() and read_until() do not time out properly

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +patch
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1356969] Tix.py class HList missing info_bbox

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +patch
nosy: +ajaksu2
stage:  - test needed
versions: +Python 2.7, Python 3.1

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



[issue1351020] PythonD DJGPP-specific patch set for porting to DOS.

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Any news on this?

--
nosy: +ajaksu2
priority: normal - low
status: open - pending
type:  - feature request

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



[issue1349106] email.Generators does not separates headers with \r\n

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +easy
stage:  - test needed
versions: +Python 2.7, Python 3.1

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



[issue1337876] Inconsistent use of buffer interface in string and unicode

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Unicode
stage:  - test needed
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.4

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



[issue4024] float(0.0) singleton

2009-03-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

I have 3 comments for future readers who might want to reopen.

1) This would have little effect on calculation with numpy.

2) According to sys.getrefcount, when '' appears, 3.0.1 has 1200
duplicate references to 0 and 1 alone, and about 2000 to all of them. 
So so small int caching really needs to be done by the interpreter.  Are
there *any* duplicate internal references to 0.0 that would help justify
this proposal?

3) It is? (certainly was) standard in certain Fortran circles to NAME
constants as Raymond suggested.  One reason given was to ease conversion
between single and double precision.  In Python, named constants in
functions would ease conversion between, for instance, float and decimal.

--
nosy: +tjreedy

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



[issue5524] execfile() removed from Python3

2009-03-20 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

 Ok... but there is the newline issue: (self quote) exec() doesn't support 
 newline different than \n, see issue #4628.

So that issue should get fixed, then.

 And open_python() can be used for other usages than execfile() ;-)
 
 Note: tokenize.open_python() is maybe not the best module and/or function 
 name.

I remain opposed to the entire concept.

--

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



[issue1351020] PythonD DJGPP-specific patch set for porting to DOS.

2009-03-20 Thread Ben Decker

Ben Decker bd...@users.sourceforge.net added the comment:

Our next target will probably be somewhere with Python 3

--
components: +Interpreter Core -None
versions: +Python 3.1 -Python 2.4

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



[issue1388872] Polymorphic getters / setters

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Confirmed on trunk and py3k, not sure it's a bug.

--
nosy: +ajaksu2
priority: normal - low
versions: +Python 2.7, Python 3.1

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



[issue1386675] _winreg specifies EnvironmentError instead of WindowsError

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Windows
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.5

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



[issue1379984] HP-UX: Can't shl_load() a library containing Thread Local

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1379804] HP-UX thread stack size needs to be increased

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1379416] email.Header encode() unicode P2.3xP2.4

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Library (Lib) -None
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1372770] email.Header should preserve original FWS

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0

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



[issue1368091] shutils cannot copy owner

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Closing as issue 1355826 has more details.

--
nosy: +ajaksu2
resolution:  - duplicate
status: open - closed
superseder:  - shutil.move() does not preserve ownership

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



[issue1367628] use PyOS_ReadlineFunctionPointer in non-interractive input

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

The snippet from Parser/myreadline.c is still present in trunk.

--
nosy: +ajaksu2
stage:  - test needed
title: use PyOS_ReadlineFunctionPointer in non-interractive input  - use 
PyOS_ReadlineFunctionPointer in non-interractive input
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.5

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



[issue1360243] Add XML-RPC Fault Interoperability to XMLRPC libraries

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.4

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



[issue5518] cPickle produces inconsistent output

2009-03-20 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

 Sorry, I don't follow. I realise that the refcounts will be different;
 but pickling an object should surely be independent of the refcount as
 there is no need to include the refcount in the output?

There certainly is a need to consider the refcount. Else the memo
would not work.

 What other way (using pickle or not) can I convert a generic immutable
 Python object to a string to use as a key in external storage?

You will have to come up with your own serialization function. There
are MANY reasons why using a pickle cannot work. For example, in a
dictionary, the order of keys is not guaranteed, and might change even
though the dictionaries compare equal.

 Currently the documentation points out that the output may be different
 between pickle and cPickle which implies that the output will be
 consistent for a single module.

I doesn't imply this at all. The sentence says just what it says: don't
be surprised if you pickle the same object with pickle and cPickle,
and get different results.

 If pickle is not required to produce consistent output for the same
 input (and refcount isn't really part of the input in this case; it is 
 a side issue) than can this be documented?

It's certainly possible to document that, yes. Can you propose a
specific patch to the documentation?

--

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



[issue1326448] set.__getstate__ is not overriden

2009-03-20 Thread Raymond Hettinger

Changes by Raymond Hettinger rhettin...@users.sourceforge.net:


--
assignee: tim_one - rhettinger

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



[issue1410680] Add 'surgical editing' to ConfigParser

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Anyone interested in updating this?

--
nosy: +ajaksu2
stage:  - patch review
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.5

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



[issue1409460] email.Utils.parseaddr() gives arcane result

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Fixed in trunk, so issue 1464708 was probably forward ported.

--
dependencies: +fixed handling of nested  comments in mail addresses
nosy: +ajaksu2
resolution:  - out of date
status: open - closed

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



[issue1398781] Example in section 5.3 Pure Embedding doesn't work.

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
assignee:  - georg.brandl
components: +Documentation
nosy: +georg.brandl
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1040026] os.times() is bogus

2009-03-20 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

 Is this fixed in Python 2.6.1?

Please try to answer this question yourself in the future.
Python 2.6.1 was released on Dec 4th
(http://www.python.org/download/releases/2.6.1/), and the
commits were made on Dec 29 (as seen both in the time stamp
on my message, and the *linked* svnview pages).

--

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



[issue1396946] %ehrntDRT support for time.strptime

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - patch review
title: %ehrntDRT support for time.strptime  - %ehrntDRT support for 
time.strptime
versions: +Python 2.7, Python 3.1

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



[issue1396258] KeyboardInterrupt prevents return to Windows console

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Windows
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1395552] add support for thread function result storage

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
stage:  - patch review
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.4

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



[issue1394135] Deleting first item causes anydbm.first() to fail

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Cannot reproduce with dbhash on trunk (Linux).

--
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1324770] Adding redblack tree to collections module

2009-03-20 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

I'm curious what the use case is for this.  It is not the purpose of the
collections module to implement all possible storage techniques
(b-trees, pairing heaps and whatnot).  What problem is being solved?

AFAICT, this offers a ordered dictionary style API without the
restriction of hashability, instead using the typically much more
expensive compare operation.  Also, the big-oh times degrade from O(1)
so that now we have O(log n) searches, insertions, and deletions.

--
nosy: +rhettinger

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



[issue1386675] _winreg specifies EnvironmentError instead of WindowsError

2009-03-20 Thread Mark Hammond

Mark Hammond mhamm...@users.sourceforge.net added the comment:

oops - this slipped off my radar.  I agree with *both* Frederic and Tony
:)  The module promises to raise an EnvironmentError, which is does. 
However, the main killer from my POV is that a 'winerror' attribute is
likely to be of interest, and this is only available if we promise a
WindowsError.  In other words, to write code which conformed to the
docs, you would need to write:

try:
  ...
except WindowsError, exc:
  if exc.winerror==SOME_INTERESTING_CODE:...
except EnvironmentError, exc:
  # hrmph..

The second except clause is not actually necessary based on the impl,
but is according to the docs.  For this reason I'd be happy to update
the docs to reflect the implementation reality.

--
assignee: mhammond - fdrake

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



[issue1434090] DOM tree inconsistency in expat XML parser

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +easy, patch
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1432343] Description of file-object read() method is wrong.

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
type:  - behavior
versions: +Python 2.6

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



[issue1425127] os.remove OSError: [Errno 13] Permission denied

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Needs confirmation with recent versions, has nice tests.

--
components: +Windows -None
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0

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



[issue1422094] email.MIME*.as_string removes duplicate spaces

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Confirmed on trunk.

--
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1413379] Popened file object close hangs in latest Cygwin update

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Needs confirmation for recent versions.

--
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1412448] Compile under mingw properly

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Will close unless someone can salvage this patch for supported versions,
addressing Martin's review.

--
nosy: +ajaksu2
priority: normal - low
stage:  - patch review
status: open - pending
type:  - feature request

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



[issue1436206] CGIHTTPServer doesn't handle path names with embeded space

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

See issue 1535504 for patch.

--
dependencies: +CGIHTTPServer doesn't handle path names with embeded space
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1535504] CGIHTTPServer doesn't handle path names with embeded space

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Issue 1681674 was closed as won't fix, so IIUC this patch won't work.

--
dependencies: +subprocess.Popen fails with socket._fileobject on Windows
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1439312] Patch for bug 1438185: os.renames deletes junction points

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 3.0 -Python 2.5

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



[issue1438480] shutil.move raises OSError when copystat fails

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +patch
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

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



[issue1438185] os.renames() crashes NTFS junctions

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Issue 1439312 has a patch.

--
dependencies: +os.renames() crashes NTFS junctions
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

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



[issue1437051] continue in .pdbrc has no effect

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1436346] yday in datetime module

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
versions: +Python 2.7, Python 3.1

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



[issue1326448] set.__getstate__ is not overriden

2009-03-20 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

Am going to close this one.  Subclassers have the option of overriding
__reduce__ to control pickling.  My reading of the docs shows no
guarantees that builtin types won't use __reduce__.  Since this has been
out for a good while, there doesn't seem to be a way to shift away from
reduce without breaking existing pickles.  

It's unfortunate that pickling provides so many different hooks and they
don't all play nice with one another.

--
resolution:  - wont fix
status: open - closed

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



[issue1445781] install fails on hard link

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
stage:  - test needed
type:  - behavior
versions: +Python 2.7, Python 3.1

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



[issue1443875] email/charset.py convert() patch

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - patch review
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.4

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



[issue1443866] email 3.0+ stops parsing headers prematurely

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

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



[issue1442493] IDLE shell window gets very slow when displaying long lines

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +Squeezer - squeeze large output in the interpreter
stage:  - test needed
type:  - performance
versions: +Python 2.6, Python 3.0 -Python 2.4

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



[issue1441984] Multiple simultaneous sendtos on AF_UNIX socket broken.

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1457119] Unifying pickle and cPickle exception class hierarchies

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Almost fooled me, still as described on trunk:

help(cPickle.UnpickleableError)
Help on class UnpickleableError in module cPickle:
class UnpickleableError(PicklingError)
[...]
 help(pickle.PicklingError)
Help on class PicklingError in module pickle:
class PicklingError(PickleError)

 try: cPickle.dumps(tb)
... except pickle.PicklingError: print 1
...
Traceback (most recent call last):
  File stdin, line 1, in module
cPickle.UnpickleableError: Cannot pickle type 'traceback' objects

--
components: +Library (Lib)
nosy: +ajaksu2
stage:  - test needed
type:  - feature request
versions: +Python 2.7

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



[issue1449496] Python should use 3GB Address Space on Windows

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
versions: +Python 2.7, Python 3.1

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



[issue1448060] gettext.py breaks on plural-forms header (PATCH)

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +patch
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1446619] extended slice behavior inconsistent with docs

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
assignee:  - georg.brandl
components: +Documentation -None
nosy: +georg.brandl
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

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



[issue1447945] Unable to stringify datetime with tzinfo

2009-03-20 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

So, won't fix? :)

--
nosy: +ajaksu2
priority: normal - low
stage:  - test needed
status: open - pending
type:  - behavior
versions: +3rd party -Python 2.4

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



  1   2   >