summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tweaks, small updatesMichael W. Hudson2005-01-181-9/+9
|
* -X died some time ago; remove a tiny bit of associated cruft.Michael W. Hudson2005-01-181-4/+0
|
* If an extension can't be loaded, print warning and skip it instead ofKurt B. Kaiser2005-01-182-3/+9
| | | | erroring out.
* make thread stack size compile-time tunable on OS/2, increase main stackAndrew MacIntyre2005-01-171-1/+17
|
* make thread stack size compile-time tunable on OS/2Andrew MacIntyre2005-01-171-1/+5
|
* Document the reconvert module.Skip Montanaro2005-01-163-0/+83
|
* allow triple-quoted string output from reconvert.quote()Skip Montanaro2005-01-161-1/+1
|
* Patch #1100140: improved smtp connect debuggingJohannes Gijsbers2005-01-161-2/+2
| | | | | Don't print the same (host, port) tuple thrice when debugging, but first print (host, port), then (ip, port) and then the error message.
* Default stat_float_times to true.Martin v. Löwis2005-01-163-12/+10
|
* Added SEEK_* constants. Fixes #711830.Martin v. Löwis2005-01-163-1/+19
|
* Use descriptors.Guido van Rossum2005-01-165-11/+9
|
* Use decorators.Guido van Rossum2005-01-161-3/+4
|
* Use decorators.Guido van Rossum2005-01-163-15/+8
|
* Gave the new datetime.strptime() a versionadded blurb.Tim Peters2005-01-131-0/+2
|
* Whitespace normalization.Tim Peters2005-01-132-8/+8
|
* Moved reader \r and \n processing from the iterator to the state machine -Andrew McNamara2005-01-132-99/+78
| | | | | this allows for better handling of newline characters in quoted fields (and hopefully resolves Bug 967934).
* Improved SysLogHandler error recovery (patch by Erik Forsberg)Vinay Sajip2005-01-131-9/+16
|
* Add strptime() constructor to datetime class. Thanks to Josh Spoerri forSkip Montanaro2005-01-135-0/+66
| | | | the changes.
* fix typoFred Drake2005-01-121-1/+1
|
* remove unused variableFred Drake2005-01-121-1/+0
|
* Many updates to csv module doco.Andrew McNamara2005-01-121-32/+110
|
* Improve wording of parser error message.Andrew McNamara2005-01-121-2/+2
|
* Add counting of source iterator lines to the reader object - handy forAndrew McNamara2005-01-123-1/+21
| | | | | user error messages (otherwise difficult to do without instrumenting the source).
* When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fieldsAndrew McNamara2005-01-123-32/+70
| | | | to floats.
* Fix logic problem in quoting=csv.QUOTE_ALL, quotechar=None check, add test.Andrew McNamara2005-01-122-1/+3
|
* When using QUOTE_NONNUMERIC, we now test for "numericness" withAndrew McNamara2005-01-123-92/+81
| | | | | | | | PyNumber_Check, rather than trying to convert to a float. Reimplemented writer - now raises exceptions when it sees a quotechar but neither doublequote or escapechar are set. Doublequote results are now more consistent (eg, single quote should generate """", rather than "", which is ambiguous).
* Rename csv.set_field_limit to csv.field_size_limit (since it both sets andAndrew McNamara2005-01-124-15/+15
| | | | gets).
* Add news about csv module updates.Andrew McNamara2005-01-121-0/+28
|
* Improve test coverage fractionally.Andrew McNamara2005-01-121-9/+23
|
* Add belt and braces check of PyString_AsString return.Andrew McNamara2005-01-121-4/+5
|
* Improve error handling when .idlerc can't be created.Kurt B. Kaiser2005-01-111-14/+16
|
* Add duck-typing to the glossary.Raymond Hettinger2005-01-111-0/+11
|
* SF bug #1099516: tempfile files not types.FileTypeRaymond Hettinger2005-01-111-5/+5
| | | | Clarified that the returned object is file-like rather than an actual file.
* Set an upper limit on the size of the field buffer, raise an exceptionAndrew McNamara2005-01-113-32/+87
| | | | | | | when this limit is reached. Limit defaults to 128k, and is changed by module set_field_limit() method. Previously, an unmatched quote character could result in the entire file being read into the field buffer, potentially exhausting virtual memory.
* Now that internal dialect type is immutable, and the dialect registryAndrew McNamara2005-01-111-29/+40
| | | | | | | only contains instances of the dialect type, we can refer directly to the dialect instances rather than creating new ones. In other words, if the dialect comes from the registry, and we apply no further modifications, the reader/writer can use the dialect object directly.
* SF 1098985: set objects cannot be marshalledRaymond Hettinger2005-01-113-1/+80
|
* Replace python-coded validation of csv dialect with a call to the CAndrew McNamara2005-01-112-44/+7
| | | | dialect type (which has a better idea of what is and isn't valid).
* No longer attempt to instantiate python classes describing dialects. ThisAndrew McNamara2005-01-112-55/+6
| | | | | | was done because we were previously performing validation of the dialect from python, but this is now down within the C module. Also, the method we were using to detect classes did not work with new-style classes.
* Allow dialect-describing keywords to be supplied to register_dialect,Andrew McNamara2005-01-112-28/+21
| | | | | record objects of internal dialect type, rather than instances of python objects.
* Factor out the code for making a dialect instance.Andrew McNamara2005-01-111-18/+22
|
* Only set error string when dict lookup found no matching key (was settingAndrew McNamara2005-01-101-3/+6
| | | | it for all failures, potentially masking other exceptions).
* Whitespace normalization.Tim Peters2005-01-101-3/+3
|
* When parsing args that return a single character, treat null string theAndrew McNamara2005-01-101-1/+1
| | | | same as None.
* Where a string is desired, test for PyBaseString_Type derived type,Andrew McNamara2005-01-101-15/+6
| | | | rather than using PyString_Check/PyUnicode_Check.
* Fix and test for SF bug #1098990: codec readline() splits lines apart.Walter Dörwald2005-01-102-2/+32
|
* Bug #489256: remove out of date and out of place profile.doc, and letJohannes Gijsbers2005-01-102-715/+3
| | | | profile.help() point at the library reference instead of profile.doc.
* Add missing PyObject_GC_Track and PyObject_GC_UnTrack calls to csv reader andAndrew McNamara2005-01-101-0/+4
| | | | writer objects (other GC infrastructure already in place).
* Fix parsing of csv files with escapes (escape character previously would beAndrew McNamara2005-01-102-10/+2
| | | | left in stream).
* Patch #712317: In URLs such as http://www.example.com?query=spam, treat '?' asJohannes Gijsbers2005-01-092-41/+63
| | | | | | a delimiter. Previously, the 'network location' (<authority> in RFC 2396) would become 'www.example.com?query=spam', while RFC 2396 does not allow a '?' in <authority>. See bug #548176 for further discussion.
* Patch #1095362: replace hardcoded test for POST/GET with call to get_method,Johannes Gijsbers2005-01-091-1/+1
| | | | removing some duplication and gaining some flexibility in the process.