Commit Graph

4370 Commits

Author SHA1 Message Date
Antoine Pitrou 20e1f932fa Issue #6629: Fix a data corruption issue in the new `io` package, which could
occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or
"wb+" mode) after having buffered a certain amount of data for reading. This
bug was not present in the pure Python implementation.

Yes, this is a serious issue.
2009-08-06 20:18:29 +00:00
Jesse Noller 8497efeb40 Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address 2009-08-06 02:05:56 +00:00
Mark Dickinson 9a6d6c93b4 Issue #6619: Remove duplicate 'isgenerator' function from inspect module.
Thanks Vincent Legoll.
2009-08-02 15:40:11 +00:00
Mark Dickinson 4326ad8f72 Issue #6595: Allow Decimal constructor to accept non-European decimal
digits, as recommended by the specification.  (Backport of r74279 from
py3k.)
2009-08-02 10:59:36 +00:00
Sean Reifscheider 9279e7d177 - Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
NUL: Bogus TypeError detail string.
2009-08-01 23:54:55 +00:00
Amaury Forgeot d'Arc 3e5b027a64 #6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
like it does for larger invalid files.
2009-07-28 22:15:30 +00:00
Mark Dickinson fe67bd9168 Issue #6561: '\d' regular expression should not match characters of
category [No]; only those of category [Nd].  (Backport of r74237
from py3k.)
2009-07-28 20:35:03 +00:00
Raymond Hettinger c2b9e1a134 Issue 6573: Fix set.union() for cases where self is in the argument chain. 2009-07-27 20:32:04 +00:00
Kurt B. Kaiser 794b2a78d0 1. Clean workspace more thoughly before build.
2. Add url of branch we are building to 'results' webpage.
   (url is now available in $repo_path, could be added to failure email.)
