[issue13917] Python 2.7.2 and 3.2.2 execl crash

2012-02-01 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

This is a duplicate of http://bugs.python.org/issue8036

(which I still haven't got around to applying...)

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13917
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13674] crash in datetime.strftime

2011-12-30 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Well, the code in 2.x is quite different from that in 3.x.
Specifically, the 2.x code assumes that, for Windows, no
year before 1900 is valid for any of the formats. So a
simple check throws a ValueError for tm_year  0. For 3.x
the assumption was that Windows can handle any year as far
back as 0; in fact that's not true for the %y format.

I'll propose a patch to timemodule.c but I'll have to take
it to python-dev as I'm not 100% sure of the best place for
it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13674] crash in datetime.strftime

2011-12-30 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Yes, sorry. I wasn't clear enough. There *are* still checks
in the 3.x code (for the kind of thing you're showing). But
the checks assume 1000 = year = maxint is ok for all format
parameters on Windows. In fact, for %y, only 1900 = year is ok.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13674] crash in datetime.strftime

2011-12-29 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Yes, but the MS crt strftime *for %y* requires a year = 1900 (ie 
tm_year = 0). Looks like we need a special check.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13674] crash in datetime.strftime

2011-12-29 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

This is happening on Windows x86 against the current tip. The MS C runtime can 
handle older dates; it's just that we're taking 1900 off the year at some 
point. (At least, I think that's what's happening). FWIW you only need 
time.strftime to reproduce the error:

  import time
  time.strftime(%y, (1899, 1, 1, 0, 0, 0, 0, 0, 0))

If no-one gets there first I'll dig into the timemodule strftime wrapper.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13674] crash in datetime.strftime

2011-12-29 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

... and that's because the tm struct defines the tm_year field as an offset 
from 1900. Sorry for the false start. I'll look at the MS runtime stuff instead

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13674
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13524] critical error with import tempfile

2011-12-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
resolution:  - wont fix
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13524
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13524] critical error with import tempfile

2011-12-04 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

OK, the long and short is that spwaning a process without passing
in SystemRoot is asking for trouble. There's a blog post here
which gives an example:

http://jpassing.com/2009/12/28/the-hidden-danger-of-forgetting-to-specify-systemroot-in-a-custom-environment-block/

And, certainly this works:

import os
import subprocess
subprocess.Popen(
 notepad.exe,
 env={SystemRoot : os.environ['SystemRoot']}
)

I'm not quite sure what approach we should take in the subprocess
module. Is it a docs warning? Should we refuse to proceed if there's
no SystemRoot? Is it the caller's responsibility?
I'll ask on python-dev to gather opinions.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13524
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13524] critical error with import tempfile

2011-12-03 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

The environment passed to a Windows process must contain
certain things. (I don't at this moment remember exactly
what). You can't just pass the one thing you're adding.
Change your e = ... line to something like:

e = os.environ
e['PATH_TO_MY_CODE'] = '/x/y/z'

and then try the code.

Obviously the subprocess module doesn't have enough
checks in place for this -- it actually segfaults on my
WinXP machine. But can you confirm that this is indeed
your issue?

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13524
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13524] critical error with import tempfile

2011-12-03 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Re-opening because there's a real problem here which can crash Python hard. 
Simplest reproduction:

import sys
import subprocess

subprocess.Popen (sys.executable, env={})

Affects 2.x and 3.x tip (haven't tried others yet but I don't imagine it's 
different)

--
assignee:  - tim.golden
components: +Library (Lib), Windows
stage:  - test needed
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13524
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13524] critical error with import tempfile

2011-12-03 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Yes. I've added the Windows component on the tracker.
(At least I think I have). It's to do with CreateProcess
needing at least certain items in the environment passed.
I'm trying to track down some docs on MSDN which specify
which must be there.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13524
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13483] Use VirtualAlloc to allocate memory arenas

2011-11-29 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

'fraid not. I've never had to dig into the allocation stuff at this level.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13483
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13210] Support Visual Studio 2010

2011-11-18 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Thanks. I was going to ask about this to see if anyone had already done 
the legwork.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13419] import does not recognise SYMLINKDs on Windows 7

2011-11-17 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
nosy: +brian.curtin, jason.coombs, tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13419
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12802] Windows error code 267 should be mapped to ENOTDIR, not EINVAL

