[issue12182] pydoc.py integer division problem

2011-05-25 Thread Ralf W. Grosse-Kunstleve

New submission from Ralf W. Grosse-Kunstleve :

The pydoc.HTMLRepr.multicolumn() method fails when using the Python 
command-line option -Qnew.
The attached patch inserts two slashes for floor division. (I think the same 
change was applied to Python 3 already.)

--
components: Library (Lib)
files: pydoc_patch
messages: 136920
nosy: rwgk
priority: normal
severity: normal
status: open
title: pydoc.py integer division problem
versions: Python 2.7
Added file: http://bugs.python.org/file22120/pydoc_patch

___
Python tracker 
<http://bugs.python.org/issue12182>
___
___
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

2010-08-21 Thread Ralf W. Grosse-Kunstleve

Ralf W. Grosse-Kunstleve  added the comment:

I've no access to HP machines anymore.
It's probably not worth anybody's time.
Ralf

--

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



[issue3183] sha modules & Modules/Setup.dist

2008-06-23 Thread Ralf W. Grosse-Kunstleve

New submission from Ralf W. Grosse-Kunstleve <[EMAIL PROTECTED]>:

It would be very useful to add two lines to Modules/Setup.dist:

Index: Modules/Setup.dist
===
--- Modules/Setup.dist  (revision 64489)
+++ Modules/Setup.dist  (working copy)
@@ -249,6 +249,8 @@
 # The _sha module implements the SHA checksum algorithm.
 # (NIST's Secure Hash Algorithm.)
 #_sha shamodule.c
+#_sha256 sha256module.c
+#_sha512 sha512module.c


 # SGI IRIX specific modules -- off by default.


Background:

- Python built on machine A and distributed to end-users.
  Machine A happens to have the OpenSSL libraries.

- End-user runs our package incl. the pre-built Python on
  machine B, which happens not to have the OpenSSL libraries,
  or an incompatible version.

- hashlib imports _hashlib, which fails because of the
  OpenSSL problem.

- hashlib tries to fall back to generic sha and md5 modules.
  I had _sha and md5 enabled in Modules/Setup.dist, but
  didn't know Python 2.5 needs more.

I found this out the hard way. It would be helpful to at least
have the extra two comments as suggested above. I think it would
be even better to not comment out the md5 and sha modules in
the original Python distribution since it just adds about 200k
of .o files (Linux). That's very cheap compared to the loss
in time if people have to figure out why import hashlib is
failing and how to work around the problem.

--
components: Installation
messages: 68644
nosy: rwgk
severity: normal
status: open
title: sha modules & Modules/Setup.dist
versions: Python 2.6

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3183>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1558802] Tru64 make install failure

2009-03-29 Thread Ralf W. Grosse-Kunstleve

Ralf W. Grosse-Kunstleve  added the comment:

It is no longer a problem for me. As of last fall, we don't have any
Tru64 machines anymore.

--

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