Re:Question about `list.insert`

2014-02-06 Thread Dave Angel
cool-RR Wrote in message: > Hi, > > I'm curious. If I append an item to a list from the left using `list.insert`, > will Python always move the entire list one item to the right (which can be > super-slow) or will it check first to see whether it can just allocate more > memory to the left of

Re:Question about object lifetime and access

2014-01-15 Thread Dave Angel
Asaf Las Wrote in message: > Hi community > Welcome. > > Multithreading will be enabled in uwsgi and 'p' will be used for read only. > > Questions are: > - what is the lifetime for global object (p in this example). The name will be visible in this module until the application shuts down

RE:question

2007-08-27 Thread JYOUNG79
Hi MRAB, Thanks so much for taking the time to help me with this! I've learned a ton from the example you sent! I studied each part of your code so I could get a good understanding of how it worked. There was one question I had; on the regex line, you used "(\d+)$" and I was curious why y