summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Bug #1014770: apply some rest-foo and fix some docutils errors.Johannes Gijsbers2004-08-301-1/+9
|
* Patch #934356: if a module defines __all__, believe that rather than usingJohannes Gijsbers2004-08-301-0/+3
| | | | heuristics for filtering out imported names.
* Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵Johannes Gijsbers2004-08-301-0/+3
| | | | in glob.glob.
* Teach the random module about os.urandom().Raymond Hettinger2004-08-301-0/+3
| | | | | * Use it for seeding when it is available. * Provide an alternate generator based on it.
* SF patch 936813: fast modular exponentiationTim Peters2004-08-301-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | This checkin is adapted from part 2 (of 3) of Trevor Perrin's patch set. BACKWARD INCOMPATIBILITY: SHIFT must now be divisible by 5. AFAIK, nobody will care. long_pow() could be complicated to worm around that, if necessary. long_pow(): - BUGFIX: This leaked the base and power when the power was negative (and so the computation delegated to float pow). - Instead of doing right-to-left exponentiation, do left-to-right. This is more efficient for small bases, which is the common case. - In addition, if the exponent is large (more than FIVEARY_CUTOFF digits), precompute [a**i % c for i in range(32)], and go left to right 5 bits at a time. l_divmod(): - The signature changed so that callers who don't want the quotient, or don't want the remainder, can pass NULL in the slot they don't want. This saves them from having to declare a vrbl for unwanted stuff, and remembering to decref it. long_mod(), long_div(), long_classic_div(): - Adjust to new l_divmod() signature, and simplified as a result.
* SF patch 936813: fast modular exponentiationTim Peters2004-08-291-0/+10
| | | | | | | | | | | | | | | | | | This checkin is adapted from part 1 (of 3) of Trevor Perrin's patch set. x_mul() - sped a little by optimizing the C - sped a lot (~2X) if it's doing a square; note that long_pow() squares often k_mul() - more cache-friendly now if it's doing a square KARATSUBA_CUTOFF - boosted; gradeschool mult is quicker now, and it may have been too low for many platforms anyway KARATSUBA_SQUARE_CUTOFF - new - since x_mul is a lot faster at squaring now, the point at which Karatsuba pays for squaring is much higher than for general mult
* Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option.Martin v. Löwis2004-08-291-0/+4
|
* Patch #934711: Expose platform-specific entropy.Martin v. Löwis2004-08-291-0/+3
|
* SF feature request #992967: array.array objects should support sequences.Raymond Hettinger2004-08-291-2/+2
| | | | Made the constructor accept general iterables.
* When building with --disable-toolbox-glue under Darwin, skip building anyBrett Cannon2004-08-261-0/+3
| | | | | | | | Mac-specific modules. Before all modules were compiled but would fail thanks to a dependence on the code included when Python was built without the compiler flag. Closes bug #991962.
* Patch #1014930. Expose current parse location to XMLParser.Dave Cole2004-08-261-0/+3
|
* Patch #970015: Replace - by _ in version and release.Martin v. Löwis2004-08-251-1/+2
|
* Patch #970019: Include version and release in the BuildRoot.Martin v. Löwis2004-08-251-0/+2
|
* Patch #736857, #736859: Add -e option to build_scripts.Martin v. Löwis2004-08-251-0/+3
|
* PEP 292 classes Template and SafeTemplate are added to the string module.Barry Warsaw2004-08-251-0/+2
| | | | | | | | This patch includes test cases and documentation updates, as well as NEWS file updates. This patch also updates the sre modules so that they don't import the string module, breaking direct circular imports.
* Stop producing or using OverflowWarning. PEP 237 thought this wouldTim Peters2004-08-251-0/+6
| | | | | | | happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so.
* sf #1009373, #1005936. fix underscores in index entries in PDF files.Neal Norwitz2004-08-211-3/+6
| | | | | | | I couldn't test this, but it didn't break anything and the patch reported fixed the problem. Bugfix candidate.
* Patch 1012740: cStringIO's truncate doesn'tTim Peters2004-08-211-1/+6
| | | | | | | | | | | | | truncate() left the stream position unchanged, which meant the "truncated" data didn't go away: >>> io.write('abc') >>> io.truncate(0) >>> io.write('xyz') >>> io.getvalue() 'abcxyz' Patch by Dima Dorfman.
* Bug #1005737, #1007249: Fix several build problems and warningsHye-Shik Chang2004-08-191-0/+3
| | | | | found on old/legacy C compilers of HP-UX, IRIX and Tru64. (Reported by roadkill, Richard Townsend, Maik Hertha and Minsik Kim)
* Patch #900727: Add Py_InitializeEx to allow embedding without signals.Martin v. Löwis2004-08-191-0/+2
|
* Add support for FreeBSD 6.Hye-Shik Chang2004-08-181-0/+2
|
* Patch #995126: Correct directory size, and generate GNU tarfiles by default.Martin v. Löwis2004-08-181-0/+2
|
* Patch #800236: add HTTPResponse.getheaders().Martin v. Löwis2004-08-181-0/+2
|
* Patch #1006219: let inspect.getsource show '@' decorators and add tests forJohannes Gijsbers2004-08-181-0/+3
| | | | | 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-181-0/+3
|
* Patch #764217: Add nametofont function, exists parameter.Martin v. Löwis2004-08-181-0/+5
|
* Various alpha 3 updates.Raymond Hettinger2004-08-181-0/+14
|
* - pygettext.py: Generate POT-Creation-Date header in ISO format.Matthias Klose2004-08-161-0/+2
|
* The attached patch fixes FTBFS on GNU/k*BSD. The problem happens on GNU/k*BSDMatthias Klose2004-08-161-0/+3
| | | | | | | | | | 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
* - Bug #891637, patch #1005466: fix inspect.getargs() crash on def foo((bar)).Matthias Klose2004-08-151-0/+2
|
* Add get_history_item and replace_history_item functions to the readlineSkip Montanaro2004-08-151-2/+8
| | | | | module. Closes patch #675551. My apologies to Michal Vitecek for taking so long to process this.
* Correct the order of application for decorators. Meant to be bottom-up and notBrett Cannon2004-08-151-0/+3
| | | | top-down. Now matches the PEP.
* bug #989672: pdb.doc and the help messages for the help_d and help_u methodsJohannes Gijsbers2004-08-141-0/+4
| | | | | 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-141-1/+5
| | | | | | | | 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.
* bug 990669: os.path.normpath may alter the meaning of a path if it containsJohannes Gijsbers2004-08-141-0/+4
| | | | | symbolic links. This has been documented in a comment since 1992, but is now in the library reference as well.
* bug #851123: shutil.copyfile will raise an exception when trying to copy a fileJohannes Gijsbers2004-08-141-0/+3
| | | | onto a link to itself. Thanks Gregory Ball.
* Removed item about an asyncore patch that got backed out.Tim Peters2004-08-131-3/+0
|
* 'inspect' was not listing the functions in a module properly if the module wasBrett Cannon2004-08-131-0/+4
| | | | | | | | reached through a symlink (was comparing path of module to path to function and were not matching because of the symlink). os.path.realpath() is now used to solve this discrepency. Closes bug #570300. Thanks Johannes Gijsbers for the fix.
* SF patch #1005778, Fix seg fault if list object is modified during list.index()Neal Norwitz2004-08-131-0/+4
| | | | Backport candidate
* Boosted the stack reservation for python.exe and python_w.exe from theTim Peters2004-08-121-0/+10
| | | | | default 1MB to 2 million bytes. The test suite passes with -uall again (test_compiler no longer drives WinXP into an insane state).
* This is my patch:Michael W. Hudson2004-08-121-0/+3
| | | | | | [ 1005891 ] support --with-tsc on PPC plus a trivial change to settscdump's docstring and a Misc/NEWS entry.
* This is my patchMichael W. Hudson2004-08-121-0/+3
| | | | | | | [ 1004703 ] Make func_name writable plus fixing a couple of nits in the documentation changes spotted by MvL and a Misc/NEWS entry.
* A NEWS entry for my last checked in change (I've gotten out of theMichael W. Hudson2004-08-121-0/+5
| | | | habit of these, sorry).
* Patch #1003700: Add socketpair function to socket module.Dave Cole2004-08-091-0/+2
|
* Brief xrange news.Tim Peters2004-08-081-1/+3
|
* Also deprecated the old Tester class, which is no longer used by anythingTim Peters2004-08-081-5/+20
| | | | except internal tests.
* Subclasses of string can no longer be interned. The semantics ofJeremy Hylton2004-08-071-0/+6
| | | | | | | | | | | interning were not clear here -- a subclass could be mutable, for example -- and had bugs. Explicitly interning a subclass of string via intern() will raise a TypeError. Internal operations that attempt to intern a string subclass will have no effect. Added a few tests to test_builtin that includes the old buggy code and verifies that calls like PyObject_SetAttr() don't fail. Perhaps these tests should have gone in test_string.
* Create section for 2.4a3; remove empty sections in 2.4a2Andrew M. Kuchling2004-08-071-16/+39
|
* Another typoAndrew M. Kuchling2004-08-071-1/+1
|
* Typo fixAndrew M. Kuchling2004-08-071-1/+1
|