summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix SF bug #1008690: Incorrect <link rel="index"> href in TutorialFred Drake2004-08-191-5/+8
| | | | | | | The make_head_and_body() function used a hardcoded value for the <link> element for the index; this patch causes the proper output filename to be captured during the transformation phase so it can be used during the page assembly phase.
* Remove commented definition of the MKHOWTO macro.Matthias Klose2004-08-181-1/+0
|
* Remove zero-byte gif files from generated html docsMatthias Klose2004-08-181-0/+1
|
* Expand tabs.Martin v. Löwis2004-08-181-1/+1
|
* Add support for FreeBSD 6.Hye-Shik Chang2004-08-188-4/+529
|
* Patch #995126: Correct directory size, and generate GNU tarfiles by default.Martin v. Löwis2004-08-183-3/+6
|
* Patch #914291: Restore locale while readline is running.Martin v. Löwis2004-08-181-0/+8
|
* Patch #1011144: Correct regex for coding decls.Martin v. Löwis2004-08-181-1/+1
|
* Patch #980082: Missing INCREF in PyType_Ready.Martin v. Löwis2004-08-181-1/+3
|
* Patch #800236: add HTTPResponse.getheaders().Martin v. Löwis2004-08-183-0/+12
|
* Patch #1006219: let inspect.getsource show '@' decorators and add tests forJohannes Gijsbers2004-08-183-2/+47
| | | | | this (which are rather ugly, but it'll have to do until test_inspect gets a major overhaul and a conversion to unittest). Thanks Simon Percivall!
* Patch #791776: Replace SMTPHandler.date_time with email.Utils.formatdate.Martin v. Löwis2004-08-182-16/+5
|
* Patch #764217: Add nametofont function, exists parameter.Martin v. Löwis2004-08-182-6/+43
|
* Move the bytecode optimizer upstream so that its results are saved in pycRaymond Hettinger2004-08-181-3/+6
| | | | | | | | | | | | | | files and not re-optimized upon import. Saves a bit of startup time while still remaining decoupled from the rest of the compiler. As a side benefit, handcoded bytecode is not run through the optimizer when new code objects are created. Hopefully, a handcoder has already created exactly what they want to have run. (Idea suggested by Armin Rigo and Michael Hudson. Initially avoided because of worries about compiler coupling; however, only the nexus point needed to be moved so there won't be a conflict when the AST branch is loaded.)
* Various alpha 3 updates.Raymond Hettinger2004-08-181-0/+14
|
* Deprecate sys.exitfunc in favor of the atexit module.Raymond Hettinger2004-08-181-0/+1
| | | | | Per Guido, sys.exitfunc will be kept around for backwards compatability but atexit will become the one preferred way to do it.
* This is Mark Russell's patch:Michael W. Hudson2004-08-178-98/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 1009560 ] Fix @decorator evaluation order From the description: Changes in this patch: - Change Grammar/Grammar to require newlines between adjacent decorators. - Fix order of evaluation of decorators in the C (compile.c) and python (Lib/compiler/pycodegen.py) compilers - Add better order of evaluation check to test_decorators.py (test_eval_order) - Update the decorator documentation in the reference manual (improve description of evaluation order and update syntax description) and the comment: Used Brett's evaluation order (see http://mail.python.org/pipermail/python-dev/2004-August/047835.html) (I'm checking this in for Anthony who was having problems getting SF to talk to him)
* Fixed bug in line-number finding for examples (DocTestParser wasn'tEdward Loper2004-08-172-7/+28
| | | | | updating line numbers correctly for bare prompts & examples containing only comments).
* There are no longer any special case test skips.Raymond Hettinger2004-08-171-3/+0
|
* Remove test of obsolete trim() operation which was supplanted byRaymond Hettinger2004-08-171-152/+0
| | | | | | | | normalize() in Draft 1.06 (9 October 2002): The normalize operation has been added; it reduces a number to a canonical form. (This replaces the trim operator, which only removed trailing fractional zeros.)
* Use readline/raw_input() in pydoc.Helper.interact if available and self.inputJohannes Gijsbers2004-08-171-4/+12
| | | | | is sys.stdin. Based on a patch (#726204) by Dmitry Vasiliev and a comment from Guido in an older patch (#549901).
* The get_installer_filename() method forgot to return the name itThomas Heller2004-08-171-0/+1
| | | | calculates. Spotted by Cort Danger Stratton.
* SF bug #833957: Ctrl+key combos stop working in IDLERaymond Hettinger2004-08-171-18/+18
| | | | Make key combinations work with upper and lowercase as is the MS standard.
* This file is no longer used in version 2.39.Raymond Hettinger2004-08-171-151/+0
| | | | Was supplanted by tointegral.decTest.
* Add two new files and update remaining tests from the latest update of theRaymond Hettinger2004-08-1731-191/+1190
| | | | test suite in version 2.39 of dectest.zip.
* Revise max() and min() to comply with the 8/2/2004 update to the specificationRaymond Hettinger2004-08-171-19/+65
| | | | | | | | | | | (version 1.45): The max and min operations follow the rules in the current IEEE 754 revision draft: if one operand is a quiet NaN and the other is number, then the number is always returned if both operands are finite and equal in numerical value then an ordering is applied: if the signs differ then max returns the operand with the positive sign and min returns the operand with the negative sign; if the signs are the same then the exponent is used to select the result.
* * Dynamically build a list of files to be tested (necessary becauseRaymond Hettinger2004-08-171-81/+14
| | | | | | | version 2.39 of dectest.zip adds some new test files and because some existing test files were getting skipped). * Remove two docstrings which cluttered unittest's output. * Simplify a for-loop with a list comprehension.
* SF bug #951482: New module: doc versus actionRaymond Hettinger2004-08-171-0/+2
| | | | Strengthen the warnings about creating bogus objects using the new module.
* SF bug #805304: super instances don't support item assignmentRaymond Hettinger2004-08-171-0/+6
| | | | | | Document a nuance of super(). It is designed to work well with dotted attribute lookup but not with equivalent implicit lookups using operators or statements.
* fix a couple problems with the last patch picked up by Michael HudsonSkip Montanaro2004-08-161-12/+8
|
* Typo fixAndrew M. Kuchling2004-08-161-1/+1
|
* Test cases and fixes for bugs described in patch #873418: email/Message.py:Barry Warsaw2004-08-162-2/+14
| | | | del_param fails when specifying a header.
* Being bsd-based, darwin/macosx has the same limitation w.r.t. the "echo"Skip Montanaro2004-08-161-1/+1
| | | | service.
* - pygettext.py: Generate POT-Creation-Date header in ISO format.Matthias Klose2004-08-162-1/+3
|
* The attached patch fixes FTBFS on GNU/k*BSD. The problem happens on GNU/k*BSDMatthias Klose2004-08-164-425/+233
| | | | | | | | | | because GNU/k*BSD uses gnu pth to provide pthreads, but will also happen on any system that does the same. python fails to build because it doesn't detect gnu pth in pthread emulation. See C comments in patch for details. patch taken from http://bugs.debian.org/264315
* Minor improvements to the threading introduction:Raymond Hettinger2004-08-161-11/+15
| | | | | | | | | | | | | | * Expand the example to show a join. * Mention the use case of I/O running concurrent with a computational thread. * Be a tad more forceful about recommending Queue over other approaches to synchonization. * Eliminate discussion around having a single interpreter. This is a more advanced discussion that belongs in the library reference and in a section on extending and embedding.
* Minor formatting cleanup.Raymond Hettinger2004-08-161-5/+6
|
* * Uncomment the SyntaxError doctest after Tim demonstrated how.Raymond Hettinger2004-08-161-11/+6
| | | | * Remove unnecessary sys.PS2 prompt lines.
* Fix punctuation typo.Raymond Hettinger2004-08-151-1/+1
|
* Add a notes section to the docs:Raymond Hettinger2004-08-151-1/+97
| | | | | | * Discuss representation error versus loss of significance. * Document special values including qNaN, sNaN, +0, -0. * Show the suprising display of non-normalized zero values.
* SF patch #872326: generator expression implementationRaymond Hettinger2004-08-151-1/+46
| | | | | | (Contributed by Jiwon Seo.) Add genexps to the reference manual.
* - Bug #891637, patch #1005466: fix inspect.getargs() crash on def foo((bar)).Matthias Klose2004-08-153-7/+25
|
* Add get_history_item and replace_history_item functions to the readlineSkip Montanaro2004-08-153-3/+85
| | | | | module. Closes patch #675551. My apologies to Michal Vitecek for taking so long to process this.
* Match the def'n of _XOPEN_SOURCE on Solaris 8/9 to suppress redefinitionSkip Montanaro2004-08-152-1286/+3099
| | | | warning from GCC. Closes patch #1006629.
* Quote \r\n correctly, remove random indentation (patch #1009384). ThanksJohannes Gijsbers2004-08-151-2/+2
| | | | Cherniavsky Beni!
* Correct the order of application for decorators. Meant to be bottom-up and notBrett Cannon2004-08-153-8/+23
| | | | top-down. Now matches the PEP.
* Fix incorrect comment for (struct compiling)->c_cellvarsBrett Cannon2004-08-151-1/+1
|
* Let cgi.parse_header() properly unquote headers (patch #1008597).Johannes Gijsbers2004-08-141-0/+1
|
* bug #989672: pdb.doc and the help messages for the help_d and help_u methodsJohannes Gijsbers2004-08-143-4/+8
| | | | | of the pdb.Pdb class gives have been corrected. d(own) goes to a newer frame, u(p) to an older frame, not the other way around.
* bug #990669: os.path.realpath() will resolve symlinks before normalizing theJohannes Gijsbers2004-08-143-10/+109
| | | | | | | | path, as normalizing the path may alter the meaning of the path if it contains symlinks. Also add tests for infinite symlink loops and parent symlinks that need to be resolved.