2011-08-26 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Obviously someone's code would break if it were relying on the Unix 
errno only in a Windows-only situation to determine the situation of 
opening a directory which isn't one. But that combination of events 
doesn't seem terribly likely.

Speaking for myself, since the exception is a WindowsError with the 
winerror attribute prominent, [Error 267] I'd be far more likely to be 
trapping that.

I say go ahead

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12802
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12394] Packaging should provide better support for executable scripts on Windows

2011-06-24 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Are you aware of PEP 397?

http://www.python.org/dev/peps/pep-0397/

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12394
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12394] Packaging should provide better support for executable scripts on Windows

2011-06-24 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Adding Mark H as the author of PEP 397

--
nosy: +mhammond

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12394
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12382] [msilib] Obscure exception message when trying to open a non-existent MSI database

2011-06-21 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
nosy: +markmcmahon, tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12382
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I'm just patching a clone now.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

All expected tests pass on 3.2 branch (Win7 32-bit). The patch doesn't 
apply cleanly to trunk; not sure if it's expected to or not. The code
looks ok on paper. I'll leave Victor to quibble over the Unicode stuff...

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11583] os.path.isdir() is slow on windows

2011-06-04 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Code looks good and tests pass. Only one thing: the code in the patched 
lib\ntpath.py still refers to FindFirstFile

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11583
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11583] os.path.isdir() is slow on windows

2011-06-03 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

One (presumably unintended) side-effect is that you can now do os.path.isdir on 
a wildcard and the first returned entry will be tested for directoryness:

import os
os.path.isdir (c:/tem*)
# = True where c:/temp exists

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11583
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12140] Crash upon start up

2011-05-23 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

What happens if you try python -S (capital S)? In principle this should 
bypass the need to load site.py. Even if that works we still have a problem to 
solve, but at least it might narrow things down.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12140
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12086] Tutorial doesn't discourage name mangling

2011-05-16 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

But at the least, the start of the para might be slightly reworded to something 
like: If you specifically need to avoid name clashes with subclasses, there is 
limited support... which avoids the phrase Since there is a valid use-case 
for class-private members.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9584] Allow curly brace expansion

2011-05-09 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I've just rebuilt on Windows against tip. test_glob is failing:

test test_glob failed -- Traceback (most recent call last):
  File c:\work-in-progress\python\cpython-9584\lib\test\test_glob.py, line 
135, in test_glob_curly_braces
os.path.join('a', 'bcd', 'efg')]))
  File c:\work-in-progress\python\cpython-9584\lib\test\test_glob.py, line 
53, in assertSequencesEqual_noorder
self.assertEqual(set(l1), set(l2))
AssertionError: Items in the first set but not the second:
'@test_2788_tmp_dir\\a/bcd\\efg'
'@test_2788_tmp_dir\\a/bcd\\EF'
Items in the second set but not the first:
'@test_2788_tmp_dir\\a\\bcd\\EF'
'@test_2788_tmp_dir\\a\\bcd\\efg'

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9584
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11922] Add General Index to Windows .chm help file Contents

2011-04-27 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I can't say I'd object as such, but the [Index] tab already
contains the items in the General Index and is arguably the
killer feature of the CHM in any case.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11922
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10888] os.stat(filepath).st_mode gives wrong 'executable permission' result

2011-04-19 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

FWIW I agree with MvL: os.stat is one of those awkward customers
left over from the idea that Windows could be posix-compliant,
even though the relevant concepts don't actually map particularly
well. ISTM that anyone seriously wanting to determine whether
something's executable or not on Windows is going to have in
mind the precise semantics of a particular use-case and will
employ whatever API calls meet that need. I genuinely don't
believe there's any mileage in shoehorning more and more
corner-cases into os.stat on Windows.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10888
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11750] Mutualize win32 functions

2011-04-03 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

+1

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11750
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7443] test.support.unlink issue on Windows platform

2011-03-27 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

For clarity, while making unlink more robust is no bad thing, the error occurs 
when the unlink *succeeds* but a subsequent create of the same name fails. This 
happens when an indexer, Virus scanner or TortoiseSvn etc. has opened the file 
with SHARE_DELETE. This allows a DeleteFile to succeed but continues to hold an 
open handle on the file. A following test which uses an identically named file 
(such as the global TESTFN) will fail if not enough time has elapsed for the 
background process to release its handle. A good candidate to see this in 
action is the test for tarfile.

