[ python-Bugs-1594742 ] Word should be changed on page 3.6.1

2006-11-11 Thread SourceForge.net
Bugs item #1594742, was opened at 2006-11-11 10:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594742&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: jikanter (jikanter)
Assigned to: Nobody/Anonymous (nobody)
Summary: Word should be changed on page 3.6.1

Initial Comment:

The documentation currently reads as follows:

startswith( prefix[, start[, end]])
Return True if string starts with the prefix,
otherwise return False. prefix can also be a tuple of
suffixes to look for. With optional start, test string
beginning at that position. With optional end, stop
comparing string at that position.

Changed in version 2.5: Accept tuples as prefix. 


I believe that in the line that starts with "prefix can
also...", the word suffixes should be changed to the
word prefixes.

Thanks for all the good work.  Let me know if you have
any questions.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594742&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1594758 ] Make docu for dict.update more clear

2006-11-11 Thread SourceForge.net
Bugs item #1594758, was opened at 2006-11-11 18:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594758&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Christoph Zwerschke (cito)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make docu for dict.update more clear

Initial Comment:
In Note (9) to the mapping types documentation
(http://docs.python.org/lib/typesmapping.html), it
should be mentioned that dict.update returns None to
remind you that it changes the dict in place.

Also, the description should more precisely say
"updates (and overwrites) `a` with key/value pairs from
`b`" instead of "updates (and overwrites) key/value
pairs from `b`".

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594758&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1594758 ] Make docu for dict.update more clear

2006-11-11 Thread SourceForge.net
Bugs item #1594758, was opened at 2006-11-11 18:37
Message generated for change (Settings changed) made by cito
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594758&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
Status: Open
Resolution: None
>Priority: 1
Private: No
Submitted By: Christoph Zwerschke (cito)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make docu for dict.update more clear

Initial Comment:
In Note (9) to the mapping types documentation
(http://docs.python.org/lib/typesmapping.html), it
should be mentioned that dict.update returns None to
remind you that it changes the dict in place.

Also, the description should more precisely say
"updates (and overwrites) `a` with key/value pairs from
`b`" instead of "updates (and overwrites) key/value
pairs from `b`".

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594758&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1594742 ] Word should be changed on page 3.6.1

2006-11-11 Thread SourceForge.net
Bugs item #1594742, was opened at 2006-11-11 16:35
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594742&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: jikanter (jikanter)
>Assigned to: Georg Brandl (gbrandl)
Summary: Word should be changed on page 3.6.1

Initial Comment:

The documentation currently reads as follows:

startswith( prefix[, start[, end]])
Return True if string starts with the prefix,
otherwise return False. prefix can also be a tuple of
suffixes to look for. With optional start, test string
beginning at that position. With optional end, stop
comparing string at that position.

Changed in version 2.5: Accept tuples as prefix. 


I believe that in the line that starts with "prefix can
also...", the word suffixes should be changed to the
word prefixes.

Thanks for all the good work.  Let me know if you have
any questions.

--

>Comment By: Georg Brandl (gbrandl)
Date: 2006-11-11 18:29

Message:
Logged In: YES 
user_id=849994

Thanks for spotting this, fixed in rev. 52731, 52732 (2.5).

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594742&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1594758 ] Make docu for dict.update more clear

2006-11-11 Thread SourceForge.net
Bugs item #1594758, was opened at 2006-11-11 17:37
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594758&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 1
Private: No
Submitted By: Christoph Zwerschke (cito)
>Assigned to: Georg Brandl (gbrandl)
Summary: Make docu for dict.update more clear

Initial Comment:
In Note (9) to the mapping types documentation
(http://docs.python.org/lib/typesmapping.html), it
should be mentioned that dict.update returns None to
remind you that it changes the dict in place.

Also, the description should more precisely say
"updates (and overwrites) `a` with key/value pairs from
`b`" instead of "updates (and overwrites) key/value
pairs from `b`".

--

>Comment By: Georg Brandl (gbrandl)
Date: 2006-11-11 18:33

Message:
Logged In: YES 
user_id=849994

Thanks for noticing, changed in rev. 52733, 52734 (2.5).

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594758&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1594809 ] make install fails, various modules do not work

2006-11-11 Thread SourceForge.net
Bugs item #1594809, was opened at 2006-11-11 15:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Evan (erflynn)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install fails, various modules do not work

Initial Comment:
I compiled Python 2.5 on a Linux user account on Debian
3.0.  configure and make seemed to go okay, but make
install failed at 'zipfile.py' when it was compiling
modules into bytecode.  I can still use the python
interpreter.  However, some important modules seem to
be missing such as 'time' and 'operator'.



--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1580563 ] "make install" for Python 2.4.4 not working properly

