Re: [Python-Dev] PEP 476: Enabling certificate validation by default!

2014-08-30 Thread martin
PI to verify root certificates. It's better than you think. Vista+ has a weekly prefetching procedure that should assure that virtually all root certificates are available: http://support.microsoft.com/kb/931125/en-us BTW, it's patented: http://www.google.de/patents/US6816900

Re: [Python-Dev] Status of C compilers for Python on Windows

2014-10-26 Thread martin
other core developers have tried reviewing them as well, others have stated here that they are unable to review the patches). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscri

Re: [Python-Dev] VAX NaN evaluations

2013-11-04 Thread martin
re free to maintain your own branch of Python. In that branch, you can make whatever changes you consider necessary, but you will be on your own. Kind regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/

Re: [Python-Dev] Is pygettext.py deprecated?

2013-11-11 Thread martin
possibly fixing) pygettext. I also see little harm in removing it, although I guess that some people might still rely on it. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubsc

Re: [Python-Dev] PEP 0404 and VS 2010

2013-11-21 Thread martin
;m skeptical that using "Python 2.8" as the release name would help in the long run. Assuming this is done for VS 2010, then "Python 2.9" will have to be released for binary compatibility with VS 2013, and "Python 2.10" for VS 2016, assuming Python 2.7 is then still

Re: [Python-Dev] PEP 0404 and VS 2010

2013-11-21 Thread martin
;stable ABI" in Python 2, but the PEP lagged, and I couldn't finish it in time for the 2.7 release. If Chris could contribute to make this happen, it would be much appreciated. Regards, Martin P.S. Thinking about this, there are some issues. The "restricted API" hides the obj

Re: [Python-Dev] PEP 0404 and VS 2010

2013-11-21 Thread martin
uire significant PR efforts to educate people. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 0404 and VS 2010

2013-11-21 Thread martin
ython programming language, and b) is somehow qualified (e.g. "Stackless Python"). To use just "Python", you need permission (and I suspect that this might not be granted). HTH, Martin ___ Python-Dev mailing list Python-Dev@py

Re: [Python-Dev] PEP 0404 and VS 2010

2013-11-21 Thread martin
to be compiled with VS 2008. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] py.ini documentation improvement

2013-11-28 Thread martin
Are you sure about this? What happens if you type "%LOCALAPPDATA%" (without quotes) into the explorer's address bar? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Bug? http.client assumes iso-8859-1 encoding of HTTP headers

2014-01-04 Thread martin
, and using the same for all URLs coming into http.client. This would implement a best-effort strategy at preserving the bogus URL, and still maintain the notion that URLs are text (with the other path being to also allow bytes as URLs, and always parsing Location as bytes). Regards, Martin _

Re: [Python-Dev] A misredirected ticket link in hg.python.org/cpython

2014-02-20 Thread martin
://legacy.python.org/sf/, i.e. it drops the issue number there. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive

Re: [Python-Dev] Cherry-pick between Python 3.4 RC2 and final?

2014-03-04 Thread martin
.0 release. So except for issues where Python does not work at all, any glitches that remain in the code can be fixed in the bug fix release. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/

Re: [Python-Dev] PEP URLs

2014-03-13 Thread martin
ation... http://www.python.org/dev/peps/pep-0274/ continues to work (as I thought you said yourself), so there *is* a www.python.org location. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/list

Re: [Python-Dev] PEP 466: Proposed policy change for handling network security enhancements

2014-03-23 Thread martin
to their code is besides the point of the PEP. However, if they are willing to make changes, I'd still recommend that they port their code to Python 3, as that is the better long-term investment. Regards, Martin ___ Python-Dev mailing list Pytho

Re: [Python-Dev] Appeal for reviews

2014-04-13 Thread martin
it to. If people get it right the first time often enough, they get commit access. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Python 2.7.7. on Windows

2014-04-29 Thread martin
sn't really matter (although I do support Steve's position). In any case, I think Mike is following a lost cause. If the maintainer in charge (i.e. Steve) doesn't want to make a specific change, the only way to force him would be from "higher up"

Re: [Python-Dev] Internal representation of strings and Micropython

2014-06-04 Thread martin
data. Variants 1 and 2 lose on some operations (1 loses on computing len(), 2 loses on string concatenation). 3 would add the restriction of not allowing U+ in a string (which would be reasonable IMO), and make all length computations inefficient. However, it w

Re: [Python-Dev] The end of 2.7