I did start to undertake a conversion of TESTFN to a named temporary, but it 
started to sprawl all over the place and came up against a number of corner 
cases (eg where tests deliberately wanted two filenames to be the same) so I 
gave up.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7443
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7443] test.support.unlink issue on Windows platform

2011-03-27 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Well http://bugs.python.org/issue7443#msg102833 outlines the problems I 
encountered while trying to do essentially that. Nothing insurmountable, but 
definitely bigger than simply adding one line of code.

Looks to me like there are two avenues of approach (and, given the chatter on 
this issue, several people willing to address them):

* Patch Py_DeleteFileW in posixmodule.c so that it renames before deleting: 
should solve the problem overall but obviously has a possible wider impact, in 
general and on performance in particular. This rename might be a simple 
rename-to-guid or something more sophisticated such as the rename-to-recycler 
which cygwin uses.

* Patch support.unlink in the test package to do the rename dance on the basis 
that it'll fix at least some of the problems with less impact overall.

Opinions? I'm willing to do either.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7443
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-03-16 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Patch fixes the issue and tests run ok on 3.3 Win7; just building a 2.7 branch 
to test

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10684
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1602] windows console doesn't print utf8 (Py30a2)

2011-01-10 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Reopening as there seems to be some possibility of progress

--
nosy:  -BreamoreBoy
resolution: invalid - 
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1602] windows console doesn't print utf8 (Py30a2)

2011-01-10 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
versions: +Python 3.3 -Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10618] regression in subprocess.call() command quoting

2010-12-04 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I'm not quite sure how anyone's supposed to determine
which bugs are likely to have been worked around and
which haven't :) I'm also unsure why a clear bugfix
shouldn't make it into a minor version release. Surely
this isn't the only one to do so...

I'm happy to repatch/test to strip quotes before adding,
but I see that Benjamin prefers to leave it alone.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10618
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10452] Unhelpful diagnostic 'cannot find the path specified'

2010-11-18 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

It's almost certainly coming straight back from the O/S,
where Python is doing its usual thing of channelling
an O/S error directly. Obviously we could special-case
this or any other specific error; but we usually don't

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10452
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10190] Can argparse._AttributeHolder._get_kwargs become a public API?

2010-10-25 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Removing docs unless this actually becomes a doc issue

--
nosy: +tim.golden -d...@python

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10190
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10190] Can argparse._AttributeHolder._get_kwargs become a public API?

2010-10-25 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee: d...@python - bethard

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10190
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10162] mimetypes read_windows_registry should tolerate permissions errors

2010-10-21 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I've only read the patch and not applied it, yet. But in principle I'm 
+1 on this. If Brian doesn't get there first, I'll try to apply later.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10162
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10092] calendar does not restore locale properly

2010-10-21 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I'm afraid this falls outside my particular area of knowledge, and also 
outside the remit of the bug tracker. Perhaps you could post to 
python-list to see if anyone there can help?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10092
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

If you don't often use the console, then I expect your console settings 
have Insert mode off. (Alt-Space  Properties  Options  Insert Mode [x])

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10165
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10165] char overwrite mode is by default on in Python console under Vista

2010-10-21 Thread Tim Golden
Agree that it's not really up to us; and that it's trivial to change 
once for all future python processes.


As to the left-click blocking, I think that's Quick Edit mode you're 
thinking of, not Insert


TJG
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10092] calendar does not restore locale properly

2010-10-20 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Boštjan, the code segment you quote is the *fallback* if the
C module hasn't been built for some reason. The module simply
calls through to the underlying C Library. I notice you're
running on Windows, so this is a useful MS page:

http://msdn.microsoft.com/en-us/library/x99tb11d%28VS.71%29.aspx

and you can see there that a call of setlocale (LC_ALL, English)
is valid (of French if you prefer):

Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit 
(Intel)] on win32
Type help, copyright, credits or license for more information.
 import locale
 locale.setlocale (locale.LC_ALL, French)
'French_France.1252'


--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10092
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2972] arguments and default path not set in site.py and sitecustomize.py

