Re: [Python-Dev] Optimize Unicode strings in Python 3.3

2012-05-03 Thread martin
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

Re: [Python-Dev] Does trunk still support any compilers that *don't* allow declaring variables after code?

2012-05-04 Thread martin
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

Re: [Python-Dev] sys.implementation

2012-05-09 Thread martin
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

Re: [Python-Dev] Preparation for VS2010 - MSDN for Windows build slaves, core devs

2012-05-13 Thread martin
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

Re: [Python-Dev] zipimport to read from a file object instead of just a path?

2012-05-15 Thread martin
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

Re: [Python-Dev] C-level duck typing

2012-05-17 Thread martin
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

Re: [Python-Dev] C-level duck typing

2012-05-17 Thread martin
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

Re: [Python-Dev] docs.python.org pointing to Python 3 by default?

2012-05-19 Thread martin
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 __

Re: [Python-Dev] Backward compatibility of shutil.rmtree

2012-05-20 Thread 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@

Re: [Python-Dev] docs.python.org pointing to Python 3 by default?

2012-05-20 Thread martin
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

Re: [Python-Dev] VS 11 Express is Metro only.

2012-05-24 Thread martin
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

Re: [Python-Dev] VS 11 Express is Metro only.

2012-05-25 Thread martin
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

[Python-Dev] Rietveld update

2012-05-25 Thread martin
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

Re: [Python-Dev] Hacking on the compiler in ways that break the frozen instance of importlib...

2012-05-27 Thread 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

Re: [Python-Dev] PEP 405 (Python Virtual Environments) and Windows script support

2012-05-28 Thread 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

[Python-Dev] PEP 11 change: Windows Support Lifecycle

2012-06-01 Thread martin
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

Re: [Python-Dev] Signed packages

2012-06-22 Thread martin
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:

Re: [Python-Dev] Feature Freeze

2012-06-22 Thread martin
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

Re: [Python-Dev] ssh://h...@hg.python.org/cpython unstable?

2012-06-23 Thread martin
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

Re: [Python-Dev] Signed packages

2012-06-23 Thread martin
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/

Re: [Python-Dev] Empty directory is a namespace?

2012-06-23 Thread martin
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

Re: [Python-Dev] Empty directory is a namespace?

2012-06-23 Thread martin
, "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

Re: [Python-Dev] Poking about issue 1677

2012-06-26 Thread martin
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

Re: [Python-Dev] Signed packages

2012-06-28 Thread martin
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

Re: [Python-Dev] GitHub mirror (Was: Bitbucket mirror?)

2012-07-05 Thread martin
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

Re: [Python-Dev] A new JIT compiler for a faster CPython?

2012-07-17 Thread martin
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

Re: [Python-Dev] A new JIT compiler for a faster CPython?

2012-07-17 Thread martin
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

Re: [Python-Dev] A new JIT compiler for a faster CPython?

2012-07-17 Thread martin
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

Re: [Python-Dev] A new JIT compiler for a faster CPython?

2012-07-17 Thread martin
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

Re: [Python-Dev] A new JIT compiler for a faster CPython?

2012-07-17 Thread martin
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.

Re: [Python-Dev] A new JIT compiler for a faster CPython?

2012-07-18 Thread martin
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

Re: [Python-Dev] cpython (merge 3.2 -> default): MERGE: Better test for Issue #15402: Add a __sizeof__ method to struct.Struct

2012-07-23 Thread martin
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

Re: [Python-Dev] datetime nanosecond support

2012-07-25 Thread martin
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

Re: [Python-Dev] 2.7 releases

2012-07-26 Thread martin
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

Re: [Python-Dev] Requesting pronouncement on PEP 0424

2012-07-28 Thread martin
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

Re: [Python-Dev] PEP updating

2012-07-29 Thread martin
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

Re: [Python-Dev] AST optimizer implemented in Python

2012-08-12 Thread martin
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

Re: [Python-Dev] python 2.7 + https + urlopen = ?

2012-08-13 Thread martin
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

Re: [Python-Dev] 3.3 str timings

2012-08-18 Thread martin
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

Re: [Python-Dev] Jython roadmap

2012-08-20 Thread martin
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

Re: [Python-Dev] Python 2.7: only Visual Studio 2008?

2012-08-21 Thread martin
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

Re: [Python-Dev] Python 2.7: only Visual Studio 2008?

2012-08-21 Thread martin
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

Re: [Python-Dev] 3.3 str timings

2012-08-21 Thread martin
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

Re: [Python-Dev] Python 2.7: only Visual Studio 2008?

2012-08-21 Thread martin
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

Re: [Python-Dev] 3.3 str timings

2012-08-21 Thread martin
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

Re: [Python-Dev] Summary of Python tracker Issues

2012-08-25 Thread martin
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

Re: [Python-Dev] Summary of Python tracker Issues

2012-08-25 Thread martin
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

Re: [Python-Dev] Tru64 support

2012-09-04 Thread martin
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

Re: [Python-Dev] Tru64 support

