Commit Graph

54369 Commits

Author SHA1 Message Date
R David Murray f50b38a11f Merge #14399: zipfile now correctly handles comments added to empty zipfiles.
Patch by Serhiy Storchaka.

This also moves the TypeError that results from trying to use a unicode
comment from the 'close' step to the point at which the comment is added to
the zipfile.
2012-04-12 18:44:58 -04:00
Victor Stinner 6125e232e2 Doc: sort time.CLOCK_xxx constants 2012-04-12 21:40:14 +02:00
Georg Brandl 84ba495e37 Null-merge 3.2 branch. 2012-04-12 19:41:50 +02:00
Georg Brandl d46d69c279 3.2 sidebar: link to 3.3, not 3.1 2012-04-12 19:41:10 +02:00
Charles-François Natali 515ea9bd65 Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. 2012-04-12 19:09:00 +02:00
Charles-François Natali 5739e102dd Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. 2012-04-12 19:07:25 +02:00
Senthil Kumaran 80a133b91c code improvement. 'as cm' not required when not used. Review comment by Georg Brandl 2012-04-12 19:28:07 +08:00
R David Murray df7ac06195 Merge doc fixes #14553 and #14552. 2012-04-11 20:15:10 -04:00
R David Murray e7bade568e #14553: fix word order.
Patch by Tshepang Lekhonkhobe.
2012-04-11 20:13:25 -04:00
R David Murray 644cabed4b #14552: remove redundant wording in 'test' docs.
Original patch by Tshepang Lekhonkhobe.
2012-04-11 20:11:53 -04:00
Benjamin Peterson d268109ae3 merge 3.2 (null) 2012-04-11 16:49:40 -04:00
Benjamin Peterson 118ef7c38f merge 3.1 (null) 2012-04-11 16:48:30 -04:00
Benjamin Peterson 2fd0b1a1b9 after 3.1.5 2012-04-11 16:46:54 -04:00
R David Murray ea169801e1 #14508: make gprof2html script runnable under python3
Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.

Initial patch by Popa.Claudiu.

Here we also add a test (which uses mock, which is why I didn't
check it in on 3.2).
2012-04-11 15:17:37 -04:00
R David Murray 776c0df42b #14508: make gprof2html script runnable under python3
Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.

Initial patch by Popa.Claudiu.
2012-04-11 15:16:38 -04:00
Senthil Kumaran 690598aba2 merge to default - Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests 2012-04-12 02:37:11 +08:00
Senthil Kumaran d70846b1b1 3.2 - Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests 2012-04-12 02:34:32 +08:00
Antoine Pitrou 1c94ff8b68 Improve the threading.Condition docs. 2012-04-11 19:38:27 +02:00
Antoine Pitrou f6cd9b2d46 Improve the threading.Condition docs. 2012-04-11 19:37:56 +02:00
Georg Brandl b43ef77ecb #14545: merge 3.2 2012-04-11 18:36:58 +02:00
Georg Brandl 2a4864bea6 Merge 3.2 2012-04-11 18:36:46 +02:00
Georg Brandl 2c5807572f Closes #14545: make clearer what was added. 2012-04-11 18:33:17 +02:00
Senthil Kumaran 08bd4aaaf9 use assertWarns instead of check_warnings - Issue14341 2012-04-11 23:05:49 +08:00
Georg Brandl a51497ab86 Merge 3.2.3 release clone. 2012-04-11 12:46:24 +02:00
Georg Brandl 507776e787 Post-release update. 2012-04-11 12:45:12 +02:00
Brett Cannon 9fe92d1de5 Make the trace module ignore modules whose names start with "<" and
end with ">", i.e. follow convention.
2012-04-10 21:05:53 -04:00
Stefan Krah ec766a6179 1) Remove claim of an input invariant that is only true for static mpd_t.
Resizing is used _inside_ libmpdec functions, and it is permitted to
   change x->alloc several times while setting x->len at the end of the
   function. Therefore, for dynamic mpd_t x->alloc can _temporarily_ drop
   below x->len. Of course the final result always has x->len <= x->alloc.

   For static mpd_t this cannot happen, since resizing to a smaller
   coefficient is a no-op.

2) Remove micro optimization in mpd_switch_to_dyn(): Previously only the
   valid initialized part of the existing coefficient up to x->len was
   copied to the new dynamic memory area. Now copying does the same as
   realloc() and the entire old memory area is copied.

   The rationale for this change is that it is no longer needed to memorize
   the explanation given in 1).
2012-04-10 23:11:54 +02:00
Stefan Krah 7b544ca08d Fix stale comment. 2012-04-10 23:08:29 +02:00
Antoine Pitrou 61d85bab4d Merge 2012-04-10 22:51:26 +02:00
Antoine Pitrou b96a354556 Small improvements to the threading docs: better publicize support for the with statement. 2012-04-10 22:47:55 +02:00
Antoine Pitrou 2c9f1042c6 Fix some markup in the threading docs. 2012-04-10 22:35:53 +02:00
Antoine Pitrou 126aef768d Issue #8799: Fix and improve the threading.Condition documentation. 2012-04-10 22:24:05 +02:00
Senthil Kumaran 88b957a0ab merge heads 2012-04-11 03:18:25 +08:00
Senthil Kumaran 1cbf78af1f merge heads 2012-04-11 03:17:44 +08:00
Senthil Kumaran d05853da97 merge - fix the incorrect changes made for PATH_INFO value - Issue10484 2012-04-11 03:16:16 +08:00
Senthil Kumaran dbb369d0ef 3.2- fix the incorrect changes made for PATH_INFO value - Issue10484 2012-04-11 03:15:28 +08:00
Vinay Sajip 8bf2aea962 Merged updates to logging reference and HOWTO from 3.2. 2012-04-10 20:00:43 +01:00
Vinay Sajip 074faff925 Updated logging reference and HOWTO. 2012-04-10 19:59:50 +01:00
Vinay Sajip eba2428002 Issue #14541: Merged addition of test/sndhdrdata to Makefile.pre.in from 3.2. 2012-04-10 18:44:41 +01:00
Vinay Sajip 935b62968e Issue #14541: Added test/sndhdrdata to Makefile.pre.in for installation. 2012-04-10 18:41:48 +01:00
Georg Brandl 6b2e4cb570 Added tag v3.2.3 for changeset 3d0686d90f55 2012-04-10 19:30:26 +02:00
Georg Brandl 81c393b3de Merge. 2012-04-10 19:30:22 +02:00
Georg Brandl 44036016b9 Bump to 3.2.3 final. 2012-04-10 19:28:09 +02:00
Georg Brandl 470f33f50b News entry for f91ecbc8bafc. 2012-04-10 19:27:27 +02:00
Stefan Krah cc74b6ab14 Issue #14478: Cache the hash of a Decimal in the C version. 2012-04-10 16:27:58 +02:00
Senthil Kumaran 9deb188799 merge - minor .rst fix 2012-04-10 19:51:58 +08:00
Senthil Kumaran cc4979092f minor .rst fix 2012-04-10 19:51:00 +08:00
Stefan Krah f93fc0411b Merge. 2012-04-09 21:31:06 +02:00
Stefan Krah e37f8b29fc Issue #14520: Add __sizeof__() method to the Decimal object. 2012-04-09 21:27:20 +02:00
Benjamin Peterson 4a1e7cb06c merge 3.2 2012-04-09 15:05:47 -04:00