Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Major overhaul of timeout sockets: | Guido van Rossum | 2002-06-13 | 1 | -21/+22 |
| | | | | | | | | | | | | | | | | | | | | - setblocking(0) and settimeout(0) are now equivalent, and ditto for setblocking(1) and settimeout(None). - Don't raise an exception from internal_select(); let the final call report the error (this means you will get an EAGAIN error instead of an ETIMEDOUT error -- I don't care). - Move the select to inside the Py_{BEGIN,END}_ALLOW_THREADS brackets, so other theads can run (this was a bug in the original code). - Redid the retry logic in connect() and connect_ex() to avoid masking errors. This probably doesn't work for Windows yet; I'll fix that next. It may also fail on other platforms, depending on what retrying a connect does; I need help with this. - Get rid of the retry logic in accept(). I don't think it was needed at all. But I may be wrong. | ||||
* | Add documentation for PyObject_RichCompare() and PyObject_RichCompareBool(), | Fred Drake | 2002-06-13 | 1 | -0/+42 |
| | | | | | constributed by David Abrahams. This closes SF patch #568081. | ||||
* | Add version annotations for some older changes to the calendar module. | Fred Drake | 2002-06-13 | 1 | -0/+7 |
| | | | | Closes SF patch #567867. | ||||
* | SF bug 567826. Document new opcodes: | Guido van Rossum | 2002-06-12 | 1 | -6/+50 |
| | | | | | | ['BINARY_FLOOR_DIVIDE', 'BINARY_TRUE_DIVIDE', 'INPLACE_FLOOR_DIVIDE', 'INPLACE_TRUE_DIVIDE', 'GET_ITER', 'YIELD_VALUE', 'FOR_ITER', 'CONTINUE_LOOP'] | ||||
* | This is my nearly two year old patch | Michael W. Hudson | 2002-06-11 | 4 | -15/+76 |
| | | | | | | | | | [ 400998 ] experimental support for extended slicing on lists somewhat spruced up and better tested than it was when I wrote it. Includes docs & tests. The whatsnew section needs expanding, and arrays should support extended slices -- later. | ||||
* | Completely revise markup for the list of list methods; the new markup matches | Fred Drake | 2002-06-11 | 1 | -26/+35 |
| | | | | | | | the semantics and presentation used in the library reference. Added an explanation of the use of [...] to denote optional arguments, since this is the only use of this in a signature line. Closes SF bug #567127. | ||||
* | Document that the key should not contain null bytes. | Guido van Rossum | 2002-06-10 | 1 | -2/+3 |
| | |||||
* | SF bug 563750 (Alex Martelli): posix_tmpfile(): | Guido van Rossum | 2002-06-10 | 1 | -1/+1 |
| | | | | | | | The file returned by tmpfile() has mode w+b, so use that in the call to PyFile_FromFile(). Bugfix candidate. | ||||
* | Tweak traceback message to avoid LaTeX2HTML bug | Andrew M. Kuchling | 2002-06-10 | 1 | -3/+5 |
| | | | | Add a reminder | ||||
* | Fix typo | Andrew M. Kuchling | 2002-06-10 | 1 | -2/+2 |
| | |||||
* | Fix typo, and add some reminders | Andrew M. Kuchling | 2002-06-10 | 1 | -1/+12 |
| | |||||
* | Tweak the description of pymalloc. Mention pymemcompat.h. | Michael W. Hudson | 2002-06-10 | 1 | -24/+34 |
| | |||||
* | Clarify the interaction between timeout/non-blocking mode, makefile | Guido van Rossum | 2002-06-07 | 1 | -1/+10 |
| | | | | and fromfd. | ||||
* | Fix typo | Neal Norwitz | 2002-06-07 | 1 | -1/+1 |
| | |||||
* | Clarify the interaction between blocking and timeouts. Explain that | Guido van Rossum | 2002-06-07 | 1 | -16/+23 |
| | | | | fromfd() assumes a blocking non-timeout socket. | ||||
* | Add version info, and fix another typo and wording spotted by /F. I think ↵ | Neal Norwitz | 2002-06-06 | 1 | -2/+4 |
| | | | | this is what he meant. :-) | ||||
* | Fix typo spotted by Fredrik Lundh. | Fred Drake | 2002-06-06 | 1 | -1/+1 |
| | |||||
* | Fix some markup errors and adjust wording slightly. | Fred Drake | 2002-06-06 | 1 | -15/+15 |
| | |||||
* | SF patch 555085 (timeout socket implementation) by Michael Gilfix. | Guido van Rossum | 2002-06-06 | 1 | -0/+23 |
| | | | | | | | | | | | | | I've made considerable changes to Michael's code, specifically to use the select() system call directly and to store the timeout as a C double instead of a Python object; internally, -1.0 (or anything negative) represents the None from the API. I'm not 100% sure that all corner cases are covered correctly, so please keep an eye on this. Next I'm going to try it Windows before Tim complains. No way is this a bugfix candidate. :-) | ||||
* | Patch 473512: add GNU style scanning as gnu_getopt. | Martin v. Löwis | 2002-06-06 | 1 | -0/+12 |
| | |||||
* | Fix up Guido's markup. | Fred Drake | 2002-06-04 | 1 | -24/+24 |
| | |||||
* | Add constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE, | Walter Dörwald | 2002-06-04 | 1 | -10/+15 |
| | | | | | | | | | | BOM_UTF32, BOM_UTF32_LE and BOM_UTF32_BE that represent the Byte Order Mark in UTF-8, UTF-16 and UTF-32 encodings for little and big endian systems. The old names BOM32_* and BOM64_* were off by a factor of 2. This closes SF bug http://www.python.org/sf/555360 | ||||
* | Addressed SF bug 421973 (finally). | Guido van Rossum | 2002-06-03 | 1 | -46/+88 |
| | | | | | | | | | | | | | | | | | Rewrote the subsection on coercion rules (and made it a proper subsection, with a label). The new section is much less precise, because precise rules would be too hard to give (== I don't know what they are any more :-). OTOH, the new section gives much more up-to-date information. Also noted that __coerce__ may return NotImplemented, with the same meaning as None. I beg Fred forgiveness: my use of \code{} is probably naive. Please fix this and other markup nits. An index entry would be nice. This could be a 2.2 bugfix candidate, if we bother about old docs (Fred?) | ||||
* | SF bug 533625 (Armin Rigo). rexec: potential security hole | Guido van Rossum | 2002-05-31 | 1 | -0/+12 |
| | | | | | | | | | | If a rexec instance allows writing in the current directory (a common thing to do), there's a way to execute bogus bytecode. Fix this by not allowing imports from .pyc files (in a way that allows a site to configure things so that .pyc files *are* allowed, if writing is not allowed). I'll apply this to 2.2 and 2.1 too. | ||||
* | Explain that tp_basicsize must provide alignment for the items. | Guido van Rossum | 2002-05-31 | 1 | -0/+8 |
| | |||||
* | Update links and information on PyQt/PyKDE. | Fred Drake | 2002-05-31 | 1 | -6/+13 |
| | |||||
* | Add OS/2 text | Andrew M. Kuchling | 2002-05-29 | 1 | -9/+16 |
| | |||||
* | Various minor rewrites | Andrew M. Kuchling | 2002-05-29 | 1 | -42/+52 |
| | |||||
* | More additions | Andrew M. Kuchling | 2002-05-29 | 1 | -25/+15 |
| | |||||
* | As discussed on python-dev, add a mechanism to indicate features | Neal Norwitz | 2002-05-29 | 3 | -16/+31 |
| | | | | | that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved. | ||||
* | Rearrange paragraph | Andrew M. Kuchling | 2002-05-27 | 1 | -5/+5 |
| | |||||
* | This is patch | Michael W. Hudson | 2002-05-27 | 2 | -4/+56 |
| | | | | | | | [ 559250 ] more POSIX signal stuff Adds support (and docs and tests and autoconfery) for posix signal mask handling -- sigpending, sigprocmask and sigsuspend. | ||||
* | Define the "all" target more reasonably, but retain "html" as the default | Fred Drake | 2002-05-25 | 1 | -1/+2 |
| | | | | target. | ||||
* | Mention math.degrees() and math.radians() | Andrew M. Kuchling | 2002-05-24 | 1 | -12/+24 |
| | | | | Other minor rewrites | ||||
* | Move really open-ended XXX items into comments | Andrew M. Kuchling | 2002-05-24 | 1 | -9/+7 |
| | | | | Remove 1.5.2 reference: who cares? | ||||
* | Markup adjustments; fix the names of modules referenced in an expression. | Fred Drake | 2002-05-23 | 1 | -2/+2 |
| | |||||
* | Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings. | Raymond Hettinger | 2002-05-23 | 1 | -1/+4 |
| | |||||
* | Added missing dependency on the refcount data file. | Fred Drake | 2002-05-23 | 1 | -2/+2 |
| | |||||
* | Use Perl function prototypes to help avoid definition/usage mismatches | Fred Drake | 2002-05-23 | 2 | -102/+106 |
| | | | | | while modifying these files. Minor style changes to make the use of "my" with arrays more consistent. | ||||
* | Add refcount information for PySequence_ITEM(). | Fred Drake | 2002-05-23 | 1 | -0/+4 |
| | |||||
* | Add version annotation for PySequence_ITEM(). | Fred Drake | 2002-05-23 | 1 | -1/+2 |
| | |||||
* | Remove spurious "()" from the __str__() description. | Fred Drake | 2002-05-22 | 1 | -1/+1 |
| | |||||
* | Jack's documentation for the U mode character on the file() | Barry Warsaw | 2002-05-22 | 2 | -0/+27 |
| | | | | constructor, vetted by Barry. | ||||
* | Added a version annotation for StringTypes. | Fred Drake | 2002-05-22 | 1 | -0/+7 |
| | | | | Added documentation for BooleanType. | ||||
* | Minor typo: Message.getall() -> Message.get_all() | Barry Warsaw | 2002-05-22 | 1 | -1/+1 |
| | |||||
* | Patch 543387. Document deprecation of complex %, //,and divmod(). | Raymond Hettinger | 2002-05-21 | 3 | -10/+21 |
| | |||||
* | Patch 533291. Deprecate None return form of __reduce__. | Raymond Hettinger | 2002-05-21 | 1 | -4/+8 |
| | |||||
* | Add additional comments on the use of \deprecated. | Fred Drake | 2002-05-21 | 1 | -1/+4 |
| | |||||
* | Add availability information for a couple of the types, and notes on writing | Fred Drake | 2002-05-21 | 1 | -5/+10 |
| | | | | string-type tests for versions of Python built without Unicode support. | ||||
* | Typo. | Guido van Rossum | 2002-05-16 | 1 | -1/+1 |
| |