]> granicus.if.org Git - python/log
python
14 years agoIssue #11004: Repair edge case in deque.count().
Raymond Hettinger [Tue, 25 Jan 2011 21:32:39 +0000 (21:32 +0000)]
Issue #11004:  Repair edge case in deque.count().
(Reviewed by Georg Brandl.)

Also made similar changes to deque.reverse() though this wasn't
strictly necessary (the edge case cannot occur with two pointers
moving to meet in the middle).  Making the change in reverse()
was more a matter of future-proofing.

14 years agoTighten the restrictions on the test_sys test which triggers a fatal error when
Brett Cannon [Tue, 25 Jan 2011 18:26:35 +0000 (18:26 +0000)]
Tighten the restrictions on the test_sys test which triggers a fatal error when
run with tracing turned on.

14 years agoFix the description of PIPE_BUF
Antoine Pitrou [Tue, 25 Jan 2011 17:24:57 +0000 (17:24 +0000)]
Fix the description of PIPE_BUF

14 years agoFix the doc for PIPE_BUF
Antoine Pitrou [Tue, 25 Jan 2011 16:28:44 +0000 (16:28 +0000)]
Fix the doc for PIPE_BUF

14 years agoTypo.
Raymond Hettinger [Tue, 25 Jan 2011 08:01:01 +0000 (08:01 +0000)]
Typo.

14 years agoAdd entries for select and site.
Raymond Hettinger [Tue, 25 Jan 2011 07:46:07 +0000 (07:46 +0000)]
Add entries for select and site.

14 years agoAdd math.erfc and turtledemo.
Raymond Hettinger [Tue, 25 Jan 2011 06:58:01 +0000 (06:58 +0000)]
Add math.erfc and turtledemo.

14 years agoTypo.
Raymond Hettinger [Tue, 25 Jan 2011 05:53:27 +0000 (05:53 +0000)]
Typo.

14 years agoNits.
Raymond Hettinger [Tue, 25 Jan 2011 02:38:59 +0000 (02:38 +0000)]
Nits.

14 years agoAdd entry for the math module.
Raymond Hettinger [Tue, 25 Jan 2011 02:35:58 +0000 (02:35 +0000)]
Add entry for the math module.

14 years agoIgnore the gdb.py file under OS X.
Brett Cannon [Tue, 25 Jan 2011 00:56:18 +0000 (00:56 +0000)]
Ignore the gdb.py file under OS X.

14 years agoanother pretty crasher served up by pypy
Benjamin Peterson [Tue, 25 Jan 2011 00:00:28 +0000 (00:00 +0000)]
another pretty crasher served up by pypy

14 years agoAdd entry for io.BytesIO.getbuffer().
Raymond Hettinger [Mon, 24 Jan 2011 22:14:42 +0000 (22:14 +0000)]
Add entry for io.BytesIO.getbuffer().

14 years ago#10974: IDLE no longer crashes if its recent files list includes files
Ned Deily [Mon, 24 Jan 2011 21:46:44 +0000 (21:46 +0000)]
#10974: IDLE no longer crashes if its recent files list includes files
        with non-ASCII characters in their path names.

        (with approval of release manager for 3.2rc2)

14 years agoIssue #11000 ast.parse parses source, not just expressions.
Terry Reedy [Mon, 24 Jan 2011 21:36:03 +0000 (21:36 +0000)]
Issue #11000 ast.parse parses source, not just expressions.

14 years agoIssue #9509: make argarse properly handle IOErrors raised by argparse.FileType. Appro...
Steven Bethard [Mon, 24 Jan 2011 21:02:50 +0000 (21:02 +0000)]
Issue #9509: make argarse properly handle IOErrors raised by argparse.FileType. Approved by Georg in the tracker.

14 years agoUpdate last tix code example for 3.x, as already done for previous examples.
Terry Reedy [Mon, 24 Jan 2011 20:48:40 +0000 (20:48 +0000)]
Update last tix code example for 3.x, as already done for previous examples.

14 years agoFix label syntax.
Georg Brandl [Mon, 24 Jan 2011 19:59:08 +0000 (19:59 +0000)]
Fix label syntax.

14 years agoTypo fix.
Georg Brandl [Mon, 24 Jan 2011 19:53:18 +0000 (19:53 +0000)]
Typo fix.

14 years ago#10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.
R. David Murray [Mon, 24 Jan 2011 19:34:58 +0000 (19:34 +0000)]
#10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.

