file stuff should be removed from the examples,
replacing them with the proper macros.
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/
and does follow these procedures.
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
Irmen de Jong wrote:
The current cvs docs failed to build for me, because of a small
misspelling in the windows.tex file. Here is a patch:
Thanks, fixed.
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
he
sense that it uses a stack of hacks and work-arounds for problems
which Apple envisions to be solved differently. That would be bad,
because it might make an implementation of the "proper" solution
more difficult.
Regards,
Martin
___
Pyt
nsion then may pick up a user-installed
Python? Why can this problem not be solved by adding -F options,
as Jack Jansen proposed?
This is not the wrong way to do it.
I'm not convinced.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@pytho
ng to be done? It might be possible to avoid considerable
uglification.
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
Bob Ippolito wrote:
Then you haven't done the appropriate research by searching
pythonmac-sig.
Hmm.
> Do you even own a Mac?
Do I have to, in order to understand the issues?
But to answer your question: yes, I do.
Regards,
Martin
___
Py
n addition to -F? What about
-framework Python,/Versions/2.3
I could not find a specification how the suffix in -framework is meant
to work - perhaps it could be used here?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.
ged, and
in what way?
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
Michael Hudson wrote:
Martin, can you please believe that Jack, Bob, Ronald et al know what
they are talking about here?
I find that really hard to believe, because it contradicts to what I
think Apple wants me to believe. I'm willing to follow a series of
statements that I can confirm to be
frameworks, period.
I see. I wish you had told me right from the beginning.
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
okup"
is a good idea (and this is indeed what bothered me most to begin with).
As you say, explicitly specifying the target .dylib should work as
well, and it also does not require 10.3.
Regards,
Martin
___
Python-Dev mailing list
Python
t things out at runtime.
Not my personal preference, but at least we know that loading an
extension into one Python won't bring in a fresh copy of a different
interpreter or anything horrible like that.
This sounds good, except that it only works on OS X 10.3, right?
What about older versi
UTF-8, then parsed, then recoded back.
That said, I'm hardly a unicode expert, so I
may be overlooking something (could a utf-16 encoded character span a
line break, for example).
This cannot happen: \r, in UTF-16, is also 2 bytes (0D 00, if UTF-16LE).
There are issues t
Ronald Oussoren wrote:
Wouldn't it be better to link with the actual dylib inside the framework
on 10.2? Otherwise you can no longer build 2.3 extensions after you've
installed 2.4.
That's what I thought, too.
Regards,
Martin
___
Pyt
When support for floating-point stat times was added in 2.3,
it was the plan that this should eventually become the default.
Does anybody object if I change the default now, for Python 2.5?
Applications which then break can globally change it back, with
os.stat_float_times(False)
Regards,
Martin
been no
need to do so, so far. What do I get with recvmsg that I cannot get with
recv/recvfrom just as well?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.
instances, e.g. that they are picklable, have an __dict__, and so on.
> Am I wrong in assuming that only the
most esoteric exceptions inheriting from Exception would break by
Exception becoming new-style?
Yes, I think so.
Regards,
Martin
___
Python-
e.
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
magic descriptors as above for
specialmethods).
This would be worth a try. Does anybody have a patch to implement it?
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.pyt
Gustavo J. A. M. Carneiro wrote:
If someone could take a look at:
[ 1069624 ] incomplete support for AF_PACKET in socketmodule.c
The rule applies: five reviews, with results posted to python-dev,
and I will review your patch.
Regards,
Martin
Guido van Rossum wrote:
a) Is Exception to be new-style?
Probably not in 2.5; Martin and others have suggested that this could
introduce instability for users' existing exception classes.
Really? I thought that was eventually decided to be a very small amount of code.
I still think that on
tice because (almost)
nobody really wants to push his patch bad enough to
put some work into it to review other patches.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
ht
any case, what is important is that the documentation is
added - it can always be rearranged later.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/m
refer to CVS version
numbers. I use the script attached to extract those
numbers from the CVS commit message, to paste them
into the SF tracker.
I probably forgot to mention a few things; you'll notice
few enough :-)
HTH,
Martin
___
Python-Dev m
e.
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
section contents in
NEWS, to put the more important items at the top.)
I long ago stopped reading the NEWS file, because it is just too
much text. However, if it is desirable to list any change in the
NEWS file, I'm willing to comply.
Regards,
Martin
_
with your
change, I believe it won't anymore.
Apart from that, the change looks fine 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/mailm
ty is preserved;
it should be mentioned in the introductory comments as well.
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
the "What does this do" loop only pops off the
function itself. So (without testing) methinks your
code currently leaks references.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/
is the detail I was missing.
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
ncement, I cannot reject the patch,
but I won't accept it, either. So it seems that this patch will have
to sit in the SF tracker until either Guido processes it, or it is
withdrawn.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://
pretty strong "no" votes this time around, however. Therefore, I
would like to suggest option #3, with being, say, 'internals'.
-1. 'internals' is not any better than 'sys', 'new', or 'types'. It
is worse, as new modules are confusing to u
Raymond Hettinger wrote:
Other than a vague feeling of completeness is there any reason this
needs to be done? Is there anything useful that currently cannot be
expressed without this new module?
That I wonder myself, too.
Regards,
Martin
___
Python
Jeff Rush wrote:
If they are put into __builtins__, the documentation won't need
updating. ;-)
In that case, I'd rather prefer to correct the documentation.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.o
to change, plus the reference
counting (which would have to grow atomic increment/decrement).
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
list items, but currently
doesn't - nor is it currently necessary).
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
Paul Moore wrote:
OK, I reviewed some bugs. Could I ask that someone review 941881
(Martin would be ideal, as he knows the Windows build process -
1006948 should probably be included as well).
Thanks for the reviews. I won't be available next week to look into
the PEP, but I promise to do so
urse - but people typically
dislike receiving patches through a mailing list.
OTOH, I'm guilty of committing a patch myself which was explicitly
marked as not-to-be-committed on SF, so I cannot really advise to
use SF in this case. Putting it on your own web server would be
best.
ll desirable, your patch would be fine (I guess);
if they say that the compatibility requirement can be dropped for 2.5,
I suggest that the entire exec statement is removed, along with the
conditional clause.
Regards,
Martin
___
Python-Dev mailing l
that we cannot make (IMO).
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
Fredrik Lundh wrote:
I'd say that this explains why it would still make sense to let the code
generator change
"x in (a, b, c)" to "x == a or x == b or x == c", as long as a, b, and c are
all integers.
How often does that happen in r
say is that anybody can use their work for any purpose.
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
Guido van Rossum wrote:
I'm concerned that there's too much hacking of the VM going on with
too little benefit.
I completely agree. It would be so much more useful if people tried
to fix the bugs that have been reported.
Regards,
Martin
___
ch I still need to look at).
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
te the problem? What is a "special linux socket
name"?
Regardless, the comment of the other reviewer is also valid: any patch
needs documentation and test cases.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.pyt
reverted?
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
stand. I do believe that there is no better
way to implement the PEP. The PEP very explicitly defines what precisely
functional.partial is, and the implementation follows that specification
very closely.
Regards,
Martin
___
Python-Dev mailing list
Pytho
n
Bug menu entry).
Regards,
Martin
P.S. In case you wonder why this plugin is DictionarySearch:
it is meant to lookup words in an email in a dictionary, e.g.
Wikipedia.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/
introduce
a new module as well.
When I put up 5 reviews to get Martin to look at this, I honestly
believed that it was a simple case of an accepted PEP with a complete
implementation (admittedly scattered over a couple of SF patches), and
would simply be a matter of committing it.
That was a fair
ajor objections to the PEP or the patch. Before it
goes in on auto-pilot, it would be darned nice if the proponents said
that they've found it helpful in real code and that they are satisfied
with the timings.
I guess "darned nice" is the best you can hope for. Not sure if Peter
Harris is sti
, it works in most cases, and it is easier to
remember - especially as the shortest form is
python.org/sf/
(browsers will add the http://, DNS will add the www.,
and the script will forward to SF index.php)
Regards,
Martin
(*) Apparently, SF now supports an (apparently undocumented) URL format o
Warnes, Gregory R wrote:
What else needs to be done to allow fpconst to go into the Python library?
See PEP 1. First, the PEP must be Accepted.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
;t anything wrong with taking a
vacation from a project for some time, not even if the vacation
takes a few years :-)
Enough ranting.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsu
duplicate your work later. So it is better to
include the review in the patch, and only post a summary to python-dev.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
I just mistakenly checked in import.c; I have "outdated"
this checkin (cvs admin -o 2.241 import.c). If you happened
to have checked-out import.c in-between, don't be surprised
if the version numbers go backwards.
Regards,
Martin
___
Pyt
IL (I
assume Evan's patch rips that code out).
I think the consensus is that the feature is desirable. So if the code
is correct, it should be checked in.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailma
r those interested in server side issues: the repository
is an 1.1.1 fsfs repository. The CVS repository consumes
368MiB; the SVN repository 797MiB.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/py
7;t
matter much, since that is excluded from backup, anyway)
Thanks for doing this Martin. I've heard that SF may be offering svn as
early as May or June and I would love to see us convert when that's
available.
So do I. However, I now believe that it is unlikely that SF will provide
aut
after
the conversion (from svn) would probably work.
OTOH, I wonder whether the distutils CVS needs to be converted at all,
or whether it would be sufficient to only migrate the python "module"
(in which case your approach would be sufficie
ASCII filename on non-NT+ systems will get
a UnicodeError; with the patch, the operation will succeed
(assuming the characters are all supported in the file system
encoding).
Should this be backported?
Regards,
Martin
___
Python-Dev mailing list
Pytho
, either. If there are ACLs on the file, access
will consider them (or atleast it should), but no other method will.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
recipe is
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/107747
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-d
cisely it was that I needed it for, and I cannot
think of any use case for the data type right now.
So I'm -0 on adding the data type: I have a vague feeling it is needed,
but rarely, and I don't know precisely what for.
Regards,
Martin
___
Pyth
kely to be wrong as the
code I'm trying to test.
I see. I would argue that you were better off if the test cases were
sorted (according to some total, stable-across-releases, order), rather
than being ordered.
Regards,
Martin
___
Python-Dev mailing
rser *should* use an
OrderedDictionary (probably both for cursect and for self._sections),
in which case this would all be transparent to the application.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
) for details of
the bugs squished in this release.
I'd like to encourage feedback on whether the Windows installer works
for people. It replaces the VBScript part in the MSI package with native
code, which ought to drop the dependency on VBScript, but might
introduce new incompatibilities.
Regar
backporting will help.
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
rs.
They accept that the code will get more complicated because
of the work-around, and blame Python for having this bug in the
first place.
In any case, I can't backport the os.access change without explicit
permission from Anthony.
Regards,
Martin
__
install
locations, repairs, uninstalls, single-user and all-user installs, and
I found no problems anywhere. Nice work!
Thanks! Somebody reported that it failed to update python24.dll in
an update installation; not sure why this would be.
Regards,
Martin
,
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
quot;Software\Microsoft\VisualStudio"
self.__macros = MacroExpander(self.__version)
else:
self.__root = r"Software\Microsoft\Devstudio"
self.initialized = False
def initialize(self):
self.__paths = self.get_
the Python file that causes the crash.
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
an be made for IDLE;
OTOH, it might be reasonable to apply the same strict requirements
for idlelib as we do for the rest of the Python library, i.e. no new
features.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.or
nnection." I believe the
problem is the firewall, but I'm not sure if it is related to the
install. The previous install (Python 2.3) worked fine.
What firewall software are you using? Any exceptions in the console
when starting IDLE?
Regards,
Martin
in which I won't be able to
roll a release. The week after that, I'll have to give exams from
Wednesday on, so I would prefer to produce my MSI file on March 29.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.pyth
, though.
Python and IDLE appear to run ok. Shortcuts on Run work, and file
association was updated, so right clicking a .py used IDLE from
Python 2.4.1c1, in no-subprocess mode.
Good!
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mai
but
rather compress it? What's the best advice on attaching such large
files?
If you can store it somewhere on the net, that would be best, putting
a link to the file into the SF bug report. SF has a limit on file
attachments which is much smaller.
Anthony Baxter wrote:
Ok, I'm convinced - Martin, can you check this in?
Done!
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
.
Ok, so it's likely incomplete download.
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
a[x]+y*z for x,y in A for z in B if x > z]
(Not that this does what you think it does :-)
So that you can write f(x) is just a tiny special case.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/p
ubscriptlist ']' | '.' NAME
So a function call is a power is a factor is a term is an arith_expr
is a shift_expr is an and_expr is a xor_expr is an expr is a comparison
is a not_test is an and_test is a test.
is a list of names, not arbitrary expressions
No, it'
e contact to ask for details
- is specific to the particular release of this platform, so
if future versions of this platform fix the bug, the work-around
of disabling _XOPEN_SOURCE and _POSIX_C_SOURCE can be removed
Regards,
Martin
___
Pytho
something, just go ahead. Before I make the
documentation want to say that, I would like to make it say more
basic things first (e.g. that stores to variables are atomic).
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail
t.
Nobody knows. It depends on the Python developer who reviews the bug
report. Most likely, he considers it tricky and leaves it open for
somebody else. If his name is Martin, he will find that this is not
a bug (because it does not cause a crash, and does not contradict with
the documentation), a
, the read either gets the old value, or the
new value, but not both. And so on.
Writing down all these properties does little good, IMO. This includes
your proposed property of file reads: anybody reading your statement
will think "of course it works thi
on Windows.
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
e the test case requirement here as unimplementable.
However, do consider writing test cases.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailm
of my code which causes the crash (the same rule applies as with
Python: it may raise an exception, bring up an error message, and so on
- but it should never crash).
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
empty, you get
#if (+0) == -1
which still should compile.
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
Travis Oliphant wrote:
What is the opinion of people on this list about how to fix the
problem. I believe Martin was looking at the problem and had told
Perry Greenfield he was "fixing it." Apparently at the recent PyCon,
Perry and he talked and Martin said the problem is harder t
ays executed,
even if the file was not created, and even if the function is left
through return.
I've fixed the script, however, if somebody takes away o+w on /tmp
again, it will mean that the caching silently stops.
Regards,
Martin
___
Python-Dev m
Guido van Rossum wrote:
I forwarded this to MvL, who wrote the code; he'll look into it but
probably not before Sunday.
Actually, now that I saw that it is a permission problem, it turned
out to be fixable quite easily.
Regards,
Martin
___
Pytho
e proposed functionality is useful in the first place, I don't
know. I never have nested named groups in my regular expressions.
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Uns
ed within a few hours,
taking a day to make the testsuite run again; depending on the review
process, you might need two releases to fix the bugs (but then, it
is also reasonable to expect to get it right the first time).
Regards,
Martin
___
Python-Dev mail
r Unicode).
With the UTF-8-SIG codec, it would apply to all operation modes of
the codec, whether stream-based or from strings. Whether or not to
use the codec would be the application's choice.
Regards,
Martin
___
Python-Dev mailing list
Python-De
Stephen J. Turnbull wrote:
Martin> With the UTF-8-SIG codec, it would apply to all operation
Martin> modes of the codec, whether stream-based or from strings.
I had in mind the ability to treat a string as a stream.
Hmm. A string is not a stream, but it could be the contents of a str
objects. In the IncrementalParser,
it is *not* the case that a read operation returns an empty
string. Instead, the application repeatedly feeds data explicitly.
For a file-like object, returning "" indicates EOF.
Regards,
Martin
___
Python-D
g, not write to one)! ... and there's no need for a
utf-8-sig codec for strings, since you can support the usage in
exactly this way.
However, if there is an utf-8-sig codec for streams, there is currently
no way of *preventing* this codec to also be available for string
7;s
conundrum"? That "signatures make sense"?
So I can't really respond to your message in a meaningful way;
I just let it rest...
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/
4501 - 4600 of 5770 matches
Mail list logo