2013-04-06 Thread martin
teer offers to publish a combined repository for such patches, with various members of the community having write access to such a repository (but no formal releases coming out of that). Regards, Martin [1] http://mail.python.org/pipermail/python-dev/

Re: [Python-Dev] The end of 2.7

2013-04-07 Thread martin
Martin, you guys are shooting yourself in a foot. Almost noone uses python 3 in production, even at pycon, which is the more progressive crowd. There is a giant group of people using python that are not as vocal. While I bet some are using Python 3, Python 2 is incredibly popular for the "

Re: [Python-Dev] The end of 2.7

2013-04-07 Thread martin
e would be plenty of time. Also, this is all free software (at least most of it). Nobody can *really* be stuck on a not-ported dependency, as they could always port it themselves, and even fork if the developer refuses to integrate the port (and you know that this actually happen

Re: [Python-Dev] Problem building Python 2.7.5 with separate sysroot

2013-06-02 Thread martin
n't hesitate to post it to the tracker. 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] Building a Faster Python

2013-07-22 Thread martin
that Martin builds with PGO, and that's also been improved recently. I would not expect to see any improvement, unfortunately. I used to build with PGO, but the recent VS releases miscompiled code, which was very hard to track down. So PGO has lost in my view for at least 3 VS releases :-

Re: [Python-Dev] Our failure at handling GSoC students

2013-08-07 Thread martin
on the work and don't know what the shortcomings are. It's indeed unfortunate that RL interfered with my Python contributions. I apologize for that. However, anybody who wanted to catch up could have contacted Robin or myself. As overworked as we all are, nob

Re: [Python-Dev] Our failure at handling GSoC students

2013-08-07 Thread martin
t, receive feedback, submit more patches. At the end of the project,he submitted his entire work. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.o

Re: [Python-Dev] Our failure at handling GSoC students

2013-08-07 Thread martin
EP was accepted before the project even started. 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] Make str/bytes hash algorithm pluggable?

2013-10-04 Thread martin
attack is particularly tricky since it is very easy to argue and very difficult to demonstrate. So it can result in fear and uncertainty very easily, causing people to overreact just so that they won't be accused of inactivity. Regards, Martin ___ P

Re: [Python-Dev] Reduce memory footprint of Python

2013-10-06 Thread martin
:-) How many embedded systems are running Python? And of those, how many use the linecache module? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org

Re: [Python-Dev] Reduce memory footprint of Python

2013-10-06 Thread martin
code possibly abuses interning, and should use its own dictionary instead. For the refcount-1 mortal identifiers, I'd trace back where they are stored, and check if many of them originate from the same module. Regards, Martin ___ Python-Dev mailin

Re: [Python-Dev] Reduce memory footprint of Python

2013-10-06 Thread martin
Quoting Antoine Pitrou : The linecache module is used implicitly by the traceback and warnings module, so perhaps quite a bit more than one would imagine :-) I think limiting the linecache cache size would be good enough. So what specific limit would you suggest? Regards, Martin

Re: [Python-Dev] [Python-checkins] r51525 - in python/trunk:Lib/test/test_float.py Objects/floatobject.c

2006-08-23 Thread martin
tency across platforms about when libm sets errno, or to what > (when it does). The other question is whether pow() is guaranteed to return inf when it sets errno to ERANGE; I believe there is no such guarantee. So I think the change should be reverted. Regards, Martin __

Re: [Python-Dev] Can LOAD_GLOBAL be optimized to a simple arraylookup?

2006-08-24 Thread martin
etter position to praise or criticise the approach: it then becomes possible to study whether the implementation is really compatible with the current Python, and whether it really does improve performance. Regards, Martin ___ Python-Dev mailing list

Re: [Python-Dev] MSI: Remove dependency from win32com.client module (issue4080047)

2011-01-31 Thread martin
What's the rationale of this change? It certainly doesn't remove the dependency from win32com.client (i.e. the code continues to depend on win32com). http://codereview.appspot.com/4080047/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.

Re: [Python-Dev] MSI: Remove dependency from win32com.client module (issue4080047)

2011-02-01 Thread martin
On 2011/02/01 07:22:57, techtonik wrote: It removes the dependency from msi.py making it easier to do the rest in subsequent patches. What rest specifically? Why are the msilib changes needed for that? http://codereview.appspot.com/4080047/ ___ Pyt

Re: [Python-Dev] MSI: Remove dependency from win32com.client module (issue4080047)

