object out of the
pointers being passed.
Some people (hi Larry) still think that using a rope representation for
string concatenation might improve things, see #1569040.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http
quite well. However, the conclusions still stand: dealing
with static type objects will be tricky.
Of course, I would also like to eliminate static type objects as much
as possible.
This then leaves the issue with the casts, which might be considered clutter.
Regar
Sure, but couldn't we define this "empty" class in C code so that you can
use the C API with it as well and just provide a C function to get a new
instance?
That would be easy. All you need is a dictoffset.
Regards,
Martin
___
Pyt
If build slave owners could let me know when their machine has VS2010
I'd appreciate it. I got the go-ahead to commit the port but want to
wait until the build slaves are ready for it.
Please don't wait, but let the build slaves break. This is getting urgent.
Regar
write another importer. For the builtin
zipimport, this is not an option, since it seeds itself from the sys.path
entry, which will be a file name. See PEP 302.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/ma
class PyTypeType, and
add whatever fields you want.
Regards,
Martin
___
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
can reproduce them myself. More precisely, I fail to understand what
they mean without seeing the source code that produced them (perhaps along
with an indication what hardware, operating system, compiler version,
and Python version were used to produc
t this would require a custom mapping
in some cases. It would be best if Sphinx could already
consider such a mapping when generating links. Failing
that, we can also do the custom mapping in the web
server (i.e. with redirects).
Regards,
Martin
__
to look at the code, but that will make them
aware that the code may change. For that reason, also, using fwalk is
a bad idea, since they then will need to trace their code reading into
fwalk.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@
ot;Python 3.2/3.3" as a
target. I think Guido set an even earlier target initially.
Regards,
Martin
___
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
s too early to guess what the final release of Visual Studio
11 Express will or will not include.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/ma
cial" (i.e. it's Peter Bright's opinion, not a Microsoft
announcement).
I hereby predict that Microsoft will revert this decision, and that VS Express
11 will be able to build CPython.
Regards,
Martin
___
Python-Dev mailing list
P
As some have probably noticed: I updated the Rietveld version that we use to
the current code base. There have been a few incompatible changes (schema, GAE
API) which I hope I resolved. If you find new problems, please report them
to the meta tracker.
Regards,
Martin
Nasty! Perhaps freeze_importlib.py could be rewritten in C, so
importlib could be recompiled when the compiler changes?
Or we support bootstrapping from the source file, e.g. with an
environment variable BOOTSTRAP_PY which points to the _bootstrap.py
source.
Regards,
Martin
annot release the sources right now, do not release
the binaries either.
Regards,
Martin
___
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/ar
it
doesn't support XP.
Regards,
Martin
___
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
acement for SSL downloads.
See above. Also notice that such signing is already implemented, as part
of PEP 381.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http:
particular in an ongoing manner even after the release.
Thanks! (And if not necessary before the feature freeze, sorry for
the noise.)
Pushing issues is certainly on-topic for the list.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev
OSU/OSL is slow in assigning IP addresses,
which means that we cannot create new VMs as quickly as we wish.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
p has been supporting pgp signatures
for about ten years now. Several projects have been using that for
quite a while in their releases.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/
Should even an empty directory be a valid namespace package?
Yes, that's what the PEP says, by BDFL pronouncement.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubs
, "com" is a namespace
package, com.canonical is a namespace package, and com.canonical.launchpad
might still be a namespace package with multiple portions.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailma
n it stops might be enough to create a
solution.
I find this very hard to reproduce. All of the versions reported to crash
work fine for me most of the time, except that a small percentage (1 out
of 5 starts perhaps) actually does crash.
Regar
issue10571
That's different, though: PyPI continues to support it just fine.
It's only distutils which has it broken. If you manually run gpg,
and manually upload through the web interface, it still works.
Regards,
Martin
___
Python-Dev mai
ficult to do
in an offline pull request. Of course, for a really minor doc change
(e.g. typo
fixes), no contrib form is necessary.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-d
tatus quo; they provide specialization as a side effect.
Regards,
Martin
___
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
d, IMO. It might be in the community's
interest if people coordinate, but not in the interest of the individual
contributor.
As your original message shows, there has already been enough
duplication of effort in this area.
And that's not really a problem, I
ite my own library to generate machine code.
I plan to use nanojit.
Regards,
Martin
___
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/arch
s gives no matches.
I think you misread: PyPy, not pypi.
Regards,
Martin
___
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
Please, learn from Unladen Swallow and other's experiences, otherwise they're
for naught, and frankly we (python-dev) waste a lot of time.
Again: we (python-dev) won't waste much time (unless we chose to in
discussions);
Victor may lose time, but then he may not.
s properly.
I'm not actually using the latest Xcode. So if you could test my test
program, that would be much appreciated.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Uns
gards,
Martin
___
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
does sort-of mandate that
the datetime module is used to represent SQL time types. So not basing
this off datetime isn't really an option.
Providing a subtype should work, though.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@pytho
ranch?
Don't you have commit rights still?
Regards,
Martin
___
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
But why isn't it visible on python.org/dev/peps/ yet?
Because the build process of the PEPs broke when hg.python.org became
its own system.
I'll try to look into that tomorrow, since unfortunately nobody else
volunteered
to fix it.
Regar
Martin, I have just received a huge pile of email saying this:
"
/home/docs/build-devguide: line 3: hg: command not found
"
From "Cron Daemon r...@python.org"
Could this be related to the recent fix you made?
Remotely related. This is really the cron job for updating t
ng that compiles it may be the easy part; the
tricky part is defining something that then executes it.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.pytho
rver; it doesn't conform to the
HTTP/1.1 protocol. Even without the client using SNI, you should still
get the right page, since the HTTP Host: header indicates the host you
are trying to contact at this point, not SNI. The SNI is only relevant
for the certifica
sufficient time and interest to research it and provide you
with an explanation (or a fix). If nobody picks it up right away,
it's IMO fine to wait for somebody to report it who has a real
problem with this change in runtime.
Regards,
Martin
___
Pyt
s/bugs.html
Regards,
Martin
___
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
confirm that?
That is correct, yes.
OTOH, Python is free software, so people are free to maintain such
patches, and even make binary releases out of them. These just won't
be available from python.org.
Regards,
Martin
___
Python-Dev mailing list
P
ortunately, Mercurial makes it easy
enough to maintain such patches in a ways that allows simple tracking of
changes applied to 2.7 itself, for anybody with enough interest to do
so.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@pytho
ay
'...' # U+002E U+002E U+002E, 3x FULL STOP
but
'…' # U+2026, HORIZONTAL ELLIPSIS
Regards,
Martin
___
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
I was contemplating that option indeed. Sébastien Sablé seemed to
have the same aim. Would you know any other such efforts?
I believe Kristjan Jonsson has a port as well.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http
ut I can accept that a certain loss of maintainability that gives
better performance makes a lot of people happy. But I will continue
to object further complications that support irrelevant special
cases.
Regards,
Martin
___
Python-Dev mail
Zitat von francis :
Most recent 15 issues waiting for review (15)
=
Just curious: How is a issue considered "waiting for review"?
Issues that have the "patch" or "needs review" keyword or are
in the "pa
ocess
module (and hg revert afterwards). You may have to do some patch parsing
to find out whether to pass -p0 or -p1.
Regards,
Martin
___
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
ort in 3.5. Perhaps that would be a good thing
to do.
Or maybe we can drop support for Tru64 as well as we already does it
for, say, VMS?
No, see PEP 11.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailma
sting code sounds like a good idea.
The world wouldn't end if the test broke on Tru64, though.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.pyt
ot a high priority at the moment.
We had an offer several months ago that patches to 3.3 would "likely" (IIRC)
be contributed; this didn't materialize. So the PEP 11 removal of VMS support
stands.
Regards,
Martin
___
Python-Dev
Zitat von Terry Reedy :
On 9/4/2012 9:00 AM, Andrew Svetlov wrote:
Aha, ./Doc/whatsnew/3.0.rst declares dropping support for Tru64.
Several files in repo mention it, though.
That suggests that it should be added to PEP11. Martin is the PEP
editor, so I guess it is his final decision
which means that it continues to be supported -
except that it may not actually work. But if so, we should accept
bug fixes that claim to restore support.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/li
it message.
We do cite tools occasionally, but in a negative way, such as "silence
gcc warning", where the commit message and/or comment explains why some
code is ugly for some non-obvious reason.
Regards,
Martin
___
Python-Dev mailing list
P
date?
Starting with alpha 3 (i.e. September 2013) seems sufficient to me.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/pytho
ed
gives enough time for proposed changes to be implemented and to
stablize?
I think it's really vice-versa. We traditionally follow a timed
process: we release when enough time has passed, and include features
which are ready by the time we
of the Windows installers. It required a
dedicated buildbot operator, since the process tended to break.
We still do have OSX nightly installers:
http://buildbot.python.org/daily-dmg/
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@
from, but couldn't, because the first alpha
wasn't out yet and they weren't sufficiently interested to go to the
effort of building their own copy of Python.
How about having nightly builds then?
We actually do have nightly builds.
Regards,
Martin
_
completely different from what gets
released). However, I don't mind supporting this strategy anyway as an
experiment.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
eople have with large source files.
What is it that you want to do that can be done easier if it's multiple
files?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscr
other functions are in a different
file or in the same file.
Why can you ignore the functions only if they are stored in a different
file?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-de
Zitat von Antoine Pitrou :
I think SPARC (the architecture) disallows unaligned accesses to
memory. I don't think it is specific to the Solaris CC compiler.
That's correct. Unaligned memory operations need to use memcpy.
Regar
Zitat von Michele Orrù :
Hello, I have some issues pending 'patch review' hanging for more than
two weeks, could somebody please check them out?
In case nobody picks it up, my 5-for-1 offer still stands: if you review
five issues, I'll review one of yours.
r, it does look
that this may become a proper internet standard in the near future, so it's
an ok choice.
If it really must be ed25519, I request that this is registered with IANA
once the PEP is accepted, the RFC is accepted, and the JWS algorithm
registry is open.
Regards,
Martin
[1] h
.
Regards,
Martin
___
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
. In particular,
the phrasing "Additional tags defined by the extension should be of
the form string/Name:"
is unclear - under what "particular circumstances" can I deviate from that
requirement, i.e. use some form other than string/Name?
Regards,
Martin
___
ions").
Does the PEP, or does it not, specify that a dash must be used between
the package-name-and-version? Neither the words "hyphen" nor "dash"
appear in the PEP, except that hyphens are used inside the tag, and that
hyphens and dots i
hoice.
Regards,
Martin
___
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
kind of attack do you want to protect against? I can't think of
any realistic threat that is effectively protected against with your
signature scheme.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mail
gorithms; yet Daniel proposes to deviate and use a non-builtin
algorithm.
None of the algorithms in question are built in in Python; the two
standard algorithms with public keys (i.e. RSA and ECDSA) are both
built into OpenSSL.
Regards,
Martin
___
Py
worked on this particular system").
This should compare to zipping the standard library, which has been a
supported
configuration for a long time, and also avoids many stat calls.
Regards,
Martin
___
Python-Dev mailing list
Python
e two dictionary objects. For a better speedup, try
def xdict(**kwds):
return kwds
(possibly written in C for even more speed)
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubs
In general, special-casing builtins in the compiler is not possible
in Python. You cannot know statically that 'dict' really refers to
the builtin. Something may shadow the name at run-time, making dict
refer to some other callable.
Regards,
Martin
e
the {} byte code builds the dictionary one-by-one, whereas
the keywords dictionary is built in a single step (taking
all keys and values from the evaluation stack).
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.
;+"b"
'ab'
"b"+"a"
'ba'
I would say that the two dictionary examples are equally allowed to
give different results - that they should be equivalent to (shallow)
copy followed by update(), but possibly more efficiently.
Can this be moved to python
ev
is tricky.
Regards,
Martin
___
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
contain
multiple versions, when only one specific version is needed.
When working on this, try to come up with other automated download
procedures, e.g. ones that do not involve revision control and have
support built into Windows.
Regards,
Martin
nor tar. However, including a PowerShell script may be an option;
most developers will have PowerShell already on their system. AFAICT,
PowerShell can do HTTP downloads and extract zip files.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@pyt
y this
error info(eg: test bad magic) and run again, nothing is changed. It seems
that the file is not the correct position.
This is the right position. When you change _bootstrap.py, you need to
run "make" again, to freeze the modified _
atin-1? PyPI will reject anything that is
not UTF-8.
As for the uploads: you'll have noticed that it put the
sdist files into packages/2.5; this is not supposed to
happen. If you delete the files, and reupload them with
the current CVS, the files should go into /packages/source.
Regards,
Mar
try
into Requires; PEP 314 somewhat suggests that you can do
Depends: sys (>=2.3)
Regards,
Martin
___
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
n support could also go away.
I don't think any testing happens for W9x; I (atleast) can't
test it myself (I installed a Windows 95 system to test the 2.4
installer, but had to give up the machine shortly after that).
Regards,
Martin
___
Pytho
oup of French translators once translated everything for 1.5.2,
and that translation never got updated.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.p
Zitat von Georg Brandl <[EMAIL PROTECTED]>:
> Martin: There aren't any German docs, are there?
I started translating the doc strings once, but never got to complete
it. I still believe that the doc string translation is the only approach
that could work in a reasonable way - you
might be None
- if the field is zero-or-more, it is represented
as a list.
It might be reasonable to expose this through
a separate module, in particular to provide
access to the type objects.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev
eople have also commented that they want to continue
with this version (i.e. 7.1.). I actually hope that Python can skip
VS 2005, and go right away to the next version.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.pyth
7;t have a system around without .NET on it.
I don't believe .NET 1.1 ships msvcr71.dll. Actually, Microsoft
discourages installing msvcr into system32, so that would be against
their own guidelines.
Regards,
Martin
___
Python-Dev mailing list
Python
.
I find this argument convincing.
Regards,
Martin
___
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
Studio
Express. Whether this is important, and outweighs the disadvantages, I don't
know.
In addition, I'm uncertain whether this is a new feature. I thought you could
get the VS 2003 compiler (VC 7.1) with the .NET 1.1 SDK. But maybe I'm
misremembering.
Regards,
Martin
___
want me to start working on this ?
This would be a waste of time: In Python 3, the string type will be
gone (or, rather, the unicode type, depending on the point of view).
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.p
g the professional version, without such
> a limitation?
I guess the Express version can also build firefox, just fine.
Regards,
Martin
___
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
_ParseTuple)
- more reliable reference counting, due to destructors of local
variables
- "native" exception handling, making exceptions both less error-prone
and possible more efficient.
Regards,
Martin
___
Python-Dev mailing li
I just found that test_compiler fails on test_contextlib.py.
To reproduce the failure, run
from compiler import compileFile
compileFile("Lib/test/test_contextlib.py")
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@pytho
ages outweighing the disadvantages, especially
> in light of the amount of rewriting necessary to see the "advantages"
> cited so far.)
That's why I'm explaining the advantages to you.
I'm not saying Python 3 should be written in C++, I'm only saying
that doing
it to this list) that CPython's extensive use of "inheritance
> by aggregation" is invalid C.
>
> switching to C++ would be one way to address that, of course.
My preferred way of fixing it is to do it the "proper" C way
w that
there is no potential for misinterpretation to make the claim
the problem is only theoretical?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.pyt
Zitat von "Stephen J. Turnbull" <[EMAIL PROTECTED]>:
> martin> - increased type-safety, in particular for API that isn't
> martin> type-checked at all at the moment (e.g. PyArg_ParseTuple)
>
> That's merely an advantage to having a C++
I just created a snapshot MSI release from the trunk
(I actually recreated the 25a0 tag for that, to find that
subversion will not update $HeadURL$ automatically when
switching branches).
Please find the file at
http://www.dcl.hpi.uni-potsdam.de/home/loewis/python-2.5.13238.msi
Regards,
Martin
to administer.
We should not do this. Performing a checkout each time is too expensive.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/
Any objections?
See above. Rather than copying Modules/Setup over, I'd prefer to
see a distclean.
Regards,
Martin
___
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
gh
that. I would start running the binary in a debugger to find
out where it crashes. Maybe the bug in Python is easy to see
from that. But then, maybe the bug is in the compiler, and not
in Python...
Regards,
Martin
___
Python-Dev mailing list
Python-Dev
101 - 200 of 3502 matches
Mail list logo