Tarek Ziadé
1733c9362b
fixed warning and error message
2009-10-24 15:51:30 +00:00
Tarek Ziadé
468f700af7
fixed finally state in distutils.test_util
2009-10-24 15:19:03 +00:00
Tarek Ziadé
b9c1cfc428
Issue #7071 : byte-compilation in Distutils now looks at sys.dont_write_bytecode
2009-10-24 15:10:37 +00:00
Mark Dickinson
da8652d920
Issue #7117 (backport py3k float repr) continued:
...
Add sys.float_repr_style attribute ('short' if short float
repr is in used; 'legacy' otherwise).
2009-10-24 14:01:08 +00:00
Mark Dickinson
99abd145dc
Configure check for double rounding should take BASECFLAGS into account
2009-10-24 13:44:16 +00:00
Mark Dickinson
52462c3185
Remove temporary define from r75653
2009-10-24 13:31:41 +00:00
Tarek Ziadé
672422a328
#7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd
2009-10-24 13:29:44 +00:00
Mark Dickinson
1d6e2e1833
Issue #7117 (backport py3k float repr) continued:
...
- add double endianness detection to configure script
- add configure-time check to see whether we can use inline
assembly to get and set x87 control word in configure script
- add functions to get and set x87 control word in Python/pymath.c
- add pyport.h logic to determine whether it's safe to use the
short float repr or not
2009-10-24 13:28:38 +00:00
Antoine Pitrou
5e9f6676ea
Fix compilation error in debug mode.
2009-10-24 12:41:27 +00:00
Antoine Pitrou
f7820c1626
Manual py3k backport: [svn r74316] Issue #5449 : Fix io.BytesIO to not accept arbitrary keywords
2009-10-24 12:28:22 +00:00
Antoine Pitrou
fa94e80f3b
Manual py3k backport: [svn r74158] Issue #6218 : Make io.BytesIO and io.StringIO picklable.
2009-10-24 12:23:18 +00:00
Mark Dickinson
fd42f30991
Temporary define to avoid build failure
2009-10-24 12:17:24 +00:00
Mark Dickinson
bb28285ea2
Issue #7117 : Prepare for backport of py3k float repr.
...
Add the Python/dtoa.c file containing the main algorithms;
add corresponding include file and include in Python.h;
include license information for Python/dtoa.c;
add dtoa.c and dtoa.h to Makefile.
2009-10-24 12:13:30 +00:00
Antoine Pitrou
f98a267be3
Manual py3k backport: [svn r74155] Issue #6242 : Fix deallocator of io.StringIO and io.BytesIO
2009-10-24 11:59:41 +00:00
Mark Dickinson
5f029ce664
Acknowledge Ned Deily (extensive bug hunting and testing on OS X)
2009-10-24 11:47:17 +00:00
Georg Brandl
5460ff9d9f
Fix markup.
2009-10-24 10:04:19 +00:00
Neil Schemenauer
d87affece4
Improve some docstrings in the 'warnings' module.
2009-10-23 19:58:17 +00:00
Antoine Pitrou
b5cf8a059c
Issue #7194 : test_thread could try to release an unacquired mutex (and fail).
2009-10-23 18:32:15 +00:00
Fred Drake
d617cba62d
add further note about what's passed to optionxform
2009-10-23 13:04:51 +00:00
Antoine Pitrou
b119ca9df4
Fix Windows buildbot failure
2009-10-23 12:01:13 +00:00
Georg Brandl
dc0205296b
#7188 : fix optionxform() docs.
2009-10-23 08:14:44 +00:00
Eric Smith
84da0905e4
Per the discussion in issue6882, backport the try/finally work that was done to the py3k version (mostly in r59477, I think).
2009-10-22 20:13:14 +00:00
Georg Brandl
60bae6f123
Make printout margin important.
2009-10-22 16:20:55 +00:00
Georg Brandl
07de4fc978
Add proper references.
2009-10-22 16:17:05 +00:00
Georg Brandl
d1bed8e5ef
#6977 : getopt does not support optional option arguments.
2009-10-22 15:54:35 +00:00
Georg Brandl
76d6d4a010
#7156 : document curses as Unix-only.
2009-10-22 15:52:15 +00:00
Georg Brandl
f4ffae2b2a
#7035 : improve docs of the various <method>_errors() functions, and give them docstrings.
2009-10-22 15:42:32 +00:00
Georg Brandl
030d65811f
Reorder __slots__ fine print and add a clarification.
2009-10-22 15:27:24 +00:00
Georg Brandl
c5026f8a7b
#7088 : document new functions in signal as Unix-only.
2009-10-22 15:04:09 +00:00
Georg Brandl
2eee1d4df1
#6324 : membership test tries iteration via __iter__.
2009-10-22 15:00:06 +00:00
Georg Brandl
6c14e587f5
Use "impl-detail" directive where applicable.
2009-10-22 11:48:10 +00:00
Georg Brandl
3954d21cc5
Fix stylesheet for multi-paragraph impl-details.
2009-10-22 11:36:50 +00:00
Georg Brandl
f5f7c66a01
Allow short form with text as argument.
2009-10-22 11:28:23 +00:00
Georg Brandl
d032912ac1
Document new directive.
2009-10-22 11:28:06 +00:00
Georg Brandl
a054722778
Make it more robust.
2009-10-22 11:01:46 +00:00
Georg Brandl
08be2e2f35
Add a new directive marking up implementation details and start using it.
2009-10-22 08:05:04 +00:00
Georg Brandl
4ebf80734d
Fix duplicate target.
2009-10-22 07:56:56 +00:00
Georg Brandl
ceb32af23f
Fix markup.
2009-10-22 07:56:02 +00:00
Georg Brandl
590a3675b7
Revert unintended change.
2009-10-22 07:06:49 +00:00
Georg Brandl
0968fd679b
Fix punctuation.
2009-10-22 07:05:48 +00:00
Benjamin Peterson
97a57ec048
rewrite for style, clarify, and comments
...
Also, use the hasattr() like scheme of allowing BaseException exceptions through.
2009-10-22 02:50:38 +00:00
Benjamin Peterson
ff81cb812d
rewrite to be nice to other implementations
2009-10-22 02:36:47 +00:00
Benjamin Peterson
3c67afa714
whitespace
2009-10-22 02:26:47 +00:00
Vinay Sajip
5ac6528b91
Issue #7077 : logging: SysLogHandler now treats Unicode as per RFC 5424.
2009-10-21 20:22:14 +00:00
Georg Brandl
cf842ad418
#7170 : fix explanation about non-weakrefable builtin types.
2009-10-21 07:15:59 +00:00
Antoine Pitrou
9bd246bba9
Test wouldn't work in debug mode.
...
We probably need a function in test_support to handle this.
2009-10-20 21:59:25 +00:00
Benjamin Peterson
eb7c377659
clarify buffer arg #7178
2009-10-20 21:55:17 +00:00
Antoine Pitrou
efb60c0ceb
Issue #1722344 : threading._shutdown() is now called in Py_Finalize(), which
...
fixes the problem of some exceptions being thrown at shutdown when the
interpreter is killed. Patch by Adam Olsen.
2009-10-20 21:29:37 +00:00
Mark Dickinson
a7a52ab7ee
Issue #7099 : Decimal.is_normal should return True for all nonzero
...
finite non-subnormal values, even those with exponent > Emax.
2009-10-20 13:33:03 +00:00
Benjamin Peterson
e047d7953f
use property api
2009-10-20 03:14:10 +00:00