Alexander Belopolsky
397e5c98bc
Issue #15855 : added docstrings for memoryview methods and data descriptors.
14 years ago
R David Murray
94dd7cb0c7
#15509 : If %action substitution produces a null string, drop it.
Patch by Anton Barkovsky, comment addition by me.
This showed up as a bug in 3.3 because the definition for Chrome
produced such an empty string. This fix is tested in 3.3+;
backporting the new test suite is more trouble than it is worth.
14 years ago
Benjamin Peterson
c7dedb0945
put * in the normal place
14 years ago
Benjamin Peterson
c5d7518a2e
move variable decl to the top of the function
14 years ago
Benjamin Peterson
2e2c903700
prevert ast errors from being normalized before ast_error_finish is called ( closes #15846 )
14 years ago
Petri Lehtinen
1c371b255f
#15802 : Fix test logic in TestMaildir.test_create_tmp
14 years ago
R David Murray
6fb8fb17bf
#12776,#11839: call argparse type function only once.
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
14 years ago
Trent Nelson
2a0fb147ec
Remove trailing whitespace in order to silence warnings on HP-UX.
14 years ago
Andrew Svetlov
ff63e7afcf
Issue #15825 : fix typo in OrderedDict docs.
Patch by Mike Hoy.
14 years ago
Trent Nelson
a45afcada3
Issue #15819 : Fix out-of-tree builds from a readonly source.
14 years ago
Antoine Pitrou
ecc4757b79
Issue #15800 : fix the closing of input / output files when gzip is used as a script.
14 years ago
Ezio Melotti
49ccd514d2
Add missing comma.
14 years ago
Benjamin Peterson
28a6cfaefc
use the stricter PyMapping_Check ( closes #15801 )
14 years ago
Matthias Klose
2412c93a60
- fix paste error (whitespace) from previous commit
14 years ago
Matthias Klose
25b10a28f5
- Issue #15591 : Fix parsing MAKEFLAGS in the sharedmods target.
14 years ago
Petri Lehtinen
72b1426cfb
#11964 : Document a change in v3.2 to the json indent parameter
14 years ago
Petri Lehtinen
72c6eefcc6
Fix a JSON doc typo
14 years ago
Ezio Melotti
aa935dfe9c
#15788 : fix broken links in subprocess doc. Patch by Chris Rebert.
14 years ago
Ronald Oussoren
25437565f9
Fix issue 13370: Ensure that ctypes works on Mac OS X when Python is compiled using the clang compiler
14 years ago
Georg Brandl
c8076dfa9d
Fix wrong way of adding Error information in shutil.copytree.
14 years ago
Mark Dickinson
6f64796c22
Remove overeager test (don't depend on the sign of a nan; cf. issue #14521 )
14 years ago
Mark Dickinson
448f57762d
Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.
14 years ago
Mark Dickinson
e4204bcfb7
Issue #15544 : Fix Decimal.__float__ to work with payload-carrying NaNs.
14 years ago
Antoine Pitrou
15251a99bb
Add glossary references
14 years ago
Antoine Pitrou
331624b67d
Issue #14674 : Add a discussion of the json module's standard compliance.
Patch by Chris Rebert.
14 years ago
Georg Brandl
a61b09f406
Closes #9374 : add back now-unused module attributes; removing them is a backward compatibility issue, since they have a public-seeming name.
14 years ago
R David Murray
638d40b433
#15249 : Mangle From lines correctly when body contains invalid bytes.
Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
14 years ago
Ross Lagerwall
f2b34b8b96
Issue 15777: Fix a refleak in _posixsubprocess.
It was exposed by 03c98d05b140 and dbbf3ccf72e8.
14 years ago
Ned Deily
01d183732e
Issue #15645 : Ensure 2to3 grammar pickles are properly installed.
(Patch by Ronald Oussoren)
14 years ago
Ronald Oussoren
eb61f8b3a7
Fix for issue 15716: interpreter could crash when PYTHONEXECUTABLE was set on Mac OS X.
This is due to an off-by-one error: the allocated buffer didn't have room for a NUL
character at the end of the mbstowcs result.
14 years ago
Trent Nelson
ee253ebf62
Issue #15747 : skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
14 years ago
Ezio Melotti
1b47bf43a6
#15752 : s/assertRaisesRegexp/assertRaisesRegex/g
14 years ago
Stefan Krah
7cacd2eb92
Issue #15736 : Fix overflow in _PySequence_BytesToCharpArray().
14 years ago
Trent Nelson
514dbb03ba
Issue #15285 : Refactor connect timeout test in test_timeout.
14 years ago
Antoine Pitrou
9439f04b9a
Issue #14954 : Clarify the interaction of weak references and garbage collection.
Patch by Ethan Furman.
14 years ago
Petri Lehtinen
c6fdafcdf3
#15199 : Fix JavaScript's default MIME type to application/javascript
14 years ago
R David Murray
f6bd1b0e0d
#15742 : clarify sqlite parameter substitution example.
Suggestion and patch by Mike Hoy.
14 years ago
Antoine Pitrou
75506e8b7c
Issue #15726 : Fix incorrect bounds checking in PyState_FindModule.
Patch by Robin Schreiber.
14 years ago
Stefan Krah
07795df683
Issue #15741 : Fix potential NULL dereference. Found by Coverity.
14 years ago
Stefan Krah
db579d7b25
Issue #15738 : Fix a missing NULL check in subprocess_fork_exec().
14 years ago
Stefan Krah
fd24f9e51e
Issue #15732 : Fix (constructed) crash in _PySequence_BytesToCharpArray().
Found by Coverity.
14 years ago
R David Murray
e56bf97ef4
#13579 : teach string.Formatter about 'a'.
Patch by Francisco Martín Brugué.
14 years ago
Andrew Svetlov
828607170d
Issue #15595 : Fix subprocess.Popen(universal_newlines=True)
for certain locales (utf-16 and utf-32 family).
Patch by Chris Jerdonek.
14 years ago
Stefan Krah
6b962860e2
Check for NULL return value in PyStructSequence_NewType(). Found by Coverity.
14 years ago
Ned Deily
3c6661a914
Allow redemo.py to be used from the command line like other demos.
14 years ago
Antoine Pitrou
b47ea9a6fe
Issue #15615 : Add some tests for the json module's handling of invalid input data.
Patch by Kushal Das.
14 years ago
Mark Dickinson
05d79e9abf
Issue #15477 : Add workaround for log1p(-0.0) on platforms where it's broken.
14 years ago
Eli Bendersky
31a11902b3
tutorial typo fix
14 years ago
R David Murray
75fd22519f
#15636 : add versionadded for decodebytes
14 years ago
R David Murray
2c1d1d6310
#15355 : Mention already-executing Exception in generator docs.
Patch by Chris Jerdonek.
14 years ago