Re: [Python-Dev] Search-friendly shortcuts for Windows?

2010-12-21 Thread Adal Chiriliuc
Microsoft recommendations: Avoid putting a version number in a program name unless that is how users normally refer to your program. Put only program shortcuts on the Start menu. Don't put shortcuts to the following items on the Start menu: - Program uninstallers. Users access uninstallers throug

Re: [Python-Dev] PEP 384 status

2010-08-31 Thread Adal Chiriliuc
On Wed, Sep 1, 2010 at 1:42 AM, Antoine Pitrou wrote: > What I think would be a mistake would be to define the API in terms of > Windows-specific quirks. All this discussion seems bent on satisfying > the needs of Windows developers at the expense of non-Windows > developers. "FILE*" is a perfectl

Re: [Python-Dev] CHM filename (was Released: Python 2.6.6)

2010-08-25 Thread Adal Chiriliuc
On Thu, Aug 26, 2010 at 1:08 AM, "Martin v. Löwis" wrote: > Now, why do the other formats have a version number in them? So that you > can have them all in the same directory, and they won't overwrite each > other. And so that if you downloaded one of them, you'd still know what > it is that you d

[Python-Dev] CHM filename (was Released: Python 2.6.6)

2010-08-25 Thread Adal Chiriliuc
> The question really is whether there is any chance that they will get > released, in some form. There won't be further binary releases (at least > not from python.org), so there definitely won't be a CHM release. Speaking about the CHM, why does it include the version number in it's filename? Wh

Re: [Python-Dev] Fixing #7175: a standard location for Python config files

2010-08-11 Thread Adal Chiriliuc
Hello, Fred Drake fdrake at acm.org wrote: > +0.5 > > I'd like to see a more complete proposal, including: > > - what to do with Windows, Mac OS X PEP 370 already specifies a directory for Python config files: > user data directory > > Usually the parent directory of the user site directory.

Re: [Python-Dev] When do sets shrink?

2005-12-28 Thread Adal Chiriliuc
I did a little test using MSVC 8.0 on WinXP. I allocated 128 MB using 128 different buffers of 1 MB each, freed half of them (alternatively) then freed the remaining half. I monitored memory usage using the Task Manager and memory is really freed as indicated by both the "Mem Usage" and "VM Size"

Re: [Python-Dev] When do sets shrink?

2005-12-28 Thread Adal Chiriliuc
On Thursday, December 29, 2005 "Martin v. Löwis" wrote: > Noam Raphael wrote: > In this specific case, perhaps. malloc will typically return memory to > the system only if that memory is at the end of the heap. If there > is more memory after block to be released, it can't return the memory > bloc

Re: [Python-Dev] Keep default comparisons - or add a second set?

2005-12-28 Thread Adal Chiriliuc
On Wednesday, December 28, 2005 Noam Raphael wrote: > I came to think that, when forgetting backwards compatibility for a > while, the best thing for comparison operators to do is to raise a > TypeError by default, and work only for types that it makes sense to > compare. I think it is more "explic

Re: [Python-Dev] Python + Visual C++ 8.0?

2005-12-27 Thread Adal Chiriliuc
On Tuesday, December 27, 2005 Ralf W. Grosse-Kunstleve wrote: > Sorry, the manifests are new to me. How can I check if the manifest is > correctly embedded? > FWIW: I already tried copying the manifest into the directory with the > extensions. To check if you have a manifest you need to use a too

Re: [Python-Dev] a quit that actually quits

2005-12-27 Thread Adal Chiriliuc
On Wednesday, December 28, 2005 Fredrik Lundh wrote: > WinXP or WinXP+Cygwin ? here's what I get: Normal WinXP, without Cygwin. >>python > Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information.

Re: [Python-Dev] a quit that actually quits

2005-12-27 Thread Adal Chiriliuc
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> exit 'Use Ctrl-Z plus Return to exit.' >>> I've just tried Ctrl+Z (plus Return) and some variations on Win XP and it doesn't work! Ctrl+D does.

Re: [Python-Dev] Python + Visual C++ 8.0?

2005-12-27 Thread Adal Chiriliuc
Python uses LoadLibraryEx with the LOAD_WITH_ALTERED_SEARCH_PATH flag which means that DLLs used by the extension will be searched IN THE EXTENSION FOLDER and not on PATH. Try putting msvcp80.dll right next to your extension DLL. It is a little strange that it is not loaded directly from the Wind