[issue5530] datetime class names should obey PEP 8 CapWords convention

2009-03-20 Thread Jess Austin

New submission from Jess Austin :

Class names that comply with the CapWords naming convention described in
PEP 8 (http://www.python.org/dev/peps/pep-0008/) are preferred. See the
recent discussion that included the BDFL's recommendations at
http://mail.python.org/pipermail/python-dev/2009-March/086684.html.

Per those recommendations, the attached patch updates every class to
expose a CapWords name to python:

datetime.timedelta  -->  datetime.TimeDelta
datetime.date   -->  datetime.Date
datetime.tzinfo -->  datetime.TZInfo
datetime.time   -->  datetime.Time
datetime.datetime   -->  datetime.DateTime

In addition, the old lowercase names are reproduced as derived classes,
the methods of which throw PendingDeprecationWarning, and the docstrings
of which advise using the new CapWords class names. The test_datetime.py
unit test is updated to check for proper functionality and for the
presence of the pending deprecation warnings. (This patch relies on the
previously-submitted refactoring patch attached to Issue 5520,
http://bugs.python.org/issue5520.) Various other tests and support files
are updated to use the new CapWords class names.

The current patch still fails one test in test_datetime.py, due to
previously-existing Issue 5516, http://bugs.python.org/issue5516.

This patch includes no documentation updates.

--
components: Library (Lib)
files: pending_dep.diff
keywords: patch
messages: 83921
nosy: jess.austin
severity: normal
status: open
title: datetime class names should obey PEP 8 CapWords convention
type: behavior
versions: Python 3.1
Added file: http://bugs.python.org/file13386/pending_dep.diff

___
Python tracker 

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



[issue1503789] Cannot write source code in UTF16

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
assignee:  -> georg.brandl
components: +Unicode
nosy: +georg.brandl, haypo
stage:  -> test needed
versions: +Python 2.7, Python 3.1 -Python 2.6

___
Python tracker 

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



[issue1501979] syntax errors on continuation lines

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue5520] refactor test_datetime.py

2009-03-20 Thread Jess Austin

Changes by Jess Austin :


Removed file: http://bugs.python.org/file13376/test_datetime.diff

___
Python tracker 

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



[issue5520] refactor test_datetime.py

2009-03-20 Thread Jess Austin

Changes by Jess Austin :


Added file: http://bugs.python.org/file13385/test_datetime.diff

___
Python tracker 

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



[issue1502517] crash in expat when compiling with --enable-profiling

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
stage:  -> test needed
type:  -> crash
versions: +Python 2.6 -Python 2.5

___
Python tracker 

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



[issue1501108] Add write buffering to gzip

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
nosy: +ajaksu2
stage:  -> needs patch
versions: +Python 2.7, Python 3.1

___
Python tracker 

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



[issue1500504] Alternate RFC 3986 compliant URI parsing module

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

I'll collect open issues that would be solved by this.

--
components: +Library (Lib) -None
nosy: +ajaksu2
stage:  -> patch review
type:  -> feature request
versions: +Python 2.7, Python 3.1

___
Python tracker 

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



[issue1500773] wm_attributes doesn't take keyword arguments

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1498930] Generate from Unicode database instead of manualy coding.

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1498363] Improve super() objects support for implicit method calls

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1497532] C API to retain GIL during Python Callback

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1495802] cygwin: popen3 lock up

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1503502] Pdb doesn't call flush on its stdout file descriptor

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1471934] Python libcrypt build problem on Solaris 8

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
stage:  -> test needed
type:  -> compile error
versions: +Python 2.6 -Python 2.5

___
Python tracker 

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



[issue1433886] pointer aliasing causes core dump, with workaround

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
stage:  -> test needed
type:  -> crash
versions:  -Python 3.0

___
Python tracker 

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



[issue1436203] getpass.getpass() should allow Unicode prompts

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
components: +Library (Lib)
stage:  -> test needed
versions: +Python 2.7

___
Python tracker 

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



[issue1467619] Header.decode_header eats up spaces

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.3

___
Python tracker 

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



[issue1495488] make altinstall installs pydoc

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

Seems to have resurfaced on 3.0, see issue 3744.

--
components: +Installation
nosy: +ajaksu2
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6, Python 3.0 -Python 2.5

