[issue5415] uuid module generates incorrect values for uuid3 (and possibly uuid5)

2009-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

I also found several threads saying that the RFC is wrong;
the current uuid.py module returns the correct result.

--
nosy: +amaury.forgeotdarc
resolution:  -> works for me
status: open -> closed

___
Python tracker 

___
___
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-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

It was indeed fixed with 2.4.2, but this does not correct the invalid
statistics generated with 2.4.1.
Running hotshotmain.py with a newer version should generate a correct file.

--
dependencies:  -hotshot.stats.load fails with AssertionError
nosy: +amaury.forgeotdarc
resolution:  -> duplicate
superseder:  -> hotshot.stats.load fails with AssertionError

___
Python tracker 

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



[issue6394] getppid support in os module on Windows

2009-07-01 Thread Jon Anglin

Jon Anglin  added the comment:

I didn't raise an exception because the Unix version never fails (or raises) so 
I thought to maintain compatibility I would always return a value.  Do you 
advise that I should change it?

As for the tabs...  This entire process is new to me and I am learning, it was 
just a mistake.

--

___
Python tracker 

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



[issue6369] binhex buggy in py3k

2009-07-01 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Fixed in r73747 and r73748.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue6394] getppid support in os module on Windows

2009-07-01 Thread Jon Anglin

New submission from Jon Anglin :

