]> granicus.if.org Git - python/log
python
14 years agoIssue #2304: Add additional quotes when using cmd shell on Windows. Original patch...
Tim Golden [Sun, 8 Aug 2010 16:17:48 +0000 (16:17 +0000)]
Issue #2304: Add additional quotes when using cmd shell on Windows. Original patch from Gabriel Genellina

14 years agoUse unittest specific methods for some urllib test cases. And replace urllib2 with...
Florent Xicluna [Sun, 8 Aug 2010 16:16:07 +0000 (16:16 +0000)]
Use unittest specific methods for some urllib test cases.  And replace urllib2 with urllib.request in comments.

14 years agouse same quoting as the rest of the file
Benjamin Peterson [Sun, 8 Aug 2010 13:17:07 +0000 (13:17 +0000)]
use same quoting as the rest of the file

14 years agoAdd a news entry for Issue8280.
Senthil Kumaran [Sun, 8 Aug 2010 11:50:22 +0000 (11:50 +0000)]
Add a news entry for Issue8280.

14 years agoFix Issue8280 - urllib2's Request method will remove fragements in the url.
Senthil Kumaran [Sun, 8 Aug 2010 11:27:53 +0000 (11:27 +0000)]
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
This is how it should work,wget and curl work like this way too. Old behavior was wrong.

14 years agoIssue #3210: Revert C module changes and apply patch from Hirokazu Yamamoto instead
Tim Golden [Sun, 8 Aug 2010 11:18:16 +0000 (11:18 +0000)]
Issue #3210: Revert C module changes and apply patch from Hirokazu Yamamoto instead

14 years agoIssue #4570: Clean-up tutorial example
Raymond Hettinger [Sun, 8 Aug 2010 01:30:45 +0000 (01:30 +0000)]
Issue #4570:  Clean-up tutorial example

14 years agoIssue #9507: Named tuple repr will now automatically display the right
Raymond Hettinger [Sun, 8 Aug 2010 01:13:42 +0000 (01:13 +0000)]
Issue #9507:  Named tuple repr will now automatically display the right
name in a tuple subclass.

14 years agoImprove readability of collections docs by adding a summary table
Raymond Hettinger [Sun, 8 Aug 2010 00:29:08 +0000 (00:29 +0000)]
Improve readability of collections docs by adding a summary table
at the top and by list concrete classes before abstract base classes.

14 years agoset svn:eol-style
Benjamin Peterson [Sun, 8 Aug 2010 00:04:26 +0000 (00:04 +0000)]
set svn:eol-style

14 years agoFix typo
Raymond Hettinger [Sat, 7 Aug 2010 23:37:37 +0000 (23:37 +0000)]
Fix typo

14 years agoDocument implementation notes for priority queues
Raymond Hettinger [Sat, 7 Aug 2010 23:31:27 +0000 (23:31 +0000)]
Document implementation notes for priority queues

14 years agokill outdated comment
Benjamin Peterson [Sat, 7 Aug 2010 21:32:12 +0000 (21:32 +0000)]
kill outdated comment

14 years agoClean-up docstring in examples.
Raymond Hettinger [Sat, 7 Aug 2010 21:31:55 +0000 (21:31 +0000)]
Clean-up docstring in examples.

14 years agoIssue #9425: Create run_file() subfunction
Victor Stinner [Sat, 7 Aug 2010 16:34:25 +0000 (16:34 +0000)]
Issue #9425: Create run_file() subfunction

 * Call Py_MakePendingCalls() before converting the filename from
   wchar_t* to char*
 * Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()

14 years agoIssue #8433: Fix test_curses failure for platforms with recent versions of ncurses.
Mark Dickinson [Sat, 7 Aug 2010 12:33:36 +0000 (12:33 +0000)]
Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses.

14 years agoIssue #9425: Create run_command() subfunction
Victor Stinner [Sat, 7 Aug 2010 10:57:17 +0000 (10:57 +0000)]
Issue #9425: Create run_command() subfunction

Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()

