Nick Coghlan
3814a911aa
Fix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport candidate)
2007-11-02 10:09:12 +00:00
Mark Summerfield
ac3d429edc
Added more file-handling related cross-references.
2007-11-02 08:24:59 +00:00
Gregory P. Smith
f7601ee2c0
false "fix" undone as correct problem was found and fixed.
2007-11-01 21:17:47 +00:00
Gregory P. Smith
6d331ca9a4
Undo revision 58533 58534 fixes. Those were a workaround for
...
a problem introduced by 58385.
2007-11-01 21:15:36 +00:00
Gregory P. Smith
aae141a751
Fix bug introduced in revision 58385. Database keys could no longer
...
have NULL bytes in them. Replace the errant strdup with a
malloc+memcpy. Adds a unit test for the correct behavior.
2007-11-01 21:08:14 +00:00
Georg Brandl
744b32a544
Fix markup glitch.
2007-11-01 20:37:02 +00:00
Christian Heimes
4de2263616
Removed non ASCII text from test as requested by Guido. Sorry :/
2007-11-01 20:11:06 +00:00
Christian Heimes
e18f21c7d4
Backport of import tests for bug http://bugs.python.org/issue1293 and bug http://bugs.python.org/issue1342
2007-11-01 19:48:10 +00:00
Georg Brandl
03b15c67ff
#1364 : os.lstat is available on Windows too, as an alias to os.stat.
2007-11-01 17:19:33 +00:00
Raymond Hettinger
405884cd62
Sets are marshalable.
2007-10-31 22:15:49 +00:00
Raymond Hettinger
84e26b6d5d
Clarify the reasons why pickle is almost always better than marshal
2007-10-31 21:57:58 +00:00
Martin v. Löwis
50bf1155a8
Adding Christian Heimes.
2007-10-31 17:19:33 +00:00
Neal Norwitz
9c4382f2a3
Fix some compiler warnings for signed comparisons on Unix and Windows.
2007-10-31 06:33:20 +00:00
Georg Brandl
706132bbae
Make example about hiding None return values at the prompt clearer.
2007-10-30 17:57:12 +00:00
Georg Brandl
f4ef23f8c1
Use correct markup.
2007-10-30 17:51:18 +00:00
Kurt B. Kaiser
20172f9b5d
check in Tal Einat's update to tabpage.py
...
Patch 1612746
M configDialog.py
M NEWS.txt
AM tabbedpages.py
2007-10-30 02:38:54 +00:00
Guido van Rossum
1c1ac38157
Backport fixes for the code that decodes octal escapes (and for PyString
...
also hex escapes) -- this was reaching beyond the end of the input string
buffer, even though it is not supposed to be \0-terminated.
This has no visible effect but is clearly the correct thing to do.
(In 3.0 it had a visible effect after removing ob_sstate from PyString.)
2007-10-29 22:15:05 +00:00
Guido van Rossum
dff51b2898
Patch 1353 by Jacob Winther.
...
Add mp4 mapping to mimetypes.py.
2007-10-29 20:52:45 +00:00
Kurt B. Kaiser
60d58406d0
Add confirmation dialog before printing. Patch 1717170 Tal Einat.
2007-10-28 19:03:59 +00:00
Hye-Shik Chang
ea684743da
Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet)
2007-10-28 12:38:09 +00:00
Hye-Shik Chang
a838a801f2
- Add support for FreeBSD 8 which is recently forked from FreeBSD 7.
...
- Regenerate IN module for most recent maintenance tree of FreeBSD 6 and 7.
2007-10-28 11:19:02 +00:00
Neal Norwitz
98f40b1fcd
Update URL for Pygments. 0.8.1 is no longer available
2007-10-27 22:32:21 +00:00
Georg Brandl
dd1a8466f5
Fix new pop() method on os.environ on ignorecase-platforms.
2007-10-26 18:30:41 +00:00
Kurt B. Kaiser
1e45f80b22
1. Add comments to provide top-level documentation.
...
2. Refactor to use more descriptive names.
3. Enhance tests in main().
2007-10-26 00:10:09 +00:00
Kurt B. Kaiser
aa8a96a159
Correct an ancient bug in an unused path by removing that path: register() is
...
now idempotent.
2007-10-25 22:43:45 +00:00
Thomas Heller
469b2a52cd
ffi_type_longdouble may be already #defined.
...
See issue 1324.
2007-10-25 19:47:32 +00:00
Matthias Klose
6e183f8f44
- Build using system ffi library on arm*-linux*, pass --with-system-ffi to CONFIG_ARGS
2007-10-25 06:37:24 +00:00
Raymond Hettinger
a45c4873fc
Missing DECREFs
2007-10-25 02:26:58 +00:00
Georg Brandl
1a94ec2664
Bug #1287 : make os.environ.pop() work as expected.
2007-10-24 21:40:38 +00:00
Matthias Klose
9afb9850f2
- Build using system ffi library on arm*-linux*.
2007-10-24 20:00:44 +00:00
Thomas Heller
e7becc5007
Added unittest for calling a function with paramflags (backport from py3k branch).
2007-10-24 19:50:45 +00:00
Facundo Batista
f5ade63e91
Issue 1290. CharacterData.__repr__ was constructing a string
...
in response that keeped having a non-ascii character.
2007-10-24 19:11:08 +00:00
Vinay Sajip
bababa3ecc
Bug #1321 : Fixed logic error in TimedRotatingFileHandler.__init__()
2007-10-24 10:47:06 +00:00
Raymond Hettinger
3a8daf5b56
Fixup error return and add support for intermixed ints and floats/
2007-10-24 02:05:51 +00:00
Raymond Hettinger
3f8caa3ba7
Optimize sum() for integer and float inputs.
2007-10-24 01:28:33 +00:00
Raymond Hettinger
cd3c108ca1
Fixup news entry
2007-10-23 21:23:07 +00:00
Andrew M. Kuchling
6d57c827a7
Update name
2007-10-23 20:55:47 +00:00
Raymond Hettinger
01a0957f06
Shorter name for namedtuple()
2007-10-23 20:37:41 +00:00
Guido van Rossum
910ab50091
Issue 1307 by Derek Shockey, fox the same bug for RCPT.
...
Neal: please backport!
2007-10-23 19:25:41 +00:00
Georg Brandl
fef8be66e3
Update Pygments version from externals.
2007-10-23 18:21:35 +00:00
Neal Norwitz
530042816c
Bug #1313 , fix typo (wrong variable name) in example.
2007-10-23 05:44:27 +00:00
Travis E. Oliphant
8feafab346
Add phuang patch from Issue 708374 which adds offset parameter to mmap module.
2007-10-23 02:40:56 +00:00
Guido van Rossum
5e81270b22
Issue #1307 , patch by Derek Shockey.
...
When "MAIL" is received without args, an exception happens instead of
sending a 501 syntax error response.
2007-10-22 16:27:19 +00:00
Neal Norwitz
aef8e55269
Add Chris Monson so he can edit PEPs.
2007-10-22 04:47:54 +00:00
Georg Brandl
a739503881
Add :term:s for "new-style class".
2007-10-21 12:15:05 +00:00
Georg Brandl
e7a0990113
Add :term:s for iterator.
2007-10-21 12:10:28 +00:00
Georg Brandl
cf3fb25932
Add :term: for generators.
2007-10-21 10:52:38 +00:00
Georg Brandl
bb75e4e5d2
Unify "file-descriptor" to "file descriptor".
2007-10-21 10:46:24 +00:00
Georg Brandl
5e52db035d
Add :term:s for descriptors.
2007-10-21 10:45:46 +00:00
Georg Brandl
5c174bbd84
Add markup to new function descriptions.
2007-10-21 10:32:54 +00:00