OVERVIEW
Albatross is a small toolkit for developing highly stateful web
applications.
The toolkit has been designed to take a lot of the pain out of
constructing intranet applications although you can also use Albatross
for deploying publicly accessed web applications.
In slightly more than
was not being passed through to the input registry within the
NameRecorderMixin.
* If a client closed it's connection to the session server while the
server had data pending for the client, a subsequent del_write_file
would generate an exception, killing the session server.
--
Andrew McNamara
to import to access it.
Look at the os module.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
http://mail.python.org/mailman/listinfo/python-list
-newline mode - for example:
sample = open(filename, 'rU')
lineterminator is only used for output - we use the supplied iterator
(and whatever conventions it imposes) for input.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
http://mail.python.org
branch logs out.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
http://mail.python.org/mailman/listinfo/python-list
OVERVIEW
Albatross is a small toolkit for developing highly stateful web
applications.
The toolkit has been designed to take a lot of the pain out of
constructing intranet applications although you can also use Albatross
for deploying publicly accessed web applications.
In slightly more than
to the parser, but the results still might not be
what you want (because the format is ambiguous).
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
http://mail.python.org/mailman/listinfo/python-list
, and no indigo/violet.
Consider using an HSV-RGB conversion function. Saturation (S) and value
(V) should remain constant, while Hue (H) varies to get your rainbow
effect.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
http://mail.python.org/mailman/listinfo/python
-colorsys.html)
Well, now you've helped me - I had no idea there was an HSV-RGB
conversion function in the standard library. 8-)
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
http://mail.python.org/mailman/listinfo/python-list
was not being passed through to the input registry within the
NameRecorderMixin.
* If a client closed it's connection to the session server while the
server had data pending for the client, a subsequent del_write_file
would generate an exception, killing the session server.
--
Andrew McNamara
, but if you
need them, you need them), then opening the file in universal newline
mode should be harmless (and in this case, is the right thing to do).
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
http://mail.python.org/mailman/listinfo/python-list
enough to say on the subject, maybe you could
start a BDFL page.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
http://mail.python.org/mailman/listinfo/python-list
On 04/06/2009, at 3:15 PM, willgun wrote:
When i run the following in IDLE:
IDLE 2.6.1
import sqlite3
con =sqlite3.connect (r'g:\db1')
everything goes well,but when i save these to a .py file and run it:
Traceback (most recent call last):
File C:\Users\hp\Desktop\SQLite3\sqlite3.py,
On 04/06/2009, at 9:45 PM, willgun wrote:
By the way ,what does 'best regards' means at the end of a mail?
The correspondent is wishing you well. You'll also see things like
kind regards, best wishes and so on. Regard essentially means
respect.
--
Changes by Andrew McNamara andr...@object-craft.com.au:
--
nosy: +andrewmcnamara
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10515
Andrew McNamara added the comment:
Seems okay to me. I had a quick look at the examples section, and it
shows a use like the one I mention, but I wonder if the section on
dialects should quote the specific examples I mention?
_
Tracker [EMAIL PROTECTED
Andrew McNamara [EMAIL PROTECTED] added the comment:
One reason why this issue has been having less impact is that a bug in
some versions of the copy.py code meant it was ignoring the
__deepcopy__ stubs and using the pickle logic to copy _sre objects -
so, if you run the right python version
Changes by Andrew McNamara [EMAIL PROTECTED]:
--
versions: +Python 2.5.3, Python 2.6
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue416670
Andrew McNamara andr...@object-craft.com.au added the comment:
Okay, while I am sympathetic to the points raised by the people asking for this
enhancement, I'm persuaded to reject it by the arguments that the potential
benefit is outweighed by the increase in complexity (code and documentation
Andrew McNamara andr...@object-craft.com.au added the comment:
Note that there is one case that cannot easily be addressed via pre-processing:
where the comment character coincidently appears at the start of a line within
a multi-line quoted field. For example:
# This is a comment
1, 2
Andrew McNamara [EMAIL PROTECTED] added the comment:
I think it's a reasonable enough request - I've certainly had to
process CSV files with comments. Iain - appologies for not looking at
your request before now - 3 years is a pretty poor response time.
Some thoughts:
* this should target
New submission from Andrew McNamara [EMAIL PROTECTED]:
In python 2, re.escape() works with either str or unicode, but in
python 3, re.escape() no longer works correctly with the bytes type.
--
components: Regular Expressions
messages: 72309
nosy: andrewmcnamara
severity: normal
status
Andrew McNamara [EMAIL PROTECTED] added the comment:
The attached re_escape.py is a (somewhat crappy) fix for re.escape()
Added file: http://bugs.python.org/file11340/re_escape.py
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3756
Changes by Andrew McNamara [EMAIL PROTECTED]:
--
nosy: +andrewmcnamara
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3747
___
___
Python-bugs-list
Andrew McNamara [EMAIL PROTECTED] added the comment:
Will do, although I'm slightly concerned that my bytes version of the
function is about 50% slower than the str version. I can see why, I
just can't think of a way to do it any faster. There's an inherent
asymetry in bytes type that didn't
Changes by Andrew McNamara [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file11352/re_escape-patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3756
Andrew McNamara [EMAIL PROTECTED] added the comment:
On further testing, sometimes the str version is faster, sometimes the
bytes version is faster. Never more than about 50% one way or the
other, so probably not worth worrying about, although I still don't
really like the implementation
Andrew McNamara [EMAIL PROTECTED] added the comment:
I don't think it's possible to say whether it's preformance critical -
I can certainly image use cases such as parser generators where its
speed could be noticed.
I tried building a version using regular expressions, but I couldn't do
any
Andrew McNamara [EMAIL PROTECTED] added the comment:
I meant I can certainly imagine use cases...
In case it's not clear, I think the implementation in the patch is
good enough (unless someone can suggest any obvious optimisations).
If someone can prove that re.escape() performance is causing
Andrew McNamara [EMAIL PROTECTED] added the comment:
Looks fine, except I used frozenset for the _alphanum* variables and
reverted to double quotes like the rest of the file. Submitted as r66366.
All good. Thankyou.
___
Python tracker [EMAIL PROTECTED]
http
dule outside the Python core... 8-)
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
--
https://mail.python.org/mailman/listinfo/python-list
r to
produce the same result as Excel, it must see the raw bytes with no
re-ordering or suppression of CRs.
Unfortunately, I haven't had time to be involved in the module for a few
years. I wasn't involved with the Unicode changes necessary in Python 3,
and I have not verified that it is still com
32 matches
Mail list logo