- 17 Mar, 2009 2 commits
-
-
Benjamin Peterson authored
-
Mark Dickinson authored
alignment.
-
- 16 Mar, 2009 1 commit
-
-
Georg Brandl authored
-
- 15 Mar, 2009 13 commits
-
-
Hirokazu Yamamoto authored
-
Georg Brandl authored
This is cleaner and avoids lockups in obscure cases where a Queue is instantiated while the import lock is already held by another thread. OKed by Tim Peters.
-
Georg Brandl authored
the recommendation to send suggestions to the author can be followed.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
Fix a small nit in the error message if bool() falls back on __len__ and it returns the wrong type: it would tell the user that __nonzero__ should return bool or int.
-
Georg Brandl authored
-
Georg Brandl authored
-
Benjamin Peterson authored
-
Nick Coghlan authored
-
- 14 Mar, 2009 3 commits
-
-
Eric Smith authored
Unicode format tests weren't actually testing unicode. This was probably due to the original backport from py3k.
-
Eric Smith authored
For simple uses for str.format(), this makes the typing easier. Hopfully this will help in the adoption of str.format(). For example: 'The {} is {}'.format('sky', 'blue') You can mix and matcth auto-numbering and named replacement fields: 'The {} is {color}'.format('sky', color='blue') But you can't mix and match auto-numbering and specified numbering: 'The {0} is {}'.format('sky', 'blue') ValueError: cannot switch from manual field specification to automatic field numbering Will port to 3.1.
-
Antoine Pitrou authored
-
- 13 Mar, 2009 1 commit
-
-
Georg Brandl authored
-
- 12 Mar, 2009 2 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 11 Mar, 2009 2 commits
-
-
Tarek Ziadé authored
-
Brett Cannon authored
Was a DeprecationWarning for not supporting it since Python 2.6. Closes issue #3652.
-
- 10 Mar, 2009 8 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Update the decimal FAQ for the from_float() classmethod and improve the recipe for remove_exponent() to make it cut and pasteable.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 09 Mar, 2009 6 commits
-
-
Benjamin Peterson authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 08 Mar, 2009 2 commits
-
-
Martin v. Löwis authored
-
Benjamin Peterson authored
-