2006-11-11 Thread SourceForge.net
Bugs item #1580563, was opened at 2006-10-19 10:21
Message generated for change (Comment added) made by erflynn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1580563&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: "make install" for Python 2.4.4 not working properly

Initial Comment:
Running "make install" on Linux (Suse 10.1) won't
terminate properly:

Compiling /opt/python-2.4.4/lib/python2.4/user.py ...
Compiling /opt/python-2.4.4/lib/python2.4/uu.py ...
Compiling /opt/python-2.4.4/lib/python2.4/warnings.py ...
Compiling /opt/python-2.4.4/lib/python2.4/wave.py ...
Compiling /opt/python-2.4.4/lib/python2.4/weakref.py ...
Compiling /opt/python-2.4.4/lib/python2.4/webbrowser.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whichdb.py ...
Compiling /opt/python-2.4.4/lib/python2.4/whrandom.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xdrlib.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/__init__.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/dom ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/NodeFilter.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/domreg.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/expatbuilder.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minicompat.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/minidom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/pulldom.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/dom/xmlbuilder.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/parsers ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/parsers/expat.py ...
Listing /opt/python-2.4.4/lib/python2.4/xml/sax ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/__init__.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/_exceptions.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/handler.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/saxutils.py ...
Compiling
/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmllib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/xmlrpclib.py ...
Compiling /opt/python-2.4.4/lib/python2.4/zipfile.py ...
make: *** [libinstall] Error 1


--

Comment By: Evan (erflynn)
Date: 2006-11-11 15:29

Message:
Logged In: YES 
user_id=1642549

I created a new bug report so I could attach a file.  See
#1594809

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-10 18:52

Message:
Logged In: YES 
user_id=21627

Can you please provide a *complete* log file (i.e. terminal
output) of the "make install" run? If SF rejects it because
it is too large, try compressing it.

--

Comment By: Evan (erflynn)
Date: 2006-11-10 15:55

Message:
Logged In: YES 
user_id=1642549

Hi,

I am having exactly the same issue on Python 2.5.  configure
arguments have nothing special.  This was on a Debian Woody
system on which I have an account but not root access. 
Please let me know what to do in order to supply more
information.

~Evan

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-10-20 03:52

Message:
Logged In: YES 
user_id=21627

I can't reproduce this. It installs fine for me (although  I
try to install to /tmp/python-2.4.4, not opt), and also not
on SuSE, but Debian unstable.

Can you please debug through compileall, to find out whether
and how exit_status gets set to a non-zero value? For that
to happen, success should be set to 0 at some point.

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 14:00

Message:
Logged In: YES 
user_id=11084

On both system just "configure --prefix=/opt/python-2.4.4"

--

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-10-19 13:26

Message:
Logged In: YES 
user_id=580910

What are the configure arguments that you are using?

--

Comment By: Andreas Jung (ajung)
Date: 2006-10-19 10:33

Message:
Logged In: YES 
user_id=11084

Same issue on MacOSX

--

You can respond by vis

[ python-Bugs-1594809 ] make install fails, various modules do not work

2006-11-11 Thread SourceForge.net
Bugs item #1594809, was opened at 2006-11-11 12:27
Message generated for change (Comment added) made by bcannon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Evan (erflynn)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install fails, various modules do not work

Initial Comment:
I compiled Python 2.5 on a Linux user account on Debian
3.0.  configure and make seemed to go okay, but make
install failed at 'zipfile.py' when it was compiling
modules into bytecode.  I can still use the python
interpreter.  However, some important modules seem to
be missing such as 'time' and 'operator'.



--

>Comment By: Brett Cannon (bcannon)
Date: 2006-11-11 12:54

Message:
Logged In: YES 
user_id=357491

Looking through the logs it looks like libinstall had an
error.  Did you run over quota in your home directory?  The
log for 'make' shows that 'time' was built.  I bet if you
run the Python executable in the directory where you
compiled you will find you can import 'time' and such fine.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1594809 ] make install fails, various modules do not work

2006-11-11 Thread SourceForge.net
Bugs item #1594809, was opened at 2006-11-11 15:27
Message generated for change (Comment added) made by erflynn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Evan (erflynn)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install fails, various modules do not work

Initial Comment:
I compiled Python 2.5 on a Linux user account on Debian
3.0.  configure and make seemed to go okay, but make
install failed at 'zipfile.py' when it was compiling
modules into bytecode.  I can still use the python
interpreter.  However, some important modules seem to
be missing such as 'time' and 'operator'.



--

>Comment By: Evan (erflynn)
Date: 2006-11-11 16:44

Message:
Logged In: YES 
user_id=1642549

No I didn't run over quota.  Running python in the directory
it was built does not do anything differently.

The logs indicate that 4 regression tests failed during
'make test'.  This is reproducible.