14 years agoIssue #9425: skip tests if a filename is not encodable
Victor Stinner [Sat, 7 Aug 2010 10:09:35 +0000 (10:09 +0000)]
Issue #9425: skip tests if a filename is not encodable

14 years agoImprove the docs for bisect to cover common searching tasks.
Raymond Hettinger [Sat, 7 Aug 2010 07:36:55 +0000 (07:36 +0000)]
Improve the docs for bisect to cover common searching tasks.

14 years agoFix nit (sentinel on lhs of comparison).
Raymond Hettinger [Sat, 7 Aug 2010 05:54:08 +0000 (05:54 +0000)]
Fix nit (sentinel on lhs of comparison).

14 years agoAdd partition recipe to itertools docs.
Raymond Hettinger [Sat, 7 Aug 2010 05:36:53 +0000 (05:36 +0000)]
Add partition recipe to itertools docs.

14 years agoFix markup
Raymond Hettinger [Sat, 7 Aug 2010 04:19:49 +0000 (04:19 +0000)]
Fix markup

14 years agoFix an assertRaises situation and typo. Also pass all tests to run_unittest
Brian Curtin [Sat, 7 Aug 2010 03:47:21 +0000 (03:47 +0000)]
Fix an assertRaises situation and typo. Also pass all tests to run_unittest
rather than do it by platform -- the proper skips are in place already.

14 years agoImprove the whatsnew article on the lru/lfu cache decorators.
Raymond Hettinger [Fri, 6 Aug 2010 23:23:49 +0000 (23:23 +0000)]
Improve the whatsnew article on the lru/lfu cache decorators.

14 years agoIssue #9530: Fix a couple of places where undefined behaviour can
Mark Dickinson [Fri, 6 Aug 2010 21:33:18 +0000 (21:33 +0000)]
Issue #9530:  Fix a couple of places where undefined behaviour can
occur, as a result of signed integer overflow.

14 years agoAdd xml subpackages, since they are likely to have different maintainers.
R. David Murray [Fri, 6 Aug 2010 21:18:49 +0000 (21:18 +0000)]
Add xml subpackages, since they are likely to have different maintainers.

And if not they can be merged back together when that becomes apparent.

14 years agoFix #9324: Add parameter validation to signal.signal on Windows in order
Brian Curtin [Fri, 6 Aug 2010 19:27:32 +0000 (19:27 +0000)]
Fix #9324: Add parameter validation to signal.signal on Windows in order
to prevent crashes.

14 years agoIn PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than...
Mark Dickinson [Fri, 6 Aug 2010 18:55:26 +0000 (18:55 +0000)]
In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX].

14 years agoIssue #3210: Ensure stdio handles are closed if CreateProcess fails
Tim Golden [Fri, 6 Aug 2010 13:03:56 +0000 (13:03 +0000)]
Issue #3210: Ensure stdio handles are closed if CreateProcess fails

14 years agoChange pyc removal to support __pycache__.
Martin v. Löwis [Fri, 6 Aug 2010 10:43:31 +0000 (10:43 +0000)]
Change pyc removal to support __pycache__.

14 years agoIssue8757: Implicit set-to-frozenset conversion not thread-safe.
Raymond Hettinger [Fri, 6 Aug 2010 09:52:17 +0000 (09:52 +0000)]
Issue8757:  Implicit set-to-frozenset conversion not thread-safe.

14 years agoMisc/NEWS entry for r83751.
Mark Dickinson [Fri, 6 Aug 2010 09:38:58 +0000 (09:38 +0000)]
Misc/NEWS entry for r83751.

14 years agoIssue #9526: Remove outdated casts to int that were preventing the array module...
Mark Dickinson [Fri, 6 Aug 2010 09:36:57 +0000 (09:36 +0000)]
Issue #9526:  Remove outdated casts to int that were preventing the array module from working correctly with arrays > 2GB.

14 years agoFix the VS8.0 build
Raymond Hettinger [Fri, 6 Aug 2010 09:22:46 +0000 (09:22 +0000)]
Fix the VS8.0 build

