/srv/irclogs.ubuntu.com/2012/04/22/#launchpad-dev.txt

lifelesssometimes I hate python03:54
lifeless>>> os.path.normpath('//home/robertc')03:54
lifeless'//home/robertc'03:54
lifeless>>>03:54
lifelessrobertc@lifeless-64:~$ pydoc os.path.normpath03:54
lifelessHelp on function normpath in os.path:03:54
lifelessos.path.normpath = normpath(path)03:54
lifeless    Normalize path, eliminating double slashes, etc.03:54
nigelbThis works04:00
nigelb>>> os.path.normpath('/home//nigel')04:00
nigelb'/home/nigel'04:00
nigelbBut yeah, bug.04:01
lifelessnigelb: deliberate04:18
lifelessnigelb: but the docs do not tell you :<04:18
nigelblifeless: Katie Cunningham said this part of her pycon talk - The documentation always lies. Because developers write it and we lie.04:19
lifelessnigelb: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_1104:22
lifelessnigelb: 'A pathname that begins with two successive slashes may be interpreted in an implementation-defined manner, although more than two leading slashes shall be treated as a single slash.'04:22
nigelblifeless: Ha.04:23
nigelbHow much time did you spend searching for that?04:23
lifelessto show you? < 120 seconds04:24
lifelessafter seeing the code? 0, I didn't care enough to do anything other than work around it.04:24
nigelbheh04:26
lifelessevil genius at work04:27
lifelesssecond version can be good, this version just has to rock04:27
nigelbI will admit to looking at LP source when I've gotten confused with the apidoc. It is vastly easier.04:27
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
wgrantlifeless: You're around tomorow?06:39
wgrant+r06:40
lifelesswgrant: AFAIK yes06:40
nigelbwgrant: I thought you were giving him a review. Bah. +r r+.06:40
wgrantlifeless: Great.06:40
wgrantlifeless: Will probably need a bit of live index creation.06:40
lifelessanzac day is wednesday06:40
lifelessstub is back too06:40
wgrantI intend to enable BugTaskFlat for ~launchpad tomorrow06:40
wgrantAh, true.06:40
lifelesssweet06:40
wgrantYeah, Anzac Day is Wed here too06:41
lifelessso lets not enable stuff tuesday :)06:41
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== ajmitch_ is now known as ajmitch

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!