Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.06; 'feature.': 0.07; 'initialize': 0.07; 'python': 0.08; 'builtin': 0.09; 'stating': 0.09; 'pm,': 0.10; 'examples': 0.12; 'received:209.85.214.174': 0.14; 'received:mail- iw0-f174.google.com': 0.14; 'wrote:': 0.14; '10:17': 0.16; 'orm': 0.16; 'pointless': 0.16; 'rdbms': 0.16; 'mon,': 0.17; 'language': 0.18; 'header:In-Reply-To:1': 0.21; 'module,': 0.23; 'load': 0.24; 'code': 0.24; "doesn't": 0.25; 'field,': 0.25; 'object': 0.26; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'manually': 0.29; 'subject:?': 0.29; 'sorry,': 0.29; 'module': 0.30; 'objects.': 0.30; "didn't": 0.31; 'properly': 0.32; 'to:addr :python-list': 0.33; 'rather': 0.34; 'daniel': 0.34; 'that,': 0.34; 'there': 0.35; 'from:': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.37; 'own,': 0.37; 'could': 0.38; 'anything': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'received:209': 0.39; 'map': 0.39; 'requests': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; 'best': 0.60; 'ever': 0.64; 'limit': 0.65; 'datetime': 0.84; 'jsonrpc': 0.84; 'localized': 0.84; 'subject:Why': 0.84; 'subject:choose': 0.84; 'subject:its': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=IMWI7Z2ara5JfCiEgmdRcaxHBGL5kP+SduMEbuQkR6w=; b=py3+TkbljTWmMqHA88sO8u1dQhAz9nDhpz7T4Q5JwsnH3mrPAEH6jWZeOjeGpwGih+ NvdNZuaU5RppNe+dWwInqnlgnia+Kr5l9+i/zmmDiYjFRvOwG7ZPuPoeFyEcDMGtEQgY mHBgJgS8qP2BvWJaQun8d8dwQcPq7O2l+WU7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pK6VCvRfBe2+7c/95YrK5m9GysUdgAjRmPwxdyyYbfB+bNcmXzB8z+MGe8fiWM8ogP ag/P/xpjj8k5PuzKTAdKHj+wiWgiODxQ3US/X/iSpOtEZ5gU4Ino5BYr2VOOhhuQXRLn MQsD74wHYgcXwJjVaQlPhjQhD71zHu06vyPIs= MIME-Version: 1.0 In-Reply-To: <46EA3D502B204937A4EE89E34471BC0F@octavian> References: <80d59383-36a3-4744-85c4-1a0577f1d3a6@dr5g2000vbb.googlegroups.com> <9CDC4B2CD1F445E994119A50F65155DF@teddy> <12225671E9654FECB49613D915FAEC19@teddy> <2EA88E7D68664EB3A4A49FA332E0E7EB@octavian> <46EA3D502B204937A4EE89E34471BC0F@octavian> Date: Mon, 23 May 2011 22:32:44 +1100 Subject: Re: Why did Quora choose Python for its development? From: Daniel Kluev To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306150367 news.xs4all.nl 49044 [::ffff:82.94.164.166]:44695 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6068 On Mon, May 23, 2011 at 10:17 PM, Octavian Rasnita wrote: > From: "Daniel Kluev" > Aha, so with other words that ORM doesn't have that feature. > DBIX::Class also use the DateTime module, but it can use it directly, > without needing to write more code for that, and it can also return > localized dates. Once again. ORMs return _python builtin type_. Localization is not their responsibility, and plugging it there is code bloat, rather than feature. Sure you may ask ORM to handle JSONRPC requests on its own, but ORM responsibility is to map RDBMS features to language objects. All good python packages limit their functionality to specific field, so you could choose one you prefer for each different task independently. > without needing to load the DateTime module manually and to initialize the DateTime object manually... This is basically stating that you didn't read the code I posted. Where did you ever find "initialize the DateTime object manually"? Sorry, but its pointless to discuss anything if you don't want to even read properly examples you receive. -- With best regards, Daniel Kluev