Improvement ?

From: Jean-Marc Ranger (jeanmarc.ranger_at_smisrd.com)
Date: 05/05/04

  • Next message: Dave Platten: "pty.py"
    Date: 5 May 2004 12:12:44 -0700
    
    

    Just wondering:

    With Python 2.3.3 for Windows, I understand why
    os.makedirs("C:\SomeDirectoryThatDontExist\.\AnotherDirectory") fails
    throwing an exception saying "OSError: [Errno 17] File exists" - the
    period is like a request to create the same directory a second time.

    But is this the expected behavior ? I personaly would prefer to see
    this operation succeed - and don't like the idea of writing a
    workaround :)

    Comments ?

    Thanks,

    Jean-Marc Ranger


  • Next message: Dave Platten: "pty.py"

    Relevant Pages

    • Re: dhclient with bge failing
      ... request an IP address from the DHCP server running isc-dhcp3-server. ... With a Windows based DHCP server, it succeeds more often, but seems to ... It fails 5/10 I have to keep pressing F5 in FF 2 to re request dns ...
      (freebsd-stable)
    • Re: Improvement ?
      ... > With Python 2.3.3 for Windows, ... > the period is like a request to create the same directory a second time. ...
      (comp.lang.python)
    • Re: Why does it take 2 clicks to window from full screen?
      ... screen view to a windowed view fails most of the time and I have to click on ... the button a second time, after having to move the mouse back from the ... This behavior still exists in Windows 7 beta as well. ... Yep - it's a long standing quirk. ...
      (microsoft.public.windows.mediacenter)
    • Second DNS server doesnt proceed if the first DNS fails
      ... If the first DNS server fails, ... should perform the request and resolve the requested name. ... work - and we see the same problem at several Windows 2003 based Servers. ...
      (microsoft.public.windows.server.dns)
    • Re: Windows Server Referral Problem
      ... EN> Markus I have a request out to Microsoft to get more information ... When Windows ... and returns a referral to the specified realm if there's a match. ... EN> I have a problem with server referrals in my Windows environment. ...
      (comp.protocols.kerberos)