--

Comment By: Brett Cannon (bcannon)
Date: 2006-11-11 15:54

Message:
Logged In: YES 
user_id=357491

Looking through the logs it looks like libinstall had an
error.  Did you run over quota in your home directory?  The
log for 'make' shows that 'time' was built.  I bet if you
run the Python executable in the directory where you
compiled you will find you can import 'time' and such fine.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1594809 ] make install fails, various modules do not work

2006-11-11 Thread SourceForge.net
Bugs item #1594809, was opened at 2006-11-11 21:27
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Evan (erflynn)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install fails, various modules do not work

Initial Comment:
I compiled Python 2.5 on a Linux user account on Debian
3.0.  configure and make seemed to go okay, but make
install failed at 'zipfile.py' when it was compiling
modules into bytecode.  I can still use the python
interpreter.  However, some important modules seem to
be missing such as 'time' and 'operator'.



--

>Comment By: Martin v. Löwis (loewis)
Date: 2006-11-12 01:28

Message:
Logged In: YES 
user_id=21627

I think I know what the cause of the problem is (although
not the root cause):

Compiling
/home/cs/csugrads/erflynn/stow/python/lib/python2.5/test/test_multibytecodec.py
...
Sorry: UnicodeError: ("\\N escapes not supported (can't load
unicodedata module)",)

So compilation for test_multibytecodec fails, causing
compileall to fail.

In the build directory, can you please run 

PYTHONPATH=/home/cs/csugrads/erflynn/stow/python/lib/python2.5
./python -Wi -tt

and do

import unicodedata
print unicodedata.ucnhash_CAPI
import test.test_multibytecodec


and report its output?

--

Comment By: Evan (erflynn)
Date: 2006-11-11 22:44

Message:
Logged In: YES 
user_id=1642549

No I didn't run over quota.  Running python in the directory
it was built does not do anything differently.

The logs indicate that 4 regression tests failed during
'make test'.  This is reproducible.

--

Comment By: Brett Cannon (bcannon)
Date: 2006-11-11 21:54

Message:
Logged In: YES 
user_id=357491

Looking through the logs it looks like libinstall had an
error.  Did you run over quota in your home directory?  The
log for 'make' shows that 'time' was built.  I bet if you
run the Python executable in the directory where you
compiled you will find you can import 'time' and such fine.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1594809 ] make install fails, various modules do not work

2006-11-11 Thread SourceForge.net
Bugs item #1594809, was opened at 2006-11-11 15:27
Message generated for change (Comment added) made by erflynn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Evan (erflynn)
Assigned to: Nobody/Anonymous (nobody)
Summary: make install fails, various modules do not work

Initial Comment:
I compiled Python 2.5 on a Linux user account on Debian
3.0.  configure and make seemed to go okay, but make
install failed at 'zipfile.py' when it was compiling
modules into bytecode.  I can still use the python
interpreter.  However, some important modules seem to
be missing such as 'time' and 'operator'.



--

>Comment By: Evan (erflynn)
Date: 2006-11-11 20:12

Message:
Logged In: YES 
user_id=1642549

It could be a good start...

[EMAIL PROTECTED] 267>./python -Wi -tt
Python 2.5 (r25:51908, Nov 10 2006, 20:10:11) 
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
>>> import unicodedata
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named unicodedata
>>> 

Maybe it's not linking some modules in?
Would it be helpful if I let you SSH to the box?

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-11-11 19:28

Message:
Logged In: YES 
user_id=21627

I think I know what the cause of the problem is (although
not the root cause):

Compiling
/home/cs/csugrads/erflynn/stow/python/lib/python2.5/test/test_multibytecodec.py
...
Sorry: UnicodeError: ("\\N escapes not supported (can't load
unicodedata module)",)

So compilation for test_multibytecodec fails, causing
compileall to fail.

In the build directory, can you please run 

PYTHONPATH=/home/cs/csugrads/erflynn/stow/python/lib/python2.5
./python -Wi -tt

and do

import unicodedata
print unicodedata.ucnhash_CAPI
import test.test_multibytecodec


and report its output?

--

Comment By: Evan (erflynn)
Date: 2006-11-11 16:44

Message:
Logged In: YES 
user_id=1642549

No I didn't run over quota.  Running python in the directory
it was built does not do anything differently.

The logs indicate that 4 regression tests failed during
'make test'.  This is reproducible.

--

Comment By: Brett Cannon (bcannon)
Date: 2006-11-11 15:54

Message:
Logged In: YES 
user_id=357491

Looking through the logs it looks like libinstall had an
error.  Did you run over quota in your home directory?  The
log for 'make' shows that 'time' was built.  I bet if you
run the Python executable in the directory where you
compiled you will find you can import 'time' and such fine.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1594809&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com