2011-02-01 Thread martin
On 2011/02/02 07:14:17, techtonik wrote: On 2011/02/01 19:50:23, Martin v. Löwis wrote: > On 2011/02/01 07:22:57, techtonik wrote: > > It removes the dependency from msi.py making it easier to do the rest in > > subsequent patches. > > What rest specifically? Why are the

[Python-Dev] SF tracker closed now

2007-08-23 Thread martin
We are starting with the tracker conversion. Please stop using the bug trackers (either SF or roundup) until further notice. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] for loop with if filter

2007-11-16 Thread martin
I started thinking about itertools when I saw this then I realised that your question was about changing the syntax to produce fewer lines of code rather than writing more effiicient code.. seemed like a case where you could use ifilter. //Martin are talking about cvhanging the syntax

[Python-Dev] bigmemtests for really big memory too slow

2011-09-06 Thread martin
the test suite, we have the bigmemtest and precisionbigmemtest decorators. I think bigmemtest cases should all be changed to precisionbigmemtest, giving sizes of just above 2**31. With that change, the runtime for test_capitalize would go down to 42s. What do you think? Regards, Martin

[Python-Dev] Heads up: Apple llvm gcc 4.2 miscompiles PEP 393

2011-09-28 Thread martin
m from an earlier Xcode installation (in /Developer-3.2.6) 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] Unicode exception indexing

2011-11-03 Thread martin
indices for slicing operations (rather than performing an UTF-16 conversion and performing indexing on that). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mai

Re: [Python-Dev] Hash collision security issue (now public)

2011-12-31 Thread martin
Zitat von Victor Stinner : The current implementation of dict uses a linked-list. [...] Tell me if I am wrong. At least with this statement, you are wrong: the current implementation does *not* use a linked-list. Instead, it uses open addressing. Regards, Martin

Re: [Python-Dev] Hash collision security issue (now public)

2011-12-31 Thread martin
y (which is the normal case if the keys are interned) will succeed quickly; if pointer comparison fails, check the tag bit. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubs

Re: [Python-Dev] Python as a Metro-style App

2012-01-07 Thread martin
Zitat von Benjamin Peterson : 2012/1/7 "Martin v. Löwis" : I just tried porting Python as a Metro (Windows 8) App, and failed. Is this required for Python to run on Windows 8? No. Existing applications ("desktop applications") will continue to work unmodified.

Re: [Python-Dev] Python as a Metro-style App

2012-01-07 Thread martin
Zitat von Eli Bendersky : A then-related question is whether Python 3.3 should be compiled with Visual Studio 11. I'd still be in favor of that, provided Microsoft manages to release that soon enough. Martin, I assume you mean the Express version of Visual Studio 11 here, right?

Re: [Python-Dev] Python as a Metro-style App

