Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | It will always be a string, because it is created just before this call. | Jeremy Hylton | 2001-08-20 | 1 | -1/+1 |
| | |||||
* | SF patch #452239 by Gordon McMillan, to fix SF bug #451547. | Guido van Rossum | 2001-08-18 | 1 | -1/+25 |
| | | | | | | | | | | This patch attempts to do to cPickle what Guido did for pickle.py v 1.50. That is: save_global tries importing the module, and fetching the name from the module. If that fails, or the returned object is not the same one we started with, it raises a PicklingError. (All this so pickling a lambda will fail at save time, rather than load time). | ||||
* | Expose the CO_xxx flags via the "new" module (re-solving a problem "the | Tim Peters | 2001-08-18 | 1 | -2/+31 |
| | | | | | | | | | | right way"). Fiddle __future__.py to use them. Jeremy's pyassem.py may also want to use them (by-hand duplication of magic numbers is brittle), but leaving that to his judgment. Beef up __future__'s test to verify the exported feature names appear correct. | ||||
* | added warnings about security risk of using tmpnam and tempnam | Skip Montanaro | 2001-08-18 | 1 | -0/+10 |
| | |||||
* | Patch #445762: Support --disable-unicode | Martin v. Löwis | 2001-08-17 | 5 | -13/+45 |
| | | | | | | | | - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests. | ||||
* | Stop adding 3 to FD_SETSIZE -- it makes no sense. If it turns out it | Tim Peters | 2001-08-16 | 1 | -15/+11 |
| | | | | | actually does <wink>, perhaps an Insure run will catch it. Also removed senseless Windows comment. | ||||
* | init_sre(): Plug a little leak reported by Insure. | Barry Warsaw | 2001-08-16 | 1 | -2/+5 |
| | |||||
* | Fixed a couple of minor formatting nits where lines were > 79 columns wide. | Barry Warsaw | 2001-08-16 | 1 | -2/+4 |
| | |||||
* | select_select(): Closing bug #448351 the easy way, i.e. by changing | Barry Warsaw | 2001-08-16 | 1 | -8/+21 |
| | | | | | | | | | | the "#ifdef MS_WINDOWS" to "#ifdef SELECT_USES_HEAP" and by setting SELECT_USES_HEAP when FD_SETSIZE > 1024. The indirection seems useful since this subtly changes the path that "normal" Windows programs take (where Timmie sez FD_SETSIZE = 512). If that's a problem for Windows, he has only one place to change. | ||||
* | Use METH_O where possible (two functions). This does not lead to real | Fred Drake | 2001-08-16 | 1 | -29/+24 |
| | | | | | performance changes since the affected functions are not expected to be used frequently, but reduces the volume of code. | ||||
* | Change the type names to xxsublist.<name>. | Guido van Rossum | 2001-08-16 | 1 | -2/+2 |
| | |||||
* | Add 'state' as a get/set attribute to spamlist. This serves as an | Guido van Rossum | 2001-08-15 | 1 | -1/+12 |
| | | | | example. | ||||
* | Add 'state' as a read-only attribute to spamdict. This serves as an | Guido van Rossum | 2001-08-15 | 1 | -1/+7 |
| | | | | example. | ||||
* | Fix portability problems with glibc 2.0, as reported in #449157. | Martin v. Löwis | 2001-08-15 | 4 | -1/+17 |
| | |||||
* | Use the abstract object interfaces when digging around in module objects | Fred Drake | 2001-08-15 | 1 | -19/+19 |
| | | | | instead of directly manipulating the underlying dictionary. | ||||
* | With WITH_NEXT_FRAMEWORK defined we now also expect a normal Python | Jack Jansen | 2001-08-15 | 1 | -6/+20 |
| | | | | | | installation. If there is no LANDMARK we assume we're a bare framework in the install directory (again WITH_NEXT_FRAMEWORK only). | ||||
* | Bump size of sprintf buffer. Suggested by Alex Coventry. | Martin v. Löwis | 2001-08-12 | 1 | -1/+1 |
| | |||||
* | Autotest for netpacket/packet.h, as it is not available on all Linux versions. | Martin v. Löwis | 2001-08-10 | 1 | -6/+6 |
| | | | | Depend AF_PACKET on HAVE_NETPACKET_PACKET_H. Fixes #449157 | ||||
* | _DATE_FMT does not always accompany CODESET. | Martin v. Löwis | 2001-08-10 | 1 | -0/+3 |
| | |||||
* | Remove "referents" structure (it's not needed). Check return value | Neil Schemenauer | 2001-08-10 | 1 | -20/+17 |
| | | | | of PyList_Append. | ||||
* | Expose nl_langinfo through locale where available. | Martin v. Löwis | 2001-08-10 | 1 | -0/+103 |
| | |||||
* | Add wrappers around the rich-comparison operations. | Fred Drake | 2001-08-09 | 1 | -1/+22 |
| | | | | | | | This closes SF patch #428320. Add wrappers to expose "floor" and "true" division. This closes SF feature request #449093. | ||||
* | Add get_objects function. This is a low level function (like | Neil Schemenauer | 2001-08-09 | 1 | -0/+38 |
| | | | | | get_referents, and is not yet documented in the library manual). Suggestions for a better name welcome. | ||||
* | Add get_referents function. Closes SF patch #402925. | Neil Schemenauer | 2001-08-09 | 1 | -0/+50 |
| | |||||
* | Put conditional S_ISDIR definition(s) into pyport.h. | Martin v. Löwis | 2001-08-08 | 1 | -9/+0 |
| | |||||
* | Part of SF patch [#431848] mathmodule.c: doc strings & conversion, from | Tim Peters | 2001-08-07 | 1 | -15/+18 |
| | | | | | | Peter Schneider-Kamp. Clarified some docstrings in the spirit of the patch; left out the degrees() and radians() functions (see the patch comments on SF). | ||||
* | - Rename PyType_InitDict() to PyType_Ready(). | Guido van Rossum | 2001-08-07 | 1 | -2/+2 |
| | | | | | | - Add an explicit call to PyType_Ready(&PyList_Type) to pythonrun.c (just for the heck of it, really -- we should either explicitly ready all types, or none). | ||||
* | Got rid of (hopefully) the last 68k-mac related ifdefs. | Jack Jansen | 2001-08-07 | 1 | -7/+0 |
| | |||||
* | Add more constants. Contributed by itojun. | Martin v. Löwis | 2001-08-04 | 1 | -1/+73 |
| | |||||
* | Auto-detect hstrerror. Raise socket.herror in PyH_Error. Register the three | Martin v. Löwis | 2001-08-04 | 1 | -2/+4 |
| | | | | exception classes in the module dictionary. | ||||
* | Do not use the system getaddrinfo on Mac OS X. Fixes bug #445928. | Martin v. Löwis | 2001-08-03 | 1 | -6/+16 |
| | | | | Since getnameinfo is not implemented, remove __APPLE__ check here. | ||||
* | Merge of descr-branch back into trunk. | Tim Peters | 2001-08-02 | 4 | -1/+240 |
| | |||||
* | Cleaned up the docstring for readline.set_completer(). | Fred Drake | 2001-08-01 | 1 | -1/+1 |
| | | | | Thanks to Nathaniel Gray for reporting the confusion. | ||||
* | Enable PyOS_snprintf() et al. during alpha phase of 2.2.0 and | Marc-André Lemburg | 2001-07-31 | 1 | -10/+2 |
| | | | | add another use case to the socketmodule. | ||||
* | Temporarily work around bug #445928: Force usage of getaddrinfo emulation | Martin v. Löwis | 2001-07-30 | 1 | -2/+6 |
| | | | | code on Darwin, since the C library version of that seems to be broken. | ||||
* | Squash compiler wng about mixing signed and unsigned in comparison. | Tim Peters | 2001-07-28 | 1 | -1/+2 |
| | |||||
* | Fix buffer_info() docstring to match reality. See SF bug #444842. | Guido van Rossum | 2001-07-27 | 1 | -1/+3 |
| | |||||
* | Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. | Martin v. Löwis | 2001-07-26 | 3 | -3/+3 |
| | |||||
* | Use HAVE_SNPRINTF, not HAVE_SPRINTF, for checking the availability of | Thomas Wouters | 2001-07-24 | 1 | -1/+1 |
| | | | | snprintf. | ||||
* | Autocheck for snprintf, and use sprintf if it is not available. | Martin v. Löwis | 2001-07-24 | 2 | -7/+8 |
| | | | | | Remove declaration of h_errno, since it is supposedly declared in netdb.h. Changes proposed by itojun. | ||||
* | Add -E command line switch (ignore environment variables like PYTHONHOME | Neil Schemenauer | 2001-07-23 | 3 | -9/+20 |
| | | | | and PYTHONPATH). | ||||
* | Before declaring h_errno, do not check for Win32 only. Instead, do check | Martin v. Löwis | 2001-07-23 | 2 | -2/+2 |
| | | | | whether h_errno is a macro. | ||||
* | Instead of accessing ss_family, cast sockaddr_storage to sockaddr and access ↵ | Martin v. Löwis | 2001-07-23 | 1 | -1/+5 |
| | | | | sa_family. | ||||
* | Set ai_addrlen even if there is no sa_len. | Martin v. Löwis | 2001-07-21 | 1 | -0/+1 |
| | |||||
* | Patch #401196: IPv6 extensions to the socket module. | Martin v. Löwis | 2001-07-21 | 1 | -103/+546 |
| | | | | | | | | New functions getnameinfo, getaddrinfo. New exceptions socket.gaierror, socket.herror. Various new constants, in particular AF_INET6 and error codes and parameters for getaddrinfo. AF_INET6 support in setipaddr, makesockaddr, getsockaddr, getsockaddrlen, gethost_common, PySocket_gethostbyaddr. | ||||
* | Silence warnings in MSVC++: hide unused variables, add constness back to | Martin v. Löwis | 2001-07-21 | 3 | -7/+14 |
| | | | | inet_pton/ntop, convert htons argument to u_short. | ||||
* | Make more warnings go away on the SGI compiler. | Fred Drake | 2001-07-19 | 4 | -11/+6 |
| | | | | This is part of SF patch #424992. | ||||
* | Clean up some warnings from the SGI compiler. | Fred Drake | 2001-07-19 | 1 | -3/+3 |
| | | | | This is part of SF patch #434992. | ||||
* | Kill a warning on the SGI compiler. | Fred Drake | 2001-07-19 | 1 | -1/+1 |
| | | | | This is part of SF patch #434992. | ||||
* | Remove warnings from the SGI compiler. | Fred Drake | 2001-07-19 | 2 | -7/+4 |
| | | | | This is part of SF patch #434992. |