Original patch by Michal Nowikowski, with some additions and wording
fixes by me.

I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved.  I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.

14 years agoTypos.
Raymond Hettinger [Mon, 24 Jan 2011 18:19:01 +0000 (18:19 +0000)]
Typos.

14 years agoMissing source links.
Raymond Hettinger [Mon, 24 Jan 2011 16:28:06 +0000 (16:28 +0000)]
Missing source links.

14 years agoFix markup and add todo.
Raymond Hettinger [Mon, 24 Jan 2011 10:11:12 +0000 (10:11 +0000)]
Fix markup and add todo.

14 years agoAdd entry for hash_info().
Raymond Hettinger [Mon, 24 Jan 2011 09:17:24 +0000 (09:17 +0000)]
Add entry for hash_info().

14 years agoAdd section for urllib.parse.
Raymond Hettinger [Mon, 24 Jan 2011 09:01:27 +0000 (09:01 +0000)]
Add section for urllib.parse.

14 years agoAdd entry for the html module.
Raymond Hettinger [Mon, 24 Jan 2011 05:26:00 +0000 (05:26 +0000)]
Add entry for the html module.

14 years agoAdd entry for hashlib and expand the GC entry.
Raymond Hettinger [Mon, 24 Jan 2011 05:07:13 +0000 (05:07 +0000)]
Add entry for hashlib and expand the GC entry.

14 years agoMake the type consistent for hashlib algorithm constants. (Reviewed by Benjamin).
Raymond Hettinger [Mon, 24 Jan 2011 04:52:27 +0000 (04:52 +0000)]
Make the type consistent for hashlib algorithm constants.  (Reviewed by Benjamin).

14 years agoAdd entries for dis, dbm, and ctypes.
Raymond Hettinger [Mon, 24 Jan 2011 01:51:49 +0000 (01:51 +0000)]
Add entries for dis, dbm, and ctypes.

14 years agoAdd entries for array, asyncore, csv, compileall, and ast.
Raymond Hettinger [Mon, 24 Jan 2011 01:18:30 +0000 (01:18 +0000)]
Add entries for array, asyncore, csv, compileall, and ast.

14 years agoSkip a recursion depth check test when running under CPython and have a trace
Brett Cannon [Sun, 23 Jan 2011 23:06:05 +0000 (23:06 +0000)]
Skip a recursion depth check test when running under CPython and have a trace
function set. Otherwise a Python fatal error about hitting an unrecoverable
recursion depth gets triggered.

Closes issue #10985. Code review by Georg Brandl.

14 years agoFix typo.
Raymond Hettinger [Sun, 23 Jan 2011 21:33:36 +0000 (21:33 +0000)]
Fix typo.

14 years agominor clean-up.
Raymond Hettinger [Sun, 23 Jan 2011 21:32:18 +0000 (21:32 +0000)]
minor clean-up.

14 years agoAdd tracker references.
Raymond Hettinger [Sun, 23 Jan 2011 21:13:27 +0000 (21:13 +0000)]
Add tracker references.

14 years agoAdd entry for reprlib.
Raymond Hettinger [Sun, 23 Jan 2011 21:05:46 +0000 (21:05 +0000)]
Add entry for reprlib.

14 years agoIssue #10987: Fix the recursion limit handling in the _pickle module.
Antoine Pitrou [Sun, 23 Jan 2011 17:12:25 +0000 (17:12 +0000)]
Issue #10987: Fix the recursion limit handling in the _pickle module.

14 years agoAdd entry for shutil's archiving operations.
Raymond Hettinger [Sun, 23 Jan 2011 11:29:08 +0000 (11:29 +0000)]
Add entry for shutil's archiving operations.

14 years agoIssue #10955: Fix typo in NEWS, cp497 => cp437
Victor Stinner [Sun, 23 Jan 2011 00:11:58 +0000 (00:11 +0000)]
Issue #10955: Fix typo in NEWS, cp497 => cp437

14 years ago#10983: fix several bugs in the _tunnel implementation that seem to have missed while...
Georg Brandl [Sat, 22 Jan 2011 22:06:24 +0000 (22:06 +0000)]
#10983: fix several bugs in the _tunnel implementation that seem to have missed while porting between branches.  A unittest is needed!

14 years agoTo match the behaviour of HTTP server, the HTTP client library now also encodes
Armin Ronacher [Sat, 22 Jan 2011 13:44:22 +0000 (13:44 +0000)]
To match the behaviour of HTTP server, the HTTP client library now also encodes
headers with iso-8859-1 (latin1) encoding.  It was already doing that for
incoming headers which makes this behaviour now consistent in both incoming and
outgoing direction.

