This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wrobell
Recipients ghaering, wrobell
Date 2008-02-27.20:44:58
SpamBayes Score 0.00082862156
Marked as misclassified No
Message-id <1204145100.61.0.828420921933.issue2157@psf.upfronthosting.co.za>
In-reply-to
Content
fair enough, but...

1. i really do not see that behaviour documented, i.e.

       http://docs.python.org/lib/node347.html

   says nothing about types being broken on space character.

2. i am bit missing the point about backward compability.
   when looking on internet for a reason why types like
   "numeric(10, 2)" are not being converted (please note
   that "numeric (10, 2)" works, the difference is just one
   space), then i found no explanation of such behaviour,
   no single line of code trying to register conversion
   of "numeric(10,)" or similar.

   even more. if somebody has declaration like

      register_converter("numeric(10,", Decimal)

   then i can bet that he has also

      register_converter("numeric", Decimal)

   i doubt that my patch is breaking anybody's code, as no one
   is going to register "numeric(10," without registering "numeric".
History
Date User Action Args
2008-02-27 20:45:01wrobellsetspambayes_score: 0.000828622 -> 0.00082862156
recipients: + wrobell, ghaering
2008-02-27 20:45:00wrobellsetspambayes_score: 0.000828622 -> 0.000828622
messageid: <1204145100.61.0.828420921933.issue2157@psf.upfronthosting.co.za>
2008-02-27 20:44:59wrobelllinkissue2157 messages
2008-02-27 20:44:58wrobellcreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.