Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF bug #812202: randint is always even | Raymond Hettinger | 2003-10-05 | 1 | -0/+44 |
| | | | | | | | * Added C coded getrandbits(k) method that runs in linear time. * Call the new method from randrange() for ranges >= 2**53. * Adds a warning for generators not defining getrandbits() whenever they have a call to randrange() with too large of a population. | ||||
* | made the SGI INET_ADDRSTRLEN define apply for any compiler on Irix. Both the | Anthony Baxter | 2003-10-04 | 1 | -4/+7 |
| | | | | SGI compiler and GCC seem to need this. | ||||
* | Check for TclError when reading variables. Fixes #807314. | Martin v. Löwis | 2003-10-03 | 1 | -5/+9 |
| | | | | Backported to 2.3. | ||||
* | Patch #813445: Add missing socket.IPPROTO_IPV6. Backported to 2.3. | Martin v. Löwis | 2003-10-03 | 1 | -0/+3 |
| | |||||
* | bsddb3 4.2.2, adds DBCursor.get_current_size() method to return the length | Gregory P. Smith | 2003-10-01 | 1 | -1/+35 |
| | | | | of the current value without reading the value itself. | ||||
* | raise pybsddb version number to 4.2.1 to differentiate between it and the | Gregory P. Smith | 2003-09-21 | 1 | -1/+1 |
| | | | | version in the python 2.3.1 tree. | ||||
* | Adds basic support for BerkeleyDB 4.2.x. Compiles and passes tests; new | Gregory P. Smith | 2003-09-21 | 1 | -5/+44 |
| | | | | | | | | | | features in BerkeleyDB not exposed. notably: the DB_MPOOLFILE interface has not yet been wrapped in an object. Adds support for building and installing bsddb3 in python2.3 that has an older version of this module installed as bsddb without conflicts. The pybsddb.sf.net build/packaged version of the module uses a dynamicly loadable module called _pybsddb rather than _bsddb. | ||||
* | Patch #800697: Add readline.clear_history. | Martin v. Löwis | 2003-09-20 | 1 | -0/+21 |
| | |||||
* | Patch #730597: Disable POPEN for RTEMS. | Martin v. Löwis | 2003-09-20 | 1 | -0/+2 |
| | |||||
* | Patch #790000: Allow os.access to handle Unicode file name. | Martin v. Löwis | 2003-09-12 | 1 | -0/+16 |
| | |||||
* | select.select() now accepts a sequence (as defined by PySequence_Fast()) for | Brett Cannon | 2003-09-10 | 1 | -18/+18 |
| | | | | | | its first three arguments. Closes RFE #798046 . | ||||
* | Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne. | Just van Rossum | 2003-09-07 | 1 | -1/+1 |
| | | | | | Classical problem with int vs. long mismatch in varargs. 2.3 backport candidate. | ||||
* | Patch #798145: Return correct information from nl_langinfo(RADIXCHAR). | Martin v. Löwis | 2003-09-04 | 1 | -0/+12 |
| | | | | Will backport to 2.3. | ||||
* | Bug #794140: cygwin builds do not embed | Jason Tishler | 2003-09-04 | 1 | -1/+1 |
| | | | | | | The embed2.diff patch solves the user's problem by exporting the missing symbols from the Python core so Python can be embedded in another Cygwin application (well, at lest vim). | ||||
* | Use de_DE in example, change message for unknown locale. Fixes #797447. | Martin v. Löwis | 2003-09-03 | 1 | -2/+2 |
| | | | | Will backport to 2.3. | ||||
* | SF patch #798534: Windows os.popen needlessly gets a reference to tuple () | Raymond Hettinger | 2003-09-01 | 1 | -3/+1 |
| | | | | | | (Contributed by Andrew Gaul.) Fixes a minor leak. | ||||
* | For safety, replace a tuple entry before decreffing it. | Raymond Hettinger | 2003-08-30 | 1 | -1/+3 |
| | |||||
* | SF bug #793826: using itertools.izip to mutate tuples | Raymond Hettinger | 2003-08-29 | 1 | -2/+4 |
| | | | | Avoid Armin Rigo's dastardly exercise in re-entrancy. | ||||
* | Support DBEnv.set_shm_key() to allow multi-threaded multi-process | Gregory P. Smith | 2003-08-28 | 1 | -0/+16 |
| | | | | database environments to use shared memory on systems supporting it. | ||||
* | SF #784031: Byte-order bug in socket-module getaddrinfo.c | Raymond Hettinger | 2003-08-17 | 1 | -0/+1 |
| | |||||
* | Fix silly leak in test used in test_exceptions. | Michael W. Hudson | 2003-08-15 | 1 | -0/+1 |
| | |||||
* | [Patch #739124] Add use_default_colors() to curses module | Andrew M. Kuchling | 2003-08-13 | 1 | -1/+24 |
| | |||||
* | reverting to 2.41 version (distinct tp_names) - will add verbiage to the | Skip Montanaro | 2003-08-11 | 1 | -2/+2 |
| | | | | docs | ||||
* | shit - just change the visible name, not the comments - strictly speaking, | Skip Montanaro | 2003-08-11 | 1 | -3/+3 |
| | | | | | the tp_name is not correct, but what's exposed to users is known visibly as "StringIO", not "StringI" or "StringO". | ||||
* | typos | Skip Montanaro | 2003-08-11 | 1 | -3/+3 |
| | |||||
* | SF bug #770485: cStringIO does not set closed attr | Raymond Hettinger | 2003-08-08 | 1 | -2/+22 |
| | |||||
* | Modified itertools.izip() to match the behavior of __builtin__.zip() | Raymond Hettinger | 2003-08-08 | 1 | -6/+2 |
| | | | | which can now take zero arguments. | ||||
* | Release host name memory. Fixes #783312. Will backport to 2.3. | Martin v. Löwis | 2003-08-07 | 1 | -6/+12 |
| | |||||
* | Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename. | Mark Hammond | 2003-08-06 | 1 | -1/+1 |
| | | | | Will also check in on the 2.3 branch. | ||||
* | SF bug #782369: Massive memory leak in array module | Raymond Hettinger | 2003-08-05 | 1 | -2/+7 |
| | | | | | | | | Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem. Added missing NULL check. Clarified code by converting an "if" to an "else if". Will backport to 2.3. | ||||
* | Patch #781722: Reject AF_INET6 if IPv6 is disabled. Will backport to 2.3. | Martin v. Löwis | 2003-08-05 | 1 | -0/+8 |
| | |||||
* | Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c | Anthony Baxter | 2003-07-31 | 1 | -0/+10 |
| | | | | | Trivial patch, and the alternative is to guess at the right values based on platform... | ||||
* | Fix [ 776721 ] locale.setlocale() leaks | Mark Hammond | 2003-07-24 | 1 | -1/+3 |
| | | | | | Our saved locale was not being freed. Also check correct variable for NULL. | ||||
* | Change the zipimport implementation to accept files containing | Thomas Heller | 2003-07-22 | 1 | -2/+7 |
| | | | | | | | | | arbitrary bytes before the actual zip compatible archive. Zipfiles containing comments at the end of the file are still not supported. Add a testcase to test_zipimport, and update NEWS. This closes sf #775637 and sf #669036. | ||||
* | Repair mis-application of Jeremy's patch. Thanks, Neal! | Fred Drake | 2003-07-21 | 1 | -1/+1 |
| | |||||
* | Fix memory leak reported & discussed on the Python XML-SIG mailing list. | Fred Drake | 2003-07-21 | 1 | -5/+13 |
| | | | | | This patch was provided by Jeremy Kloth, and corresponds to pyexpat.c 1.77 in the PyXML CVS. | ||||
* | Merge 23c1-branch back into the head. Barry will send email about the | Tim Peters | 2003-07-21 | 1 | -4/+12 |
| | | | | | | New Plan (releases to be made off the head, ongoing random 2.4 stuff to be done on a short-lived branch, provided anyone is motivated enough to create one). | ||||
* | Get socketmodule compiling on IRIX 6.5.10. | Jeremy Hylton | 2003-07-17 | 1 | -2/+11 |
| | | | | | | I don't think the fix here is very good, but I'm not sure what would be better. In particular, we should not be defining _SGIAPI, but lots of things break if we remove it. | ||||
* | Remove inaccurate (and it turns out, entirely superfluous) declarations of | Michael W. Hudson | 2003-07-17 | 1 | -4/+0 |
| | | | | | | PyOS_InputHook and PyOS_ReadlineFunctionPointer). The inaccuracies were causing problems in framework builds on Mac OS X. | ||||
* | Remove unused variable. | Jeremy Hylton | 2003-07-17 | 1 | -2/+1 |
| | |||||
* | heck environment closed status before closing a cursors. Fixes #763928. | Martin v. Löwis | 2003-07-15 | 1 | -1/+8 |
| | |||||
* | [Patch #708374] Only apply the check for file size if the file is a regular ↵ | Andrew M. Kuchling | 2003-07-15 | 1 | -1/+2 |
| | | | | file, not a character or block device. | ||||
* | SF patch #770521: make itertools type declarations static | Raymond Hettinger | 2003-07-14 | 1 | -24/+24 |
| | | | | (Contributed by Andrew I MacIntyre.) | ||||
* | The Unpickler forget about its find_class attribute. | Jeremy Hylton | 2003-07-11 | 1 | -0/+3 |
| | |||||
* | Fix [ 766669 ] Consistent GPF on exit | Mark Hammond | 2003-07-09 | 1 | -1/+1 |
| | | | | | Use Py_AtExit instead of atexit so we are called during Py_Finalize() rather than during DLL teardown. | ||||
* | bsddb 4.1.6: | Gregory P. Smith | 2003-07-09 | 1 | -41/+110 |
| | | | | | | | | | | | * Extended DB & DBEnv set_get_returns_none functionality to take a "level" instead of a boolean flag. The boolean 0 and 1 values still have the same effect. A value of 2 extends the "return None instead of raising an exception" behaviour to the DBCursor set methods. This will become the default behaviour in pybsddb 4.2. * Fixed a typo in DBCursor.join_item method that made it crash instead of returning a value. Obviously nobody uses it. Wrote a test case for join and join_item. | ||||
* | typo | Skip Montanaro | 2003-07-08 | 1 | -1/+1 |
| | |||||
* | Fix a typo/cut-n-paste error in DBCursor.join_item so that it doesn't | Gregory P. Smith | 2003-07-07 | 1 | -1/+1 |
| | | | | | return a tuple. (this also implies that nobody uses this method; the bug has been here for a long time) | ||||
* | Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros | Neal Norwitz | 2003-07-01 | 2 | -3/+3 |
| | |||||
* | Make temporary change of using _strptime for time.strptime permanent. | Brett Cannon | 2003-07-01 | 1 | -41/+1 |
| | | | | Flesh out docs to better explain time.strptime (closes bug #697990). |