Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove workaround | Antoine Pitrou | 2010-09-09 | 1 | -3/+1 |
| | |||||
* | Issue #9804: ascii() now always represents unicode surrogate pairs as | Antoine Pitrou | 2010-09-09 | 4 | -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 to | Antoine Pitrou | 2010-09-09 | 5 | -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_ssl | Antoine Pitrou | 2010-09-09 | 1 | -130/+131 |
| | | | | (svn.python.org is sometimes unavailable) | ||||
* | Issue #9757: memoryview objects get a release() method to release the | Antoine Pitrou | 2010-09-09 | 4 | -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 Hettinger | 2010-09-09 | 3 | -3/+25 |
| | |||||
* | A little bit more readable repr method. | Raymond Hettinger | 2010-09-09 | 1 | -3/+3 |
| | |||||
* | Experiment: Let collections.namedtuple() do the work. This should work now ↵ | Raymond Hettinger | 2010-09-09 | 1 | -39/+3 |
| | | | | that _collections is pre-built. The buildbots will tell us shortly. | ||||
* | PCBuild cosmetic fixes. | Hirokazu Yamamoto | 2010-09-09 | 2 | -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 Yamamoto | 2010-09-09 | 2 | -11/+18 |
| | |||||
* | Updated VC6 files. | Hirokazu Yamamoto | 2010-09-09 | 3 | -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 Hettinger | 2010-09-09 | 2 | -2/+29 |
| | |||||
* | Add docstring to cmd.Cmd.do_help() | Raymond Hettinger | 2010-09-09 | 3 | -8/+5 |
| | |||||
* | Add a working example for the cmd module. | Raymond Hettinger | 2010-09-09 | 1 | -0/+162 |
| | |||||
* | Fix issue 9794: adds context manager protocol to socket.socket so that ↵ | Giampaolo Rodolà | 2010-09-08 | 4 | -0/+60 |
| | | | | socket.create_connection() can be used with the 'with' statement. | ||||
* | gdb: fix representation of non-printable surrogate pairs, and workaround | Antoine Pitrou | 2010-09-08 | 2 | -9/+14 |
| | | | | a bug in ascii(). | ||||
* | Add a safety limit to the number of unicode characters we fetch | Antoine Pitrou | 2010-09-08 | 1 | -1/+2 |
| | | | | (followup to r84635, suggested by Dave Malcolm). | ||||
* | Issue #9188: The gdb extension now handles correctly narrow (UCS2) as well | Antoine Pitrou | 2010-09-08 | 2 | -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 Hettinger | 2010-09-08 | 1 | -3/+3 |
| | |||||
* | One more conversion from pow() to **. | Raymond Hettinger | 2010-09-08 | 1 | -1/+1 |
| | |||||
* | * Remove dependency on binascii.hexlify by using int.from_bytes(). | Raymond Hettinger | 2010-09-08 | 1 | -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 trying | Matthias Klose | 2010-09-08 | 1 | -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 Kumaran | 2010-09-08 | 1 | -2/+1 |
| | | | | is not a feature. | ||||
* | Issue #9797: pystate.c wrongly assumed that zero couldn't be a valid | Antoine Pitrou | 2010-09-08 | 2 | -8/+10 |
| | | | | thread-local storage key. | ||||
* | logging: Added QueueHandler. | Vinay Sajip | 2010-09-08 | 3 | -19/+238 |
| | |||||
* | Add Lukasz. | Georg Brandl | 2010-09-08 | 1 | -0/+3 |
| | |||||
* | In the case where only a user supplied random() method is available, | Raymond Hettinger | 2010-09-08 | 1 | -12/+12 |
| | | | | adopt a strategy that makes the fewest calls to random(). | ||||
* | Follow-up to #9199: Fix str.join use, add newlines. | Éric Araujo | 2010-09-08 | 1 | -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 Araujo | 2010-09-07 | 1 | -1/+2 |
| | |||||
* | Fix eon-old bug in build_clib options (#1718574) | Éric Araujo | 2010-09-07 | 1 | -2/+2 |
| | |||||
* | Issue #9707: Rewritten reference implementation of threading.local which | Antoine Pitrou | 2010-09-07 | 3 | -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 gaierrors | Antoine Pitrou | 2010-09-07 | 1 | -1/+10 |
| | |||||
* | Fix typo in whatsnew (#9793) | Éric Araujo | 2010-09-07 | 1 | -1/+1 |
| | |||||
* | #6394: Add os.getppid() support for Windows. | Amaury Forgeot d'Arc | 2010-09-07 | 6 | -4/+80 |
| | |||||
* | Improve transient_internet() again to detect more network errors, | Antoine Pitrou | 2010-09-07 | 2 | -22/+39 |
| | | | | and use it in test_robotparser. Fixes #8574. | ||||
* | Issue #9792: In case of connection failure, socket.create_connection() | Antoine Pitrou | 2010-09-07 | 3 | -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 Pitrou | 2010-09-07 | 2 | -11/+35 |
| | | | | Original patch by Victor. | ||||
* | Neaten-up comments and warning message. | Raymond Hettinger | 2010-09-07 | 1 | -4/+4 |
| | |||||
* | Minor refactoring and cleanup. Extend looping randrange() technique to ↵ | Raymond Hettinger | 2010-09-07 | 1 | -20/+23 |
| | | | | subclasses. | ||||
* | Update nntplib examples to use a public news server. | Antoine Pitrou | 2010-09-07 | 1 | -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 Pitrou | 2010-09-07 | 3 | -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 Hettinger | 2010-09-07 | 1 | -4/+0 |
| | |||||
* | Fix test that depends on a particular implementation of random.choice(). | Raymond Hettinger | 2010-09-07 | 2 | -27/+24 |
| | |||||
* | Issue #4026: Make the fcntl extension build under AIX. | Antoine Pitrou | 2010-09-07 | 5 | -10/+108 |
| | | | | Patch by Sébastien Sablé. | ||||
* | Adjust #8956 to add the bad signal number to the exception message. | Brian Curtin | 2010-09-07 | 1 | -1/+1 |
| | |||||
* | Fix corner case for Random.choice() and add tests. | Raymond Hettinger | 2010-09-07 | 2 | -1/+12 |
| | |||||
* | Small clean-ups. | Raymond Hettinger | 2010-09-07 | 1 | -29/+12 |
| | |||||
* | Add stub entry for argparse. | Georg Brandl | 2010-09-07 | 1 | -0/+2 |
| | |||||
* | typo | Raymond Hettinger | 2010-09-07 | 1 | -1/+1 |
| | |||||
* | Remove outdated reference to Wichmann-Hill algorithm. | Raymond Hettinger | 2010-09-07 | 1 | -12/+4 |
| |