14 years agoIssue #3854: Documented using the sqlite3 module with multiple threads.
Gerhard Häring [Fri, 6 Aug 2010 06:12:05 +0000 (06:12 +0000)]
Issue #3854: Documented using the sqlite3 module with multiple threads.

14 years agoIssue #9524: Document that two CTRL* signals are meant for use only
Brian Curtin [Thu, 5 Aug 2010 18:56:00 +0000 (18:56 +0000)]
Issue #9524: Document that two CTRL* signals are meant for use only
with os.kill.

14 years agoIssue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
Alexander Belopolsky [Thu, 5 Aug 2010 17:34:27 +0000 (17:34 +0000)]
Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h.  This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().

14 years agoIssue #6683: For SMTP logins we now try all authentication methods advertised
Gerhard Häring [Thu, 5 Aug 2010 14:08:44 +0000 (14:08 +0000)]
Issue #6683: For SMTP logins we now try all authentication methods advertised
by the server. Many servers are buggy and advertise authentication methods they
o not support in reality. This change makes smtplib.auth() work more often in
the real world, where we face misconfigured servers and servers that advertise
methods they don't support due to the madness that is SASL.

14 years agoIssue 5077: Add documentation for operator fixer.
Alexandre Vassalotti [Thu, 5 Aug 2010 07:12:18 +0000 (07:12 +0000)]
Issue 5077: Add documentation for operator fixer.

Patch by Meador Inge.

14 years agoIssue #9337: Make float.__str__ identical to float.__repr__.
Mark Dickinson [Wed, 4 Aug 2010 20:56:28 +0000 (20:56 +0000)]
Issue #9337:  Make float.__str__ identical to float.__repr__.
(And similarly for complex numbers.)

14 years agoAdd Terry Reedy.
Martin v. Löwis [Wed, 4 Aug 2010 19:08:20 +0000 (19:08 +0000)]
Add Terry Reedy.

14 years agoIssue #9498: Add reference to sys.float_info from 'numeric types' docs.
Mark Dickinson [Wed, 4 Aug 2010 18:42:43 +0000 (18:42 +0000)]
Issue #9498:  Add reference to sys.float_info from 'numeric types' docs.
Thanks Yitz Gale.

14 years agoIssue #8814: function annotations (the `__annotations__` attribute)
Antoine Pitrou [Wed, 4 Aug 2010 18:28:02 +0000 (18:28 +0000)]
Issue #8814: function annotations (the `__annotations__` attribute)
are now included in the set of attributes copied by default by
functools.wraps and functools.update_wrapper.  Patch by Terrence Cole.

14 years agoSending the auth info as string. Fix BytesWarning: str() on a bytes instance Exceptio...
Senthil Kumaran [Wed, 4 Aug 2010 17:46:23 +0000 (17:46 +0000)]
Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot.

14 years agoTry to fix issue #9415: skip some tests on broken Ubuntu OpenSSL
Antoine Pitrou [Wed, 4 Aug 2010 17:14:06 +0000 (17:14 +0000)]
Try to fix issue #9415: skip some tests on broken Ubuntu OpenSSL

14 years agoIn verbose mode, identify OpenSSL build and platform more precisely
Antoine Pitrou [Wed, 4 Aug 2010 16:45:21 +0000 (16:45 +0000)]
In verbose mode, identify OpenSSL build and platform more precisely

14 years agoFix #9513 to remove relative imports from multiprocessing.
Brian Curtin [Wed, 4 Aug 2010 15:47:24 +0000 (15:47 +0000)]
Fix #9513 to remove relative imports from multiprocessing.

The test suite currently skips test_multiprocessing on Windows
because it fails on finding _multiprocessing in several
win32-specific blocks. Removing the relative import lets this
through and allows the test to run (and pass).

14 years agoIssue #9496: Provide a test suite for the rlcompleter module. Patch by
Antoine Pitrou [Wed, 4 Aug 2010 15:43:16 +0000 (15:43 +0000)]
Issue #9496: Provide a test suite for the rlcompleter module.  Patch by
Michele Orrù.

14 years agoI'm interested in threading issues as well
Antoine Pitrou [Wed, 4 Aug 2010 13:24:41 +0000 (13:24 +0000)]
I'm interested in threading issues as well

