Commit Graph

36030 Commits

Author SHA1 Message Date
Ronald Oussoren 10168f25ad Patch #1580674: with this patch os.readlink uses the filesystem encoding to
decode unicode objects and returns an unicode object when the argument is one.
2006-10-22 10:45:18 +00:00
Walter Dörwald d3973b578f Port test___future__ to unittest. 2006-10-22 08:59:41 +00:00
Andrew M. Kuchling 8a7a9cf507 [Bug #1576348] Fix typo in example 2006-10-19 21:55:55 +00:00
Martin v. Löwis c1d7597b1d Restore CFLAGS after checking for __attribute__ 2006-10-19 16:01:37 +00:00
Martin v. Löwis a811c38d8e Fix various minor errors in passing arguments to
PyArg_ParseTuple.
2006-10-19 11:00:37 +00:00
Martin v. Löwis aac1316222 Add check for the PyArg_ParseTuple format, and declare
it if it is supported.
2006-10-19 10:58:46 +00:00
Tim Peters b03c35bac3 Add missing svn:eol-style to text files. 2006-10-18 05:10:28 +00:00
Tim Peters ef3f32f965 Whitespace normalization. 2006-10-18 05:09:12 +00:00
Tim Peters 79665b1403 newIobject(): repaired incorrect cast to quiet MSVC warning. 2006-10-18 05:06:06 +00:00
Thomas Heller d2ea4a2584 ctypes callback functions only support 'fundamental' result types.
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called.  This is a partial fix for #1574584.

Will backport to release25-maint.
2006-10-17 19:30:48 +00:00
Martin v. Löwis fefbc2029c Forward-port r52358:
- Bug #1578513: Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.
2006-10-17 18:59:23 +00:00
Martin v. Löwis 79282a2b13 Remove obsolete file. Will backport. 2006-10-17 18:09:55 +00:00
Martin v. Löwis 7addebfde0 Patch #1457736: Update VC6 to use current PCbuild settings.
Will backport to 2.5.
2006-10-17 15:18:06 +00:00
Brett Cannon d80e0c8677 Fix turtle so that you can launch the demo2 function on its own instead of only
when the module is launched as a script.
2006-10-16 03:09:52 +00:00
Martin v. Löwis 827ee4411f Mention the bdist_msi module. Will backport to 2.5. 2006-10-15 14:30:38 +00:00
Martin v. Löwis 299747511c Remove binary property, set eol-style to CRLF instead. 2006-10-15 12:01:43 +00:00
Martin v. Löwis a52a16a496 Drop binary property on dsp files, set eol-style
to CRLF instead.
2006-10-15 11:59:56 +00:00
Martin v. Löwis f56591cb52 Set the eol-style for project files to "CRLF". 2006-10-15 11:57:40 +00:00
Martin v. Löwis a97e06d9db Round to int, because some systems support sub-second time stamps in stat, but not in utime.
Also be consistent with modifying only mtime, not atime.
2006-10-15 11:02:07 +00:00
Martin v. Löwis 012bc7253b Bug #1567666: Emulate GetFileAttributesExA for Win95.
Will backport to 2.5.
2006-10-15 09:43:39 +00:00
Martin v. Löwis cfcd3a9569 Loosen the test for equal time stamps. 2006-10-15 09:35:51 +00:00
Martin v. Löwis 6eb36b0cfa Patch #1577551: Add ctypes and ET build support for VC6.
Will backport to 2.5.
2006-10-15 08:51:22 +00:00
Martin v. Löwis 18aaa568fd Patch #1576166: Support os.utime for directories on Windows NT+. 2006-10-15 08:43:33 +00:00
Martin v. Löwis c9e82f6234 Patch #1576954: Update VC6 build directory; remove redundant
files in VC7. Will backport to 2.5.
2006-10-15 07:54:40 +00:00
Neal Norwitz cbeb687c68 Update the peephole optimizer to remove more dead code (jumps after returns)
and inline jumps to returns.
2006-10-14 21:33:38 +00:00
Brett Cannon 5a72372329 Clean up the language of a sentence relating to the connect() function and
user-defined datatypes.
2006-10-14 06:36:45 +00:00
Georg Brandl 65ad043ea3 Bug #1560179: speed up posixpath.(dir|base)name 2006-10-12 13:08:16 +00:00
Georg Brandl 8134d06e08 Bug #1283491: follow docstring convention wrt. keyword-able args in sum(). 2006-10-12 12:33:07 +00:00
Georg Brandl 35207712dc Fix tarfile depending on buggy int('1\0', base) behavior. 2006-10-12 12:03:07 +00:00
Georg Brandl a9969a6460 Small grammar fix, thanks Sjoerd. 2006-10-12 11:59:27 +00:00
Georg Brandl 6840fcd800 Bug #1560114: the Mac filesystem does have accurate information
about the case of filenames.
2006-10-12 11:46:57 +00:00
Georg Brandl 10f0f691d3 Add a note to fpectl docs that it's not built by default
(bug #1556261).
2006-10-12 11:41:11 +00:00
Georg Brandl 2c1375c8db Bug #1545497: when given an explicit base, int() did ignore NULs
embedded in the string to convert.
2006-10-12 11:27:59 +00:00
Georg Brandl 7d74a0e287 Bug #1546628: add a note about urlparse.urljoin() and absolute paths. 2006-10-12 11:14:40 +00:00
Georg Brandl 5597e261b2 Bug #1548891: The cStringIO.StringIO() constructor now encodes unicode
arguments with the system default encoding just like the write()
method does, instead of converting it to a raw buffer.
2006-10-12 09:47:12 +00:00
Georg Brandl b2e81e307d Bug #1550524: better heuristics to find correct class definition
in inspect.findsource().
2006-10-12 09:20:33 +00:00
Georg Brandl a4c8e32a1f Bug #1565919: document set types in the Language Reference. 2006-10-12 08:22:53 +00:00
Georg Brandl d076153ee8 Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
2006-10-12 07:57:21 +00:00
Georg Brandl fc8375748a Bug #1575746: fix typo in property() docs. 2006-10-12 07:38:04 +00:00
Ronald Oussoren 74d3eef73e MacOSX: fix permission problem in the generated installer 2006-10-10 07:55:06 +00:00
Martin v. Löwis f43893a878 Bug #1565150: Fix subsecond processing for os.utime on Windows. 2006-10-09 20:44:25 +00:00
Barry Warsaw e5ec613c4b List gc.get_count() in the module docstring. 2006-10-09 19:43:24 +00:00
Georg Brandl 412a9ea10e Patch #1572724: fix typo ('=' instead of '==') in _msi.c. 2006-10-09 19:03:06 +00:00
Andrew M. Kuchling b3f37556bc Fix wording in comment 2006-10-09 18:05:19 +00:00
Andrew M. Kuchling 99994790a0 Add news item for rev. 52211 change 2006-10-09 17:10:12 +00:00
Ronald Oussoren b80b6e1e12 MacOSX: add more logic to recognize the correct startup file to patch to the
shell profile patching post-install script.
2006-10-08 18:18:26 +00:00
Ronald Oussoren d6272a3cf6 MacOSX: The universal build requires that users have the MacOSX10.4u SDK
installed to build extensions. This patch makes distutils emit a warning when
the compiler should use an SDK but that SDK is not installed, hopefully reducing
some confusion.
2006-10-08 17:51:46 +00:00
Ronald Oussoren d610369e8b MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
universal build of python on OSX 10.3 to ensure that those flags can be used
to compile code (the universal build uses compiler flags that aren't supported
on 10.3). This patches gives the same treatment to CFLAGS, PY_CFLAGS and
BLDSHARED.
2006-10-08 17:49:52 +00:00
Ronald Oussoren 3778bf526c Fix for bug #1570284 2006-10-08 17:40:02 +00:00
Ronald Oussoren 5b5d110be6 Add version number to the link to the python documentation in
/Developer/Documentation/Python, better for users that install multiple versions
of python.
2006-10-08 17:37:58 +00:00