summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Remove extraneous whitespace.Brett Cannon2010-05-053-51/+51
|
* Remove an unnecessary variable.Brett Cannon2010-05-051-3/+0
| | | | Found using Clang's static analyzer.
* Untabify Modules/_io/fileio.cAntoine Pitrou2010-05-051-705/+705
|
* Untabify Modules/_ssl.cAntoine Pitrou2010-05-051-1346/+1346
|
* On Windows, ctypes does no longer check the stack before and afterThomas Heller2010-05-0413-1898/+297
| | | | | | | | | calling a foreign function. This allows to use the unmodified libffi library. Remove most files from _ctypes/libffi_msvc, only two include files stay (updated from _ctypes/libffi/...). Other files are used in the cross-platform _ctypes/libffi directory.
* Fix some whitespace.Brett Cannon2010-05-041-2/+2
|
* Remove an unneeded variable assignment.Brett Cannon2010-05-041-1/+0
| | | | Found using Clang's static analyzer.
* Strip out extraneous whitespace, cast a some `const char *` to `void *` whenBrett Cannon2010-05-041-21/+21
| | | | | passed to free() and make a `char *` to a `const char *` as found by Clang's static analyzer.
* Fix a Py_DECREF to a Py_XDECREF.Brett Cannon2010-05-041-1/+1
| | | | Found using Clang's static analyzer.
* Prevent a possible NULL de-reference and an unneeded variable assignment.Brett Cannon2010-05-041-2/+2
| | | | Found using Clang's static analyzer.
* Remove a redundant string length check and variable assignment.Brett Cannon2010-05-041-5/+1
| | | | Found with Clang's static analyzer.
* Fix two potential uninitialization errors and an unneeded assignment.Brett Cannon2010-05-031-4/+6
| | | | Found using Clang's static analyzer.
* Remove unused variables and a variable initialization.Brett Cannon2010-05-031-6/+6
| | | | Found using Clang's static analyzer.
* Remove unneeded variable assignment.Brett Cannon2010-05-031-3/+1
| | | | Found using Clang's static analyzer.
* Remove unneeded variable mutation and initializations.Brett Cannon2010-05-031-4/+6
| | | | Found using Clang's static analyzer.
* Clean up whitespace and remove unneeded variable initialization as found byBrett Cannon2010-05-031-56/+52
| | | | Clang.
* Remove an unused variable.Brett Cannon2010-05-031-2/+1
| | | | Found using Clang's static analyzer.
* Remove unneeded variable initialization.Brett Cannon2010-05-031-3/+0
| | | | Found using Clang's static analyzer.
* Issue #7865: The close() method of :mod:`io` objects should not swallowAntoine Pitrou2010-05-034-17/+24
| | | | | exceptions raised by the implicit flush(). Also ensure that calling close() several times is supported. Patch by Pascal Chambon.
* Issue #4687: Fix accuracy of garbage collection runtimes displayed withAntoine Pitrou2010-05-021-1/+1
| | | | gc.DEBUG_STATS.
* Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versionsAntoine Pitrou2010-04-291-0/+1
| | | | of the Linux kernel. Patch by Yaniv Aknin.
* Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' ↵Nick Coghlan2010-04-281-2/+2
| | | | instead of '-c' while searching for the module to be executed
* Issue #8549: Fix compiling the _ssl extension under AIX. Patch byAntoine Pitrou2010-04-271-1/+1
| | | | Sridhar Ratnakumar.
* Fixing obscure syslog corner-case when sys.argv = None, syslog() would callSean Reifscheider2010-04-251-5/+10
| | | | openlog() for every logged message.
* The do_handshake() method of SSL objects now adjusts the blocking mode ofAntoine Pitrou2010-04-241-1/+6
| | | | the SSL structure if necessary (as other methods already do).
* Small comment documentation change to clarify "ident" selection.Sean Reifscheider2010-04-231-1/+2
|
* issue8451: Making syslog module use sys.argv[0] for "ident".Sean Reifscheider2010-04-231-11/+86
|
* Issue #8108: Fix the unwrap() method of SSL objects when the socket hasAntoine Pitrou2010-04-221-6/+63
| | | | | | | | | a non-infinite timeout. Also make that method friendlier with applications wanting to continue using the socket in clear-text mode, by disabling OpenSSL's internal readahead. Thanks to Darryl Miles for guidance. Issue #8108: test_ftplib's non-blocking SSL server now has proper handling of SSL shutdowns.
* Issue #8484: Load all ciphers and digest algorithms when initializingAntoine Pitrou2010-04-211-1/+2
| | | | | the _ssl extension, such that verification of some SSL certificates doesn't fail because of an "unknown algorithm".
* Issue #8438: Remove reference to the missing "surrogateescape" encodingAntoine Pitrou2010-04-191-1/+1
| | | | error handler from the new IO library.
* Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change theAntoine Pitrou2010-04-171-5/+15
| | | | available cipher list. Helps fix test_ssl with OpenSSL 1.0.0.
* add spaceBenjamin Peterson2010-04-151-1/+1
|
* Revert temporary commit in r79937Antoine Pitrou2010-04-101-37/+18
|
* Temporary commit of fix to issue #5380 (in order to watch buildbot response)Antoine Pitrou2010-04-101-18/+37
|
* fix PYTHONWARNINGS handling to not modify the original env value and improvePhilip Jenvey2010-04-101-7/+12
| | | | its tests
* Revert r79915 (temporary commit to check for buildbots -> the fix was ↵Antoine Pitrou2010-04-091-35/+6
| | | | successful)
* Temporarily commit fix to issue #8108, to check for buildbot responseAntoine Pitrou2010-04-091-6/+35
|
* SSL_MODE_AUTO_RETRY has been added in OpenSSL 0.9.6. Fix compilationAntoine Pitrou2010-04-091-0/+2
| | | | with earlier versions.
* FreeBSD is not a sysv platform, so use freebsd.S instead of sysv.S (as isJeroen Ruigrok van der Werven2010-04-071-1/+1
| | | | | | also the case in FreeBSD's port of libffi). Reviewed by: dickinsm
* Issue #8314: Fix unsigned long long bug in libffi on Sparc v8.Martin v. Löwis2010-04-071-0/+4
|
* #7301: add the environment variable $PYTHONWARNINGS to supplement the -WPhilip Jenvey2010-04-061-0/+11
| | | | | command line option patch from Brian Curtin
* remove a optimization that resulted in unexpected behavior #8929Benjamin Peterson2010-04-061-8/+0
|
* ready _sre typesBenjamin Peterson2010-04-061-2/+3
|
* Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,Antoine Pitrou2010-04-051-1/+29
| | | | | using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO` and `ssl.OPENSSL_VERSION_NUMBER`.
* fix escape_encode to return the correct consumed sizePhilip Jenvey2010-04-051-4/+5
|
* A handful of whitespace fixes in Modules/_struct.c.Mark Dickinson2010-04-041-20/+20
|
* Issue #8300 (__index__ handling in struct.pack): Remove redundant checkMark Dickinson2010-04-041-6/+1
| | | | and improve test coverage. Thanks Meador Inge for the patch.
* Add count() method to collections.deque().Raymond Hettinger2010-04-031-0/+42
|
* Issue #8300: Let struct.pack use __index__ to convert and pack non-integers.Mark Dickinson2010-04-031-11/+39
| | | | Based on a patch by Meador Inge.
* Add missing return statement in an error condition.Brian Curtin2010-04-031-1/+1
|