___
Python tracker 

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



[issue5529] Backport sys module docs involving import to 2.7

2009-03-20 Thread Brett Cannon

Brett Cannon  added the comment:

Unassigning Georg as he does not need to do this if he doesn't want to.

--
assignee: georg.brandl -> 

___
Python tracker 

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



[issue3744] make altinstall installs pydoc instead of pydoc3.0

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
dependencies: +make altinstall installs pydoc instead of pydoc3.0
stage:  -> test needed

___
Python tracker 

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



[issue5529] Backport sys module docs involving import to 2.7

2009-03-20 Thread Brett Cannon

New submission from Brett Cannon :

The updated documentation in py3k involving the sys module and imports
(meta_path, path_hooks, and path_importer_cache) should get backported
to trunk. Slightly involved since there are glossary term references
that have not been backported.

--
assignee: georg.brandl
components: Documentation
messages: 83917
nosy: brett.cannon, georg.brandl
priority: low
severity: normal
stage: needs patch
status: open
title: Backport sys module docs involving import to 2.7
type: feature request
versions: Python 2.7

___
Python tracker 

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



[issue1494595] sys.getrefcount should be in gc

2009-03-20 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

I'm rejecting this because the its too late to change this in Py3k. If
thee was some Python-dev agreement to make an alias, then please reopen.

--
nosy: +benjamin.peterson
resolution:  -> rejected
status: open -> closed

___
Python tracker 

___
___
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 Terry J. Reedy

Terry J. Reedy  added the comment:

Agreed

--

___
Python tracker 

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



[issue1495229] W3C <-> Python DOM type mapping docs need updating

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
priority: normal -> low
type:  -> feature request
versions: +Python 2.6, Python 3.0 -Python 2.5

___
Python tracker 

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



[issue1494595] sys.getrefcount should be in gc

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1492860] Integer bit operations performance improvement.

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1492704] distinct error type from shutil.move()

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1491431] distutils.filelist.glob_to_re fails

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
assignee:  -> tarek
components: +Distutils
nosy: +tarek
stage:  -> test needed
title: glob_to_re problems -> distutils.filelist.glob_to_re fails
type:  -> behavior
versions: +Python 2.6, Python 3.0

___
Python tracker 

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



[issue1492240] Socket-object convenience function: getpeercred().

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1491804] Simple slice support for list.sort() and .reverse()

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1489246] 2.4.3 fails to find Tcl/Tk on Solaris 10 x86_64

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

Looks like a works for me.

--
nosy: +ajaksu2
priority: normal -> low
stage:  -> test needed
title: 2.4.3 fails to find Tcl/Tk on Solaris 10 x86_64  -> 2.4.3 fails to find 
Tcl/Tk on Solaris 10 x86_64
type:  -> behavior
versions: +Python 2.6 -Python 2.4

___
Python tracker 

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



[issue1488943] difflib.Differ() doesn't always add hints for tab characters

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +patch
stage:  -> patch review
type:  -> behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

___
Python tracker 

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



[issue1488906] endless loop in PyCFunction_Fini()

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

Linked bug is closed as 'fixed by update': they were not able to
reproduce this on 2.5. I'll close this unless someone opposes.

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

___
Python tracker 

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



[issue1487481] Could BIND_FIRST be removed on HP-UX?

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1486713] HTMLParser : A auto-tolerant parsing mode

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1485576] Backwards compatibility support for Py_ssize_t

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1481032] patch smtplib:when SMTPDataError, rset crashes with sslerror

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1479626] Uninstall does not clean registry

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
stage:  -> test needed
title: Uninstall does not clearn registry -> Uninstall does not clean registry
type:  -> behavior
versions: +Python 2.6, Python 3.0 -Python 2.5

___
Python tracker 

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



[issue1477450] test_bsddb skipped -- Failed to load on HP-UX 11.2i

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

I guess this isn't a valid issue, then?

--
nosy: +ajaksu2
priority: normal -> low
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6 -Python 2.4

___
Python tracker 

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



[issue1473979] test test_capi crashed -- thread.error: can't allocate lock

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1475397] compute/doc %z os-indep., time.asctime_tz / _TZ

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

