summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Checkpoint. 218 tests are okay; 53 are failing. Done so far:Guido van Rossum2006-03-151-6200/+13
| | | | | | | | - all classes are new-style (but ripping out classobject.[ch] isn't done) - int/int -> float - all exceptions must derive from BaseException - absolute import - 'as' and 'with' are keywords
* Bug #1448490: Fix a bug that ISO-2022 codecs could not handleHye-Shik Chang2006-03-131-0/+3
| | | | SS2 (single-shift 2) escape sequences correctly.
* Add regrtest -w option.Martin v. Löwis2006-03-101-0/+2
|
* Update Unicode database to Unicode 4.1.Martin v. Löwis2006-03-091-0/+4
|
* Move entry to correct section.Georg Brandl2006-03-091-3/+3
|
* Patch #1446372: quit and exit can now be called from the interactiveGeorg Brandl2006-03-091-0/+3
| | | | interpreter to exit.
* Patch #1434038: property() now uses the getter's docstring if there isGeorg Brandl2006-03-081-0/+4
| | | | | no "doc" argument given. This makes it possible to legitimately use property() as a decorator to produce a read-only property.
* Add note about PEP 357.Guido van Rossum2006-03-071-0/+5
|
* SF patch #1443865; gc.get_count() added and optional argument 'generation'Barry Warsaw2006-03-071-1/+4
| | | | | | added to gc.collect(). Updated docs, unit test, and NEWS entry. (Also, fixed a typo in NEWS.)
* Add a note about the bug fixesNeal Norwitz2006-03-071-0/+2
|
* Import bdist_msiMartin v. Löwis2006-03-051-0/+3
|
* Remove test for timing (already not built since commented out in setup.py).Neal Norwitz2006-03-041-0/+3
| | | | Add note to NEWS.
* Remove duplicate entryNeal Norwitz2006-03-021-3/+0
|
* Add Misc/NEWS entry for Misc/Vim/vim_syntax.py . Also use conditionalBrett Cannon2006-03-011-0/+4
| | | | expression for the hell of it.
* PEP 352 implementation. Creates a new base class, BaseException, which has anBrett Cannon2006-03-011-0/+5
| | | | | | | | | added message attribute compared to the previous version of Exception. It is also a new-style class, making all exceptions now new-style. KeyboardInterrupt and SystemExit inherit from BaseException directly. String exceptions now raise DeprecationWarning. Applies patch 1104669, and closes bugs 1012952 and 518846.
* Updates to the with-statement:Guido van Rossum2006-02-281-0/+9
| | | | | | | | | | | | | | | | - New semantics for __exit__() -- it must re-raise the exception if type is not None; the with-statement itself doesn't do this. (See the updated PEP for motivation.) - Added context managers to: - file - thread.LockType - threading.{Lock,RLock,Condition,Semaphore,BoundedSemaphore} - decimal.Context - Added contextlib.py, which defines @contextmanager, nested(), closing(). - Unit tests all around; bot no docs yet.
* Its right now.Tim Peters2006-02-281-3/+3
|
* Note that as generates a warning tooNeal Norwitz2006-02-281-0/+2
|
* from __future__ import with_statement addon for 'with', mostly written byThomas Wouters2006-02-281-1/+2
| | | | Neal.
* Wups, add NEWS item I'd written but not checked in.Thomas Wouters2006-02-281-0/+6
|
* Check the return code for PyErr_Warn() when warning about raising stringBrett Cannon2006-02-271-0/+4
| | | | | exceptions. This was triggered when 'warnings' had a filter set to "error" that caught the string exception deprecation warning.
* Finish removal of CO_GENERATOR_ALLOWED.Neal Norwitz2006-02-271-0/+3
|
* PEP 343 -- the with-statement.Guido van Rossum2006-02-271-0/+2
| | | | | | | | | | | | | This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global).
* Skip over doc strings.Martin v. Löwis2006-02-271-0/+2
|
* Patch 1413181, by Gabriel Becedillas.Tim Peters2006-02-271-0/+6
| | | | | | | | | PyThreadState_Delete(): if the auto-GIL-state machinery knows about the thread state, forget it (since the thread state is being deleted, continuing to remember it can't help, but can hurt if another thread happens to get created with the same thread id). I'll backport to 2.4 next.
* Trimmed trailing whitespace.Tim Peters2006-02-271-1/+1
|
* Add an entry for 308Neal Norwitz2006-02-271-0/+2
|
* Create _ast module.Martin v. Löwis2006-02-271-1/+1
| | | | Cleanup Python-ast.c generation.
* Generate code to recursively copy an AST intoMartin v. Löwis2006-02-261-1/+3
| | | | a tree of Python objects. Expose this through compile().
* - Patch 1433928:Guido van Rossum2006-02-251-0/+8
| | | | | | | | - The copy module now "copies" function objects (as atomic objects). - dict.__getitem__ now looks for a __missing__ hook before raising KeyError. - Added a new type, defaultdict, to the collections module. This uses the new __missing__ hook behavior added to dict (see above).
* Bug #854823: socketmodule now builds on Sun platforms even whenGeorg Brandl2006-02-201-0/+3
| | | | INET_ADDRSTRLEN is not defined.
* Bug #1413790: zipfile now sanitizes absolute archive names that areGeorg Brandl2006-02-201-0/+6
| | | | not allowed by the specs.
* Fix the encodings package codec search function to only searchMarc-André Lemburg2006-02-191-0/+6
| | | | | | inside its own package. Fixes problem reported in patch #1433198. Add codec search function for codec test codec.
* Patch #1215184: FileInput now can be given an opening hook which canGeorg Brandl2006-02-191-0/+3
| | | | be used to control how files are opened.
* Patch #1212287: fileinput.input() now has a mode parameter forGeorg Brandl2006-02-191-0/+3
| | | | specifying the file mode input files should be opened with.
* Patch #1215184: fileinput now has a fileno() function for getting theGeorg Brandl2006-02-191-0/+3
| | | | current file number.
* Patch #1349274: gettext.install() now optionally installs additionalGeorg Brandl2006-02-191-0/+3
| | | | translation functions other than _() in the builtin namespace.
* Patch #1337756: fileinput now accepts Unicode filenames.Georg Brandl2006-02-191-0/+2
|
* Patch #1393157: os.startfile() now has an optional argument to specifyGeorg Brandl2006-02-181-0/+3
| | | | a "command verb" to invoke on the file.
* Patch #1373643: The chunk module can now read chunks larger thanGeorg Brandl2006-02-181-0/+3
| | | | two gigabytes.
* Add NEWS entry to previous checkin.Georg Brandl2006-02-171-0/+2
|
* Bug #1430298: It is now possible to send a mail with an emptyGeorg Brandl2006-02-171-0/+3
| | | | return address using smtplib.
* Add bug number to NEWS entry.Georg Brandl2006-02-171-1/+2
|
* The names of lambda functions are now properly displayed in pydoc.Georg Brandl2006-02-171-0/+2
|
* Patch #1432345: Make python compile on DragonFly.Martin v. Löwis2006-02-171-0/+2
|
* Merge ssize_t branch.Martin v. Löwis2006-02-151-0/+2
|
* Add build support for AMD64.Martin v. Löwis2006-02-141-0/+2
|
* Patch #428494: Prefer linking against ncursesw over ncurses libraryMartin v. Löwis2006-02-111-0/+2
|
* Added the cProfile module.Armin Rigo2006-02-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | Based on lsprof (patch #1212837) by Brett Rosen and Ted Czotter. With further editing by Michael Hudson and myself. History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof * Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper. * pstats.py updated to display cProfile's caller/callee timings if available. * setup.py and NEWS updated. * documentation updates in the profiler section: - explain the differences between the three profilers that we have now - profile and cProfile can use a unified documentation, like (c)Pickle - mention that hotshot is "for specialized usage" now - removed references to the "old profiler" that no longer exists * test updates: - extended test_profile to cover delicate cases like recursion - added tests for the caller/callee displays - added test_cProfile, performing the same tests for cProfile * TO-DO: - cProfile gives a nicer name to built-in, particularly built-in methods, which could be backported to profile. - not tested on Windows recently!
* Bug #876637, prevent stack corruption when socket descriptorNeal Norwitz2006-02-071-0/+3
| | | | | | | | | | | | | | | | | | is larger than FD_SETSIZE. This can only be acheived with ulimit -n SOME_NUMBER_BIGGER_THAN_FD_SETSIZE which is typically only available to root. Since this wouldn't normally be run in a test (ie, run as root), it doesn't seem too worthwhile to add a normal test. The bug report has one version of a test. I've written another. Not sure what the best thing to do is. Do the check before calling internal_select() because we can't set an error in between Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS. This seemed the clearest solution, ie handle before calling internal_select() rather than inside. Plus there is at least one place outside of internal_select() that needed to be handled. Will backport.