3. Adjust permissions to improve upload reliability.
2009-07-27 16:09:28 +00:00
Amaury Forgeot d'Arc 74b3016783 #6553: crash in cPickle.load(), when given a StringIO with incomplete data.
Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
2009-07-23 19:26:02 +00:00
Georg Brandl beca49953d Fix the "pylocals" gdb command. 2009-07-23 09:17:09 +00:00
Georg Brandl ec812caf5d Issue #6540: Fixed crash for bytearray.translate() with invalid parameters. 2009-07-22 11:57:15 +00:00
Tarek Ziadé af2406f215 Issue #6545: Removed assert statements in distutils.Extension, so the behavior is similar when used with -O 2009-07-22 08:55:19 +00:00
Thomas Heller d8431ae3bd Revert rev 74134, as it does not completely fixx issue #6493. 2009-07-21 19:04:02 +00:00
Thomas Heller 6adda9641d Issue #6493: Fix a ctypes problem setting bitfields more than 31 bits
wide.
2009-07-21 06:27:14 +00:00
Benjamin Peterson 4879c907ce the Slice in x[::] has to have step as None to help the interpreter 2009-07-20 20:28:08 +00:00
Benjamin Peterson d7b0eebcae split unittest.py into a package 2009-07-19 20:18:21 +00:00
Mark Dickinson 5215875a95 Add Case Van Horsen to Misc/ACKS, for fractions module patches and other work 2009-07-18 16:01:57 +00:00
Mark Dickinson 88a0a2e47f Issue #6431: Fix Fraction comparisons with unknown types, and with
float infinities and nans.  Backport of r74078 from py3k.
2009-07-18 15:18:18 +00:00
Hirokazu Yamamoto 1a3d085008 NEWS about r74040. 2009-07-17 06:26:54 +00:00
Tarek Ziadé a99dedfce2 #6466 refactored distutils duplicate get_versions() functions (used to get gcc/ld/dllwrap versions) 2009-07-16 15:35:45 +00:00
Jesse Noller 7530e47948 Issue 6433: multiprocessing.pool.map hangs on empty list 2009-07-16 14:23:04 +00:00
Alexandre Vassalotti 999ecc0eaf Issue #2389: Pickle array objects using a list representation for portability
across different machine architectures and compatibility with Python 3.x.
2009-07-15 18:19:47 +00:00
Amaury Forgeot d'Arc 9d11fefe1b NEWS entry for r74000. 2009-07-13 20:03:21 +00:00
Vinay Sajip cbb24b35a0 Issue #6314: logging: Extra checks on the "level" argument in more places. 2009-07-13 11:21:05 +00:00
Benjamin Peterson d50a5d5deb fix umlaut 2009-07-13 00:03:20 +00:00
Benjamin Peterson 95e5ebe3e3 change encoding to utf-8 2009-07-12 23:56:18 +00:00
Benjamin Peterson 1944d7e724 fix another name 2009-07-12 23:49:23 +00:00
Benjamin Peterson dd116c2ea5 change encoding to utf-8 2009-07-12 23:44:43 +00:00
Benjamin Peterson 36a81381c6 fix Tarek's name 2009-07-12 23:40:33 +00:00
Benjamin Peterson 6736530df0 add Joe 2009-07-12 21:18:55 +00:00
Tarek Ziadé 51f32c00e8 reverted changes for #6459 (doesn't apply on 2.x) 2009-07-11 17:21:00 +00:00
Amaury Forgeot d'Arc 74b8d333b7 #2622 Import errors in email.message, from a py2app standalone application.
Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
2009-07-11 14:33:51 +00:00
Tarek Ziadé 23a3775cc8 fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit' 2009-07-11 10:55:27 +00:00
Tarek Ziadé 8c40001175 Fixed #6455 (the test shall use pyd files under win32, rather than so files) 2009-07-10 09:10:33 +00:00
Mark Dickinson 5fd3af24a2 Issue #1523: Remove deprecated overflow masking in struct module, and
make sure that out-of-range values consistently raise struct.error.
2009-07-07 15:08:28 +00:00
R. David Murray 23a736a4f0 Issue 6070: when creating a compiled file, after copying the mode bits, on
posix zap the execute bit in case it was set on the .py file, since the
compiled files are not directly executable on posix.  Patch by Marco N.
2009-07-07 01:06:13 +00:00
Tarek Ziadé e670e5ad5b Fixed #6377: distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option) 2009-07-06 12:50:46 +00:00
Mark Dickinson 463dc4bf26 Issues #1530559, #1741130: Fix various inconsistencies in struct.pack
integer packing, and reenable some previously broken tests.
2009-07-05 10:01:24 +00:00
Tarek Ziadé 63f1738d4b Fixed #6413: fixed log level in distutils.dist.announce 2009-07-04 02:02:41 +00:00
Gregory P. Smith c197d0ada2 news entry for r73825 2009-07-04 01:55:11 +00:00
Tarek Ziadé 65ec61ed06 Fixed #6403 : package path usage for build_ext 2009-07-03 08:22:56 +00:00
Benjamin Peterson 753d16234f when print() gets unicode arguments, sep and end should be unicode by default #4618 2009-07-02 18:16:45 +00:00
Benjamin Peterson 1bf4765369 only order comparisons are removed in py3k #6119 2009-07-02 17:06:17 +00:00
Jesse Noller 1b90efbdc5 Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes 2009-06-30 17:11:52 +00:00
Mark Dickinson 2f865b962c Issue #6347: Add inttypes.h to the pyport.h #includes; fixes a build
failure on HP-UX 11.00.
2009-06-30 15:32:30 +00:00
Tarek Ziadé 3fbcc60eb8 Fixed 6365: wrong inplace location for build_ext if the extension had dots 2009-06-29 16:13:39 +00:00
Hirokazu Yamamoto 99ebc63f49 Fixed NEWS. 2009-06-29 14:29:31 +00:00
Hirokazu Yamamoto 8839fd7372 Issue #6344: Fixed a crash of mmap.read() when passed a negative argument.
Reviewed by Amaury Forgeot d'Arc.
2009-06-29 13:25:16 +00:00
Hirokazu Yamamoto a3c5609079 Issue #4856: Remove checks for win NT. 2009-06-28 10:23:00 +00:00