Could you provide a test case and clearer description of your feature
request?

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

___
Python tracker 

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



[issue1475523] patch fixing #1448060 (gettext.py bug)

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
stage:  -> patch review
type:  -> behavior
versions: +Python 2.6, Python 3.1

___
Python tracker 

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



[issue1475692] replacing obj.__dict__ with a subclass of dict

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

Confirmed, is this a valid issue?

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

___
Python tracker 

___
___
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 :


--
dependencies: +patch fixing #1448060 (gettext.py bug)

___
Python tracker 

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



[issue1471985] mimetools module getencoding error

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
components: +Library (Lib) -None
stage:  -> test needed
title:  mimetools module getencoding error -> mimetools module getencoding error
type:  -> feature request
versions: +Python 2.7, Python 3.1

___
Python tracker 

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



[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

Issue 1472257 was rejected.

--
dependencies: +pdb: fix for #1472251('run/runeval' commands bug)
nosy: +ajaksu2
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6 -Python 2.5

___
Python tracker 

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



[issue1469629] __dict__ = self in subclass of dict causes a memory leak?

2009-03-20 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
priority: normal -> high

___
Python tracker 

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



[issue1469629] __dict__ = self in subclass of dict causes a memory leak?

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
components: +Interpreter Core -None
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6 -Python 2.4

___
Python tracker 

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



[issue1468223] Hitting CTRL-C while in a loop closes IDLE on cygwin

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1466065] base64 module ignores non-alphabet characters

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1465838] HP-UX11i: illegal combination of compilation and link flags

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
components: +Build
stage:  -> test needed
type:  -> crash
versions: +Python 2.6 -Python 2.5

___
Python tracker 

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



[issue1465646] test_grp & test_pwd fail

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
components: +Tests -None
type:  -> behavior
versions: +Python 2.6, Python 3.0

___
Python tracker 

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



[issue1465554] Cygwin installer should create a link to libpython2.5.dll.a

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
assignee:  -> tarek
components: +Distutils
nosy: +tarek
stage:  -> test needed
type:  -> feature request
versions: +Python 2.7, Python 3.1 -Python 2.5

___
Python tracker 

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



[issue1462440] socket and threading: udp multicast setsockopt fails

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
components: +Extension Modules
stage:  -> needs patch
title: udp multicast setsockopt fails -> socket and threading: udp multicast 
setsockopt fails
type:  -> behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

___
Python tracker 

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



[issue1459867] convenient Message.as_string to use mangle_from_=unixfrom ?

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

I can't understand the problem :/

--
nosy: +ajaksu2

___
Python tracker 

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



[issue1459279] sgmllib.SGMLparser and hexadecimal numeric character refs

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


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

___
Python tracker 

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



[issue1470540] XMLGenerator creates a mess with UTF-16

2009-03-20 Thread Daniel Diniz

Daniel Diniz  added the comment:

Patch on issue 1470548.

--
dependencies: +Bugfix for #1470540 (XMLGenerator cannot output UTF-16)
nosy: +ajaksu2
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6 -Python 2.5

___
Python tracker 

___
___
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  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 

___
___
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 :


--
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 

___
___
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 :


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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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  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 "", line 1, in 
cPickle.UnpickleableError: Cannot pickle  objects

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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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 :


--
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 

___
___
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 :


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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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  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 

___
___
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 :


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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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  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 

___
___
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 :


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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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  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 

___
___
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  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 

___
___
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  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 

___
___
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  added the comment:

Needs confirmation for recent versions.

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

___
Python tracker 

___
___
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  added the comment:

Confirmed on trunk.

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

___
Python tracker 

___
___
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  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 

___
___
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 :


--
type:  -> behavior
versions: +Python 2.6

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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  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 

___
___
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  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 

___
___
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  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 

___
___
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 :


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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

___
___
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  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 

___
___
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 :


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

___
Python tracker 

___
___
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  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 

___
___
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  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 

___
___
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 :


--
assignee: tim_one -> rhettinger

___
Python tracker 

___
___
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  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 

___
___
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 :


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

___
Python tracker 

___
___
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  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 

___
___
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  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 

___
___
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 :


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

___
Python tracker 

___
___
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 :


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

___
Python tracker 

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



  1   2   >