2010-09-30 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Suggest you raise a separate feature-request issue for that, Geoff, perhaps 
offering the two implementations described. Perhaps raise it it on python-ideas 
first to gauge reactions. I'm +0 myself since it's so easy to do anyway and I 
don't know how common a requirement it would be.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2972
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2972] arguments and default path not set in site.py and sitecustomize.py

2010-09-27 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Merely from a Windows point-of-view, you could get the full
command line fairly easily:

code

import ctypes
pstring = ctypes.windll.kernel32.GetCommandLineW ()
print (ctypes.c_wchar_p (pstring).value)

/code

TJG

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2972
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2972] arguments and default path not set in site.py and sitecustomize.py

2010-09-27 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I'm afraid I don't know; might be worth asking that on the main python mailing 
list.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2972
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9808] Implement os.getlogin on Windows

2010-09-09 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

+1 on the idea in general; I'm away at the moment
and not in a position to review the patch. Hopefully
Brian can review/commit

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9808
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9699
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9699] invalid call of Windows API _popen() generating The input line is too long error message

2010-08-27 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I'll pick this up and try to decide what's best to
do. I'm away from home for a few weeks and have only
intermittent internet access. Thanks, Sorin, for
a reproducible test case.

--
title: invalid call of Windows API _popen() generating The input line is too 
long error message - invalid call of Windows API _popen() generating The input 
   line is too long error message

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9699
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1559298] test_popen fails on Windows if installed to Program Files

2010-08-25 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1559298
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2528] Change os.access to check ACLs under Windows

2010-08-25 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2528
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2889] curses for windows (alternative patch)

2010-08-24 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I have no strong opinion, Roumen, (and no experience with the package) 
but why -1 from you?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2889
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9654] merge PC/getpathp.c into Modules/getpath.c

2010-08-23 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

+1 in principle

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9654
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue798876] windows sys.path contains nonexistant directory

2010-08-20 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
components:  -Interpreter Core
nosy: +tim.golden
versions: +Python 3.1, Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue798876
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1005895] curses for win32

2010-08-19 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

It looks as though issue2889 has a better chance of getting into the VS build 
than this one, which appears to be MingW-based (at a quick glance). I'm loosely 
keen to see it in, although I have no knowledge of curses as such. I'll assign 
it to myself so it appears on my to-do queue but I'm not promising to do 
anything with it immediately. Anyone who feels up to the task, feel free to 
take it off me.

Mark: why do you consider issue1005895 the master, so to speak? I can see more 
mileage in pursuing the other?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1005895
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2889] curses for windows (alternative patch)

2010-08-19 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I'll pick it up for the moment to shepherd it along because I'm reasonably keen 
to see a Windows curses in the stdlib. However, I'm no expert in curses and I 
don't promise to do anything immediate with it.

--
assignee:  - tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2889
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9433] regrtest.py -j 2 doesn't work on Windows: remove close_fds=True on Windows

2010-08-18 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I can confirm that the patched regrtest runs ok on WinXP.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9433
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9627] Regrtest failed to clean up temporary directory

2010-08-17 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

This is usually because the bug mentioned in issue7443 (although it 
could be something else, obviously). It should sort itself out on the 
next run. I'll rerun on my local checkout to see if there real WinXP issues.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9627
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2010-08-16 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
components: +Windows
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1102
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9575] os.listdir() crashes on some long and deep paths in Windows 7

2010-08-13 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Thanks for the feedback. I'll close this for now as works for me. Feel free 
to reopen if you can come up with anything fresh.

--
resolution:  - works for me
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9575
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6609] zipfile: WindowsError [267] The directory name is invalid

2010-08-13 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Closing as won't fix: this would be the same if you had any code which tried 
to do os.mkdir (aux). By way of comparison, Info-ZIP's UnZip returns 
checkdir error: aux exists but is not directory which actually seems less 
useful!

I don't believe it's the responsibility of the zipfile module (or tarfile or 
bz2 or any other) to silently reinterpret the names of files -- how would any 
code in the package expecting aux/code.c cope with the name change?

--
assignee:  - tim.golden
resolution:  - wont fix
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6609
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9584] Allow curly braces in fnmatch

2010-08-13 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I don't see any reason to turn this down except, perhaps, for keeping something 
simple. 

