Am 20.11.2010 05:11, schrieb Stephen J. Turnbull:
> "Martin v. Löwis" writes:
>
> > The term "UCS-2" is a character set that can encode only encode 65536
> > characters; it thus refers to Unicode 1.1. According to the Unicode
> > Consortium's FAQ, the term UCS-2 should be avoided these days.
>
Hello
> cgitb.enable(0,"d:\temp")
Isn’t that expanded to “d:emp”?
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive
On Sat, Nov 20, 2010 at 6:02 PM, georg.brandl
wrote:
> georg.brandl pushed abd0dc1328ce to pymigr:
>
> http://hg.python.org/pymigr/rev/abd0dc1328ce
> changeset: 70:abd0dc1328ce
> tag: tip
> user: Georg Brandl
> date: Sat Nov 20 09:01:03 2010 +0100
> summary: Build iden
On Sat, Nov 20, 2010 at 2:51 AM, Georg Brandl wrote:
> I'm at it. In fact, I think I will merge both todo.txt and tasks.txt
> into the PEP. It's not more of a burden to update it there, and it's
> more visible to the developer community.
The latest checkin was definitely an improvement (especia
On Sun, Nov 21, 2010 at 1:07 AM, michael.foord
wrote:
> +Fetching attributes statically
> +--
> +
> +Both :func:`getattr` and :func:`hasattr` can trigger code execution when
> +fetching or checking for the existence of attributes. Descriptors, like
> +properties, will b
On 20/11/2010 15:21, Nick Coghlan wrote:
On Sun, Nov 21, 2010 at 1:07 AM, michael.foord
wrote:
+Fetching attributes statically
+--
+
+Both :func:`getattr` and :func:`hasattr` can trigger code execution when
+fetching or checking for the existence of attributes. Desc
On Sat, 20 Nov 2010 16:34:26 +0100 (CET)
michael.foord wrote:
> +
> +def testPickle(self):
> +# Issue 10326
> +
> +# Can't use TestCase classes defined in Test class as
> +# pickle does not work with inner classes
> +test = unittest.TestCase('run')
> +fo
On 20/11/2010 15:42, Antoine Pitrou wrote:
On Sat, 20 Nov 2010 16:34:26 +0100 (CET)
michael.foord wrote:
+
+def testPickle(self):
+# Issue 10326
+
+# Can't use TestCase classes defined in Test class as
+# pickle does not work with inner classes
+test = unitte
Le samedi 20 novembre 2010 à 15:48 +, Michael Foord a écrit :
> On 20/11/2010 15:42, Antoine Pitrou wrote:
> > On Sat, 20 Nov 2010 16:34:26 +0100 (CET)
> > michael.foord wrote:
> >> +
> >> +def testPickle(self):
> >> +# Issue 10326
> >> +
> >> +# Can't use TestCase classes
On 20/11/2010 16:01, Nick Coghlan wrote:
On Sun, Nov 21, 2010 at 1:29 AM, Michael Foord
wrote:
Can you give an example of code in a metaclass that may be executed by
getattr_static? It's not that I don't believe you I just can't think of an
example. Looking up the class and the mro are the onl
On 20/11/2010 15:59, Antoine Pitrou wrote:
Le samedi 20 novembre 2010 à 15:48 +, Michael Foord a écrit :
On 20/11/2010 15:42, Antoine Pitrou wrote:
On Sat, 20 Nov 2010 16:34:26 +0100 (CET)
michael.foord wrote:
+
+def testPickle(self):
+# Issue 10326
+
+# Can't use Tes
On Sun, Nov 21, 2010 at 1:29 AM, Michael Foord
wrote:
> Can you give an example of code in a metaclass that may be executed by
> getattr_static? It's not that I don't believe you I just can't think of an
> example. Looking up the class and the mro are the only two examples I can
> think of (klass.
On 20/11/2010 16:06, Michael Foord wrote:
On 20/11/2010 16:01, Nick Coghlan wrote:
[snip...]
The retrieval of __class__ is a
normal lookup on the object, so it can trigger all of the things
getattr_static is trying to avoid (unavoidable if you want to support
proxy classes at all), and the looku
On 11/20/2010 3:38 AM, Éric Araujo wrote:
Hello
cgitb.enable(0,"d:\temp")
Isn’t that expanded to “d:emp”?
Oops. Yes, that fixes the problem with creation of the temp file,
thanks for catching that. I now get a complete report of the original
error in the temp file (below). I am a bit
On Sat, Nov 20, 2010 at 4:05 AM, "Martin v. Löwis" wrote:
..
> A technical correct description would be to say that Python uses either
> 16-bit code units or 32-bit code units; for brevity, these can be called
> narrow and wide code units.
+1
PEP 261 introduced terms "wide Py_UNICODE" and "narro
Hello,
I have seen some efforts recently to improve Distutils in the standard library,
Just a quick reminder of the status of Distutils: it's frozen and is
just being bug fixed at this time. The work I done last year was
reverted and pushed to Distutils2.
A lot of work has been done since then, a
On Sun, Nov 21, 2010 at 12:05 AM, Tarek Ziadé wrote:
..
> Crazy ideas are welcome. "setup.py" is gone in d2 for instance ;)
But you can still use a similar form if you want - just to mention
___
Python-Dev mailing list
[email protected]
http://mail.
On Sun, Nov 21, 2010 at 2:06 AM, Michael Foord
wrote:
>> I'll see if I'm still of the same opinion after I sleep on it, but my
>> first impression of the docs was that they slightly oversold the
>> strength of the "doesn't execute arbitrary code" aspect of the new
>> function. The existing caveats
On Sun, Nov 21, 2010 at 1:07 AM, michael.foord
wrote:
> Author: michael.foord
> Date: Sat Nov 20 16:07:30 2010
> New Revision: 86566
>
> Log:
> Issue 9732: addition of getattr_static to the inspect module
>
> Modified:
> python/branches/py3k/Doc/glossary.rst
> python/branches/py3k/Doc/library/
On 11/20/2010 10:19 AM, Glenn Linderman wrote:
Oops. Yes, that fixes the problem with creation of the temp file,
thanks for catching that. I now get a complete report of the
original error in the temp file (below). I am a bit less confused
now... but it seems that there are still a number o
20 matches
Mail list logo