2012-01-07 Thread martin
l APIs, such as Windows.Storage (in case of file access). If you use, say, Windows.Storage.ApplicationData.RoamingSettings in your app, you should not actually worry what the file is named on disk (or whether there is a spinning disk in the system at all, which probably isn'

Re: [Python-Dev] Python as a Metro-style App

2012-01-07 Thread martin
achine was a 32-bit system (but perhaps I start with PGO for Win64 for 3.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/pyt

Re: [Python-Dev] Python as a Metro-style App

2012-01-07 Thread martin
eAsync(destinationFolder, "newfile.txt"); This may look like managed C++ to you, but it really compiles into native code. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Un

Re: [Python-Dev] Python as a Metro-style App

2012-01-11 Thread martin
orted that as a bug. If you need that for reference, see https://connect.microsoft.com/VisualStudio/feedback/details/717395/c1083-when-compiling-c-code-in-a-metro-app Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.pytho

Re: [Python-Dev] Status of the fix for the hash collision vulnerability

2012-01-13 Thread martin
approach - other people may have written string-like objects which continue to compare equal to a string but now hash different. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Status of the fix for the hash collision vulnerability

2012-01-14 Thread martin
es of that algorithm exist. 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] Status of the fix for the hash collision vulnerability

2012-01-17 Thread martin
t deliberately cause collisions because of the dictionary size, they could likely also craft keys in the same number that collide on actual hash values, bringing us back to the original problem. Regards, Martin ___ Python-Dev mailing list Python

Re: [Python-Dev] Hashing proposal: change only string-only dicts

2012-01-17 Thread martin
elease. Which function/method would be used? I suppose that we cannot add anything to stable releases like 2.7. Right. Nor do I see any need to expose it. It fixes the vulnerability just fine without being exposed. Regards, Martin ___ Pytho

Re: [Python-Dev] Status of the fix for the hash collision vulnerability

2012-01-17 Thread martin
ython is much higher than it is for Ruby. Regards, Martin [1] http://jps.anl.gov/Volume4_iss2/Paper3-RGJohnston.pdf ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python

Re: [Python-Dev] Switching to Visual Studio 2010

2012-01-26 Thread martin
en, and I would certainly want the build process adjusted (with all buildbots updated) before beta 1. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/

Re: [Python-Dev] [issue13703] Hash collision security issue

2012-01-27 Thread martin
I'm curious why AVL tree rather than RB tree, simpler implementation? Somewhat arbitrary. AVL trees have a better performance than RB trees (1.44 log2(N) vs 2 log2(N) in the worst case). Wrt. implementation, I looked around for a trustworthy, reusable, free (as in speech), C-only implementation

Re: [Python-Dev] [issue13703] Hash collision security issue

2012-01-27 Thread martin
However, note that my comment on Glenn's question regarding a stdlib addition of a tree type still applies I agree with all that. Having a tree-based mapping type in the standard library is a different issue entirely. ___ Python-Dev mailing list Pytho

Re: [Python-Dev] [issue13703] Hash collision security issue

2012-01-27 Thread martin
Another issue occurs to me: when a hash with colliding keys (one that has been attacked, and has trees) has a non-string key added, isn't the flattening process likely to have extremely poor performance? Correct. "Don't do that, then" I don't consider it mandatory to fix all issues with

Re: [Python-Dev] [issue13703] Hash collision security issue

2012-01-27 Thread martin
How so? None of the patches did, but I think it was said several times that other types (int, tuple, float) could also be converted to use randomized hashes. What's more, there isn't any technical difficulty in doing so. The challenge again is about incompatibility: the more types you apply th

Re: [Python-Dev] plugging the hash attack

2012-01-27 Thread martin
This will prevent code breakage from dictionary order changing as well as people depending on the hash stability. I think this is a good compromise given the widely varying assessments of the issue. Regards, Martin ___ Python-Dev mailing list Pytho

Re: [Python-Dev] Hashing proposal: 64-bit hash

2012-01-28 Thread martin
ant chance that the algorithm finds collisions even faster. 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 dictionary implementation

2012-02-01 Thread martin
be possible (IIUC) to add more keys to the shared key set if that doesn't cause a resize, but I'm not sure whether the patch does that. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/py

Re: [Python-Dev] peps: Update with bugfix releases.

2012-02-05 Thread martin
he current releases (which apparently aren't truly broken, else there would have been no point in releasing them back then). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Uns

Re: [Python-Dev] Is this safe enough? Re: [Python-checkins] cpython: _Py_Identifier are always ASCII strings

2012-02-06 Thread martin
l of the C compilers that we compile Python with support non-ASCII identifiers, failure to comply to the ASCII requirement will trigger a C compilation failure. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

Re: [Python-Dev] Adding a maximum element count to parse_qs?

2012-02-12 Thread martin
are missing my point. I assume you proposed (even though you didn't say so explicitly) that parse_qs gets an opt-in API change to limit the number of parameters. If that is added, it will have no effect on any existing applications, as they will all currently not pass that pa

Re: [Python-Dev] Adding a maximum element count to parse_qs?

2012-02-12 Thread martin
lop a separate patch that people who are worried can apply. 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] Status of PEP 397 - Python launcher for Windows

2012-02-18 Thread martin
o systems. Will people have to download and install it themselves, or will it come as part of some Python distribution? If it comes with the Python distribution, how get multiple copies of the launcher coordinated? Also: what's the name of the launcher? How can

Re: [Python-Dev] Status of PEP 397 - Python launcher for Windows

2012-02-19 Thread martin
ows directory. Now that I see it: how do you prevent deinstallation of py.exe when some version of Python is uninstalled, but other versions remain? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

Re: [Python-Dev] folding cElementTree behind ElementTree in 3.3

2012-02-20 Thread martin
would be your evaluation of http://docs.python.org/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element in that respect? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] PEP czar for PEP 3144?

2012-02-20 Thread martin
Does anyone object to me naming myself PEP czar for PEP 3144? “Tsar is a title used to designate certain European Slavic monarchs or supreme rulers.” Is this our official word? "supreme ruler" sounds good to me. I could go for "inquisitor" instead of "czar&quo

Re: [Python-Dev] hash randomization in 3.3

2012-02-21 Thread martin
x27;t cope with randomised hashes would be rather ill-advised. In the tracker, someone proposed that the option is necessary to synchronize the seed across processes in a cluster. I'm sure people will use it for that if they can. Regards, Martin ___

Re: [Python-Dev] folding cElementTree behind ElementTree in 3.3

2012-02-21 Thread martin
need to be tuned to the application. So I'm not sure it can be provided by the stdlib in a reasonable fashion beyond what's already there, but it may not be necessary to have it in the stdlib, either. Regards, Martin ___ Python-Dev mailing

Re: [Python-Dev] Windows build - fixing compile warnings before VS2010

2012-02-21 Thread martin
rs? The immediate consequence would be that the Windows buildbots break when somebody makes a checkin on Unix, and they cannot easily figure out how to rewrite the code to make the compiler happy. So I guess I'm -1. Regards, Martin ___ Pytho

[Python-Dev] The ultimate question of life, the universe, and everything

2012-02-22 Thread martin
What is the hash of "ePjNTUhitHkL"? Regards, Martin P.S. It took me roughly 86h to compute 150 strings colliding for the 64-bit hash function. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/

Re: [Python-Dev] Status regarding Old vs. Advanced String Formating

2012-02-24 Thread martin
Zitat von Tshepang Lekhonkhobe : On Fri, Feb 24, 2012 at 23:39, "Martin v. Löwis" wrote: It is a burden for some people to learn and remember the exact details of both systems and exactly how they differ. Having both in the stdlib hurts readability for such people. I would prefe

Re: [Python-Dev] PEP 414 - Unicode Literals for Python 3

2012-02-27 Thread martin
Zitat von Armin Ronacher : Hi, On 2/27/12 10:17 AM, "Martin v. Löwis" wrote: There are a few other unproven performance claims in the PEP. Can you kindly provide the benchmarks you have been using? In particular, I'm interested in the claim " In many cases 2to3 runs

Re: [Python-Dev] PEP 414 - Unicode Literals for Python 3

2012-02-27 Thread martin
it has to be labeled as byte string. Instead, you can use the str() function. It may be that you don't like that solution for some reason. If so, please mention the approach in the PEP, along with your reason for not liking it. Regards, Martin __

Re: [Python-Dev] PEP 414 - Unicode Literals for Python 3

2012-02-28 Thread martin
of non-ASCII in that interface. I'm not saying this is the right thing to do for all cases - just that str() may not be, either. This should be elaborated in the PEP. Indeed it should. If there is a known application of non-ASCII nati

Re: [Python-Dev] PEP 414 - Unicode Literals for Python 3

2012-02-28 Thread martin
ld process should support incremental changes. Fortunately, distribute does support this approach. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/o

Re: [Python-Dev] Spreading the Python 3 religion (was Re: PEP 414 - Unicode Literals for Python 3)

2012-02-28 Thread martin
only works well with Python 2.6. 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] Backporting PEP 414

2012-02-28 Thread martin
t be a bug. Regards, Martin P.S. Before anybody over-interprets this criterion: there is certain "implicit behavior" assumed in Python that may not actually be documented, such as "the interpreter will not core dump", and "the source code will compile with any standa

Re: [Python-Dev] PEP 414

2012-03-02 Thread martin
the u"" prefix would not appear, even if appears in the original source, as 2to3 eliminates it. So you surely need the u"" prefix to distinguish binary, unicode, or native strings in your source - but with 2to3, the PEP 414 change is unnecessary. Regards, Martin _

Re: [Python-Dev] PEP-393/PEP-3118: unicode format specifiers

2012-03-07 Thread martin
le should maintain compatibility with Python 3.2, i.e. "u" should continue to denote Py_UNICODE, i.e. 7fa098f6dc6a should be reverted. It may be that the 'u' code is not particularly useful, but AFAICT, it never was useful. Regards, Martin

Re: [Python-Dev] Python install layout and the PATH on win32

2012-03-20 Thread martin
. Plus, you can still launch Lib\idlelib\idle.py without prefixing it with python.exe. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman

[Python-Dev] GSoC 2012: Python Core Participation?

2012-03-21 Thread martin
I'm wondering whether Python Core should participate in GSoC 2012 or not, as core contributors have shown little interest in acting as mentors in the past. If you are a core committer and volunteer as GSoC mentor for 2012, please let me know by Friday (March 23rd). Regards, M

Re: [Python-Dev] PEP 393 decode() oddity

2012-03-25 Thread martin
irst character is is already above 127, search for the maximum character can stop, so it needs to scan the string only once. Try '\u0020' * 99+'\u0080', which is a non-ASCII string but still takes the same time as the pure ASCII string. Regards, Martin ___

Re: [Python-Dev] Integrating the PEP 397 launcher

2012-03-29 Thread martin
Zitat von Brian Curtin : After talking with Martin and several others during the language summit and elsewhere around PyCon, PEP 397 should be accepted. I don't remember who, but some suggested it should just be a regular old feature instead of going through the PEP process. So...does

Re: [Python-Dev] [Python-checkins] cpython (3.2): Issue #14409: IDLE doesn't not execute commands from shell with default

2012-03-30 Thread martin
(your phrasing is grammatically fairly advanced). 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] Issue13210 : Support Visual Studio 2010