Certainly I don't believe that Windows users will be confused by the fact that 
there are wildcards other than * and ?. fnmatch already implements [] and 
[!] which are not supported on Windows.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9584
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9588] Skip subprocess shell tests on Windows per file association setup

2010-08-13 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Assuming I understand you correctly, could I propose this rather less involved 
patch which simply specifies the sys.executable as part of the command line. 
The test doesn't propose to test file associations and indeed two of the test 
already fill in the executable

--
Added file: http://bugs.python.org/file18511/9588.exec.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9588
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9575] os.listdir() crashes on some long and deep paths in Windows 7

2010-08-12 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
nosy: +tim.golden
versions:  -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9575
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9055] test_issue_8959_b fails when run from a service

2010-08-12 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Fudge-fix committed as r83948, r83958. Not sure what status to set

--
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9055
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-12 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

ReComitted as r83947, r83956, r83957 and this time the buildbots look happy. 
(At least as regards this change).

--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2304
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9575] os.listdir() crashes on some long and deep paths in Windows 7

2010-08-12 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I can't get it crash on a path that short. I can produce an error message if I 
push it beyond the 254 limit, but you can work around that by applying the 
filesystem namespace prefix:

code
import os

path = c:\\ + \\.join (130 * ['xx'])
os.makedirs (path)
#
# will fail more or less violently
#
path = ?\\ + path
os.makedirs (path)
os.listdir (path)

/code

Probably related issues:

http://bugs.python.org/issue9246
http://bugs.python.org/issue4071

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9575
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9575] os.listdir() crashes on some long and deep paths in Windows 7

2010-08-12 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

See: http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx

I tried first with your exact path and it caused no issues on
my Win7 box. FWIW you could easily roll your own os.walk
(starting by copying the code that's there) if you needed
to roll in special-cases.

Could you provide a batch file / Python script which exactly
reproduces the issue and a cut-and-paste of the resulting
traceback. (Unless crash really does mean crash).

Would you be able to narrow the issue down any further: see
if any other paths cause the same issue, or if a longer or
a shorter version of the path is problematic.

TJG

--
title: os.listdir() crashes on some long and deep paths in Windows 7 - 
os.listdir() crashes on some long and deep paths in Windows 7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9575
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1475] test_popen fails when the directory contains a space

2010-08-12 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Fixed by issue2304

--
components:  -Library (Lib), Tests, Windows
nosy: +tim.golden
resolution:  - duplicate
stage:  - committed/rejected
status: open - closed
type:  - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1475
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5484] subprocess.call() fails for .bat files on Windows, if executable path contains parenthesis

2010-08-12 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

OK; issue2304 is now fixed and closed. But it doesn't seem to make any 
difference to this behaviour. I've just retested and I see on py3k the 
behaviour the OP saw. CreateProcess does the same thing and I couldn't even get 
it to work with multiply-nested quotes. So I would maintain it's not a Python 
issue as such.

I'm closing as won't fix and leave it to the OP to reopen if he feels there's 
something which could be done.

--
assignee:  - tim.golden
resolution:  - wont fix
stage: unit test needed - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5484
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9055] test_issue_8959_b fails when run from a service

2010-08-11 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

In the interests of moving this forward, I've committed the one-line removal of 
the assertion in r83948. Hopefully that will bring this buildbot back to life.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9055
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5673] Add timeout option to subprocess.Popen

2010-08-09 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5673
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue949667] setblocking() method on file objects

2010-08-09 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

There are at least two ways to do non-blocking file IO on Windows:

Overlapped I/O
I/O Completion ports

Don't know what's best here, but happy to see what might be achieved
if it was thought worth pursuing.

--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue949667
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

OK, the issue identified by Hirokazu Yamamoto in msg113106 only actually 
affects the 2.x series, because of the awkwardly multiple-level interaction 
between file handles. The io rewrite in 3.x seems not to suffer the same way. 
Nonetheless, the proposed adhok.patch (slightly updated to match the current 
codebase) seems to cover all the cases, and is rather more elegant. So I'll 
revert the C module changes and apply that instead to all branches.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Committed in r83815, r83816, r83817

--
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Committed as r83830, r83831, r83832

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2304
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1714451] subprocess.py problems errors when calling cmd.exe

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Duplicate of #2304