Implements getppid in the os module on Windows systems. The getppid 
function was only available on Unix like systems, this diff patch brings 
this functionality to Windows systems.  This function will return the 
parent process Id, upon error it will return -1.  This differs from the 
Unix implementation that never fails.  Due to the way Windows returns the 
parent process Id, a never fail guarantee can not be made.  It should only 
fail in low memory conditions.  This patch is on the latest svn trunk ( 
http://svn.python.org/projects/python/trunk).  This implementation should 
port to any python version (older or newer).  I have personally tested it 
against Python 2.5.4, 2.6.2, 3.1, and the aforementioned svn trunk.

--
components: Library (Lib)
files: mydiffs.diff
keywords: patch
messages: 89981
nosy: janglin
severity: normal
status: open
title: getppid support in os module on Windows
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file14419/mydiffs.diff

___
Python tracker 

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



[issue6326] Add a "swap" method to list

2009-07-01 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Even if C++ decides it's an useful feature, it's not a sufficient reason
to add it to Python!
Based on previous discussion and the converging advice of others, this
bug can IMO be closed.

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



[issue6395] Add Pickle Support to the codecs Module

2009-07-01 Thread Benjamin Peterson

Changes by Benjamin Peterson :


--
type: crash -> feature request
versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6

___
Python tracker 

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



[issue6396] No conversion specifier in the string, no __getitem__ method in the right hand value

2009-07-01 Thread Mahmoud

New submission from Mahmoud :

When using a class instance as a mapping for the right hand value in a
sting format expression without conversion specifier, it seems logical
that the class has a __getitem__ method. Therefore following format
expression should raise an exception.

>>> class AClass(object):
...   pass
... 
>>> c = AClass()
>>> "a string with no conversion specifier" % c
'a string with no conversion specifier'

--
messages: 89987
nosy: msaghaei
severity: normal
status: open
title: No conversion specifier in the string, no __getitem__ method in the 
right hand value
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

___
Python tracker 

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



[issue6395] Add Pickle Support to the codecs Module

2009-07-01 Thread ThomasH

New submission from ThomasH :

I recently ran into an infinite recursion trying to unpickle a
codecs.StreamWriter object (I presume the issue would be the same for a
StreamReader).

Here is the end of the stack trace:

  File "/sw/lib/python2.5/codecs.py", line 330, in __getattr__    
    return getattr(self.stream, name)
  File "/sw/lib/python2.5/codecs.py", line 330, in __getattr__  
    return getattr(self.stream, name) 
  File "/sw/lib/python2.5/codecs.py", line 330, in __getattr__ 
    return getattr(self.stream, name) 
 RuntimeError: maximum recursion depth exceeded 

The issue is the same under Python2.6 but the error output has changed
(see http://bugs.python.org/issue5508).

The problem is that the codecs module tries to delegate member lookup to
the underlying stream. But after unpickling, "self.stream" is not
defined, so the reference to self.stream in __getattr__ itself leads to
an invocation of __getattr__ - hence the recursion loop.

Using tools from the Pickle protocol, like __getstate__/__setstate__,
could help degrade codecs objects gracefully during pickle/unpickle
cycles. E.g. it might be enough to provide a dummy self.stream through
__setstate__.

--
components: Library (Lib)
messages: 89985
nosy: ThomasH
severity: normal
status: open
title: Add Pickle Support to the codecs Module
type: crash
versions: Python 2.5, Python 2.6

___
Python tracker 

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



[issue6331] Add unicode script info to the unicode database

2009-07-01 Thread Walter Dörwald

Walter Dörwald  added the comment:

Here is a new version that includes a new function scriptl() that
returns the script name in lowercase.

--
Added file: http://bugs.python.org/file14418/unicode-script-3.diff

___
Python tracker 

___
___
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-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

Python 3.0 switched to unicode precisely for this kind of issues.
There, you get
'Traceback (most recent call last):\n  File "", line 3, in
\nValueError: Invalid value
b\'\\xff\\xfeh\\x00e\\x00l\\x00l\\x00o\\x00\'\n'

For python 2.x, it's up to the application to decide how it will convert
various tracebacks to unicode. The 'backslashreplace' encoding may help,
or you can use %r instead of %s.

--
nosy: +amaury.forgeotdarc
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



[issue6353] "L" integer suffix in Python 3.1 tutorial

2009-07-01 Thread Ezio Melotti

Ezio Melotti  added the comment:

This is already fixed in r71994.
Thanks anyway.

--
nosy: +ezio.melotti
resolution:  -> out of date
stage:  -> committed/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



[issue6394] getppid support in os module on Windows

2009-07-01 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

I'm not qualified to comment on Windows-specific code, but two things:
- you should raise an appropriate exception on failure, not return -1
- the file is intended with tabs, not spaces

--
nosy: +pitrou

___
Python tracker 

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



[issue6393] OS X: python3 from python-3.1.dmg crashes at startup

2009-07-01 Thread Mark Dickinson

New submission from Mark Dickinson :

There was a report[1] on c.l.p. that python3 from the OS X Python 3.1 
dmg download at www.python.org/download/releases/3.1/ crashes on 
startup.  I can reproduce this with the python.org download (using the 
OS X Terminal) only with a bad locale setting:

newton:~ dickinsm$ LANG=utf-8 python3
Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: 
Abort trap (core dumped)

The core dump isn't useful:  just lots of 'No symbol table info 
available.'

This is on OS X 10.5.7/Intel.

I can't reproduce it with either the py3k branch or the release31-maint 
branch, built from scratch.

I suspect that this has to do with the behaviour of nl_langinfo(CODESET) 
on OS X: namely, after doing (in C) setlocale(LC_CTYPE, ""), the result 
of nl_langinfo(CODESET) appears to be "UTF-8" for well-defined utf-8 
locales (e.g., 'en_US.UTF-8'), "US-ASCII" for meaningless locales (e.g., 
'invalid'), but one just gets "" for locales like 'utf-8' or 'en_US'.
This in turn affects Python's locale.getpreferredencoding function. 
See also issue 2173, which may be related.

Ronald, any ideas?

[1] http://mail.python.org/pipermail/python-list/2009-June/718255.html

--
assignee: ronaldoussoren
components: Interpreter Core, Macintosh
messages: 89972
nosy: marketdickinson, ronaldoussoren
severity: normal
status: open
title: OS X: python3 from python-3.1.dmg crashes at startup
type: crash
versions: Python 3.1

___
Python tracker 

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



[issue4965] Can doc index of html version be separately scrollable?

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


--
assignee: georg.brandl -> ezio.melotti
priority:  -> normal

___
Python tracker 

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



[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


Added file: http://bugs.python.org/file14414/py31doc-vista.png

___
Python tracker 

___
___
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-07-01 Thread Josiah Carlson

Josiah Carlson  added the comment:

The other patch is more correct.  Closing.

--
resolution:  -> duplicate
status: open -> closed
superseder:  -> SimpleHTTPServer directory-indexing "bug" fix

___
Python tracker 

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



[issue3154] "Quick search" box renders too wide if font size is large

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti

___
Python tracker 

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



[issue3143] development docs waste a lot of horizontal space on left nav bar

2009-07-01 Thread Ezio Melotti

Ezio Melotti  added the comment:

Using "position: fixed" was requested in #4965 too and I posted a proof
of concept. I'll try to do a proper patch in the next days.

It might also be possible to make the sidebar collapsible using
Javascript (something similar to the sidebar of Google maps).
I'll take a look at this issue too.

--
assignee: georg.brandl -> ezio.melotti
priority:  -> low
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



[issue6267] Cumulative patcc:h to http and xmlrpc

2009-07-01 Thread Kristján Valur Jónsson

Kristján Valur Jónsson  added the comment:

committed to py3k in revision 73742

--

___
Python tracker 

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



[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


Added file: http://bugs.python.org/file14415/py31doc-vista.png

___
Python tracker 

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



[issue3143] development docs waste a lot of horizontal space on left nav bar

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti

___
Python tracker 

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



[issue4711] Wide literals in the table of contents overflow in documentation

2009-07-01 Thread Ezio Melotti

Ezio Melotti  added the comment:

I can see 5 possible solutions here:
1) use "overflow: auto" - an horizontal scrollbar will appear at the
bottom of the sidebar;
2) use "overflow: hidden" - no scrollbar and the content that doesn't
fit in the sidebar won't be visible;
3) allow the sidebar to change its width according to the content - this
may have other negative side-effects;
4) try to break/cut the long items - this may be quite difficult to realize;
5) try some experiment with CSS3's "text-overflow: ellipsis" - it's nice
and it should work on Opera an maybe on FF3.5 too.