14 years agoIssue #10980: encode headers with latin1 instead of ASCII in the HTTP server.
Armin Ronacher [Sat, 22 Jan 2011 13:13:05 +0000 (13:13 +0000)]
Issue #10980: encode headers with latin1 instead of ASCII in the HTTP server.
This makes the implementation of PEP 3333 compliant servers on top of
BaseHTTPServer possible.

14 years agoIssue #10955: fix NEWS entry
Victor Stinner [Sat, 22 Jan 2011 10:33:01 +0000 (10:33 +0000)]
Issue #10955: fix NEWS entry

14 years agoIssue #10955: zipimport uses ASCII at bootstrap
Victor Stinner [Sat, 22 Jan 2011 10:30:29 +0000 (10:30 +0000)]
Issue #10955: zipimport uses ASCII at bootstrap

zipimport uses ASCII encoding instead of cp497 to decode filenames, at
bootstrap, if the codec registry is not ready yet. It is still possible to have
non-ASCII filenames using the Unicode flag (UTF-8 encoding) for file entries in
the ZIP file.

14 years agoIssue #10949: Improved robustness of rotating file handlers.
Vinay Sajip [Fri, 21 Jan 2011 23:35:57 +0000 (23:35 +0000)]
Issue #10949: Improved robustness of rotating file handlers.

14 years agoFix JSON docs about loads() accepting only str objects, not bytes.
Antoine Pitrou [Fri, 21 Jan 2011 21:37:32 +0000 (21:37 +0000)]
Fix JSON docs about loads() accepting only str objects, not bytes.

14 years agoUse a Latin-1 example that won't break the LaTeX PDF build.
Raymond Hettinger [Fri, 21 Jan 2011 09:18:19 +0000 (09:18 +0000)]
Use a Latin-1 example that won't break the LaTeX PDF build.

14 years agoAdd example for __wrapped__.
Raymond Hettinger [Fri, 21 Jan 2011 04:59:00 +0000 (04:59 +0000)]
Add example for __wrapped__.

14 years agoClarify what changed with respect to date ranges and two-digit years.
Raymond Hettinger [Fri, 21 Jan 2011 03:00:00 +0000 (03:00 +0000)]
Clarify what changed with respect to date ranges and two-digit years.

14 years agoIssue #10955: Fix a potential crash when trying to mmap() a file past its
Antoine Pitrou [Thu, 20 Jan 2011 21:07:24 +0000 (21:07 +0000)]
Issue #10955: Fix a potential crash when trying to mmap() a file past its
length.  Initial patch by Ross Lagerwall.

This fixes a regression introduced by r88022.

14 years agoCorrected the entry about new year range in the time module.
Alexander Belopolsky [Thu, 20 Jan 2011 19:51:31 +0000 (19:51 +0000)]
Corrected the entry about new year range in the time module.

14 years agoMove developers.txt to the devguide.
Brett Cannon [Thu, 20 Jan 2011 19:42:08 +0000 (19:42 +0000)]
Move developers.txt to the devguide.

14 years agoUpdate Misc/README.
Brett Cannon [Thu, 20 Jan 2011 19:36:12 +0000 (19:36 +0000)]
Update Misc/README.

14 years agoRemove some outdated files from Misc.
Brett Cannon [Thu, 20 Jan 2011 19:34:35 +0000 (19:34 +0000)]
Remove some outdated files from Misc.

14 years agoMove README.gdb to the devguide.
Brett Cannon [Thu, 20 Jan 2011 19:33:06 +0000 (19:33 +0000)]
Move README.gdb to the devguide.

14 years agoMove README.Emacs to the devguide.
Brett Cannon [Thu, 20 Jan 2011 19:30:51 +0000 (19:30 +0000)]
Move README.Emacs to the devguide.

14 years agoAdd an entry for the code repository.
Raymond Hettinger [Thu, 20 Jan 2011 09:47:04 +0000 (09:47 +0000)]
Add an entry for the code repository.

14 years agoMake an entry for the os module's bytes accessors.
Raymond Hettinger [Thu, 20 Jan 2011 09:04:39 +0000 (09:04 +0000)]
Make an entry for the os module's bytes accessors.
Split codecs into a separate section.  Rewrite
the Unicode section.

