summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a couple spelling errors in comments and delete redundant __len__ def.R. David Murray2010-10-011-5/+2
|
* Issue1491 - BaseHTTPServer incorrectly implements response code 100Senthil Kumaran2010-09-304-3/+151
|
* Remove an unreferenced variable. len is no longer needed.Brian Curtin2010-09-291-1/+0
|
* Issue #9599: Further accuracy tweaks to loghelper. For an integer n that's ↵Mark Dickinson2010-09-292-16/+31
| | | | small enough to be converted to a float without overflow, log(n) is now computed as log(float(n)), and similarly for log10.
* Add testcases from bug report #9980.Mark Dickinson2010-09-291-0/+5
|
* Fix PyUnicode_AsWideCharString(): set *size if size is not NULLVictor Stinner2010-09-291-0/+2
|
* test_imp: getfilesystemencoding() cannot be None anymoreVictor Stinner2010-09-291-1/+0
| | | | And the codec name is normalized.
* Use os.fsencode() to support surrogatesVictor Stinner2010-09-292-2/+2
|
* Issue #9630: Redecode filenames when setting the filesystem encodingVictor Stinner2010-09-295-1/+293
| | | | | | | | | | | | | | Redecode the filenames of: - all modules: __file__ and __path__ attributes - all code objects: co_filename attribute - sys.path - sys.meta_path - sys.executable - sys.path_importer_cache (keys) Keep weak references to all code objects until initfsencoding() is called, to be able to redecode co_filename attribute of all code objects.
* Fix NNTP when there's a ".netrc" fileAntoine Pitrou2010-09-292-3/+5
|
* Disable the usenetrc option when testing nntplibAntoine Pitrou2010-09-291-1/+2
|
* Issue #9360: Cleanup and improvements to the nntplib module. The APIAntoine Pitrou2010-09-294-462/+2035
| | | | | now conforms to the philosophy of bytes and unicode separation in Python 3. A test suite has also been added.
* Fix #9978. WINFUNCTYPE is from ctypes, not from ctypes.wintypes.Brian Curtin2010-09-291-2/+2
| | | | | r85073 changed the importing in wintypes to not use *, so the previous usage here became even more incorrect.
* Issue #9983: warn that urllib and httplib don't perform SSL certificate ↵Antoine Pitrou2010-09-292-6/+10
| | | | validation.
* Issue #9962: GzipFile now has the peek() method.Antoine Pitrou2010-09-294-7/+58
|
* Issue #9979: Use PyUnicode_AsWideCharString() in _ctypes moduleVictor Stinner2010-09-292-24/+5
| | | | | | | | * Convert unicode to wide character string before creating the PyCapsule object * Catch integer overflow * Avoid useless memset() * Prepare the support of surrogates
* Issue #9979: Use PyUnicode_AsWideCharString() in time.strftime()Victor Stinner2010-09-291-21/+20
| | | | | Allocate memory with PyMem_Alloc() instead of the PyBytes API. Prepare the surrogates support.
* Issue #9979: Use PyUnicode_AsWideCharString() for _locale.strcoll()Victor Stinner2010-09-291-17/+4
| | | | It simplifies the code and prepare the surrogates support.
* Issue #9979: Use PyUnicode_AsWideCharString() in import.cVictor Stinner2010-09-291-18/+16
| | | | | Don't truncate path if it is too long anymore, and allocate fewer memory (but allocate it on the heap, not on the stack).
* Issue #9979: Create function PyUnicode_AsWideCharString().Victor Stinner2010-09-294-16/+80
|
* linecache.updatecache(): don't the lines into the cache on IOErrorVictor Stinner2010-09-291-1/+1
| | | | Use the same behaviour than Python 2.7.
* linecache.updatecache() returns an empty list on errorVictor Stinner2010-09-291-1/+1
| | | | lines variable was not set on IOError
* Have test_sqlite print version info when run in verbose mode.R. David Murray2010-09-291-1/+6
|
* #7110: have regrtest print test failures and tracebacks to stderr not stdout.R. David Murray2010-09-293-6/+10
| | | | Patch by Sandro Tosi.
* Give a dedicated page to memoryview objects, so that they can be partAntoine Pitrou2010-09-283-48/+55
| | | | | of the concrete objects layer, while the buffer protocol is part of the abstract objects layer.
* Buffers are not sequence objects (!). Put them in the abstract objects layersAntoine Pitrou2010-09-284-24/+22
| | | | instead.
* Various improvements to the docs of the buffer APIAntoine Pitrou2010-09-281-47/+82
|
* #9628: fix runtests.sh -x option so more than one test can be excluded.R. David Murray2010-09-282-1/+3
|
* Fix compilation under WindowsAntoine Pitrou2010-09-281-0/+3
|
* Discourage use of the old buffer API funcsAntoine Pitrou2010-09-281-1/+16
|
* Issue #9090: When a socket with a timeout fails with EWOULDBLOCK or EAGAIN,Antoine Pitrou2010-09-283-15/+104
| | | | | | retry the select() loop instead of bailing out. This is because select() can incorrectly report a socket as ready for reading (for example, if it received some data with an invalid checksum).
* Issue #3612: Added new types to ctypes.wintypes. (CHAR and pointers)Hirokazu Yamamoto2010-09-282-74/+97
|
* Updated PC/VC6 openssl build script. (for openssl-1.0.0a)Hirokazu Yamamoto2010-09-281-16/+42
|
* Now perl path with spaces can be used.Hirokazu Yamamoto2010-09-282-10/+10
|
* Reverted to r70917.Hirokazu Yamamoto2010-09-281-2/+1
|
* Issue #9970: improve C API documentation for memoryview objectsAntoine Pitrou2010-09-281-6/+28
|
* Fix for issue #9568.Ronald Oussoren2010-09-282-1/+3
|
* Add support for the ZSH shell to the "Update Shell Profile" scriptRonald Oussoren2010-09-282-1/+8
| | | | | | on MacOSX. Patch by Sylvain Mora, issue #9701.
* Changed order to see other test results. (Also temporary commit)Hirokazu Yamamoto2010-09-281-1/+1
|
* Run test_ttk_guionly in verbose mode. (This commit is temporary)Hirokazu Yamamoto2010-09-281-1/+2
|
* Issue #9599: Tweak loghelper algorithm to return slightly improved results ↵Mark Dickinson2010-09-282-6/+11
| | | | for powers of 2.
* Updated VS8.0 bz2.vcproj with PCBuild/vs9to8.py.Hirokazu Yamamoto2010-09-281-24/+60
|
* Since __import__ is not designed for general use, have its docstring pointBrett Cannon2010-09-272-2/+9
| | | | | | people towards importlib.import_module(). Closes issue #7397.
* Implement #8521. Added named argument handling to winreg's CreateKeyEx,Brian Curtin2010-09-274-36/+73
| | | | | | | | DeleteKeyEx, and OpenKeyEx. Note that CKE and DKE are new functions for 3.2 so I didn't give them a versionchanged because of the existing versionadded. OpenKeyEx already existed so it gets a versionchanged tag.
* Issue #9950: Fix socket.sendall() crash or misbehaviour when a signal isAntoine Pitrou2010-09-273-23/+67
| | | | | | received. Now sendall() properly calls signal handlers if necessary, and retries sending if these returned successfully, including on sockets with a timeout.
* Issue 9941: Minor code cleanup before implementing the context manager feature:Alexander Belopolsky2010-09-271-21/+11
| | | | | | | - Eliminated code repetition between run and runctx; - Removed redundant calls to dict.key; - Removed unused "blabbed" attribute; - Simplified the loop in write_results_file().
* logging: Updated library configuration documentation.Vinay Sajip2010-09-271-2/+20
|
* issue 9910Kristján Valur Jónsson2010-09-274-2/+68
| | | | Add a Py_SetPath api to override magic path computations when starting up python.
* Fix Issue1595365 - Adding the req.headers after the un-redirect headers haveSenthil Kumaran2010-09-272-2/+16
| | | | | | been added. This helps in accidental overwritting of User-Agent header to default value. To preserve the old behavior, only headers not in unredirected headers will be updated.
* Issue #8445: try to fix some buildbot failures on test_ttk_guionly.Antoine Pitrou2010-09-261-4/+8
| | | | Patch by Guilherme.