summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Fix Issue #1769: Now int('- 1') or int('+ 1') is not allowedFacundo Batista2008-01-191-0/+2
| | | | any more. Thanks Juan Jose Conti. Also added tests.
* long(float('nan')) raises an OverflowError as discussed on the mailing list ↵Christian Heimes2008-01-151-0/+3
| | | | a week ago
* Fixed merge accidentChristian Heimes2008-01-151-905/+0
|
* Remove Queue.empty() and Queue.full() in favor of using qsize() or trapping ↵Raymond Hettinger2008-01-141-0/+3
| | | | the Empty and Full exceptions.
* Take Tim's advice and have random.sample() support only sequences and sets.Raymond Hettinger2008-01-141-0/+3
|
* Remove defunct parts of the random moduleRaymond Hettinger2008-01-131-0/+3
|
* Merged revisions 59822-59841 via svnmerge fromChristian Heimes2008-01-071-0/+896
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59822 | georg.brandl | 2008-01-07 17:43:47 +0100 (Mon, 07 Jan 2008) | 2 lines Restore "somenamedtuple" as the "class" for named tuple attrs. ........ r59824 | georg.brandl | 2008-01-07 18:09:35 +0100 (Mon, 07 Jan 2008) | 2 lines Patch #602345 by Neal Norwitz and me: add -B option and PYTHONDONTWRITEBYTECODE envvar to skip writing bytecode. ........ r59827 | georg.brandl | 2008-01-07 18:25:53 +0100 (Mon, 07 Jan 2008) | 2 lines patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG. ........ r59830 | georg.brandl | 2008-01-07 19:16:36 +0100 (Mon, 07 Jan 2008) | 2 lines Make Python compile with --disable-unicode. ........ r59831 | georg.brandl | 2008-01-07 19:23:27 +0100 (Mon, 07 Jan 2008) | 2 lines Restructure urllib doc structure. ........ r59833 | georg.brandl | 2008-01-07 19:41:34 +0100 (Mon, 07 Jan 2008) | 2 lines Fix #define ordering. ........ r59834 | georg.brandl | 2008-01-07 19:47:44 +0100 (Mon, 07 Jan 2008) | 2 lines #467924, patch by Alan McIntyre: Add ZipFile.extract and ZipFile.extractall. ........ r59835 | raymond.hettinger | 2008-01-07 19:52:19 +0100 (Mon, 07 Jan 2008) | 1 line Fix inconsistent title levels -- it made the whole doc build crash horribly. ........ r59836 | georg.brandl | 2008-01-07 19:57:03 +0100 (Mon, 07 Jan 2008) | 2 lines Fix two further doc build warnings. ........ r59837 | georg.brandl | 2008-01-07 20:17:10 +0100 (Mon, 07 Jan 2008) | 2 lines Clarify metaclass docs and add example. ........ r59838 | vinay.sajip | 2008-01-07 20:40:10 +0100 (Mon, 07 Jan 2008) | 1 line Added section about adding contextual information to log output. ........ r59839 | christian.heimes | 2008-01-07 20:58:41 +0100 (Mon, 07 Jan 2008) | 1 line Fixed indention problem that caused the second TIPC test to run on systems without TIPC ........ r59840 | raymond.hettinger | 2008-01-07 21:07:38 +0100 (Mon, 07 Jan 2008) | 1 line Cleanup named tuple subclassing example. ........
* Another patch for #1762972: __file__ points to the py file instead pyo/pyc fileChristian Heimes2008-01-071-0/+3
|
* Remove traces of Py_USING_UNICODE and Unicode-specific conditionals in ↵Georg Brandl2008-01-071-2/+10
| | | | | | configure. Rename --enable-unicode to --with-wide-unicode; the default is still not wide.
* Copied doc for reload() from trunk's function.rst to imp.rstChristian Heimes2008-01-071-0/+1
|
* Add some missing news. Add some periods.Guido van Rossum2008-01-061-5/+17
|
* Issue #1393: object_richcompare() returns NotImplemented instead ofGuido van Rossum2008-01-061-0/+3
| | | | False if the objects aren't equal, to give the other side a chance.
* Interpreter wasn't displaying the location of a SyntaxErrorKurt B. Kaiser2008-01-051-0/+2
| | | | Issue1692
* NEWS entry for r59682.Amaury Forgeot d'Arc2008-01-041-0/+5
|
* Issue #1587: Added instancemethod wrapper for PyCFunctions. The Python C APIChristian Heimes2007-12-111-0/+5
| | | | | | has gained a new type *PyInstanceMethod_Type* and the functions *PyInstanceMethod_Check(o)*, *PyInstanceMethod_New(func)* and *PyInstanceMethod_Function(im)*.
* Added note about 1585 to Misc/NEWSChristian Heimes2007-12-111-0/+2
|
* Minor cleanup in the gc module.Amaury Forgeot d'Arc2007-12-101-0/+4
| | | | | | | | Removed gc.DEBUG_OBJECT: there is only one kind of objects. Now gc.DEBUG_COLLECTABLE or gc.DEBUG_UNCOLLECTABLE can be used alone to print the corresponding list of objects. Also removed a footnote about version 2.2, and a comment explaining some deleted code.
* Issue #1580: New free format floating point representation based on ↵Christian Heimes2007-12-101-0/+4
| | | | | | "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'. Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files.
* Fixed #1578: Problems in win_getpassChristian Heimes2007-12-101-0/+2
|
* Fixed issue #1564: The set implementation should special-case PyUnicode ↵Christian Heimes2007-12-101-0/+3
| | | | | | instead of PyString I moved the unicode_eq to stringlib/eq.h to keep the function static and possible inline for setobject.c and dictobject.h. I also removed the unused _PyString_Eq method. If it's required in the future it can be added to eq.h
* Fixed #1573: Improper use of the keyword-only syntax makes the parser crashChristian Heimes2007-12-081-0/+20
| | | | | | | | >>> def f(*, **kw): ... pass ... python: Python/ast.c:652: handle_keywordonly_args: Assertion 'kwonlyargs != ((void *)0)' failed.
* Get ready for releasing 3.0a2.Guido van Rossum2007-12-061-1/+3
| | | | (Next: update the whatsnew docs.)
* Removed PyInt_GetMax and sys.maxintChristian Heimes2007-12-041-0/+2
| | | | | I replaced sys.maxint with sys.maxsize in Lib/*.py. Does anybody see a problem with the change on Win 64bit platforms? Win 64's long is just 32bit but the sys.maxsize is now 2**63-1 on every 64bit platform. Also added docs for sys.maxsize.
* Reverting last commit. I had some staled data from an attempted svnmerge in ↵Christian Heimes2007-12-031-2/+0
| | | | my local sandbox
* Patch #1537 from Chad AustinChristian Heimes2007-12-031-0/+2
| | | | Change GeneratorExit's base class from Exception to BaseException
* I've moved the remains of PyInt_ to the longobject.h header file and removed ↵Christian Heimes2007-12-021-0/+4
| | | | the inclusing of intobject.h from Python.h. Now the intobject.h exists only to provide some aliases for porters from Python 2.x.
* Removed the new moduleChristian Heimes2007-11-281-0/+4
| | | | Removed a lot of types from the 'types' module that are available through builtins.
* Removed the API to create unbound methods and simplified the API for bound ↵Christian Heimes2007-11-271-0/+6
| | | | | | | methods. The signature is PyMethod_New(func, instance). Also removed im_class and renamed im_self to __self__ and im_func to __func__. im_class can be substituted with method.__self__.__class__. I've also updated some parts of the documenation.
* Fixed some build issues and updated docs.Christian Heimes2007-11-171-0/+6
|
* Fix for #1415 pythonw.exe fails because std streams a missingChristian Heimes2007-11-131-0/+5
| | | | | | After a long discussion about the problem with Windows GUI apps Guido decided that sys.stdin, stdout and stderr should be None when the C runtime library returns invalid file descriptors for the standard streams. So far the only known cases are Windows GUI apps and scripts started with pythonw on Windows. The OS restrictions are tight enough to catch the problem on other OSes.
* Merging the py3k-pep3137 branch back into the py3k branch.Guido van Rossum2007-11-061-0/+3
| | | | | | | | | | | | | | No detailed change log; just check out the change log for the py3k-pep3137 branch. The most obvious changes: - str8 renamed to bytes (PyString at the C level); - bytes renamed to buffer (PyBytes at the C level); - PyString and PyUnicode are no longer compatible. I.e. we now have an immutable bytes type and a mutable bytes type. The behavior of PyString was modified quite a bit, to make it more bytes-like. Some changes are still on the to-do list.
* Patch 1329 (partial) by Christian Heimes.Guido van Rossum2007-10-301-0/+3
| | | | | | | | Add a closefd flag to open() which can be set to False to prevent closing the file descriptor when close() is called or when the object is destroyed. Useful to ensure that sys.std{in,out,err} keep their file descriptors open when Python is uninitialized. (This was always a feature in 2.x, it just wasn't implemented in 3.0 yet.)
* Add a missing news entry about how str8's constructor signature now matches theBrett Cannon2007-10-261-0/+2
| | | | bytes type.
* Patch 1318 by Christian Heimes: remove os.tmpnam(), os.tempnam(),Guido van Rossum2007-10-251-0/+3
| | | | and os.tmpfile().
* Make str/str8 comparisons return True/False for !=/==.Brett Cannon2007-10-221-0/+6
| | | | | | | | | | | | | | | Code that has been returning str8 becomes much more apparent thanks to this (e.g., struct module returning str8 for all string-related formats or sqlite3 passing in str8 instances when converting objects that had a __conform__ method). One also has to watch out in C code when making a key from char * using PyString in the C code but a str instance in Python code as that will not longer compare equal. Once str8 gains a constructor like the current bytes type then test_modulefinder needs a cleanup as the fix is a little messy in that file. Thanks goes to Thomas Lee for writing the patch for the change giving an initial run-down of why most of the tests were failing.
* Issue 1267, continued.Guido van Rossum2007-10-221-0/+12
| | | | | | Additional patch by Christian Heimes to deal more cleanly with the FILE* vs file-descriptor issues. I cleaned up his code a bit, and moved the lseek() call into import.c.
* Make _load_testfile() use its encoding argument when __loader__ is defined.Brett Cannon2007-10-121-0/+8
|
* remove hotshot profiler from Py3kFred Drake2007-10-111-0/+10
|
* Add some miscellanea.Guido van Rossum2007-08-301-3/+7
|
* Fix a typo and a trailing space.Kurt B. Kaiser2007-08-301-2/+2
| | | | N.B. NEWS doesn't mention that map() and filter() return iterators.
* Small updates.Guido van Rossum2007-08-301-2/+7
|
* Update Misc/NEWS. Add RELNOTES.Guido van Rossum2007-08-301-16/+2
|
* Remove _PyObject_DelNeal Norwitz2007-08-191-1/+1
|
* Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le andWalter Dörwald2007-08-161-0/+2
| | | | | | | | | ut-32-be). On narrow builds the codecs combine surrogate pairs in the unicode object into one codepoint on encoding and create surrogate pairs for codepoints outside the BMP on decoding. Lone surrogates are passed through unchanged in all cases. Backport to the trunk will follow.
* Implement PEP 3131. Add isidentifier to str.Martin v. Löwis2007-08-151-0/+2
|
* Remove string.{letters,lowercase,uppercase}.Martin v. Löwis2007-08-141-1/+2
|
* Kill execfile(), use exec() insteadNeal Norwitz2007-08-121-1/+1
|
* Remove support for __members__ and __methods__. There still might beNeal Norwitz2007-08-111-2/+5
| | | | | some cleanup to do on this. Particularly in Python/traceback.c with getting rid of the getattr if possible and Demo/*metaclasses/Enum.py.
* Merged revisions 56492-56752 via svnmerge fromGuido van Rossum2007-08-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r56497 | kurt.kaiser | 2007-07-22 14:55:16 -0700 (Sun, 22 Jul 2007) | 4 lines In the case of syntax errors, in py3k format_exception_only() was including line number and position in the final line of the exception notification, duplicating info in previous lines. ........ r56501 | kurt.kaiser | 2007-07-22 19:35:50 -0700 (Sun, 22 Jul 2007) | 2 lines Hum, needed a newline in the last change. ........ r56536 | kurt.kaiser | 2007-07-24 19:06:48 -0700 (Tue, 24 Jul 2007) | 5 lines Not all instantiations of SyntaxError set the args attribute. e.g. symtable.c Modify format_exception_only() to get SyntaxError attributes directly instead of unpacking 'args'. ........ r56537 | kurt.kaiser | 2007-07-24 19:13:03 -0700 (Tue, 24 Jul 2007) | 3 lines Update doctest strings: traceback.py no longer prints redundant location information in the last line of the exception display. ........ r56627 | kurt.kaiser | 2007-07-29 21:06:57 -0700 (Sun, 29 Jul 2007) | 2 lines Interactive interpreter emulator (code.py) failing to print exceptions. ........ r56628 | kurt.kaiser | 2007-07-29 21:41:02 -0700 (Sun, 29 Jul 2007) | 2 lines Eliminate extra lines before and after tracebacks. ........ r56638 | kurt.kaiser | 2007-07-31 19:36:45 -0700 (Tue, 31 Jul 2007) | 3 lines Refactor syntax error display in shell and edit windows; move colorize_syntax_error() to EditorWindow; update to py3k. ........ r56685 | neal.norwitz | 2007-08-02 22:20:23 -0700 (Thu, 02 Aug 2007) | 10 lines Remove several h/w and o/s specific modules that are undocumented, obsolete, and/or not widely used: linuxaudiodev.c, sunaudiodev.c Lib/plat-sunos5/SUNAUDIODEV.py Lib/audiodev.py Tools/audiopy/audiopy Move Lib/toaiff.py to Demo. See PEP 3108 for most of the details. ........ r56686 | neal.norwitz | 2007-08-02 22:21:48 -0700 (Thu, 02 Aug 2007) | 4 lines Missed one module that should have been removed since it relied on audiodev which was removed. ........ r56748 | neal.norwitz | 2007-08-04 19:19:04 -0700 (Sat, 04 Aug 2007) | 1 line Make from X import * outside module scope an error. ........ r56750 | neal.norwitz | 2007-08-04 19:35:01 -0700 (Sat, 04 Aug 2007) | 1 line Use READONLY consistently instead of RO ........
* Implement PEP 3120.Martin v. Löwis2007-07-291-0/+2
|