14 years agoAdd hasattr() example.
Raymond Hettinger [Thu, 20 Jan 2011 04:12:37 +0000 (04:12 +0000)]
Add hasattr() example.

14 years agoAdd more examples
Raymond Hettinger [Thu, 20 Jan 2011 04:03:19 +0000 (04:03 +0000)]
Add more examples

14 years agoMove maintainers.rst into the devguide and rename it the Experts Index.
Brett Cannon [Thu, 20 Jan 2011 03:56:50 +0000 (03:56 +0000)]
Move maintainers.rst into the devguide and rename it the Experts Index.

14 years agoRename AIX-NOTES to something that follows the convention in Misc.
Brett Cannon [Wed, 19 Jan 2011 23:08:44 +0000 (23:08 +0000)]
Rename AIX-NOTES to something that follows the convention in Misc.

14 years ago#10944: add c_bool to types table.
Georg Brandl [Wed, 19 Jan 2011 20:05:49 +0000 (20:05 +0000)]
#10944: add c_bool to types table.

14 years agoIssue #10934: Fixed and expanded Internaldate2tuple() and
Alexander Belopolsky [Wed, 19 Jan 2011 19:53:30 +0000 (19:53 +0000)]
Issue #10934: Fixed and expanded Internaldate2tuple() and
Time2Internaldate() documentation.  Thanks Joe Peterson for the report
and the original patch.

14 years agoIssue #10898: Allow compiling the posix module when the C library defines
Antoine Pitrou [Wed, 19 Jan 2011 15:21:35 +0000 (15:21 +0000)]
Issue #10898: Allow compiling the posix module when the C library defines
a symbol named FSTAT.

14 years agoFix markup.
Raymond Hettinger [Wed, 19 Jan 2011 08:44:33 +0000 (08:44 +0000)]
Fix markup.

14 years agoSuppress trailing spaces in table paragraphs.
Georg Brandl [Wed, 19 Jan 2011 08:42:03 +0000 (08:42 +0000)]
Suppress trailing spaces in table paragraphs.

14 years agoExpand entry for pydoc.
Raymond Hettinger [Wed, 19 Jan 2011 04:43:45 +0000 (04:43 +0000)]
Expand entry for pydoc.

14 years agoImprove looks by replacing a bullet list with a table.
Raymond Hettinger [Wed, 19 Jan 2011 04:24:57 +0000 (04:24 +0000)]
Improve looks by replacing a bullet list with a table.

14 years agoAdd examples for inspect.
Raymond Hettinger [Wed, 19 Jan 2011 04:14:34 +0000 (04:14 +0000)]
Add examples for inspect.

14 years agoKlocwork scan site no longer available.
Brett Cannon [Wed, 19 Jan 2011 00:49:06 +0000 (00:49 +0000)]
Klocwork scan site no longer available.

14 years agoFix typo in example of barrier timeouts from r88102
David Malcolm [Tue, 18 Jan 2011 23:45:53 +0000 (23:45 +0000)]
Fix typo in example of barrier timeouts from r88102

14 years agoExpand barrier example to show time-outs.
Raymond Hettinger [Tue, 18 Jan 2011 22:58:33 +0000 (22:58 +0000)]
Expand barrier example to show time-outs.

14 years agoMissing word.
Raymond Hettinger [Tue, 18 Jan 2011 21:14:27 +0000 (21:14 +0000)]
Missing word.

14 years agoReword the OrderedDict entry to emphasize the default behavior,
Raymond Hettinger [Tue, 18 Jan 2011 20:25:04 +0000 (20:25 +0000)]
Reword the OrderedDict entry to emphasize the default behavior,
to show equivalent code, and to provide a use case.

14 years agoIssue #10451: memoryview objects could allow to mutate a readable buffer.
Antoine Pitrou [Tue, 18 Jan 2011 18:57:52 +0000 (18:57 +0000)]
Issue #10451: memoryview objects could allow to mutate a readable buffer.
Initial patch by Ross Lagerwall.

14 years agoTypos.
Raymond Hettinger [Tue, 18 Jan 2011 09:01:34 +0000 (09:01 +0000)]
Typos.

14 years agoMore nits.
Raymond Hettinger [Tue, 18 Jan 2011 08:28:01 +0000 (08:28 +0000)]
More nits.

14 years agoNits.
Raymond Hettinger [Tue, 18 Jan 2011 07:15:39 +0000 (07:15 +0000)]
Nits.

