2010-2-7

01:50 DjangoBot
01:51 otherjacob
alex_gaynor: that works better after poking around the code more. yahoo
01:51 Alex_Gaynor
jammons: that try clause should really only surround the bits.next() line. also is it just me or is there a ton of new whitespace?
01:52 jammons
yeah, I'm not sure what the whitespace feelings are
01:52 jammons
we can remove some
01:52 jammons
I'll get him to fix that and resubmit
02:01 jammons
cool, I'm taking off, see the lot of you tomorrow, thanks for coming
02:01 jasonyo
I as well... cheers, django ladies and gents
02:04 otherjacob
memcache fun tomorrow. yahoo!
18:46 jammons
approved for 1.2 with not claimed: http://code.djangoproject.com/query?status=new&...
19:58 jammons
so supposing I just want to run regressiontests for cache, how do I do that? I was just reading ericholscher's blog post about running tests and the test info on the contributing to django page. My best guess is this, but it's not working: PYTHONPATH=`pwd` ./tests/runtests.py --settings=settings -v1 regressiontests
19:58 jammons
or rather regressiontest.cache
19:58 jammons
I assume I'm doin something dumb
19:59 jammons
alex_gaynor ^
19:59 jammons
any help
19:59 Alex_Gaynor
jammons: "cache" not "regressiontests"
19:59 jammons
ah
19:59 jammons
yep
20:00 jammons
thanks
20:00 jammons
how's the wii treating you?
20:01 Alex_Gaynor
was just an event I went to yesterday :)
20:22 jammons
if pidgin crashes on my one more damn time I quit
20:22 jammons
on me
20:23 jammons
man, life needs more wii events
21:14 jdunck
wii event? is that what they call LAN parties these days?
21:15 jdunck
get off my lawn!
21:28 ericholscher
jdunck, lol
21:30 Alex_Gaynor
jdunck: bah, I thought I was the crotechety old man of the django community
21:30 jdunck
crotchety you may be, but old, no.
21:53 jammons
for the record, LAN parties are for nerds, whereas a wii party would be for the general public. So the LAN party is slightly cooler.
22:53 jammons
design decision time: so for specifying whether or not to use cmemcache or python-memcache we're thinking we'd use this:
22:53 jammons
CACHE_BACKEND = memcached://localhost:11337?engine=memcache
22:54 jammons
what do you think alex_gaynor?
22:54 Alex_Gaynor
jammons: looks good, not even going to touch the possibly bikeshedding on that one
22:54 jammons
yeah, I know what you mean
22:55 jammons
I'm just writing the test for it
23:09 bound008
does anyone know whats up with:
23:09 bound008
File "/Users/jason/trunk/tests/modeltests/field_subclassing/models.py", line ?, in modeltests.field_subclassing.models.__test__.API_TESTS
23:09 bound008
Failed example:
23:09 bound008
MyModel.objects.filter(data__lt=s)
23:09 bound008
Expected:
23:09 bound008
Traceback (most recent call last):
23:09 bound008
...
23:09 bound008
FieldError: Invalid lookup type: 'lt'
23:09 bound008
Got:
23:09 bound008
[]
23:09 bound008
23:09 Alex_Gaynor
what python version?
23:09 bound008
there you go....
23:10 bound008
python 2.6 from snow leopard running the django svn trunk
23:10 Alex_Gaynor
hrm, no idea
23:10 Alex_Gaynor
try clearing out your pyc files
23:11 ericholscher
I think that's a known OS X fail
23:11 Alex_Gaynor
it sound slike an issue from one of the early 2.6 alphas
23:11 Alex_Gaynor
I assummed... OS X shipped 2.6.2 or whatever
23:16 bound008
oh sorry... its 2.6.1
23:18 Alex_Gaynor
I'm alomst positive that issue has the bug
23:18 Alex_Gaynor
if you could get/compiler 2.6.2 I'm fairly certain tha'd solve it
23:20 aroy
I just synced to django trunk and ran the test suite. worked fine. I'm python 2.6.2, ubuntu 9.04
23:30 jammons
what's a better way of saying this:
23:30 jammons
if params == {}:
23:30 jammons
pass
23:30 jammons
else:
23:30 jammons
engine = params['engine']
23:30 jammons
#do some other stuff
23:31 jammons
like without the pass
Page 2 of 2   ← Previous  (166 total)