ly ;-)
So please let's abandon the old 'if exists ...' pattern, at least this
one time.
By the explicit cfg file, the file can clearly say if there is a virtual
env or not.
Together with removing magic from the .dll, the situation at least for
windows
would greatly improve.
ciao - c
s what it needs.
Am I somehow blinded, maybe?
(yes, you all know that I am, so please be patient with me) -- Chris
--
Christian Tismer :^)<mailto:tis...@stackless.com>
tismerysoft GmbH : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 12
On 6/4/12 4:11 PM, Carl Meyer wrote:
Hello Christian,
On 06/03/2012 03:56 PM, Éric Araujo wrote:
Le 02/06/2012 12:59, Christian Tismer a écrit :
One urgent question: will this feature be backported to Python 2.7?
Features are never backported to the stable versions. virtualenv still
exists
-desktop.aspx
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
ts for builtin methods in a dict in
each PyInterpreterState and use the qualname to reference the signature
object. This ensures full isolation.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/py
can't add a mutable attribute to
builtin functions and types. It breaks the isolation between
subinterpreters.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http:/
ur"", br"", rb""
syntax error: ru""
Python 2.7:
works: r"", ur"", br""
syntax error: ru"", rb""
The ru"" notation isn't necessary for Python 2 compatibility but it's
still an inco
Am 18.06.2012 17:12, schrieb Guido van Rossum:
> Ok, banning ru"..." and ur"..." altogether is fine too (assuming it's
> fine with the originators of the PEP).
It's gone for good. http://hg.python.org/cpython/rev/8e47e9af826e
(My first push for a very long time. Man, that feels good!)
___
t points to another
relative symlink in a different directory that points to a file in a
third directry?
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
duce the burden for developers. PEP mentions
the a similar idea at
http://www.python.org/dev/peps/pep-3151/#implementation but this was
never implemented.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/lis
Am 21.06.2012 14:55, schrieb Nick Coghlan:
> On Thu, Jun 21, 2012 at 9:26 PM, Christian Heimes wrote:
>> BTW Is there a better way than raise OSError(errno.ELOOP,
>> os.strerror(errno.ELOOP), filename) to raise a correct OSError with
>> errno, errno message and filenam
for builtin functions should be handled by a new PEP. We need
a way to extract or define the signatures (perhaps parse the C code and
parse PyArg_* signatures) and a secure way to store the signature
(perhaps implement the signature class in C?). That's a LOT of
:
* you get a sensible error message when you mistype the name of the
attribute. hasattr(signature, 'return_annotatoin') is clearly an error,
hard to notice with the naked eye and passes silently.
* modern Python IDEs have code completion. "signature.re is not
signature.em" sa
Am 22.06.2012 21:32, schrieb Larry Hastings:
>
> On 06/22/2012 12:21 PM, Christian Heimes wrote:
>> The PEP is already complex enough and went to several incarnations. It
>> was a wise decision to focus on the features that could be implemented
>> before the first bet
se the _hashlib module isn't
available without openssl and a new module for a single function is
kinda overkill.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http:
Am 23.06.2012 23:41, schrieb Antoine Pitrou:
> Perhaps something more user-friendly than the hexversion?
IMHO 0x0303 for 3.0.0 is user-friendly enough. A macro like
PY_VERSION(3, 0, 0) could be added, too.
Christian
___
Python-Dev mailing l
Am 24.06.2012 01:11, schrieb Larry Hastings:
> On 06/23/2012 03:08 PM, "Martin v. Löwis" wrote:
>> On 23.06.2012 23:41, Antoine Pitrou wrote:
>>> Perhaps something more user-friendly than the hexversion?
>> Please propose something. I think the hexversion *is* user-friendly,
>
> +1 to the idea, an
pilers, linkers, dynamic library loaders and calling conventions
are limited and don't support fancy stuff like OOP.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://m
home directories have either 0700 or 0750.
A user needs the 'x' bit enter or traverse through a directory
(mnemonic: exec -> enter), the 'r' bit to read the content of a
directory (e.g. listdir) and the 'w' bit to write (create or delete
files unless the sticky bit
can't be materialized as finite containers.
+1
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
alue for infinite.
> a) Don't want to return any value or "don't know": return NotImplemented
+1
> b) For infinite iterators: raise an OverflowError
-1, I'm for -1. ;) I'm not a fan of using exception for valid and
correct return values.
> c) All other
I [2]
instead of UTC as TAI doesn't have leap seconds. DJB's daemontools
specifies a tai64n log format [3] that is similar to your idea.
Christian
[1] http://en.wikipedia.org/wiki/Julian_Day_Number
[2] http://en.wikipedia.org/wiki/International_Atomic_Time
[3] ht
to pico seconds resolution (57bits) in the future.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Am 25.07.2012 14:11, schrieb Nick Coghlan:
> 1. For the reasons presented, I think it's worth attempting to define
> a common API that is based on datetime, but is tailored towards high
> precision time operations (at least using a different internal
> representation, perhaps supporting TAI).
This
27;s a major
PITB!
> TBH I'm more worried about years >= 1. :-)
Why life in the past? The future is ... err the future! :)
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
arameter order to group parameters.
Therefore I propose that the query string is only sorted when the query
is exactly a dict and not some subclass or class that has an items() method.
if type(query) is dict:
query = sorted(query.items())
ension compiled with VS 2010 won't be able to use the
PyErr_SetFromErrno*() function correctly. That's much harder to debug
than a FILE pointer mismatch because it usually doesn't cause a segfault.
Christian
___
Python-Dev mailing list
P
also be placed on the Python
infrastructure and I don't have access. Secondly somebody has to contact
Coverity to apply for an upload account. I tried my user account without
success.
It be nice if we get Coverity scans up and running this week to check
the upcoming release candidate fo
Am 03.09.2012 16:27, schrieb Antoine Pitrou:
> You could ask infrastruct...@python.org for an account on an existing
> machine (dinsdale perhaps, it looks much less loaded now that some
> services have been migrated).
Thanks Antoine! I've contacted the infrastructure te
Am 03.09.2012 15:59, schrieb Christian Heimes:
> It be nice if we get Coverity scans up and running this week to check
> the upcoming release candidate for issues.
Updates:
- Noah has set up a VM for me on the PSF infrastructure. I've installed
the Coverity tools, build dependencie
Am 05.09.2012 14:45, schrieb Brett Cannon:
> I have not for no other reason than I had not thought about it.
Whatever, I wasn't even sure if Stefan has contacted you or asked for a
account in a public message. He might have proclaimed his wish in a
private mail.
C
Am 05.09.2012 14:43, schrieb Christian Heimes:
> I try to get everything in place by tomorrow so we have some time to
> check for bugs before the next RC is deployed.
The people at Coverity are even faster than I hoped. I'm now in the
possession of the Project password which mean I can
Am 05.09.2012 18:56, schrieb Brett Cannon:
> And a thanks to Christian and Stefan for picking this up and running
> with it. I have not been the best keeper of this stuff as of late, but
> now that Christian, Stefan, and I all have admin access to the data we
> can spread the load so
sue and set the Action to "Claimed, being worked
on".
In case you got curious about Coverity I've created a screenshot for you
http://imm.io/Duel .
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/
x27;t introduce three or
more new methods. Can we still implement the feature for 3.3.0 or is it
too late?
> Anything else that you are aware of?
AFAIK each CRT has its own thread local storage. But that's not an issue
for us as we already have an API for TLS access.
Christian
_
ed from hg and a build is triggere when
changes are detected.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Am 08.09.2012 16:52, schrieb Antoine Pitrou:
> On Fri, 7 Sep 2012 02:27:25 +0200 (CEST)
> christian.heimes wrote:
>> http://hg.python.org/cpython/rev/8cd6acffbcb9
>> changeset: 78871:8cd6acffbcb9
>> branch: 2.7
>> parent: 78867:2587aeb616b6
>> us
Am 10.09.2012 03:50, schrieb christian.heimes:
> http://hg.python.org/cpython/rev/85cb90f79cbf
> changeset: 78946:85cb90f79cbf
> user:Christian Heimes
> date:Mon Sep 10 03:50:48 2012 +0200
> summary:
> Fixed out-of-bounce write to rawmode buffer. The fixed
a list of commits with just regressions so you can cherry
pick them? Or do you want to pull all memory leak fixes?
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.
eep up the good work!
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Am 12.09.2012 16:22, schrieb Stefan Krah:
> This is a false positive:
>
>
>
> Assumption: string ==
Am 12.09.2012 17:42, schrieb Stefan Krah:
> I think 'k' is owned by the PySTEntryObject after it is assigned here:
>
> ste->ste_id = k;
>
>
> So ste_dealloc() will call Py_XDECREF(k) a second time.
You are right. I missed that ste steals the reference to k and does its
own cleanup. I've fixed t
Am 12.09.2012 18:14, schrieb Terry Reedy:
> On 9/12/2012 10:22 AM, Stefan Krah wrote:
>> christian.heimes wrote:
>>> Fix out of bounds read in long_new() for empty bytes with an explicit
>>> base.
>>> int(b'', somebase) calls PyLong_FromString() with char* of length 1
>
> I don't know what happen
Am 24.09.2012 17:27, schrieb Antoine Pitrou:
>
> Hello,
>
> I was wondering if it would be worth providing better HTTP 1.1 support
> in http.server. The way I envision it, there would be a separate
> HTTP11RequestHandler which would provide:
>
> - a smart wfile with automatic chunk encoding (whi
Am 30.09.2012 14:47, schrieb Lennart Regebro:
> What do you say? Is this a path worth pursuing?
+1
I'm eager to read your PEP!
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mai
ly if an update tz db is installed
}
PYTHON_TZDB = "integrated" or "system" or "update"
With this setup users get the full benefit of system updates but can use
the integrated or update database if they don't like the operating
system's data.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Am 30.09.2012 14:01, schrieb Oleg Broytman:
>Many kudos to the team and to all contributors!
>
>Linux Weekly News regularly publishes tables "Who done what in Linux
> Kernel": http://lwn.net/Articles/507986/
> http://lwn.net/SubscriberLink/517564/bec11e6ace6ad699/
>
>It would be inter
ykeccak/ is almost ready and just
needs some cleanup and more tests. Once it's done I'll remove the Python
3.2 and 2.x compatibility code and integrate it into 3.4.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.
Am 04.10.2012 12:49, schrieb Dirkjan Ochtman:
> On Thu, Oct 4, 2012 at 12:32 PM, Christian Heimes
> wrote:
>> Two days ago NIST announced the SHA-3 contest winner. My wrapper of
>> keccak https://bitbucket.org/tiran/pykeccak/ is almost ready and just
>> needs some clea
Am 14.10.2012 12:36, schrieb Antoine Pitrou:
> I think SPARC (the architecture) disallows unaligned accesses to
> memory. I don't think it is specific to the Solaris CC compiler.
I've updated the comment accordingly. Unaligned access is just used by
the opt64 implementation of Keccak. opt32 is mor
Am 16.10.2012 12:43, schrieb Larry Hastings:
> On 10/16/2012 11:23 AM, Hynek Schlawack wrote:
>> Am 16.10.2012 um 12:15 schrieb andrew.svetlov :
>>
>>> + For easy to use interface to system randomness please see
>>> + :class:`random.SystemRandom`.
>> Is it just my non-native speaker ears, or sh
a Python complex number to a C Py_complex structure.
In order to fix the bug the code in PyComplex_AsCComplex() must be
altered to support float as return type from __complex__(). That's a
major change.
Christian
___
Python-Dev mailing lis
Am 21.10.2012 17:23, schrieb antoine.pitrou:
> http://hg.python.org/cpython/rev/ce9c9cbd1b11
> changeset: 79875:ce9c9cbd1b11
> user:Antoine Pitrou
> date:Sun Oct 21 17:21:04 2012 +0200
> summary:
> Build the _sha3 module with VS 2008.
For VS 2010 I decided against this approac
Am 21.10.2012 20:53, schrieb Antoine Pitrou:
> I don't know. If it breaks VS 2010 then it should be reverted. On the
> other hand I'd like to continue building Python under Windows without
> needing to install yet another MSVC version.
I backed out your commit and committed a _sha3.vcproj file ins
to increase the main python.dll from 2.7 MB to almost 3 MB.
We may have to ship our own SHA-3 code for quite a while. OpenSSL hasn't
even began to include SHA-3. The bugs.python.org entry about Keccak is
still the number one hit of a Google search about "openssl keccak".
Chri
Am 22.10.2012 15:31, schrieb anatoly techtonik:
> Could anybody reopen http://bugs.python.org/issue8766 ? I can't.
> Reproducible 100% with Python 3.2 and 3.3 (3.1 didn't test).
>
>> set PYTHONHOME=C:\
>> python
The segfault isn't caused by faulty code but by a call to abort() in
Py_FatalError().
Am 22.10.2012 16:18, schrieb Barry Warsaw:
> This is caused by the VMware player installer playing games with $PYTHONHOME
> to try to point it at its own *Python 2* runtime, and trying to call
> lsb_release (a Python 3 script on Ubuntu 12.10) while $PYTHONHOME is pointing
> at the wrong runtime.
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Am 22.10.2012 16:43, schrieb Barry Warsaw:
> On Oct 22, 2012, at 04:30 PM, Christian Heimes wrote:
>
>> I think it's a bug in lsb_release, too. It should use the -E
>> option in its shebang:
>
> Indeed, thanks! I
th forcedly shut down the process immediately.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Hi friends,
I have a project that has its root somewhere on my machine.
This project has many folders and contains quite some modules.
There is a common root of the module tree, and I want to use
- either absolute imports
- relative imports with '.'
Problem:
- I want to run any module inside
is another reason why I dislike the absence of __init__. :
Rhere is no longer an indicator that pretty clearly defines the root of my
module heirarchy.
Cheers, hoping for enlightment - chris
Sent from my Ei4Steve
On Nov 11, 2012, at 21:31, Christian Tismer wrote:
> Hi friends,
>
>
Hi Eric,
On 11.11.12 22:45, Eric Snow wrote:
On Sun, Nov 11, 2012 at 1:53 PM, Christian Tismer
mailto:tis...@stackless.com>> wrote:
Once again on this:
With the introduction of module folders
without __init__, it has become even harder to deduce a sensible
projec
s great when people help me to leave a dead-lock in my brain :-)
cheers - Chris
--
Christian Tismer :^) <mailto:tis...@stackless.com>
Software Consulting : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 :*Starship* http://starship.p
on looks.
>
> K
>
>
>> -Original Message-
>> From: Python-Dev [mailto:python-dev-
>> bounces+kristjan=ccpgames@python.org] On Behalf Of Christian Tismer
>> Sent: 11. nóvember 2012 20:31
>> To: python-dev@python.org
>> Subject: [Python-Dev] Set
ng
> up the hierarchy and finding the proper root.
> site.py is there to merely import sitecustomize.py, in case a site.py is not
> found in all the default places python looks.
>
> K
>
>
>> -Original Message-
>> From: Python-Dev [mailto:python-dev-
>>
having __main__.py as python
scripts?
Daniel Holth
On Nov 15, 2012, at 4:43 PM, Christian Tismer wrote:
Hi Kristjan,
does that mean that your scheme simply works, without any config step
necessary after I did my checkout?
This would in fact be an interesting alternative to
Python
o reference it?
Maybe there could be some auxiliary info page with proper keywords
that collects links to relevant discussions like this.
Do we have such a thing already?
ciao - chris
--
Christian Tismer :^) <mailto:tis...@stackless.com>
Software Consulting : Have a bre
on modern CPUs with lots of L1
and L2 cache and in an average case scenario. A worst case scenario with
lots of collisions might be measurable slower for large dicts and small
CPU cache.
But this is pure speculation and my guts could be terrible wrong. :) I'm
+1
g to donate a couple of ARM boards to
Snakebite. I'm thinking of Raspberry Pi (ARMv6), Pandaboard (ARMv7
Cortex-A9) and similar.
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
Am 12.12.2012 01:58, schrieb Nick Coghlan:
> Ick, why a new module? Why not just add this directly to datetime? (It
> doesn't need to be provided by the C accelerator, it can go straight in
> the pure Python part).
+1 for something like datetime.timezone
How well does hg handle files renames? The
the exception to be raised, or a callable to
handle this case?
Sloppy coding can be dangerous. So maybe the warning module could be
helpful as well: If None is passed and no explicit flag/exception/callable
given, bother the user with a warning message ;-)
cheers - chris
--
Christian Tismer
functions as all other third-party PyPI
> packages.
+1
This PEP does fine without any auto-updatefeature. Please let Lennart
concentrate on the task at hand. If an auto-update system is still
wanted, it can and should be designed by somebody else as a separate
PEP. IMHO it'
should it be released?
One other thing, the zoneinfo database should be compatible with zipfile
distributions. The module should be able to load the files from a stdlib
zipfile. The feature is important for freeze, py2exe and py2app.
Christian
___
Python
t facilities to the
standard library.
Regards,
Christian
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Am 02.01.2013 10:49, schrieb Antoine Pitrou:
> Le Wed, 2 Jan 2013 09:18:17 +0100,
> Dirkjan Ochtman a écrit :
>> On Wed, Jan 2, 2013 at 7:14 AM, Christian Heimes
>> wrote:
>>> The second PEP addresses key derivation functions for secure
>>> password hashi
Am 02.01.2013 11:11, schrieb Antoine Pitrou:
>> PKCS #1 support should be implemented on top of OpenSSL or NaCl. I'm
>> planing to use OpenSSL as primary implementation and additional code
>> as fallback implementation of PBKDF2-HMAC-SHA-1, PBKDF2-HMAC-SHA-256
>> and PBKDF2-HMAC-SHA-512.
>
> Does
Minor correction:
On 06.01.13 19:10, Christian Tismer wrote:
Yes, you can do the upgrade, but there are a few flaws which keep me
from using this:
It is pretty common to use virtualenv inside a mercurial checkout.
With venv, installation with
python3 -m venv my-repos
complains that the
for this: http://bugs.python.org/issue15776
Stefan
On 23.07.2012, at 09:09, Stefan H. Holek wrote:
The feature certainly is on *my* wish-list but I might be alone here. ;-)
--
Christian Tismer :^) <mailto:tis...@stackless.com>
Software Consulting : Have a break! Take a
Am 10.01.2013 11:48, schrieb Antoine Pitrou:
> Having an official afterfork facility would still help. I currently
> rely on multiprocessing.util.register_after_fork(), even though it's an
> undocumented API (and, of course, it works only for those child
> processes launched by multiprocessing, not
Am 11.01.2013 07:09, schrieb Nick Coghlan:
> On Fri, Jan 11, 2013 at 2:57 PM, wrote:
>> results for aef7db0d3893 on branch "default"
>>
>>
>> test_dbm leaked [2, 0, 0] references, sum=2
>> test_dbm leaked [2, 2, 1] memory blocks, sum=5
>
> Hmm, I'm st
Am 11.01.2013 18:19, schrieb Andrea Griffini:
> On Fri, Jan 11, 2013 at 5:08 PM, Christian Heimes
> wrote:
>> It has more issues. Coverity has sent me some complains, see attachment.
>
> The second complaint seems a false positive; if self->extra is null
> then
Am 21.01.2013 10:46, schrieb serhiy.storchaka:
> http://hg.python.org/cpython/rev/7625866f8127
> changeset: 81622:7625866f8127
> branch: 3.2
> parent: 81610:260a9afd999a
> user:Serhiy Storchaka
> date:Mon Jan 21 11:38:00 2013 +0200
> summary:
> Issue #16335: Fix integ
ation of bound method objects. If speed is of
the essence, code can cache the method object locally:
strio = io.StringIO()
write = strio.write
for element in elements:
write(element)
result = strio.getvalue()
Christian
___
Python-Dev mailing list
Python-
ed
all over the place and became a very common pattern since introduced.
/How ironic that a foreseen problem occurs _now_, and _there_ :-)//
/
cheers -- chris
(*)
http://pypy.readthedocs.org/en/latest/cpython_differences.html
http://pypy.org/compat.html
http://pypy.org/performance.html
--
Chr
thon":
There are obviously good things, but "obvious" is the finest liar.
--
Christian Tismer :^) <mailto:tis...@stackless.com>
Software Consulting : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 :*Starship* http://star
ct was, if any at all.
Would ropes be an answer (and a simple way to cope with string mutation
patterns) as an alternative implementation, and therefore still justify
the usage of that pattern?
--
Christian Tismer :^) <mailto:tis...@stackless.com>
Software Consulting
en traps in larger code bases, documentation is
needed that clearly gives a warning saying "don't do that", like CS
students learn for most other languages.
cheers - chris
--
Christian Tismer :^) <mailto:tis...@stackless.com>
Software Consulting
On 13.02.13 13:10, Steven D'Aprano wrote:
On 13/02/13 10:53, Christian Tismer wrote:
Hi friends,
_efficient string concatenation_ has been a topic in 2004.
Armin Rigo proposed a patch with the name of the subject,
more precisely:
/[Patches] [ python-Patches-980695 ] efficient s
is
more than 3 and some of them are literal strings.
Fixed: x = ('%s' * len(abcd)) % abcd
Which becomes in the new formatting style
x = ('{}' * len(abcd)).format(*abcd)
hmm, hmm, not soo nice
--
Christian Tismer :^) <mailto:tis...@stackless.
es, it's jitted.
How about the .format() style: Is that jitted as well?
In order to get people to prefer .format over __mod__,
it would be nice if PyPy made this actually _faster_ :-)
--
Christian Tismer :^) <mailto:tis...@stackless.com>
Software Consulting :
Hey Nick,
On 13.02.13 15:44, Nick Coghlan wrote:
On Wed, Feb 13, 2013 at 10:06 PM, Christian Tismer wrote:
To avoid such hidden traps in larger code bases, documentation is
needed that clearly gives a warning saying "don't do that", like CS
students learn for most other langu
reader not to use in-place
add when it is not optimized.
If += is anyway a bit slower than other ways, forget it.
I would then maybe add a commend somewhere that says
"avoiding '+=' because it is not reliable" or something.
cheers - chris
--
Christian Tismer :^) &l
Hi Lennart,
Sent from my Ei4Steve
On Feb 13, 2013, at 8:42, Lennart Regebro wrote:
>> Something is needed - a patch for PyPy or for the documentation I guess.
>
> Not arguing that it wouldn't be good, but I disagree that it is needed.
>
> This is only an issue when you, as in your proof, have
7;m shutting up, intentionally.)
--
Christian Tismer :^) <mailto:tis...@stackless.com>
Software Consulting : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 :*Starship* http://starship.python.net/
14482 Potsdam: PGP key -> http
eded is a simple but secure notification
method. Probably I need one windows machine which is
always online.
ciao - chris
--
Christian Tismer :^) <mailto:[EMAIL PROTECTED]>
tismerysoft GmbH : Have a break! Take a ride on Python's
Johannes-Niemeyer-
if applicable.
Registered Participants
---
all days:
Jacob Hallén
Armin Rigo
Holger Krekel
Samuele Pedroni
Anders Chrigström
Bea Düring
Christian Tismer
Richard Emslie
--
Christian Tismer :^) <mailto:[EMAIL
Guido van Rossum wrote:
...
> Please don't respond with answers to these questions -- each of them
> is worth several threads. Instead, ponder them, and respond with a +1
> or -1 on the creation of the python-3000 mailing list. We'll start
> discussing the issues there -- or here, if the general s
ke some background monitoring or other stuff
which is not really involved in you control/data flow.
ciao - chris
--
Christian Tismer :^) <mailto:[EMAIL PROTECTED]>
tismerysoft GmbH : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A
I know I'm coming too late to this discussion, but just for completeness
sake let me mention that the OCaml standard List module uses 'partition'
already in the sense that most mathematically educated people would
understand it:
val partition : ('a -> bool) -> 'a list -> 'a list * 'a list
like a bot. Please shut down and get adjusted.
Guidos don't say that. :-)
--
Christian Tismer :^) <mailto:[EMAIL PROTECTED]>
tismerysoft GmbH : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A :*Starship* http://starship.python.ne
1101 - 1200 of 1220 matches
Mail list logo