14 years agofix test_smtplib/test_smtpd collision through pre-loaded reply data in mock_socket
Richard Jones [Wed, 4 Aug 2010 12:27:36 +0000 (12:27 +0000)]
fix test_smtplib/test_smtpd collision through pre-loaded reply data in mock_socket

14 years agoFactor out stripping of interpreter debug output in test.support.strip_python_stderr()
Antoine Pitrou [Wed, 4 Aug 2010 11:48:56 +0000 (11:48 +0000)]
Factor out stripping of interpreter debug output in test.support.strip_python_stderr()

14 years agoas per discussion with antoine revert changes made in 83708 as the user useing ftplib...
Giampaolo Rodolà [Wed, 4 Aug 2010 10:36:18 +0000 (10:36 +0000)]
as per discussion with antoine revert changes made in 83708 as the user useing ftplib's readline methods is supposed to always use a binary file

14 years agoSomething fun to maintain
Antoine Pitrou [Wed, 4 Aug 2010 10:26:30 +0000 (10:26 +0000)]
Something fun to maintain

14 years agofix issue #6822: ftplib's storline method doesn't work with text files
Giampaolo Rodolà [Wed, 4 Aug 2010 10:12:00 +0000 (10:12 +0000)]
fix issue #6822: ftplib's storline method doesn't work with text files

14 years agoissue #8687: provides a test suite for sched.py module
Giampaolo Rodolà [Wed, 4 Aug 2010 09:28:05 +0000 (09:28 +0000)]
issue #8687: provides a test suite for sched.py module

14 years agofix issue #2944: asyncore doesn't handle connection refused correctly (patch by Alexa...
Giampaolo Rodolà [Wed, 4 Aug 2010 09:02:27 +0000 (09:02 +0000)]
fix issue #2944: asyncore doesn't handle connection refused correctly (patch by Alexander Shigin). Merged from 2.7 branch.

14 years agoFix Issue754016 - urlparse goes wrong with IP:port without scheme
Senthil Kumaran [Wed, 4 Aug 2010 04:50:44 +0000 (04:50 +0000)]
Fix Issue754016 - urlparse goes wrong with IP:port without scheme

14 years agoimprove smtpd module test coverage
Richard Jones [Wed, 4 Aug 2010 01:20:14 +0000 (01:20 +0000)]
improve smtpd module test coverage

14 years agonote smtpd module changes in NEWS
Richard Jones [Wed, 4 Aug 2010 01:19:22 +0000 (01:19 +0000)]
note smtpd module changes in NEWS

14 years agoThat test was never run (since thread has been renamed to _thread in 3.x)
Antoine Pitrou [Wed, 4 Aug 2010 00:18:49 +0000 (00:18 +0000)]
That test was never run (since thread has been renamed to _thread in 3.x)

14 years ago#3196: if needed pad a short base64 encoded word before trying to decode.
R. David Murray [Tue, 3 Aug 2010 22:14:10 +0000 (22:14 +0000)]
#3196: if needed pad a short base64 encoded word before trying to decode.

The RFCs encourage following Postel's law: be liberal in what you accept.
So if someone forgot to pad the base64 encoded word payload to an
even four bytes, we add the padding before handing it to base64mime.decode.
Previously, missing padding resulted in a HeaderParseError.

Patch by Jason Williams.

14 years agoMisc/NEWS entry for r83677.
Mark Dickinson [Tue, 3 Aug 2010 18:44:16 +0000 (18:44 +0000)]
Misc/NEWS entry for r83677.

14 years agoAdd various missing files.
Martin v. Löwis [Tue, 3 Aug 2010 18:35:55 +0000 (18:35 +0000)]
Add various missing files.
Improve detection of unpackaged files.

14 years agoIn test_threading_local, test both the default _thread._local implementation
Antoine Pitrou [Tue, 3 Aug 2010 18:32:26 +0000 (18:32 +0000)]
In test_threading_local, test both the default _thread._local implementation
and the pure Python implementation in Lib/_threading_local.py

