summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* NEWS entry for the patch I checked in last week.Michael W. Hudson2005-06-011-0/+4
|
* SF bug #1209411: divmod documentation shd reference // not /Raymond Hettinger2005-05-312-2/+2
|
* SF bug #1202395: Description of string.lstrip() needs improvementRaymond Hettinger2005-05-311-15/+33
| | | | Clarify the role of the chars argument in the strip() methods.
* Add permissions for Reinhold Birkenfeld.Raymond Hettinger2005-05-281-0/+5
|
* This is my patch:Michael W. Hudson2005-05-275-251/+639
| | | | | | | | | | | | | | [ 1181301 ] make float packing copy bytes when they can which hasn't been reviewed, despite numerous threats to check it in anyway if noone reviews it. Please read the diff on the checkin list, at least! The basic idea is to examine the bytes of some 'probe values' to see if the current platform is a IEEE 754-ish platform, and if so _PyFloat_{Pack,Unpack}{4,8} just copy bytes around. The rest is hair for testing, and tests.
* Fix test_site to not call open('...', 'wU'), as that now raises an error.Michael W. Hudson2005-05-271-1/+1
| | | | Is anyone running the test suite regularly at the moment?
* SF bug #1209671: dict.popitem documentation should mention empty dict caseRaymond Hettinger2005-05-271-1/+2
|
* Fix:Michael W. Hudson2005-05-261-0/+2
| | | | | | | [ 1207501 ] Issue in grammar We didn't define dotted_name in the pseudo-grammar in the reference docs. Backport candidate.
* fix description of the input range of unichr()Fred Drake2005-05-251-1/+2
| | | | (closes SF bug #1120777)
* update documentation on what constitutes a line in a source fileFred Drake2005-05-251-5/+12
| | | | (closes SF bug #1167922)
* Disallow opening files with modes 'aU' or 'wU' as specified by PEPSkip Montanaro2005-05-203-0/+64
| | | | 278. Closes bug 967182.
* Patch #1197318: Cygwin case-sensitive import patchJason Tishler2005-05-201-17/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | A problem regarding importing symlinked modules was recently reported on the Cygwin mailing list: http://cygwin.com/ml/cygwin/2005-04/msg00257.html The following test case demonstrates the problem: $ ls -l total 1 lrwxrwxrwx 1 jt None 6 Apr 23 13:32 bar.py -> foo.py -rw-r--r-- 1 jt None 24 Apr 18 20:13 foo.py $ python -c 'import bar' Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named bar Since Cygwin's case_ok() uses a modified version of the Windows's version, the symlinked bar module actually resolves to file foo.py instead of bar.py. This obviously causes the matching code to fail (regardless of case). The patch fixes this problem by making Cygwin use the Mac OS X case_ok() instead of a modified Window's version.
* Whitespace normalization.Tim Peters2005-05-181-1/+1
|
* Add O_SHLOCK & O_EXLOCK. Closes patch #1103951.Skip Montanaro2005-05-163-1/+14
|
* Fixed a quite misleading comment: a "not" should not have been there.Armin Rigo2005-05-151-1/+1
|
* This test relied on short-circuiting details of dictobject.py to avoidArmin Rigo2005-05-151-4/+2
| | | | | | | | | crashing, and indirectly on the fact that hash codes in random.randrange(1000000000) were very unlikely to exhibit collisions. To see the problem, replace this number with 500 and observe the crash on either del target[key] or del keys[i]. The fix prevents recursive mutation, just as in the key insertion case.
* Add better datetime support to xmlrpclib module. Closes patch #1120353.Skip Montanaro2005-05-144-30/+127
|
* SF patch #1200051: Small optimization for PyDict_Merge()Raymond Hettinger2005-05-141-0/+6
| | | | (Contributed by Barry Warsaw and Matt Messier.)
* SF bug #1201807: Glossary listing bugRaymond Hettinger2005-05-141-1/+1
|
* credit source of idea for recent doc changesSkip Montanaro2005-05-121-0/+1
|
* Incorporate a lightly edited version of the SocketServer module's docstringSkip Montanaro2005-05-121-1/+82
| | | | | into the docs and segregate the method descriptions for the various classes into separate sections. Base on suggestion by Paul Rubin in c.l.py.
* Improve subprocess link error notificationKurt B. Kaiser2005-05-103-3/+9
| | | | | | M NEWS.txt M PyShell.py M rpc.py
* SF bug #1193890: calendar.weekheader not found in __all__Raymond Hettinger2005-05-101-1/+2
|
* Use Queue's blocking feature instead of sleeping in the mainKurt B. Kaiser2005-05-052-2/+4
| | | | loop. Patch # 1190163 Michiel de Hoon
* Don't use 'is not' to compare strings.Michael W. Hudson2005-05-041-1/+1
| | | | (spotted by reading pypy-svn :)
* Update Paul Prescod's permissions.Raymond Hettinger2005-04-301-0/+2
|
* SF patch #1191489: Simplify logic in random.pyRaymond Hettinger2005-04-301-9/+10
|
* Fix error in a docstring where a single quote started the docstring but tripleBrett Cannon2005-04-301-1/+1
| | | | | | quote ended it. Closes bug #1192777. Thanks Christopher Smith.
* Fixed a typo in docstring I happened upon.Guido van Rossum2005-04-301-1/+1
|
* SF bug #1190451: 6.9 First sentence is confusingRaymond Hettinger2005-04-281-7/+8
| | | | | | | * Fixed incorrect wording: expression->exception * Noted the specific exception reported by "raise" when the is nothing to re-raise. * Eliminated several instances of "e.g." as recommended in the style guide.
* FixMichael W. Hudson2005-04-271-2/+2
| | | | | | [ python-Bugs-1190599 ] dir() docs show incorrect output though not entirely how it's suggested in the bug report.
* Fix typo.Raymond Hettinger2005-04-261-1/+1
|
* Make subclasses of int, long, complex, float, and unicode perform typeBrett Cannon2005-04-2610-76/+326
| | | | | | | conversion using the proper magic slot (e.g., __int__()). Also move conversion code out of PyNumber_*() functions in the C API into the nb_* function. Applied patch #1109424. Thanks Walter Doewald.
* Make parse_makefile fallback to environment variables if nothing isMartin v. Löwis2005-04-253-24/+17
| | | | | defined in the makefile. Get CFLAGS from the Makefile, instead of getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually.
* Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. MeantBrett Cannon2005-04-245-7/+15
| | | | | | | to be used for flags that change binary compatibility. Distutils was tweaked to also use the variable if used during compilation of the interpreter.
* Update test to the current readline() behaviour.Walter Dörwald2005-04-211-0/+2
|
* Fix comment.Walter Dörwald2005-04-211-2/+2
|
* If the data read from the bytestream in readline() ends in a '\r' read one moreWalter Dörwald2005-04-212-12/+10
| | | | | | | | | | | byte, even if the user has passed a size parameter. This extra byte shouldn't cause a buffer overflow in the tokenizer. The original plan was to return a line ending in '\r', which might be recognizable as a complete line and skip any '\n' that was read afterwards. Unfortunately this didn't work, as the tokenizer only recognizes '\n' as line ends, which in turn lead to joined lines and SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It can only happen with a temporarily exhausted bytestream now anyway.) Fixes parts of SF bugs #1163244 and #1175396.
* Clarify usage of OPT by noting that if it is set the default values will beBrett Cannon2005-04-201-1/+2
| | | | left out.
* Fix tests dependent on the exception raised by non-settable descriptors.Barry Warsaw2005-04-203-5/+6
|
* Whitespace normalization.Tim Peters2005-04-203-3/+3
|
* As per discussion on python-dev, descriptors defined in C with a NULL setterBarry Warsaw2005-04-192-2/+7
| | | | | now raise AttributeError instead of TypeError, for consistency with their pure-Python equivalent.
* Add a line explaining what env var to use to set the compiler flags and anBrett Cannon2005-04-191-0/+3
| | | | example of how to do it so that it is passed directly to ./configure .
* Correct swapped descriptions of empty string splits.Raymond Hettinger2005-04-191-2/+2
|
* Fix:Michael W. Hudson2005-04-182-1/+7
| | | | | | | | [ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate.
* Updated to work with current Python docs setup, and added a minimal README.Jack Jansen2005-04-172-13/+54
|
* Fix building of spwd; was incorrectly checking for the needed HAVE_* values toBrett Cannon2005-04-151-4/+5
| | | | | | | | properly build the module. Also moved up the creation of config_h_vars (from distutils.sysconfig.parse_config_h()) higher on up in detect_modules() so that it can be used sooner).
* SF bug #1183742: PyDict_Copy() can return non-NULL value on errorRaymond Hettinger2005-04-151-1/+1
|
* typo fix, thanks Jeremy SandersAnthony Baxter2005-04-151-1/+1
|
* SF patch #1180062 by George Yoshida:Walter Dörwald2005-04-142-3/+3
| | | | | Doc/lib/libfunctional.tex: "in an new object" should read "in a new object" Doc/lib/libsubprocess.tex: argument name is wrong; comma is missing.