Fixing #4965 will probably solve this issue using the first solution, 
"text-overflow: ellipsis" could still be used in addition (it cuts the
word and '...' at the end if the text doesn't fit in the container).

Making the sidebar collapsible (as suggested in #3143) could make the
third option feasible.

The old link doesn't work anymore, this works:
http://docs.python.org/library/multiprocessing.html

--
nosy: +ezio.melotti

___
Python tracker 

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



[issue4965] Can doc index of html version be separately scrollable?

2009-07-01 Thread Ezio Melotti

Ezio Melotti  added the comment:

See also #3143.
I'll try to do a proper patch to fix this issue.

--
assignee: georg.brandl -> ezio.melotti
stage:  -> needs patch

___
Python tracker 

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



[issue6397] Implementing Solaris "poll" in the "select" module

2009-07-01 Thread Jesús Cea Avión

New submission from Jesús Cea Avión :

In Python 2.6 we added support for Linux "epoll" and *BSD "kqueue" in
the select module. I think we should add support for Solaris "poll"
interface too.

What do you think?.

I volunteer to do the work, if you agree this is a feature we want to
have. I think so.

--
assignee: jcea
components: Library (Lib)
messages: 89989
nosy: jcea
severity: normal
stage: needs patch
status: open
title: Implementing Solaris "poll" in the "select" module
type: feature request
versions: Python 2.7, Python 3.2

___
Python tracker 

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



[issue4965] Can doc index of html version be separately scrollable?

2009-07-01 Thread Ezio Melotti

Ezio Melotti  added the comment:

"overflow: auto" should fix #4711 too (adding an horizontal scroll bar
at the bottom of the sidebar).

--
assignee: ezio.melotti -> georg.brandl
stage: needs patch -> 
superseder:  -> Wide literals in the table of contents overflow in documentation

___
Python tracker 

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



[issue4711] Wide literals in the table of contents overflow in documentation

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


--
assignee: georg.brandl -> ezio.melotti
priority:  -> low
stage:  -> needs patch
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2

___
Python tracker 

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



[issue4278] optparse quirks

2009-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

- For the -h option, you may add "add_help_option=False" when creating
the Optparse object

- concerning the error message: every parser that tries to give
meaningful error messages has to guess what the user really meant. The
exact text is really an implementation detail.

--
nosy: +amaury.forgeotdarc
resolution:  -> works for me
status: open -> closed

___
Python tracker 

___
___
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-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

This was fixed in 2.5 with issue1231069.

--
nosy: +amaury.forgeotdarc
resolution:  -> duplicate
status: open -> closed

___
Python tracker 

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



[issue6026] test_(zipfile|zipimport|gzip|distutils) fail if zlib is not available

2009-07-01 Thread Ezio Melotti

Ezio Melotti  added the comment:

I tried also with the final release of Python 3.1, but when zlib is
missing only test_zlib is skipped, test_zipfile, test_zipimport,
test_gzip and test_distutils fail.
These tests should check if zlib is available too.

--

___
Python tracker 

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



[issue1293741] doctest runner cannot handle non-ascii characters

2009-07-01 Thread Christoph Burgmer

Christoph Burgmer  added the comment:

My last patch only changed the encoding used in DocTestRunner.run().
This new patch will apply the same to DocTestCase.runTest().

--
Added file: http://bugs.python.org/file14422/doctest.unicode.patch

___
Python tracker 

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



[issue3955] maybe doctest doesn't understand unicode_literals?

2009-07-01 Thread Christoph Burgmer

Christoph Burgmer  added the comment:

JFTR: To yield the results of my last comment, you need to apply the
patch posted in http://bugs.python.org/issue1293741

--

___
Python tracker 

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



[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-07-01 Thread Erik Antelman

Erik Antelman  added the comment:

The really annoying this about handle inheritance is that even if a 
subprocess is never referencing or using logging there can be an open 
file handle conflict due to the default inheratence.

Another tack from modifying Popen, 

I looked at the forking.py of multiprocessing and observed the 
techniques for changing the inheratance attribute of files handles 
using the _subprocess wrapper to the NT DuplicateHandle call.

Then by replacing the _open of the FileHandler to ensure handles are 
open non-inheritable I can ensure that log files are not inherited. 
This preserves the behavior of everything else. 

I attached the NT/Multiprocessing safe version of a RotatingFileHandler 
class

--
nosy: +eantelman
Added file: http://bugs.python.org/file14420/NTSafeLogging.py

___
Python tracker 

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



[issue6394] getppid support in os module on Windows

2009-07-01 Thread Jon Anglin

Jon Anglin  added the comment:

Implements getppid in the os module on Windows systems. The getppid 
function was only available on Unix like systems, this diff patch brings 
this functionality to Windows systems.  This function will return the 
parent process Id, upon error it raises a WindowsError. This differs 
from the Unix implementation that never fails.  Due to the way Windows 
returns the parent process Id, a never fail guarantee can not be made.  
This is a revision of a previous post.  The file Issue6394-1.diff 
contains the updated patches.

--
Added file: http://bugs.python.org/file14421/Issue6394-1.diff

___
Python tracker 

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



[issue6398] README typo

2009-07-01 Thread Nathan Michaels

New submission from Nathan Michaels :

There's a typo in the README in the 2.6 source root. "versio" on line
942 should be "version".

--
assignee: georg.brandl
components: Documentation
files: fix.diff
keywords: patch
messages: 89998
nosy: georg.brandl, nmichaels
severity: normal
status: open
title: README typo
versions: Python 2.6
Added file: http://bugs.python.org/file14423/fix.diff

___
Python tracker 

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



[issue900092] hotshot.stats.load fails with AssertionError

2009-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

I added some prints in the hotshot.stats.load function, this lead to
interesting things:

- first, the program seems to spawn subprocesses which trace themselves
in the same file.

- however, there is real issue when fork() is called on a traced
program: calls to _execvpe should not appear in the trace!
IMO PyOS_AfterFork should disable any trace or profile function.

--
nosy: +amaury.forgeotdarc

___
Python tracker 

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



[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


Removed file: http://bugs.python.org/file14415/py31doc-vista.png

___
Python tracker 

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



[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


Added file: http://bugs.python.org/file14417/py31doc-winxpsp2.png

___
Python tracker 

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



[issue5383] Allow intermixing of keyword arguments and vargarg arguments

2009-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

Also, the new syntax breaks the symmetry between the function definition
and the function call.

In any case, the issue tracker is the wrong place for such discussions.
This should be done on the python-ideas mailing list.

--
nosy: +amaury.forgeotdarc
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



[issue5388] Green-box doc glitch: winhelp version only

2009-07-01 Thread Ezio Melotti

Ezio Melotti  added the comment:

I uploaded a few more screenshots.
I was able to reproduce the issue on Vista with HTML Help Version 6.0
and on Windows 2003 Server whit HTML Help Control Version 5.2.3790.3959.
I also tried on another Windows XP SP2 machine with HTML Help Control
Version 5.2.3790.1194 but the scrollbar wasn't there, so I guess they
changed something between .1194 and .3959
The version I'm running at home is probably even older (4.74?) and the
problem seems to affect only the newer versions.

--
Added file: http://bugs.python.org/file14416/py31doc-win2k3.png

___
Python tracker 

___
___
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-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

The same problem was fixed with issue827559.
But the patch here is different:

- it returns a code 302 instead of 301

- it uses the header "Content-Location" instead of "Location" to set the
new path with the slash

- it sets "Content-type: text/html" and returns the following content:
   ''%self.path

Some HTTP expert should conclude.

--
assignee:  -> akuchling
nosy: +akuchling, amaury.forgeotdarc

___
Python tracker 

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



[issue3810] os.chdir() et al: is the path str or bytes?

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


--
assignee: georg.brandl -> ezio.melotti
nosy: +ezio.melotti
priority:  -> low

___
Python tracker 

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



[issue6392] IDLE 3.1 will not open

2009-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

This is a duplicate of issue5528.
The fix is to remove the TCL_LIBRARY environment variable.

--
nosy: +amaury.forgeotdarc
resolution:  -> duplicate
status: open -> closed
superseder:  -> Unable to launch IDLE on Windows

___
Python tracker 

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



[issue5555] optparse: clarify option concatenation in docs

2009-07-01 Thread Aaron Sherman

Aaron Sherman  added the comment:

I'm closing this out, as the previous poster was correct: the module
does the right thing, and I misread the documentation. Thanks!

--
status: open -> closed

___
Python tracker 

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



[issue6026] test_(zipfile|zipimport|gzip|distutils) fail if zlib is not available

2009-07-01 Thread Ezio Melotti

Changes by Ezio Melotti :


--
assignee:  -> ezio.melotti
priority:  -> normal
stage:  -> needs patch

___
Python tracker 

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



[issue4758] Python 3.0 internet documentation needs work

2009-07-01 Thread Ezio Melotti

Ezio Melotti  added the comment:

David, I think that a list of notes posted here is ok, can you still
provide them?

--
nosy: +ezio.melotti

___
Python tracker 

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



[issue6397] Implementing Solaris "poll" in the "select" module

2009-07-01 Thread Jean-Paul Calderone

Jean-Paul Calderone  added the comment:

Solaris 10 introduced "The Event Completion Framework".  I am not
particularly familiar with Solaris, so I couldn't say whether it would
be better to target this or the older /dev/poll.  Some documentation
suggests that "The Event Completion Framework" is somewhat preferred:

http://developers.sun.com/solaris/articles/event_completion.html

It suggests that /dev/poll is not as performant, but I'm not sure I
believe it.  One feature which it does seem to have which puts it ahead
of /dev/poll is the support of various non-fd event sources (eg, timers).

--
nosy: +exarkun

___
Python tracker 

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



[issue6396] No conversion specifier in the string, no __getitem__ method in the right hand value

2009-07-01 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

No, it's not logical that there should be an exception. The result looks
right to me.

You are incorrectly assuming that it would always invoke __getitem__ in
this case, which is not true:

py> "a string with a single placeholder: %s" % c
'a string with a single placeholder: <__main__.AClass object at 0xb7d3b1ec>'

So whether it requires c to be a dictionary depends on whether there are
any %(foo)s conversions in the string. With no conversion specifiers,
the values passed to % are irrelevant.

--
nosy: +loewis
resolution:  -> invalid
status: open -> closed

___
Python tracker 

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