tls and non-default crtl's)?
Apparently not many. I repeatedly asked for contribution of a
specification how pythonxy.dll should be modularized, and never
received one.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
of-module-usage
in any meaningful way for existing modules, let alone for modules
that are contributed and to be included only in the upcoming
release.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
he confirmation; that's good enough for me.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
e
with gcc. That doesn't preclude to use gcc for Python 2.x compilation,
as long as a msvcrt is selected that can work together with some
version of MFC and the MS C++ RTL.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
bussiere wrote:
> I've read thsi documentation n:
> http://docs.python.org/dev/whatsnew/whatsnew25.html
> is there a way to have it in a more printable form ?
Yes. Download
http://www.python.org/ftp/python/doc/2.5b1/pdf-a4-2.5b1.tar.bz2
and extract whatsnew25.pdf.
Regards,
M
it might be
best to switch to a different module for SQL Server access.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ou could just as well use the
result string (i.e. '\x00\x14\x85\xe5U\x03') directly.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
subramanian2003 wrote:
> Hello All,
>
>From where I can get the detailed python 2.4 tutorial(other than
> python.org).
>
> Thanks,
> Subramanian.
>
>
If you're willing to pay for it you can read many python books online at:
http://safari.oreilly.com
Although I like a paper version more (a
llowing line?
> term = unicode(row[1], "mbcs")
Correct.
> What do you mean by "ANSI-to-OEM conversion is enabled"? (sorry, I'm
> quite a newbie to python)
It's an SQL server thing more than a Python thing. See AutoAnsiToOem
in
http://support.microsoft.com/de
ase this isn't clear yet: the cookie should then be used
for authentication. Only trusted clients would know the right
cookie.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
already wrong. Are you
sure the value in question is really "França" in the database?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
he precise sequence of statements that you used to
set the "row" variable?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ternatively, you have to run pymssql
in a debugger to find out yourself.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
down into socket
calls (reading the source of httplib.connect, and executing it manually
in single-stepping), so that you know what the precise arguments passed
to getaddrinfo are.
FWIW, 11001 is WSAHOST_NOT_FOUND, which suggests that you have
DNS configured incorrectly.
Regards,
Martin
--
http:/
d both in Asia and elsewhere,
e.g. Latin and Cyrillic. Arabic probably doesn't belong in
this list, either, being used both in Asia and elsewhere
as the script of the official language.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
d to port the curses module to Solaris 9
(if you really need it).
I believe in the subversion trunk of Python (and in Python 2.5),
this problem is fixed.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
you should write
out the name of the MSI creator, please say "Martin's installer" :-).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
rent free desktop
> environments (KDE, GNOME, etc.)
Just because nobody said it so far (although it's probably obvious
to everybody): I doubt neoedmund is talking about free desktop
environments...
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Tim Roberts schrieb:
>> 0530..058F; Armenian
>> 0590..05FF; Hebrew
>> ...
>
> This is a fabulously useful list, Martin. Did you get this from a web
> page? Can you tell me where?
It's part of the Unicode Consortium's database (UCD, Unicode Character
Dat
eased in May '88, but then the next release was Windows 3.0.
The new feature in Windows 2.1 was support for the extended address
space of 80286 and 80386 processors.
I don't think there was a Python port to Windows 2.x.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
t it right now, but I would expect that Cygwin Python
binaries on Win32 have os.name == "posix".
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
completely lost, as there appears to be no authoritative, up-to-date
> description on how to make this work.
If all else fails, buy a copy of Visual Studio 2003. They are available
fairly cheap at Ebay.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
t optimal; contributions are welcome.
It would probably be easiest to drop the guarantee that
PyObject_Str returns a true string, or use _PyObject_Str
(which does not make this guarantee) in PyObject_Print.
One would have to think what the effect on backwards
compatibility is of such a change.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Neil Hodgson schrieb:
>> http://www.loppen.dk/side.php?navn=getin
>
> More pages without declarations are produced on Windows so
> I'd guess that its Windows-1252. To tell, look for prices in Euros ("€")
> on the site.
Ah, but they still use krones in Denm
tual implementation of whatever
approach gets chosen should be easy. And there should be
documentation changes, of course.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
probably a good idea to look at source packages
to get started quickly.
FWIW, Debian does *not* put daemon programs in /usr/bin. Debian
follows the FHS, which specifies that system binaries go into
/usr/sbin. /usr/bin is limited to user programs.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
e using it may not work on older installations (unless you
ship the platform module with your application).
> Is this not supposed to work better than sys.platform?
> Indeed I'm pretty worried about having "win64" returned on further os
> like Windows Vista and having our te
npickling x, you'ld get x.(B.f), not x.(A.f) with your
approach.
Not sure it matters much.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
John Machin schrieb:
> Any support for the radical notion of the error message giving the full
> path of the file that it's complaining about? If so, I'll lob in an
> enhancement request in the morning ...
A patch would be appreciated much more so.
Regards,
Martin
--
htt
8, but it looks like there are
> major benefits to switching...
You may or may not know that it is futile arguing about compiler
switching for released versions of Python, i.e. 2.3, 2.4, and 2.5.
Whether or not it might be a good idea: it can't be done, for
compatibility with prior
John Machin schrieb:
> Hi Martin, I do hope you don't regret opening Pandora's box :-)
>
> Does the following look about right?
Technically, yes. I wonder whether it will generate unreadable error
messages, though (one would have to try).
> I was somewhat bemused by the
mes that there is a VS 2007 release
sufficiently before Python 2.6.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
interface, xml.sax, which can parse files incrementally.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ld be necessary to not break
Windows 9x (which does not have CreateHardLink); for Python 2.6,
this requirement could be dropped. Contributions are welcome.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
egards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
-memory (nobody had mentioned it so far).
Whether it is high-level and fast is in the eyes of the beholder
(as they are relative, rather than absolute properties).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Since this operation
is not that frequent, it was chosen not to put the
burden of implementing the algorithm twice (actually,
doing so was never even considered).
HTH,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ulation mode for 32-bit
binaries on AMD64 and Itanium, so you can run the 32-bit
Python on Win64. On Itanium, this emulation has a significant
performance loss; on AMD64, the emulation is quite efficient
since the processor directly supports the emulation mode
(and better so than Itanium 1/2 did).
R
s". The options
are:
- get a copy of VS 2003 on Ebay
- use cygwin/mingw (should work for C, might not work for
C++ if you use MFC or some other MS-compiled library)
- find the VS 2003 Toolkit; Microsoft took it off the net,
but Google may still be able to help
Regards,
Martin
--
http:
ce you made libpython2.5.a a static library, you link an
entire Python interpreter into each and every extension module. This
should not be done.
What happens if you omit these flags?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
it *should* work out of the box. If it doesn't, it
means there is an error somewhere. If you don't want to
help finding the error, that's fine, too (but please say
so, because that will constrain the solution space).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ome examples and a helpfile (no
> compiler).
I don't think so. It was (as it's no longer officially available) a
command-line only version of the compiler. In any case, it is
(or was) different from the .NET SDK.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] schrieb:
> Is there a stand-alone version of python out there that I can package
> with my scripts so that I don't have to bother with something like
> py2exe?
Yes, google for "movable Python".
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
supported for g77, I don't know). This should at least
make the complaints about missing symbols go away; you
should then see whether the resulting module can be
imported in Python.
If that solves the problem, the question is why the
-shared option isn't passed automatically; your setting
Rob Williscroft schrieb:
> Having read Noel Byron's reply also, I'm tempted to say there is
> some confusion here between a Visual *Studio* toolkit (VS 2003)
> and a Visual *C++* toolkit (VC 2003).
Ah, that could well be.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
oftware work out of the box.
If you have never used crle before, understand that great care
is necessary in using it. See the EXAMPLES in crle(8). You can
either use -u -l to add a directory at the end of the search
path, or just -l to overwrite the search path; make sure the
original search path
m somebody, and/or
report a bug.
Always strive for the simplest possible setup. If you find that you
have to customize something, and the instructions did not tell you
to do so, question this customization. It is likely wrong or
unnecessary.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
.pyd now. That rule had not been there
for YEARS.
Of course, had he renamed the file, it then would have complained
that he's running a 2.4 extension module in 2.5; *that* rule had
been there for YEARS.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
paw schrieb:
> Google turned up nothing useful that I could find, is anyone else
> seeing this problem?
I haven't heard of it before. Please run the file with
msiexec /i python-2.5.msi /l*v python.log
and post the resulting python.log in a bug report at
sf.net/projects/python.
Rega
ce (and thus don't need developer tools),
since your Linux distributions has all your software precompiled.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
5.
> 4) How much alcohol will be required to forget all this when I'm done?
You shouldn't forget it. Instead, you should write your experience
into "the Web", so that others have a flatter learning curve.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
you sure LD_RUN_PATH is exported?
I would do "file /usr/local/lib/libtk8.4.so", to see whether it's
a "good" file.
Then I would invoke the linker line manually (so that _tkinter.so
doesn't get removed), and then do
ldd -s build/lib.solaris-2.10-i86pc-2.5/_tkinter.so
to see how it tries to resolve shared libraries.
HTH,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
', '__new__', '__reduce__', '__reduce_ex__', '__repr__',
> '__setattr__', '__str__', 'func_closure', 'func_code', 'func_defaults',
> 'func_dict', 'func_doc', 'func_globals', 'func_name']
>
> I'm using Python 2.4.3, if that is at all relevant. Thanks in advance
> for any help.
Take a look at func_defaults.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
hich does?
This specific problem shouldn't exist in Python 2.4, and I recall
that I tested some 2.4 release on Windows 95.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
#x27;t theoretical:
when I introduced float into st_mtime, I first made the tuple be
float also, and it broke several applications within a week (even
though that code was just in the CVS trunk, and not released yet).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Harold Trammel schrieb:
> Does anyone know the status of a version of MySQLdb that will work with
> Python 2.5?
AFAICT, MySQLdb 1.2.1 builds and works just fine.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ion before
> I can understand.
You are apparently not a documentation reader, as well. Nobody owes you
an explanation.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
sco. The same fiasco is not possible for the
bug tracker.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
hope this
> recommendation from the "PSF infrastructure committee" is rejected.
That is very very unlikely. Who would reject it, and why?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ation for the period of
testing.
In addition, people expressed deep dislike of Bugzilla
in the early discussions. Some people just hate it, maybe
more so than the SF tracker.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ce version
*and* hosted that ourselves. You only have a 100% guarantee that
you get the data out of the tracker if the data live on your own
disks (and you have good backup of these disks).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin schrieb:
> "Martin v. Löwis" <[EMAIL PROTECTED]> writes:
>> It is a fork of an old version. Existence of this version hasn't helped
>> a bit when we tried to get our data out of sf.net.
>
> Yeah, I'd guessed it might be a fork. Is
ncompatible change, no?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
it would solve most of the
> use-cases imho (at least my use-cases).
Of course, it's possible to implement this on top of the existing
listdir operation.
def failing_listdir(dirname, mode):
result = os.listdir(dirname)
if mode != 'strict': return result
for r in result:
using the private-use-area of Unicode to represent bytes
that don't decode correctly.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
sting idea..
>
> and what happens with such texts, when they are encoded into let's say
> utf-8? are the in-private-use-area characters ignored?
UTF-8 supports encoding of all Unicode characters, including the PUA
blocks.
py> u"\ue020".encode("utf-8")
'\xee\x80\xa0'
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
her case, you can then send an announcement to
comp.lang.python.announce that you made them available.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
7;m suspecting ones that need to pull in .so's.
You should inspect sys.path to find out whether it ought to find
those modules.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> gavino <[EMAIL PROTECTED]> wrote:
>> wtf
>
> Because programming in Python makes me feel happy and contented, while
> programming in Java just makes me want to scream in agony.
Or in my case, Python made me code, Java made me brew java.
ymmv
--
mp
e Python offer stronger guarantees in 2.5 cannot
be ported back to 2.4, since it would break the marshal format of
that release.
Finally, it's not very likely that *any* additional 2.4.x releases
are made at all; only 2.5.x is still actively maintained.
Regards,
Martin
--
http://mail.python
.py to put a zip file on sys.path, instead, the distributed
interpreter must already look for a file even though this file
will usually not be present.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
;libpython2.5.a' file ...
>
> Do I do something wrong?
I'd say it is a bug in vtk that it requires libpython2.5.so.*.
However, to work-around, you can configure Python with
--enable-shared. Make sure to set LD_LIBRARY_PATH or LD_RUN_PATH
appropriately.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
free
software. Very few people will agree that the future of Python depends
on provision of a subversion module for Python 2.5 on Win32, anyway.
If you need this, you would work on making it happen yourself, or
you should hire somebody to make it for you if you can't do it
yourself.
en apply chmod.
Looking at the source, I see that it invokes umask(0) not to
clear the umask, but to find out what the old value was.
It then invokes chmod to set any "special" bits (s, t) that
might be specified, as mkdir(2) isn't required (by POSIX spec)
to honor them.
Regards,
Mart
rite
del items[i+removed]
here, as .remove(x) will search the list again, looking
for the first value to remove. If your condition for
removal happens to leave some items equal to x in the
list, it would remove the wrong item. Because the numbering
changes while the iteration is in progress, you have
to count the number of removed items also.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
and
then does slice assignment should behave better-than-quadratic
(in recent versions, it should give you linear performance).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
etween 30min and
1hour to get a fix implemented (for the list case alone, not counting
all the other sequences).
Even though I could fix it, I don't feel tempted to do so: I never had
this problem; in most cases of IndexError, it was very clear what the
problem was so I didn't need
time checking
> my patch as they would writing it themselves anyway.
No: if you already have done the testing, and provided test cases
to test it, this is fairly easy to review.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
y calls you
silly?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
not silly) to suggest that
if the source code weren't available at all. It is *not*
silly to suggest that people should make efforts to
contribute to open source software.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ase see:
<http://www.iana.org/assignments/charset-reg/ISO-8859-15>
Alias: ISO_8859-15
Alias: Latin-9
so the "official" alias is "Latin-9", not "latin9". You may
want to ask the submitter of that entry why this inconsistency
was introduced.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
svnversion tool.
On Windows, you can alternatively also use the subwcrev.exe
tool that comes with Tortoise.
If you don't want to invoke an external tool, you could also
retrieve the same information with the subversion Python
bindings.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
, where the standard machinery to determine
the terminal's encoding fail.
I have no idea yet how to fix this.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
though.
Plus, in the Eclipse case, we can't know for sure that stdout
really goes to the terminal - as it is just a pipe file descriptor
(Java is not capable of managing a full pseudo-terminal).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
the archive that isn't
> there by default.
I believe it's an issue of the file format (tar.bz2). You don't compress
individual files, but you compress the entire tar file. So it is not
meaningful to talk about the compressed size of an individual archive
member - they are all unco
thm inside PNG is zlib (which is the same
as the gzip algorithm). Perhaps you should read the comp.compression
FAQ:
http://www.faqs.org/faqs/compression-faq/
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Ken Tilton <[EMAIL PROTECTED]> writes:
> outrage over my condescension and arrogance.]
Your condescension and arrogance are fairly well established, and no
longer cause much outrage, except in extraordinary circumstances.
',mr
--
rydis (Martin Rydström) @CD.Chalmers.SE
pe was IA5String,
PrintableString, UTF8String), and I thought your complaint was that
the current interfaces lose information, so you should not add an
interface that makes the same mistake it tries to overcome.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
#x27;m sure that somebody will provide an example of a software
that still uses it, but I likely won't find that single example
convincing).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
workstation?
Yes; you can run both versions just fine. The only question is which
of these gets the .py association: it is the one that gets installed
last. You can chose not to update the .py association when installing
2.5, then .py remains associated with 2.4.
Regards,
Martin
--
http://mai
is?
Python attempts to determine the encoding of your terminal (if
sys.stdout is a terminal), and set sys.stdout.encoding accordingly.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
that leads to this change in observable behavior. If you think this is
a bug, it would be best if you could also investigate a patch.
> I also noticed that the Tix binaries are no longer present in 2.5, does
> anyone know if it is
> planned to remove them pemanently?
That was a mistake, I
HEX HEX" encoding.
Now, RFC 2396 already says that URIs are sequences of characters,
not sequences of octets, yet RFC 2616 fails to recognize that issue
and refuses to specify a character set for its scheme (which
RFC 2396 says that it could).
The conventional wisdom is that the choice of URI encoding for HTTP
is a server-side decision; for that reason, IRIs were introduced.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I'm playing a bit with PostgreSQL, in which I've set me the target to
create a python script which with user input creates a new user role and
a database with that owner (connecting to template1 since I know that at
least that db exists).
Ok so I installed PostGreSQL and pygresql since
Dan Jacobson wrote:
> Can I feel even better about using perl vs. python, as apparently
> python's dependence of formatting, indentation, etc. vs. perl's
> "(){};" etc. makes writing python programs perhaps very device
> dependent. Whereas perl can be written on a tiny tiny screen, and can
> withst
cychong schrieb:
> BTW, is there any way to send the packet with the IPV6 extension header
> w/o using sendmsg?
That depends on your operating system. Find out whether your operating
system supports that; if it does, it is easy to tell whether that is
exposed in Python or not.
Regards,
found HTML only. If somebody writes
a user agent written in Python, they are certainly free to follow
this recommendation - but I think this is a case where Python should
refuse the temptation to guess.
If somebody implemented IRIs, that would be an entirely different
matter.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> You don't seem to have realised yet, but my objection to the behaviour of
> urllib.unquote is precisely that it does guess, and it guesses wrongly.
Yes, it seems that this was a bad move.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
henk-jan ebbers schrieb:
> - how can i get this to work in 2.5 (nice if it would work in both 2.4
> and 2.5)
You should implement a lookup function, and register it with
codecs.register. Then you can structure your modules any way you like.
Regards,
Martin
--
http://mail.python.org/m
king kikapu wrote:
> Hi to all,
>
> is there a way to use an RDBMS (in my case, SQL Server) from Python by
> using some built-in module of the language (v. 2.5) and through ODBC ??
> I saw some samples that use statements like "import dbi" or "import
> odbc" but neither modules (dbi, odbc) are pre
2301 - 2400 of 4331 matches
Mail list logo