2012-09-04 Thread martin
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

Re: [Python-Dev] Tru64 support

2012-09-04 Thread martin
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

Re: [Python-Dev] Tru64 support

2012-09-04 Thread martin
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

Re: [Python-Dev] Tru64 support

2012-09-05 Thread martin
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

Re: [Python-Dev] Coverity scan

2012-09-08 Thread martin
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

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
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

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
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

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
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@

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread martin
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 _

Re: [Python-Dev] Proposed schedule for Python 3.4

2012-10-03 Thread 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:

Re: [Python-Dev] Split unicodeobject.c into subfiles?

2012-10-04 Thread martin
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

Re: [Python-Dev] Split unicodeobject.c into subfiles?

2012-10-07 Thread martin
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

Re: [Python-Dev] cpython: Force 32bit Keccak implementation on SPARC. It look like the Solaris CC

2012-10-14 Thread martin
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

Re: [Python-Dev] Issues Pending Review

2012-10-14 Thread martin
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.

[Python-Dev] PEP 427 comment: code signing

2012-10-18 Thread martin
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

[Python-Dev] PEP 425 comment: package names

2012-10-18 Thread martin
. 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

[Python-Dev] PEP 426 comment: field order

2012-10-18 Thread martin
. 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 ___

Re: [Python-Dev] PEP 425 comment: package names

2012-10-18 Thread 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

Re: [Python-Dev] PEP 427 comment: code signing

2012-10-22 Thread martin
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

Re: [Python-Dev] PEP 427 comment: code signing

2012-10-22 Thread martin
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

Re: [Python-Dev] PEP 427 comment: code signing

2012-10-22 Thread martin
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

Re: [Python-Dev] Python 3.3 vs. Python 2.7 benchmark results (again, but this time more solid numbers)

2012-10-27 Thread martin
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

Re: [Python-Dev] performance of {} versus dict()

2012-11-14 Thread martin
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

Re: [Python-Dev] performance of {} versus dict()

2012-11-14 Thread martin
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

Re: [Python-Dev] performance of {} versus dict(), de fmd(**kw): return kw trumps all ; -)

2012-11-14 Thread 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.

Re: [Python-Dev] performance of {} versus dict()

2012-11-14 Thread martin
;+"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

Re: [Python-Dev] Failed issue tracker submission

2012-11-16 Thread martin
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

Re: [Python-Dev] externals?

2012-11-17 Thread martin
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

Re: [Python-Dev] externals?

2012-11-18 Thread 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

Re: [Python-Dev] where is the python "import" implemented

2012-12-11 Thread martin
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 _

Re: [Python-Dev] New PyPI broken package editing

2005-03-22 Thread martin
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

Re: [Python-Dev] Re: python/dist/src/Lib/distutils/command upload.py, 1.3, 1.4

2005-03-22 Thread martin
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

Re: [Python-Dev] Dropping support for Win9x in 2.6

2006-02-25 Thread martin
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

Re: [Python-Dev] Translating docs

2006-02-25 Thread martin
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

Re: [Python-Dev] Fwd: Translating docs

2006-02-26 Thread martin
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

[Python-Dev] Exposing the abstract syntax

2006-02-26 Thread martin
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

Re: [Python-Dev] Switch to MS VC++ 2005 ?!

2006-02-27 Thread martin
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

Re: [Python-Dev] Switch to MS VC++ 2005 ?!

2006-02-27 Thread martin
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

Re: [Python-Dev] Switch to MS VC++ 2005 ?!

2006-02-27 Thread martin
. 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

Re: [Python-Dev] Switch to MS VC++ 2005 ?!

2006-02-27 Thread martin
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 ___

Re: [Python-Dev] str.count is slow

2006-02-27 Thread 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

Re: [Python-Dev] Switch to MS VC++ 2005 ?!

2006-02-27 Thread martin
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

Re: [Python-Dev] C++ for CPython 3? (Re: str.count is slow)

2006-03-01 Thread martin
_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

[Python-Dev] test_compiler failure

2006-03-01 Thread martin
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

Re: [Python-Dev] C++ for CPython 3? (Re: str.count is slow)

2006-03-01 Thread martin
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

Re: [Python-Dev] C++ for CPython 3? (Re: str.count is slow)

2006-03-02 Thread martin
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

Re: [Python-Dev] C++ for CPython 3? (Re: str.count is slow)

2006-03-02 Thread martin
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

Re: [Python-Dev] C++ for CPython 3? (Re: str.count is slow)

2006-03-02 Thread martin
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++

[Python-Dev] x86 trunk MSI preview

2006-03-31 Thread martin
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

Re: [Python-Dev] fixing buildbots

2006-05-30 Thread 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/

Re: [Python-Dev] fixing buildbots

2006-05-30 Thread martin
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

Re: [Python-Dev] Segmentation fault of Python if build on Solaris 9 or10 with Sun Studio 11

2006-05-31 Thread martin
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

<    1   2   3   4   5   6   7   8   9   10   >