[issue1228] 3.0 tutorial/datastructures.rst patch

2007-10-02 Thread Peter Harris

New submission from Peter Harris:

Describe 3.0 comparison behaviour (but not in much detail)

--
components: Documentation
files: datastructures.diff
messages: 56212
nosy: scav
severity: normal
status: open
title: 3.0 tutorial/datastructures.rst patch
versions: Python 3.0

__
Tracker <[EMAIL PROTECTED]>

__

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



[issue1229] 3.0 library/stdtypes.rst

2007-10-02 Thread Peter Harris

New submission from Peter Harris:

line 221 'loating point' -> 'Floating point'.

Also, maybe double-check that __cmp__ method still has special meaning
in 3.0.  My last patch took out mention of it because 3.0a1 seems not to
support comparisons using __cmp__ method, but I could be missing something.

--
components: Documentation
messages: 56213
nosy: scav
severity: minor
status: open
title: 3.0 library/stdtypes.rst
versions: Python 3.0

__
Tracker <[EMAIL PROTECTED]>

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



[issue1227] csv docs say 'excel_tab'; code says 'excel-tab'

2007-10-02 Thread Skip Montanaro

Skip Montanaro added the comment:

The string name of the dialect is "excel-tab".  Hyphens are not
valid characters in identifiers though, so the actual object
is named "excel_tab".  When you call csv.get_dialect("excel-tab")
it instantiates the csv.excel_tab class and returns that:

>>> csv.list_dialects()
['excel-tab', 'excel']
>>> csv.get_dialect("excel-tab")

>>> csv.excel_tab

>>> csv.get_dialect("excel-tab").__class__ == csv.excel_tab
True

--
assignee:  -> skip.montanaro
nosy: +skip.montanaro
resolution:  -> works for me
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

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



[issue1227] csv docs say 'excel_tab'; code says 'excel-tab'

2007-10-02 Thread Dean Elzinga

Dean Elzinga added the comment:

Ohh! Thanks for the clarification. Sorry for the misunderstanding.

> -Original Message-
> From: Skip Montanaro [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 02, 2007 8:14 AM
> To: [EMAIL PROTECTED]
> Subject: [issue1227] csv docs say 'excel_tab'; code says
> 'excel-tab'
> 
> 
> Skip Montanaro added the comment:
> 
> The string name of the dialect is "excel-tab".  Hyphens
> are not
> valid characters in identifiers though, so the actual
> object
> is named "excel_tab".  When you call
> csv.get_dialect("excel-tab")
> it instantiates the csv.excel_tab class and returns that:
> 
> >>> csv.list_dialects()
> ['excel-tab', 'excel']
> >>> csv.get_dialect("excel-tab")
> 
> >>> csv.excel_tab
> 
> >>> csv.get_dialect("excel-tab").__class__ ==
> csv.excel_tab
> True
> 
> --
> assignee:  -> skip.montanaro
> nosy: +skip.montanaro
> resolution:  -> works for me
> status: open -> closed
> 
> __
> Tracker <[EMAIL PROTECTED]>
> 
> __

__
Tracker <[EMAIL PROTECTED]>

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



[issue1203] ctypes doesn't work on Mac with --disable-toolbox-glue

2007-10-02 Thread Bill Janssen

Bill Janssen added the comment:

Yes, that works too.  It seems to be another way of accessing
the same information; it's not clear to me which is preferable.

Bill

On 9/25/07, Thomas Heller <[EMAIL PROTECTED]> wrote:
>
> Thomas Heller added the comment:
>
> This patch looks better.  However, the 'os.uname()' function seems to
> return the information that we need; so I updated the patch to use this
> instead.  Can you please proofread it (osx.patch) ?
>
> __
> Tracker <[EMAIL PROTECTED]>
> 
> __
>

__
Tracker <[EMAIL PROTECTED]>

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



[issue1228] 3.0 tutorial/datastructures.rst patch

2007-10-02 Thread Martin v. Löwis

Changes by Martin v. Löwis:


--
keywords: +patch

__
Tracker <[EMAIL PROTECTED]>

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