14 years agoMore nits.
Raymond Hettinger [Tue, 18 Jan 2011 00:30:24 +0000 (00:30 +0000)]
More nits.

14 years agoAdd example for the abc module.
Raymond Hettinger [Tue, 18 Jan 2011 00:19:30 +0000 (00:19 +0000)]
Add example for the abc module.

14 years agoNits.
Raymond Hettinger [Tue, 18 Jan 2011 00:02:40 +0000 (00:02 +0000)]
Nits.

14 years agovery out of date file
Benjamin Peterson [Mon, 17 Jan 2011 23:49:51 +0000 (23:49 +0000)]
very out of date file

14 years agoAdd an import to the logging example
Raymond Hettinger [Mon, 17 Jan 2011 23:42:17 +0000 (23:42 +0000)]
Add an import to the logging example

14 years agoThe example for configparser was weird.
Raymond Hettinger [Mon, 17 Jan 2011 23:39:39 +0000 (23:39 +0000)]
The example for configparser was weird.

14 years agoBeautify code examples.
Raymond Hettinger [Mon, 17 Jan 2011 23:10:55 +0000 (23:10 +0000)]
Beautify code examples.

14 years agoWording nits.
Raymond Hettinger [Mon, 17 Jan 2011 22:33:11 +0000 (22:33 +0000)]
Wording nits.

14 years agoFix-up the XXX for importlib.abc.
Raymond Hettinger [Mon, 17 Jan 2011 21:55:40 +0000 (21:55 +0000)]
Fix-up the XXX for importlib.abc.

14 years agoTidy-up the ssl section.
Raymond Hettinger [Mon, 17 Jan 2011 21:29:58 +0000 (21:29 +0000)]
Tidy-up the ssl section.

14 years agoShort README on gdb support.
Brett Cannon [Mon, 17 Jan 2011 21:12:54 +0000 (21:12 +0000)]
Short README on gdb support.

14 years agoNote that two-phase cyclic barriers are suitable for use in loops.
Raymond Hettinger [Mon, 17 Jan 2011 21:05:07 +0000 (21:05 +0000)]
Note that two-phase cyclic barriers are suitable for use in loops.

14 years agoremove unneeded assertion
Benjamin Peterson [Mon, 17 Jan 2011 19:54:55 +0000 (19:54 +0000)]
remove unneeded assertion

14 years agocorrect assertion
Benjamin Peterson [Mon, 17 Jan 2011 19:44:46 +0000 (19:44 +0000)]
correct assertion

14 years agoturn some checks into assertions, since they are implied by the caller
Benjamin Peterson [Mon, 17 Jan 2011 19:24:34 +0000 (19:24 +0000)]
turn some checks into assertions, since they are implied by the caller

Reviewed by Georg.

14 years agoPlaceholder sentence pointing out that imoprtlib has updated (as well as deprecated...
Brett Cannon [Sun, 16 Jan 2011 21:02:09 +0000 (21:02 +0000)]
Placeholder sentence pointing out that imoprtlib has updated (as well as deprecated) ABCs thanks to the new .pyc situation.

14 years agorangeobject.c (compute_slice_indices): Make function static.
Matthias Klose [Sun, 16 Jan 2011 20:57:01 +0000 (20:57 +0000)]
rangeobject.c (compute_slice_indices): Make function static.

14 years agoMention deprecation of PyEval_{Acquire,Release}Lock().
Antoine Pitrou [Sun, 16 Jan 2011 18:45:17 +0000 (18:45 +0000)]
Mention deprecation of PyEval_{Acquire,Release}Lock().

14 years agoMore SSL-related stuff
Antoine Pitrou [Sun, 16 Jan 2011 18:41:36 +0000 (18:41 +0000)]
More SSL-related stuff

14 years agoMention HTTP 0.9's partial demise.
Antoine Pitrou [Sun, 16 Jan 2011 18:34:09 +0000 (18:34 +0000)]
Mention HTTP 0.9's partial demise.

14 years agoMention the new context parameter to FTP_TLS, and the small API change
Antoine Pitrou [Sun, 16 Jan 2011 18:29:34 +0000 (18:29 +0000)]
Mention the new context parameter to FTP_TLS, and the small API change
in subprocess.Popen.

14 years agoIssue 10889: Added entry for handling of indexing and slicing with ranges bigger...
Raymond Hettinger [Sun, 16 Jan 2011 18:22:06 +0000 (18:22 +0000)]
Issue 10889: Added entry for handling of indexing and slicing with ranges bigger than sys.maxsize.