2012-03-31 Thread martin
t that this is not a bug fix. There is also the PCBuild10.patch, but that can wait. Indeed, it shouldn't be added at all. Instead, the PCbuild tree should become a VS2010 (or VS2012) tree ultimately. Regards, Martin ___ Python-Dev mailing l

Re: [Python-Dev] Using Cython for developing a module to be used from postgreSQL/pl/python

2012-03-31 Thread martin
or db-sig. 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] Removing surplus fields from the frame object and not adding any new ones.

2012-04-09 Thread martin
o you, but maybe you just need to get used to it. Factually, I don't think that *many* of the fields belong elsewhere. The majority of the fields clearly belongs where it is, and there is nothing wrong with adding new fields if there is a need for it. Regar

Re: [Python-Dev] Upgrading tcl/tk deps

2012-04-09 Thread martin
they be necessary. Switching to the most recent Tk release is a good idea, anyway, so b) is preferred. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http

Re: [Python-Dev] issue 9141, finalizers and gc module

2012-04-17 Thread martin
cycle (but hung from it). So, I ask you: What is allowed during tp_clear()? Is this a hard rule? What is the reason? We are all consenting adults. Everything is allowed - you just have to live with the consequences. Regards, Martin ___

Re: [Python-Dev] issue 9141, finalizers and gc module

