summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* 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-272-0/+3
| | | | | | | | | | | | | 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().
* Remove line meant to test trailing whitespace since that kind of whitespace isBrett Cannon2006-02-261-19/+40
| | | | | | automatically removed. Also annotate what each line is meant to test.
* Whitespace normalization.Tim Peters2006-02-262-2/+2
|
* - 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).
* Move the vimrc file to the newly created Vim/ directory.Brett Cannon2006-02-251-0/+0
|
* Add a script that auto-generates a Vim syntax highlighting file for Python.Brett Cannon2006-02-253-0/+413
| | | | | | | Just symlink or copy python.vim to ~/.vim/syntax/ . Also included is a sample Python file with basic expressions to make sure they are highlighted. Also add a Vim directory in Misc to hold all Vim configuration files.
* 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.
* Ignore the tests which report leaks sporadically.Neal Norwitz2006-02-191-3/+8
| | | | | | | | This should cause few enough spurious warnings to send to python-checkins now. If a test leaks that is not in the ignore list (LEAKY_TESTS), all tests which leak will be reported. This includes those in the ignore list. Hopefully that will prompt someone to fix the flakiness.
* 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
|
* Find test failures consistentlyNeal Norwitz2006-02-151-2/+2
|
* Add build support for AMD64.Martin v. Löwis2006-02-141-0/+2
|
* Support 2.4 (released versions) better. (rsync was not working with adding ↵Neal Norwitz2006-02-141-2/+4
| | | | the *. Only some files/dirs were copied, not everything.)
* Patch #428494: Prefer linking against ncursesw over ncurses libraryMartin v. Löwis2006-02-111-0/+2
|
* Update general copyright years to 2006.Georg Brandl2006-02-111-1/+1
|
* Be a little less sensitive to failures. Only check for the result fromNeal Norwitz2006-02-091-1/+1
| | | | | | regrtest.py. If we grep for just "fail", that finds bsddb deadlock messages, which presumably are just warnings. They don't cause a test failure.
* 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.
* Patch #1412872: zipfile: use correct system type on unixy systems.Martin v. Löwis2006-02-051-0/+3
|
* Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the sameNeal Norwitz2006-02-051-0/+4
| | | | | | | | | | | on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions.
* Patch #1422385: Changes to nis module to support multiple NIS domainsMartin v. Löwis2006-02-042-0/+4
|
* Drop C library for stat/fstat on Windows.Martin v. Löwis2006-02-031-0/+4
|
* Patch #1413711: Certain patterns of differences were making difflibGustavo Niemeyer2006-01-311-0/+3
| | | | | touch the recursion limit. The applied patch inlines the recursive __helper method in a non-recursive way.
* Fix typo.Martin v. Löwis2006-01-301-1/+1
|
* add bsddb.db.DBEnv.set_tx_timestamp mentionGregory P. Smith2006-01-291-0/+2
|
* Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env.Neal Norwitz2006-01-251-0/+3
| | | | Will backport.
* note the bsddb extension module changes.Gregory P. Smith2006-01-241-1/+6
|
* Patch #1349118: urllib2 now supports user:pass@ style proxyMartin v. Löwis2006-01-242-0/+5
| | | | | specifications, raises IOErrors when proxies for unsupported protocols are defined, and uses the https proxy on https redirections.