summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove workaroundAntoine Pitrou2010-09-091-3/+1
|
* Issue #9804: ascii() now always represents unicode surrogate pairs asAntoine Pitrou2010-09-094-17/+72
| | | | | | a single `\UXXXXXXXX`, regardless of whether the character is printable or not. Also, the "backslashreplace" error handler now joins surrogate pairs into a single character on UCS-2 builds.
* Issue #9410: Various optimizations to the pickle module, leading toAntoine Pitrou2010-09-095-526/+1863
| | | | | speedups up to 4x (depending on the benchmark). Mostly ported from Unladen Swallow; initial patch by Alexandre Vassalotti.
* Use transient_internet() where appropriate in test_sslAntoine Pitrou2010-09-091-130/+131
| | | | (svn.python.org is sometimes unavailable)
* Issue #9757: memoryview objects get a release() method to release theAntoine Pitrou2010-09-094-11/+158
| | | | | underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol.
* Have pprint() respect the order in an OrderedDict.Raymond Hettinger2010-09-093-3/+25
|
* A little bit more readable repr method.Raymond Hettinger2010-09-091-3/+3
|
* Experiment: Let collections.namedtuple() do the work. This should work now ↵Raymond Hettinger2010-09-091-39/+3
| | | | that _collections is pre-built. The buildbots will tell us shortly.
* PCBuild cosmetic fixes.Hirokazu Yamamoto2010-09-092-6/+9
| | | | | | | * pythoncore.vcproj: Fixed indentation * _multiprocessing.vcproj: Converted ProjectGUID to uppercase. Otherwise, VS8 _multiprocessing.vcproj created by vs9to8.py was modified every time loads it in VS8 IDE.
* Updated VS7.1 project file. (I cannot test this file because I don't have VS7.1)Hirokazu Yamamoto2010-09-092-11/+18
|
* Updated VC6 files.Hirokazu Yamamoto2010-09-093-14/+14
| | | | | | * pythoncore.dsp: updated project file * readme.txt: removed dead link * tcl852.patch: fixed patch. it was doubled.
* Improve the repr for the TokenInfo named tuple.Raymond Hettinger2010-09-092-2/+29
|
* Add docstring to cmd.Cmd.do_help()Raymond Hettinger2010-09-093-8/+5
|
* Add a working example for the cmd module.Raymond Hettinger2010-09-091-0/+162
|
* Fix issue 9794: adds context manager protocol to socket.socket so that ↵Giampaolo Rodolà2010-09-084-0/+60
| | | | socket.create_connection() can be used with the 'with' statement.
* gdb: fix representation of non-printable surrogate pairs, and workaroundAntoine Pitrou2010-09-082-9/+14
| | | | a bug in ascii().
* Add a safety limit to the number of unicode characters we fetchAntoine Pitrou2010-09-081-1/+2
| | | | (followup to r84635, suggested by Dave Malcolm).
* Issue #9188: The gdb extension now handles correctly narrow (UCS2) as wellAntoine Pitrou2010-09-082-13/+50
| | | | | as wide (UCS4) unicode builds for both the host interpreter (embedded inside gdb) and the interpreter under test.
* Improve variable name (don't shadow a builtin).Raymond Hettinger2010-09-081-3/+3
|
* One more conversion from pow() to **.Raymond Hettinger2010-09-081-1/+1
|
* * Remove dependency on binascii.hexlify by using int.from_bytes().Raymond Hettinger2010-09-081-10/+9
| | | | | | | * Use the new super() with no arguments. * Replace pow() call with the ** operator. * Increase urandom seeding from 16 bytes to 32 bytes. * Clean-up docstring.
* PEP 3149: Try to load the extension with the SOABI before tryingMatthias Klose2010-09-081-1/+1
| | | | to load the one without the SOABI in the name.
* Revert the doc change done in r83880. str.replace with negative count value ↵Senthil Kumaran2010-09-081-2/+1
| | | | is not a feature.
* Issue #9797: pystate.c wrongly assumed that zero couldn't be a validAntoine Pitrou2010-09-082-8/+10
| | | | thread-local storage key.
* logging: Added QueueHandler.Vinay Sajip2010-09-083-19/+238
|
* Add Lukasz.Georg Brandl2010-09-081-0/+3
|
* In the case where only a user supplied random() method is available,Raymond Hettinger2010-09-081-12/+12
| | | | adopt a strategy that makes the fewest calls to random().
* Follow-up to #9199: Fix str.join use, add newlines.Éric Araujo2010-09-081-1/+1
| | | | | Thanks to Konrad Delong for writing a test for upload_docs --show-response in distutils2, letting me catch my mistake.
* Fix incorrect use of Command.announce (#9199)Éric Araujo2010-09-071-1/+2
|
* Fix eon-old bug in build_clib options (#1718574)Éric Araujo2010-09-071-2/+2
|
* Issue #9707: Rewritten reference implementation of threading.local whichAntoine Pitrou2010-09-073-85/+85
| | | | | | is friendlier towards reference cycles. This change is not normally visible since an optimized C implementation (_thread._local) is used instead.
* Also catch some gaierrorsAntoine Pitrou2010-09-071-1/+10
|
* Fix typo in whatsnew (#9793)Éric Araujo2010-09-071-1/+1
|
* #6394: Add os.getppid() support for Windows.Amaury Forgeot d'Arc2010-09-076-4/+80
|
* Improve transient_internet() again to detect more network errors,Antoine Pitrou2010-09-072-22/+39
| | | | and use it in test_robotparser. Fixes #8574.
* Issue #9792: In case of connection failure, socket.create_connection()Antoine Pitrou2010-09-073-9/+48
| | | | | | would swallow the exception and raise a new one, making it impossible to fetch the original errno, or to filter timeout errors. Now the original error is re-raised.
* Issue #8574: better implementation of test.support.transient_internet().Antoine Pitrou2010-09-072-11/+35
| | | | Original patch by Victor.
* Neaten-up comments and warning message.Raymond Hettinger2010-09-071-4/+4
|
* Minor refactoring and cleanup. Extend looping randrange() technique to ↵Raymond Hettinger2010-09-071-20/+23
| | | | subclasses.
* Update nntplib examples to use a public news server.Antoine Pitrou2010-09-071-17/+17
| | | | | The example still doesn't work as-is under py3k, due to incomplete or buggy porting of the nntplib module.
* Issue #9758: When fcntl.ioctl() was called with mutable_flag set to True,Antoine Pitrou2010-09-073-6/+31
| | | | | and the passed buffer was exactly 1024 bytes long, the buffer wouldn't be updated back after the system call. Original patch by Brian Brazil.
* Remove invalid test (it was supposed to fail on 64-bit machines.).Raymond Hettinger2010-09-071-4/+0
|
* Fix test that depends on a particular implementation of random.choice().Raymond Hettinger2010-09-072-27/+24
|
* Issue #4026: Make the fcntl extension build under AIX.Antoine Pitrou2010-09-075-10/+108
| | | | Patch by Sébastien Sablé.
* Adjust #8956 to add the bad signal number to the exception message.Brian Curtin2010-09-071-1/+1
|
* Fix corner case for Random.choice() and add tests.Raymond Hettinger2010-09-072-1/+12
|
* Small clean-ups.Raymond Hettinger2010-09-071-29/+12
|
* Add stub entry for argparse.Georg Brandl2010-09-071-0/+2
|
* typoRaymond Hettinger2010-09-071-1/+1
|
* Remove outdated reference to Wichmann-Hill algorithm.Raymond Hettinger2010-09-071-12/+4
|