summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Major overhaul of timeout sockets:Guido van Rossum2002-06-131-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 Drake2002-06-131-0/+42
| | | | | constributed by David Abrahams. This closes SF patch #568081.
* Add version annotations for some older changes to the calendar module.Fred Drake2002-06-131-0/+7
| | | | Closes SF patch #567867.
* SF bug 567826. Document new opcodes:Guido van Rossum2002-06-121-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 patchMichael W. Hudson2002-06-114-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 matchesFred Drake2002-06-111-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 Rossum2002-06-101-2/+3
|
* SF bug 563750 (Alex Martelli): posix_tmpfile():Guido van Rossum2002-06-101-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 bugAndrew M. Kuchling2002-06-101-3/+5
| | | | Add a reminder
* Fix typoAndrew M. Kuchling2002-06-101-2/+2
|
* Fix typo, and add some remindersAndrew M. Kuchling2002-06-101-1/+12
|
* Tweak the description of pymalloc. Mention pymemcompat.h.Michael W. Hudson2002-06-101-24/+34
|
* Clarify the interaction between timeout/non-blocking mode, makefileGuido van Rossum2002-06-071-1/+10
| | | | and fromfd.
* Fix typoNeal Norwitz2002-06-071-1/+1
|
* Clarify the interaction between blocking and timeouts. Explain thatGuido van Rossum2002-06-071-16/+23
| | | | fromfd() assumes a blocking non-timeout socket.
* Add version info, and fix another typo and wording spotted by /F. I think ↵Neal Norwitz2002-06-061-2/+4
| | | | this is what he meant. :-)
* Fix typo spotted by Fredrik Lundh.Fred Drake2002-06-061-1/+1
|
* Fix some markup errors and adjust wording slightly.Fred Drake2002-06-061-15/+15
|
* SF patch 555085 (timeout socket implementation) by Michael Gilfix.Guido van Rossum2002-06-061-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öwis2002-06-061-0/+12
|
* Fix up Guido's markup.Fred Drake2002-06-041-24/+24
|
* Add constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE,Walter Dörwald2002-06-041-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 Rossum2002-06-031-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 holeGuido van Rossum2002-05-311-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 Rossum2002-05-311-0/+8
|
* Update links and information on PyQt/PyKDE.Fred Drake2002-05-311-6/+13
|
* Add OS/2 textAndrew M. Kuchling2002-05-291-9/+16
|
* Various minor rewritesAndrew M. Kuchling2002-05-291-42/+52
|
* More additionsAndrew M. Kuchling2002-05-291-25/+15
|
* As discussed on python-dev, add a mechanism to indicate featuresNeal Norwitz2002-05-293-16/+31
| | | | | that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
* Rearrange paragraphAndrew M. Kuchling2002-05-271-5/+5
|
* This is patchMichael W. Hudson2002-05-272-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 defaultFred Drake2002-05-251-1/+2
| | | | target.
* Mention math.degrees() and math.radians()Andrew M. Kuchling2002-05-241-12/+24
| | | | Other minor rewrites
* Move really open-ended XXX items into commentsAndrew M. Kuchling2002-05-241-9/+7
| | | | Remove 1.5.2 reference: who cares?
* Markup adjustments; fix the names of modules referenced in an expression.Fred Drake2002-05-231-2/+2
|
* Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings.Raymond Hettinger2002-05-231-1/+4
|
* Added missing dependency on the refcount data file.Fred Drake2002-05-231-2/+2
|
* Use Perl function prototypes to help avoid definition/usage mismatchesFred Drake2002-05-232-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 Drake2002-05-231-0/+4
|
* Add version annotation for PySequence_ITEM().Fred Drake2002-05-231-1/+2
|
* Remove spurious "()" from the __str__() description.Fred Drake2002-05-221-1/+1
|
* Jack's documentation for the U mode character on the file()Barry Warsaw2002-05-222-0/+27
| | | | constructor, vetted by Barry.
* Added a version annotation for StringTypes.Fred Drake2002-05-221-0/+7
| | | | Added documentation for BooleanType.
* Minor typo: Message.getall() -> Message.get_all()Barry Warsaw2002-05-221-1/+1
|
* Patch 543387. Document deprecation of complex %, //,and divmod().Raymond Hettinger2002-05-213-10/+21
|
* Patch 533291. Deprecate None return form of __reduce__.Raymond Hettinger2002-05-211-4/+8
|
* Add additional comments on the use of \deprecated.Fred Drake2002-05-211-1/+4
|
* Add availability information for a couple of the types, and notes on writingFred Drake2002-05-211-5/+10
| | | | string-type tests for versions of Python built without Unicode support.
* Typo.Guido van Rossum2002-05-161-1/+1
|