Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Elaborate a comment. | Fred Drake | 2001-07-19 | 1 | -1/+4 |
| | |||||
* | Port getaddrinfo to MSVC++. | Martin v. Löwis | 2001-07-19 | 3 | -15/+15 |
| | |||||
* | SF bug #442520: test_struct fails on SPARC. | Tim Peters | 2001-07-18 | 1 | -4/+10 |
| | | | | | | | | The ob_sval member of a string object isn't necessarily aligned to better than a native long, so the new "q" and "Q" struct codes can't get away w/ casting tricks on platforms where LONG_LONG requires stricter-than-long alignment. After I thought of a few elaborate workarounds, Guido bashed me over the head with the obvious memcpy approach, herewith implemented. | ||||
* | Add "help" to the things one is encouraged to type for more | Guido van Rossum | 2001-07-18 | 1 | -1/+2 |
| | | | | information. (I found this idea in the ActivePython 2.1 diffs.) | ||||
* | On Windows, tempnam() is spelled with a leading underscore. | Fred Drake | 2001-07-17 | 1 | -0/+4 |
| | |||||
* | The syntax trees handled by this module are not "abstract," so take the | Fred Drake | 2001-07-17 | 1 | -132/+136 |
| | | | | | "A" out of the internal abbreviations. For published functions with "ast" in their names, make alternate offerings using just "st". | ||||
* | Remove code to initialize globals that are never used. | Fred Drake | 2001-07-17 | 1 | -22/+11 |
| | | | | | | Add some casts to quiet warnings from an unspecified non-GCC compiler. This closes SF patch #436258. | ||||
* | Add support for yield statements. | Fred Drake | 2001-07-17 | 1 | -1/+17 |
| | | | | (Should be merged with descr branch.) | ||||
* | File handlers don't work on the mac, so don't pretend they do. I guess this ↵ | Jack Jansen | 2001-07-16 | 1 | -1/+2 |
| | | | | is a 2.1.1 candidate, if it isn't too late for that. | ||||
* | Fix SF #441664: Python crash on del of a slice of a mmap | Thomas Wouters | 2001-07-16 | 1 | -0/+10 |
| | | | | | | Check for slice/item deletion, which calls slice/item assignment with a NULL value, and raise a TypeError instead of coredumping. Bugreport and suggested fix by Alex Martelli. | ||||
* | Part way to allowing "from __future__ import generators" to communicate | Tim Peters | 2001-07-16 | 1 | -1/+1 |
| | | | | | | | | | | that info to code dynamically compiled *by* code compiled with generators enabled. Doesn't yet work because there's still no way to tell the parser that "yield" is OK (unlike nested_scopes, the parser has its fingers in this too). Replaced PyEval_GetNestedScopes by a more-general PyEval_MergeCompilerFlags. Perhaps I should not have? I doubted it was *intended* to be part of the public API, so just did. | ||||
* | Remove redundant include of assert.h. | Tim Peters | 2001-07-15 | 1 | -1/+0 |
| | |||||
* | Python.h: Don't attempt to redefine NDEBUG if it's already defined. | Tim Peters | 2001-07-15 | 2 | -2/+0 |
| | | | | Others: Remove redundant includes of assert.h. | ||||
* | [Bug #438050] | Andrew M. Kuchling | 2001-07-14 | 1 | -1/+3 |
| | | | | | | Include sys/poll.h if it was found by the configure script. The OpenGroup spec says poll.h is the correct header file to use, so that file is preferred. | ||||
* | Fix bug #417212: "curses.newwin can return pads" by changing the Python | Andrew M. Kuchling | 2001-07-14 | 1 | -3/+2 |
| | | | | | newwin() wrapper to always return a window, and never a pad. This makes the code match the documentation. |