14 years agoFix memory leak in ssl module.
Mark Dickinson [Tue, 3 Aug 2010 18:31:54 +0000 (18:31 +0000)]
Fix memory leak in ssl module.

14 years ago#9444: use first of prefix_chars for help opt instead of raising error
R. David Murray [Tue, 3 Aug 2010 17:56:09 +0000 (17:56 +0000)]
#9444: use first of prefix_chars for help opt instead of raising error

An argparse option parser created with a prefix_chars that did not
include a '-' would happily add -h and --help options, and then throw
an error when it tried to format the help because the - was an invalid
prefix character.  This patch makes it use the first character of
prefix_chars as the character for the help options if and only if '-'
is not one of the valid prefix_chars.

Fix by Theodore Turocy, unit tests by Catherine Devlin.

14 years agoIssue #8867: Fix `Tools/scripts/serve.py` to work with files containing
Antoine Pitrou [Tue, 3 Aug 2010 17:09:36 +0000 (17:09 +0000)]
Issue #8867: Fix `Tools/scripts/serve.py` to work with files containing
non-ASCII content.

14 years agoIssue #8065: Fix another memory leak in readline module, from failure to free
Mark Dickinson [Tue, 3 Aug 2010 16:49:49 +0000 (16:49 +0000)]
Issue #8065:  Fix another memory leak in readline module, from failure to free
the result of a call to history_get_history_state.

14 years agoIssue #9450: Fix memory leaks in readline.remove/replace_history_entry.
Mark Dickinson [Tue, 3 Aug 2010 16:08:16 +0000 (16:08 +0000)]
Issue #9450:  Fix memory leaks in readline.remove/replace_history_entry.

14 years agoA couple of nits how to ignore errors.
Georg Brandl [Tue, 3 Aug 2010 12:36:57 +0000 (12:36 +0000)]
A couple of nits how to ignore errors.

14 years agoGet rid of UserWarnings when running Sphinx from tools dir.
Georg Brandl [Tue, 3 Aug 2010 12:31:59 +0000 (12:31 +0000)]
Get rid of UserWarnings when running Sphinx from tools dir.

14 years agoTerminology fix: exceptions are raised, except in generator.throw().
Georg Brandl [Tue, 3 Aug 2010 12:06:29 +0000 (12:06 +0000)]
Terminology fix: exceptions are raised, except in generator.throw().

14 years agoFix regrtest -F.
Georg Brandl [Tue, 3 Aug 2010 07:56:50 +0000 (07:56 +0000)]
Fix regrtest -F.

14 years agoFix for issue 9455: platform.mac_ver() broken on OSX/ppc
Ronald Oussoren [Tue, 3 Aug 2010 07:42:42 +0000 (07:42 +0000)]
Fix for issue 9455: platform.mac_ver() broken on OSX/ppc

14 years agoimprovements to test_smtplib per issue2423
Richard Jones [Tue, 3 Aug 2010 06:39:33 +0000 (06:39 +0000)]
improvements to test_smtplib per issue2423
merged the socket mock introduced in test_smtpd

14 years agoFix-up some tkinter demos.
Georg Brandl [Mon, 2 Aug 2010 23:30:09 +0000 (23:30 +0000)]
Fix-up some tkinter demos.

14 years agoRemove reference to removed faqwiz tool.
Georg Brandl [Mon, 2 Aug 2010 23:18:35 +0000 (23:18 +0000)]
Remove reference to removed faqwiz tool.

14 years agoRemove obsolete pdist demo.
Georg Brandl [Mon, 2 Aug 2010 23:17:21 +0000 (23:17 +0000)]
Remove obsolete pdist demo.

14 years agoAnother demo that at least runs again.
Georg Brandl [Mon, 2 Aug 2010 23:15:58 +0000 (23:15 +0000)]
Another demo that at least runs again.

14 years agoMake minigzip work again.
Georg Brandl [Mon, 2 Aug 2010 23:13:24 +0000 (23:13 +0000)]
Make minigzip work again.