2012-04-18 Thread martin
remove the need for resurrection in tp_del. At the very least, I think this behaviour (this exception for iobase) merits being explicitly documented. I find all of this well-documented in iobase.c. If you think anything else needs to be said, plea

Re: [Python-Dev] Cython for cPickle?

2012-04-22 Thread martin
this being free software, anybody can spend time on whatever they please, and this should not make anybody feel sad. You just don't get merits if you work on stuff that nobody cares about. Regards, Martin ___ Python-Dev mailing list Python

Re: [Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?

2012-04-24 Thread martin
on that is not in the API. We might even have something similar for the stable api. I don't understand. Everything in the stable api is part of the API, and thus needs to be exported from the Python DLL. Regards, Martin ___ Python-Dev mailing l

Re: [Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?

2012-04-24 Thread martin
hared libraries. These days are long gone. ELF shared libraries are designed to give the same experience (roughly) as static libraries, wrt. source compatibility. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] cpython: Implement PEP 412: Key-sharing dictionaries (closes #13903)

2012-04-24 Thread martin
ed by dictionaries. A 10 item dictionary consumes 1/2k on 32 bits, did you know this? I did. In Python 3.3, this now goes down to 248 bytes (32 bits). Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] Is it safe to assume that Python 2.7 is always built with unicode support?

2012-04-26 Thread martin
it *does* mean that we shouldn't further break the feature, at least not knowingly. OTOH, it's clear that certain functionality cannot work if Unicode is disabled, so it may be acceptable if pydoc breaks in such a configuration. Regards, Martin

Re: [Python-Dev] Open PEPs and large-scale changes for 3.3

2012-05-01 Thread martin
//www.zdnet.com/blog/microsoft/microsoft-roadmap-leaks-for-office-15-ie-10-and-more-key-products/12417 That says that a release is scheduled for "late 2012", which would put it after the Python 3.3 release (contrary to rumors I heard els

Re: [Python-Dev] CRLF line endings

2012-05-03 Thread martin
e* to have CRLF line endings. Not sure about PowerShell, though. In any case, having CRLF for these files sounds good to me. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscr

  1   2   3   4   5   6   7   8   9   10   >