skip at pobox.com wrote: > Christian> I could not find documentation of the following change in > Christian> python2.5. What is the reason for that? > > Without looking through the change history for the module it's unclear to me > why that would have changed. The thing that changed is that the get_dialect > call now returns a _csv.Dialect object instead of an instance of the > csv.excel class: > > % python2.4 > Python 2.4.1 (#3, Jul 28 2005, 22:08:40) > [GCC 3.3 20030304 (Apple Computer, Inc. build 1671)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import csv > >>> d = csv.get_dialect("excel") > >>> d > <csv.excel instance at 0x3ae058> > > % python > Python 2.6a0 (trunk:54264M, Mar 10 2007, 15:19:48) > [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import csv > >>> d = csv.get_dialect("excel") > >>> d > <_csv.Dialect object at 0x137fac0> > > Please submit a bug report on SourceForge. > Ok. Done. Christian
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4