14 years agoUpdate Demo README.
Georg Brandl [Mon, 2 Aug 2010 23:13:12 +0000 (23:13 +0000)]
Update Demo README.

14 years agoFix unicode literal.
Georg Brandl [Mon, 2 Aug 2010 22:59:44 +0000 (22:59 +0000)]
Fix unicode literal.

14 years agoMake the framer run (still generates wrong code for module creation though.)
Georg Brandl [Mon, 2 Aug 2010 22:58:25 +0000 (22:58 +0000)]
Make the framer run (still generates wrong code for module creation though.)

14 years agoUpdate README, remove obsolete script.
Georg Brandl [Mon, 2 Aug 2010 22:55:17 +0000 (22:55 +0000)]
Update README, remove obsolete script.

14 years agoUpdate README, remove obsolete scripts.
Georg Brandl [Mon, 2 Aug 2010 22:53:22 +0000 (22:53 +0000)]
Update README, remove obsolete scripts.

14 years agoUpdate README for Tools.
Georg Brandl [Mon, 2 Aug 2010 22:31:22 +0000 (22:31 +0000)]
Update README for Tools.

14 years agoRemove faqwiz tool.
Georg Brandl [Mon, 2 Aug 2010 22:28:01 +0000 (22:28 +0000)]
Remove faqwiz tool.

14 years agoMinimum fixes to make freeze.py do something useful.
Georg Brandl [Mon, 2 Aug 2010 22:25:16 +0000 (22:25 +0000)]
Minimum fixes to make freeze.py do something useful.

14 years agoMake the Pynche tool work with Python 3.
Georg Brandl [Mon, 2 Aug 2010 22:08:58 +0000 (22:08 +0000)]
Make the Pynche tool work with Python 3.

14 years ago#9061: warn that single quotes are never escaped.
Georg Brandl [Mon, 2 Aug 2010 21:51:18 +0000 (21:51 +0000)]
#9061: warn that single quotes are never escaped.

14 years ago#9457: fix documentation links for 3.2.
Georg Brandl [Mon, 2 Aug 2010 21:07:14 +0000 (21:07 +0000)]
#9457: fix documentation links for 3.2.

14 years ago#8119: fix copy-paste error.
Georg Brandl [Mon, 2 Aug 2010 21:02:36 +0000 (21:02 +0000)]
#8119: fix copy-paste error.

14 years ago#9238: zipfile does handle archive comments.
Georg Brandl [Mon, 2 Aug 2010 20:52:10 +0000 (20:52 +0000)]
#9238: zipfile does handle archive comments.

14 years ago#6867: epoll.register() returns None.
Georg Brandl [Mon, 2 Aug 2010 20:47:56 +0000 (20:47 +0000)]
#6867: epoll.register() returns None.

14 years agoClarify that abs() is not a namespace.
Georg Brandl [Mon, 2 Aug 2010 20:44:34 +0000 (20:44 +0000)]
Clarify that abs() is not a namespace.

14 years ago#7797: be explicit about bytes-oriented interface of base64 functions.
Georg Brandl [Mon, 2 Aug 2010 20:39:35 +0000 (20:39 +0000)]
#7797: be explicit about bytes-oriented interface of base64 functions.

14 years ago#9019: remove false (in 3k) claim about Headers updates.
Georg Brandl [Mon, 2 Aug 2010 20:30:57 +0000 (20:30 +0000)]
#9019: remove false (in 3k) claim about Headers updates.

14 years ago#9111: document that do_help() looks at docstrings.
Georg Brandl [Mon, 2 Aug 2010 20:27:20 +0000 (20:27 +0000)]
#9111: document that do_help() looks at docstrings.

14 years ago#9037: add example how to raise custom exceptions from C code.
Georg Brandl [Mon, 2 Aug 2010 20:21:21 +0000 (20:21 +0000)]
#9037: add example how to raise custom exceptions from C code.

14 years ago#4280: remove outdated "versionchecker" tool.
Georg Brandl [Mon, 2 Aug 2010 20:17:50 +0000 (20:17 +0000)]
#4280: remove outdated "versionchecker" tool.