On Mon, Nov 24, 2008 at 2:55 AM, Ali art <[EMAIL PROTECTED]> wrote:
>
> I am using Windows XP professional version 2002 Service pack 3. AMD
> Athlon(TM)XP 2400+ 2.00GHz 992MB RAM.
>
> I have downloaded Windows x86 MSI Instaler Python 3.0rc3 (sig) Release:
> 21-Nov-2008.
>
> Control Panel -> System
Ah, my bad. Should never have referred to the Python 2.6 docs. :)
Replace "unicode" with "str" in my line of code and I think it should work.
Cheers,
Chris
On Sun, Nov 16, 2008 at 12:13 PM, Pb2Au <[EMAIL PROTECTED]> wrote:
> On Sun, Nov 16, 2008 at 4:31 PM, C
On Sat, Nov 15, 2008 at 8:46 AM, Pb2Au <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I recently changed from Python 2.5 to Python 3.0 rc2, and have
> been trying to find out how to convert byte strings (b"example")
> to unicode strings ("example"). I noticed that some of these had
> changed in the lates
On Wed, Aug 27, 2008 at 11:01 AM, Brett Cannon <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 27, 2008 at 9:29 AM, Sam Bishop <[EMAIL PROTECTED]> wrote:
>> On Tue, Aug 26, 2008 at 8:31 PM, Chris Rebert <[EMAIL PROTECTED]> wrote:
>>> You might then be interested in th
On Tue, Aug 26, 2008 at 8:31 PM, Chris Rebert <[EMAIL PROTECTED]> wrote:
> You might then be interested in the following related discussions from
> last year wherein I proposed something extremely similar:
>
> [Python-ideas] proto-PEP: Fixing Non-constant Default Arguments
> h
You might then be interested in the following related discussions from
last year wherein I proposed something extremely similar:
[Python-ideas] proto-PEP: Fixing Non-constant Default Arguments
http://mail.python.org/pipermail/python-ideas/2007-January/000121.html
[Python-3000] pre-PEP: Default Ar
Your question isn't really Python-3000-specific, and belongs more on
the comp.lang.python list.
That said, whether it's right for your object really depends on how
you're defining equality for it. Are you defining equality as merely
identity (i.e. are they pointers to the same spot in memory) or d
This mailinglist is specifically about discussing Python v3.0, not
general Python interest topics. As such, you question would be better
suited to the comp.lang.python newsgroup than this list.
- Chris Rebert
On Mon, Jun 2, 2008 at 11:44 PM, vdedaniya <[EMAIL PROTECTED]> wrote:
> Hell
be used
instead as it's the name of a builtin type (in Py3K).
In the future, searching the list archives can be quite helpful.
- Chris Rebert
On Wed, May 28, 2008 at 10:55 PM, Daniel Wong <[EMAIL PROTECTED]> wrote:
> I'm confused by the section on "no alternate bin
://mail.python.org/pipermail/python-ideas/2007-March/000284.html
- Chris Rebert
On 5/1/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Neville Grech Neville Grech wrote:
> > This reminds me a lot of haskell/prolog's head/tail list splitting. Looks
> > like a good feature.
>
>
Ah, that must have been it! Never mind then ;-).
- Chris Rebert
Mike Klaas wrote:
> On 4/16/07, Chris Rebert <[EMAIL PROTECTED]> wrote:
>> I think someone has probably proposed this before, but why not use "{,}"
>> as the empty set literal?
>
> If y
ed for being too
hard to parse because the minus sign could be the start of an
expression. I don't think this would apply to the comma as it's
basically used as an expression separator; however I'm no expert on
Python's grammar and parser, so I can't be sure.
Thoughts?
-
sentations of ints to ints might be useful.
At any rate, I'd like to propose the octal syntax:
0c123
I like this because "0c" looks like the start of the word "octal", and,
as with your suggestion, the 0[character-here] prefix makes for a nice
symmetry with "0
se has ideas, that's great too. Anything to stop the abuses
of mutable default arguments.
- Chris Rebert
BJörn Lindqvist wrote:
> On 2/15/07, Jim Jewett <[EMAIL PROTECTED]> wrote:
>> On 2/13/07, Chris Rebert <[EMAIL PROTECTED]> wrote:
>> > There ar
Josiah Carlson wrote:
> "BJörn Lindqvist" <[EMAIL PROTECTED]> wrote:
>> On 2/14/07, Josiah Carlson <[EMAIL PROTECTED]> wrote:
>>> Chris Rebert <[EMAIL PROTECTED]> wrote:
>>>> Requesting comments on the following pre-PEP. pybench runs
Mike Klaas wrote:
> On 2/13/07, Chris Rebert <[EMAIL PROTECTED]> wrote:
>> This PEP proposes new semantics for default arguments to remove
>> boilerplate code associated with non-constant default argument
>> values,
>> allowing them to be expr
Requesting comments on the following pre-PEP. pybench runs both with and
without the patch applied would also be appreciated.
- Chris R
Title: Default Argument Expressions
Author: Christopher Rebert
Status: Draft
Type: Standards Track
Requires: 3000
Python-Version: 3.0
Abstract
This PEP
17 matches
Mail list logo