[Python-Dev] shutil.copy() and hard links

2012-01-11 Thread Christian Heimes
Hello, here is another fun fact about links, this time hard links and the shutil.copy() function. The shutil.copy() functions behaves like the Unix cp(1) command. Both don't unlink the destination file if it already exists. As a consequence all hard links point to the updated file data. This

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

2012-01-11 Thread martin
Let me see if I can try this. Hopefully I still have my VM w/ this all setup and I can see if I can get it building this way. I can always ping some people on the C++ team and ask them for help if I run into issues. I'll give it a shot tomorrow and get back to you. Hi Dino, I reported

Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-11 Thread Antoine Pitrou
On Wed, 11 Jan 2012 02:09:02 +0100 Martin v. Löwis mar...@v.loewis.de wrote: Am 10.01.2012 18:15, schrieb Matt Joiner: I suspect it actually would fix the confusion. dev usually means development, not core implementation development. People float past looking for dev help... python-dev.

Re: [Python-Dev] os.walk() with followlinks=False

2012-01-11 Thread Antoine Pitrou
On Wed, 11 Jan 2012 12:25:46 +1000 Nick Coghlan ncogh...@gmail.com wrote: When discussing http://bugs.python.org/issue13734, Charles-François noted that when os.walk() is called with followlinks=False, symlinks to directories are still included in the subdirs list rather than the files list.

Re: [Python-Dev] Python C API: Problem sending tuple to a method of a python Class

2012-01-11 Thread Oleg Broytman
On Wed, Jan 11, 2012 at 03:52:07PM +0100, Antoine Pitrou wrote: On Wed, 11 Jan 2012 02:09:02 +0100 Martin v. L?wis mar...@v.loewis.de wrote: b) suggests that people are not too tired in actually typing in this message every now and then. I suspect one of them doesn't actually *type*

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

2012-01-11 Thread Jeff Hardy
On Tue, Jan 10, 2012 at 4:20 PM, Martin v. Löwis mar...@v.loewis.de wrote: Win 8 is practically a new OS target - the nt module may need to be replaced with a metro module to handle it well. No, it's not. Everything continues to work just fine on Windows 8, as long as we keep developing

Re: [Python-Dev] Proposed PEP on concurrent programming support

2012-01-11 Thread Mike Meyer
On Wed, 4 Jan 2012 00:07:27 -0500 PJ Eby p...@telecommunity.com wrote: On Tue, Jan 3, 2012 at 7:40 PM, Mike Meyer m...@mired.org wrote: A suite is marked as a `transaction`, and then when an unlocked object is modified, instead of indicating an error, a locked copy of it is created to be

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

2012-01-11 Thread Dino Viehland
Martin wrote: See the start of the thread: I tried to create a WinRT Component DLL, and that failed, as VS would refuse to compile any C file in such a project. Not sure whether this is triggered by defining WINAPI_FAMILY=2, or any other compiler setting. I'd really love to use

Re: [Python-Dev] Proposed PEP on concurrent programming support

2012-01-11 Thread Matt Joiner
On Thu, Jan 12, 2012 at 11:01 AM, Mike Meyer m...@mired.org wrote: On Wed, 4 Jan 2012 00:07:27 -0500 PJ Eby p...@telecommunity.com wrote: On Tue, Jan 3, 2012 at 7:40 PM, Mike Meyer m...@mired.org wrote: A suite is marked as a `transaction`, and then when an unlocked object is modified,