Commit Graph

54559 Commits

Author SHA1 Message Date
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
Benjamin Peterson d47f0d6d1b merge heads 2012-04-09 15:05:23 -04:00
Benjamin Peterson 77ec32655e merge heads 2012-04-09 15:05:13 -04:00
Benjamin Peterson 64ed576de8 merge 3.2 (#14509) 2012-04-09 15:04:39 -04:00
Benjamin Peterson ca819c3c9d merge 3.1 (#14509) 2012-04-09 15:01:02 -04:00
Benjamin Peterson f6622c8a3e fix build without Py_DEBUG and DNDEBUG (closes #14509) 2012-04-09 14:53:07 -04:00
Stefan Krah f69aef747a Resize the coefficient to MPD_MINALLOC also if the requested size is below
MPD_MINALLOC. Previously the resize was skipped as a micro optimization.
2012-04-09 20:47:57 +02:00
Vinay Sajip da29f8c915 Merged comment correction from 3.2. 2012-04-09 19:47:16 +01:00
Vinay Sajip 838e638a96 Corrected comment in cookbook example script. 2012-04-09 19:46:24 +01:00
Stefan Krah 0c0914edb0 _decimal is now 100x faster than the Python version in the pi benchmark. 2012-04-09 20:31:15 +02:00
Stefan Krah dd159ce606 Speed up _decimal by 30-40% for numerical workloads by improving the cache
locality for regularly sized coefficients.
2012-04-09 20:24:57 +02:00