> I believe this is only in 2.5.1 and later -- can
> anyone confirm that?
That's correct.
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mail
u identify, that single CPU might get overloaded, so
your scheme would give no benefits (since Python code could never
run in parallel), and only disadvantages (since multiple Python
interpreters today can run on multiple CPUs, but could not
anymore under your sc
nt wanted to
talk to cheeseshop.python.org, or wiki.python.org (which all have
the same IP address).
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python
he
malloc implementation.
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 machines.
My guess is that this interpretation is wrong. It was reported that
there was a slowdown by a factor of 2 in a single-threaded application.
That can't be due to lock contention.
> If we can somehow guarantee all GC operations (which is why the GIL is
> needed in the first p
ks
> that I don't know about - Martin?). Hence I'm assuming that we need to
> reduce lock overhead. If acquiring and releasing locks (part of lock
> overhead) is a simple context switch (and I don't doubt you here), then
> the only remaining thing to optimize is memory op
s wrapped up in gullible Web browsers or Java HTTPS
> libraries that swallowed RFC 2818 whole, and not easily accessible by
> applications. Does any of it recognize and accept "subject
> alternative name"?
Works fine with Firefox and MSIE.
Regards,
Martin
__
/
There are still some glitches with that installation
(in particular, the Microsoft help compiler seems to
crash occasionally).
If you find any problems with the MSI files themselves,
please report them to this list, or to the bug tracker.
Regards,
Martin
e input :-) If you fixed that problem
fairly recently (within the last 48 hours), this may have been
the one we were seeing.
Unfortunately, this is again one of the Windows problems which
make buildbot on Windows so difficult: it brings up an error
window, and
arate
function (e.g. calling it "require").
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
> Any help/ pointers?
Did you read the man page of getaddrinfo, or the RFC?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/opti
yway if they also want
to support some 2.x version (if that is possible at all), so it does
not help them to know what Python version introduced a certain feature
they use.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mai
representing \r separately, and does so if you
ask it to.
> So I'm curious: Is there a reason this behavior is useful that I'm
> missing?
I think you are missing how it works in the first place (or else
you failed to communicate to me what precise behavior you
e resulting file.
This I don't understand. Why don't you just use binary mode then?
At least for Python 2.x, the *only* difference between text and
binary mode is the treatment of line endings.
For Python 3, things will be different as the d
ould I do for the very common (taken from int_new):
>static char *kwlist[] = {"x", "base", 0};
What's wrong with
static const char *kwlist[] = {"x", "base", 0};
Regards,
Martin
___
Python-Dev mailing l
ules/gcmodule.c already. Take particular notice of the tp_traverse
and tp_clear type methods.
> Why isn't the mark-and-sweep mechanism used for all memory
> management?
See above - it's not implementable, because the root objects get not
tracked.
Regards,
Martin
___
urity issue).
I'm still trying to work on the PEP that formalizes this notion.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/op
ficult to integrate. For
the extension-module globals, some sort of registration could be done
(and PEP 3121 provides an infrastructure for that). For stack frames,
such a registration is difficult to make efficient.
Regards,
Martin
___
Python-Dev mailing li
> The apache server seems to be down.
I just restarted it.
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%40m
rovide a way to get the date expanded according
to the "C" locale.
As a work-around, you can update your sources with
LANG=C svn up
which will prevent Date from being translated to your language.
Regards,
Martin
P.S. Notice that subversion also prints the time in local time, rather
th
le itself, as well as a certain magic
incantation.
HTH,
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
ot answer that question, because I don't understand your
proposal. What file would you like to touch, and are you sure
you have write permission to it?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mail
> The problem may be related to the fact that Python is rarely teached at
> school or university. I know no school or university in Germany that is
> teaching Python.
I teach Python to the first semester, at the Hasso-Plattner-Institut
in Potsdam, for the third year now.
Regard
use a problem *in the PEP file*?
> Maybe there is a $C-locale-Date$
> for subversion to automatically put the date there using C locale and
> not the one of the user.
>
> I don't know if it exists, though.
No, that's not supported.
> Guess what? It's down the third time this week ...
Guess what? I restarted it now only the second time this week.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscrib
e for details. This question
is off-topic for python-dev.
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
age running under ubuntu.
>
> Is there a way to display the winsound test on this machine? I'm annoyed
> by the red color ;-).
If you uninstall the sound driver, then the test should determine that
there is no sound card, and skip it.
Regards,
Martin
___
y action should be
taken.
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 don't think file locking will ever work over NFS, since
> it's a stateless protocol by design
NFS is stateless, but the NFS locking protocol (NLM) is not.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http:/
Python 2.4 calls the CRT, but then my question is still what
kernel32 functions are called to have stat on NUL succeed.
> Interestingly, plain old GetFileAttributes() works, and returns
> FILE_ATTRIBUTE_ARCHIVE for them.
What about the other attributes (like modification time, size, etc)?
Rega
d NUL?
> GetFileAttributes() doesn't return those, just the FAT filesystem
> attributes. GetFileSize and GetFileTime fail.
Ok, so how does msvcrt stat() manage to fill these fields if those
functions fail?
Regards,
Martin
___
Python-Dev mailin
exists,
whereas GetFileAttributesEx claims that it doesn't exist, all in a
single version, and all is Windows API.
Please understand that Python 2.4 *also* adheres to Windows behavior.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
has both the time and the knowledge to resolve the issue.
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
nything useful with these fields.
You mean, it does nothing documented... AFAICT from the code, it always
fills in something.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
. one including wild cards),
right?
> This is on my machine, using the Windows Server 2003 SP1 CRT source
> code. How consistent it is across versions, or anything else, I can't
> say :-(
Thanks, that helps already.
Regards,
Martin
___
Py
:
it may succeed even if the string being passed does not denote a file
name.
> * As an aside, Martin, I find the argument that "hard-wiring is bad" to
> be against what is actually occurring in the posixmodule. For that
> matter, the S_IFEXEC flag is hardwired to path in (*.bat, *
compromise of keeping higher precision
> timestamps for paths where GetFileAttribute* works and retaining the old
> behavior for all others.
Sure, but I really dislike the string parsing that the CRT does (and
I don't want to go back to using the CRT for stat-like calls).
Regards,
Mart
f
"nul", but I guess a "natural" problem is that the user says she
wants to create a file named "nul", and the application checks whether
this is a new file name, which it isn't (it exists in every directory,
if I understand correctly).
Regards,
Martin
___
e.g. in a text editor), there should rarely be encoding errors, since
one could use character references in many cases. Also, the XML
spec talks about detecting EBCDIC, which I believe your implementation
doesn't.
Regards,
Martin
___
Py
character reference
in an XML Name. So the codec would have to parse the output stream
to know whether or not a character reference could be used.
> Correct, but as long as Python doesn't have an EBCDIC codec, that won't
> help much. Adding *detectio
TF-8?
> OK, so should I put the C code into a _xml module?
I don't see the need for C code at all.
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
is inside a codec?
Exactly so. This functionality just *isn't* a codec - there is no
encoding. Instead, it is an algorithm for *detecting* an encoding.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mail
if (strlen>5)
+{
+if (*str != ' ' && *str != '\t' && *str !=
'\r' && *str != '\n')
+return 1;
is well-maintainable C. I feel it is much
>> So what if the unicode string doesn't start with an XML declaration?
>> Will it add one?
>
> No.
Ok. So the XML document would be ill-formed then unless the encoding is
UTF-8, right?
> The point of this code is not just to return whether the string starts
> with " * The string does start wi
g detection separately from
encodings), and leaving integration of modules to the application,
in particular if the integration is trivial.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubsc
nce
> the code is already written, why not use it ?
It's a maintenance issue.
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
etection" is not an encoding.
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
> It's clear to me that detecting an encoding is actually the simplest
> part of all this (so long as there's an API to do it!) Putting it
> inside a codec seems like the wrong subdivision of responsibility.
In case it isn't clear - this is exactly my vie
the stream).
YAGNI.
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 and the continuation of the stream.
The application would read data out of the stream, and pass it to
the detection. It then can process it in whatever manner it meant to
process it in the first place.
Regards,
Martin
___
Python-Dev mailing list
Py
> A non-seekable stream is not all that uncommon in network processing.
Right. But what is the relationship to XML encoding autodetection?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/pyt
as exactly 4 characters (e.g. "").
However, external entities may be smaller, such as "x".
> But anyway: would a Python implementation of these two functions
> (detect_encoding()/fix_encoding()) be accepted?
I could agree to a Pyt
them for Py2).
The design of the Py2 codecs is fairly flawed, unfortunately.
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
o the
standard library until I see why one would absolutely need to
have that. Not every piece of code that is useful in some
application should be added to the standard library.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mai
every piece of code that is useful in some
>> application should be added to the standard library.
>
> Agreed, but the application space of web services is large
> enough to warrant this.
If that was the case, wouldn't the existing Python web service
libraries already include su
ffect.
sgmlop is not part of the Python distribution, so you should report
errors directly to Fredrik Lundh (sp!).
Notice, however, that you should use msvc2003, not 2005, to compile it.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
h
ng it had also offered hosting and active maintenance)
FWIW, help in adminstration is desired for *all* hosts on *.python.org
(web, mailing lists, PyPI, ...)
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/l
hon.org runs, but I believe
it's Linux also.
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
hem what precisely to install, in what
order, to make it work.
Currently, the build slaves run, in order
Tools\buildbot\build.bat
Tools\buildbot\test.bat
Tools\buildbot\clean.bat
These will of course need to be adjusted after a switchover,
but they heavily rely on devenv.com working.
Regards
> Should the node structure gain an additional field to drag the filename
> around? Or can we simply life with the fact that the user won't get a
> filename in the deprecation warning?
I think struct compiling should carry the file name, starting in
PyAST_FromNode.
R
g that they manage to release Tcl/Tk 8.5 before Python gets
released.
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 anybody help?
> I don't even know what OSA is!
I can help with that: It's the Open Scripting Architecture,
http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/osa.html
(Probably not the kind of help you were asking for :-)
hough perhaps not
in a timely manner - this is precisely where the busy-waiting in gtk
comes from).
Python does not attempt to block any signals, let alone using
pthread_sigmask.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://ma
nclusion into the Python interpreter.
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
and have a default for the rest.
If Tcl_GetObjType was not available, I see no other way but to
convert everything through strings, which would put the burden
of typing things onto the Tkinter user (or perhaps on Tkinter,
to type the well-known comma
age itself, it would be a lot
> more convenient if the "current/last build" field on the buildbot slave
> details page was a hyperlink to that build's results page rather than a
> mere number as it is now.
In short: contributions are welcome.
Regards,
Martin
___
ipt to back port the PCbuild9
> directory to PCbuild8 (http://bugs.python.org/issue1455). The
> script would make maintenance of the PCbuild8 directory easier.
As I said in the tracker: I have no opinion, but Kristjan may have one.
> PCbuild9/
> The new
a string. I'm sure there are other places where Tk 8.5 will
break existing Tkinter applications.
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
committers will "quickly" commit patches
when they find that your review leaves nothing to be added.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://m
r,
and it was a flaw in the patch, or maybe there is a real issue, and
the submitter forgot to comment it properly - it's always the
submitter's fault if you don't understand :-)
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@pyt
d like to see some explicit rationale being recorded in the source
so that people know what this was meant for and won't change it back.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
> Is there any reasonable way to change the default sys.path at compile
> time? (ie. add a directory).
[this is off-topic for python-dev]
Edit PYTHONPATH in Modules/Setup, e.g. by setting SITEPATH.
Regards,
Martin
___
Python-Dev mailing list
dexed
access should be removed in Python 3. Whether then structseq needs
to be preserved at all, I don't know.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
htt
> There seems to be a use case for it still, otherwise
> collections.namedtuple wouldn't be added to 2.6, right?
Perhaps; I'm not strongly opposed to keeping structseq. I'll
work on making stat_result and struct_time regular fixed-size types,
for
> Correct. We don't need item access anymore. However the struct seq
> should still be slice-able for functions like time.mktime().
Can you please explain that? What application do you have in mind?
Regards,
Martin
___
Python-Dev mailing
Guido van Rossum wrote:
> On Jan 14, 2008 2:19 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
>>> Correct. We don't need item access anymore. However the struct seq
>>> should still be slice-able for functions like time.mktime().
>> Can you plea
as a choice for webapp development.
For that, I think the requirements need to be much more explicit.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.py
> Second, a "metaclass" to add a number of methods (or other attributes)
> to an existing class, using a convenient class notation:
I think this is similar to my "partial" classes:
http://pypi.python.org/pypi/partial
Regards,
Martin
ore. I like to see all three scenarios supported; to support categories
properly, you need to also have support in the reflection, in pydoc,
and perhaps also in the online documentation (if standard library
classes get split into categories).
Regards,
Martin
eened.
So what should we do? Leave things as-is? Drop the notion of priority?
Change our process to make sure priorities do get set (and honored)?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-
about it (except complaining).
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
actually using
setuptools to the end user.
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
much
> faster because relocation is slow (see PC/dllbase_nt.txt). Martin or
> Mark can give you a better answer.
Actually, that *is* the current answer. That plus a remark
"Contributions are welcome, as long as they
a) come with a clear, objective policy on what should go into
pythonxy.
might be executing
> malicious Python code.
>
I'll look into it. msilib is used in distutils (for bdist_msi), so it
should get fixed.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinf
, for floats, it converts
it to an integer using round-towards-zero semantics.
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
the others, and deserves to be the meaning of int()?
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
> b) automate all aspects of adding modules that should not go
> into pythonxy.dll according to the policy."
>
>
> i.e. create visual studio project files for those modules? and make them
> built automatically?
And adjust msi.py to package them automati
.
Kind 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
only int literals which have a problem with methods, but then,
you won't call any of these on an int literal, normally.
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
should be preserved; if you think
any of the patches committed in the 2.4 branch is a security
fix, please let me know.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscr
ndard error.
No, that doesn't really make sense. If you are in the middle of a pipe,
what good does it do to write the prompt to stderr, yet read the user
input from stdin?
If you really care about processes that run in a pipe, interact
with /dev/tty.
Regards,
Martin
___
don't have to - I will do it for you (although I don't
understand fully what "to be bummed" means).
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://m
2.5, bug fixes could be added until that branch
also goes into the security-only mode (i.e. after 2.6 is released).
Please let me know what you think.
Regards,
Martin
(*) other locations are possible as well, such as branches/email/2.3
or /email/branches/2.3
___
s to be gratuitous
> breakage, even in 3.0.
I wouldn't want to propose removal of len(), no. However, I do think
that adding more builtins (trunc in particular) is bad, especially
when they make perfect methods.
Regards,
Martin
___
Python-Dev ma
> What do you think of the above?
Sounds fine to me. I won't touch this then for the moment,
please let me know when you are done rearranging things.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
from the standard
library at all.
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
only; no new
> | features allowed.
>
> As current bsddb module maintainer, I was wondering if 2.5.2 will
> support BerkeleyDB 4.6 :-?.
Maybe I'm misunderstanding the question - whom are asking?
If me - Python 2.5.2 will essentially do what the maintenance branch
doe
,
and you get additional rights only with additional roles, normally.
I also agree with Nick as to what the purpose of assignments is.
To indicate that you are working on a specific issue, a message
saying so is enough (which could also include estimated completion
dates, which a mere self
in the block! :).
Being new is not a problem in itself. But do please take the extra
work of double- and triple-checking any claims you make. If you want
to become the new maintainer of the bsddb module, you need to learn
how to check out a branch of Python and h
eporting messages as misclassified
here. Georg has reclassified the message as ham now.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/option
3201 - 3300 of 5764 matches
Mail list logo