--
resolution:  - duplicate
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1714451
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I can't reproduce on W7. Strangely, though, although my banner suggests that I 
have exactly the same build as you, I get a \r\n at the end of the 
communicate bytestream, not a simple \n as you're getting. Do you have any 
environment variables or Python command-line switches which might be affecting 
anything?

Could you try with python31/26 -E -S just in case, please?

--
assignee:  - tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8631
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8006] os.popen in Python 3.1

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

I've just run this:

code
import os
fd = os.popen(cat.exe, w)

for i in range (100):
  _ = fd.write (%d\n % i)

fd.flush ()

/code

and seen the expected list of numbers on the screen. cat.exe is from the 
gnuwin32 tools but I'm assuming that any equivalent .exe would do as well.

I suspect that the OP's issue may be with buffering, but I'd like to hear back. 
Switching to pending before closing as invalid. If the OP wishes to come back 
with a repeatable failing case I'm quite happy to look at it.

--
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8006
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1759845] subprocess.call fails with unicode strings in command line

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

To confirm the situation on 3.x: a unicode string with non-ascii-encodable 
characters is fine. The easy test here in the uk is a pound sign:

code
import subprocess

FILENAME = abc£.bat
FILENAME.encode (ascii)
#
# UnicodeEncodeError
#
with open (FILENAME, w) as f:
  f.write (echo hello\n)

subprocess.call ([FILENAME])
#
# hello output as expected
#

/code

So no action for 3.x. I'm sympathetic (in principle) to making a change to 2.7 
but I haven't looked over the competing patches and assessed the ins-and-outs.

--
assignee:  - tim.golden
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1759845
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1707753] get status output fix for Win32

2010-08-08 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

OK, I'm going to close this one:

* commands is out of 3.x
* it's a convenience for 2.x anyway, not a showstopper

If anyone feels keen enough to reopen the request, I'm willing to commit a 
suitable patch against the release27-maint branch, but I'm not interested in 
running it up myself.

--
resolution:  - out of date
stage: unit test needed - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1707753
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-06 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Committed in r83759 r83760 r83761

--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7443] test.support.unlink issue on Windows platform

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7443
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4708] os.pipe should return inheritable descriptors (Windows)

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4708
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1714451] subprocess.py problems errors when calling cmd.exe

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1714451
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1681974
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1672853] Error reading files larger than 4GB

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1672853
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1707753] get status output fix for Win32

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1707753
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1142] code sample showing errors reading large files with py 2.5/3.0

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1142
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6609] zipfile: WindowsError [267] The directory name is invalid

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6609
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6839] zipfile can't extract file

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6839
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8006] os.popen in Python 3.1

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8006
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2304] subprocess under windows fails to quote properly when shell=True

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
assignee:  - tim.golden
components: +Windows

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2304
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-06 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Blast. Thanks; I'll have to rework those patches then.

--
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1566260] Better order in file type descriptions

2010-08-06 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

If individual users want to change these around, it's easy enough to do so 
post-hoc. Closing as won't fix.

--
nosy: +tim.golden
resolution:  - wont fix

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1566260
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1566260] Better order in file type descriptions

2010-08-06 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1566260
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-05 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Patch attached with code  test which fixes this within _subprocess.c at least 
for Windows

--
assignee:  - tim.golden
Added file: http://bugs.python.org/file18398/3210.r83741.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-05 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Patch added for 31 branch

--
Added file: http://bugs.python.org/file18399/3210.release31-maint.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-05 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Patch added for 27 branch

--
Added file: http://bugs.python.org/file18400/3210.release27-maint.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3210] subprocess.Popen does not release process handles if process cannot be started

2010-08-05 Thread Tim Golden

Tim Golden m...@timgolden.me.uk added the comment:

Brian, I'm not sure that the test as rewritten will exercise the error.

The key is that the traceback object will prevent the handles
from being finalised until it is itself finalised. After your
change I expect the handles to release anyway since the traceback
is already finalised.

In other words, I'm not testing that an exception is raised (which
is what the with assertRaises would suggest); I'm testing that
*within the lifetime of the exception* it's still possible to
remove the files which were passed as stdin/out/err where it wasn't
previously.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6040] bdist_msi does not deal with pre-release version

2010-08-04 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
nosy: +tim.golden

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6040
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



<    1   2   3   4   5   6   7   >