[issue5162] multiprocessing cannot spawn child from a Windows service

2011-04-11 Thread Brian Curtin
Brian Curtin added the comment: Thanks for the patch! -- assignee: jnoller -> brian.curtin resolution: -> fixed stage: patch review -> committed/rejected ___ Python tracker <http://bugs.python.o

[issue11832] Add option to pause regrtest to attach a debugger

2011-04-11 Thread Brian Curtin
New submission from Brian Curtin : Patch to add -a/--attach option to Lib/test/regrtest.py to pause before beginning test runs. This would allow a user to attach Visual Studio or some other debugger. Very simply, this option just blocks waiting for a keystroke during argument parsing - once

[issue11834] wrong module installation dir on Windows

2011-04-12 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue11834> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11834] wrong module installation dir on Windows

2011-04-12 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue11834> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11832] Add option to pause regrtest to attach a debugger

2011-04-12 Thread Brian Curtin
Brian Curtin added the comment: True. In the end all it does is wait for input not specific to attaching debuggers. How about ``--wait``? I'm used to this functionality being `-x` in another app, so we're iteratively gett

[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-04-13 Thread Brian Bi
Brian Bi added the comment: I discovered this while I was implementing and testing a sandbox for automatic evaluation of programs. -- ___ Python tracker <http://bugs.python.org/issue10

[issue5162] multiprocessing cannot spawn child from a Windows service

2011-04-18 Thread Brian Curtin
Changes by Brian Curtin : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue5162> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8426] multiprocessing.Queue fails to get() very large objects

2011-04-18 Thread Brian Cain
Brian Cain added the comment: Please don't close the issue. Joining aside, the basic point ("But when size = 7279, the data submitted reaches 64k, so the writting thread blocks on the write syscall.") is not clear from the docs, right? IMO, it would be nice if I could ask my qu

[issue11750] Mutualize win32 functions

2011-04-18 Thread Brian Curtin
Brian Curtin added the comment: Here's a patch replacing Modules/_multiprocessing/win32_functions.c and PC/_subprocess.c with a common PC/_windows.c. There's not much to the patch despite its size -- it just shuffles around the C code and does a few renames in the appropriate Pyth

[issue11750] Mutualize win32 functions

2011-04-18 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review stage: -> patch review ___ Python tracker <http://bugs.python.org/issue11750> ___ ___ Python-bugs-list mai

[issue11750] Mutualize win32 functions

2011-04-19 Thread Brian Curtin
Brian Curtin added the comment: For the first point, I just put it there since other Windows-only modules already exist there. _subprocess did, msvcrt and winreg currently do, and there's a few other Windows-only things in there. It's not a big deal, so I can move it into Modules

[issue11878] No SOAP libraries available for Python 3.x

2011-04-19 Thread Brian Curtin
Brian Curtin added the comment: This is something that should be handled on the trackers of any of the external SOAP libraries. If they are ported to Python 3 and are seen as best in class and are willing to move all development into the standard library, then inclusion could be considered

[issue8944] test_winreg.test_reflection_functions fails on Windows Server 2003

2011-04-19 Thread Brian Curtin
Brian Curtin added the comment: I no longer have access to a Server 2003 machine and I don't remember this happening the last few times I worked on that OS so it may have been fixed. If this occurs for anyone else, feel free to reopen. -- resolution: -> rejected stage: nee

[issue10540] test_shutil fails on Windows after r86733

2011-04-19 Thread Brian Curtin
Brian Curtin added the comment: This hasn't been an issue for quite some time, and I suspect the follow-up work on symbolic and hard links and their supporting functions corrected any problems in this area. -- resolution: -> works for me stage: needs patch -> committ

[issue8886] zipfile.ZipExtFile is a context manager, but that is not documented

2011-04-19 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: accepted -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 3.1 ___ Python tracker <http://bugs.python.o

[issue11864] sporadic failure in test_concurrent_futures

2011-04-20 Thread Brian Quinlan
Brian Quinlan added the comment: It looks like the timing is too sensitive. -- assignee: -> bquinlan ___ Python tracker <http://bugs.python.org/issu

[issue11891] Poll call in multiprocessing/forking.py is not thread safe. Results in "OSError: [Errno 10] No child processes" exceptions.

2011-04-20 Thread Brian Curtin
Changes by Brian Curtin : -- type: crash -> behavior versions: -Python 2.5, Python 2.6, Python 3.4 ___ Python tracker <http://bugs.python.org/issue11891> ___ _

[issue11891] Poll call in multiprocessing/forking.py is not thread safe. Results in "OSError: [Errno 10] No child processes" exceptions.

2011-04-20 Thread Brian Curtin
Brian Curtin added the comment: 2.6 is only receiving security fixes at the moment, so it won't make it into there. -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/is

[issue11891] Poll call in multiprocessing/forking.py is not thread safe. Results in "OSError: [Errno 10] No child processes" exceptions.

2011-04-20 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed versions: -Python 3.4 ___ Python tracker <http://bugs.python.or

[issue11834] wrong module installation dir on Windows

2011-04-26 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11834> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11939] Implement stat.st_dev and os.path.samefile on windows

2011-04-27 Thread Brian Curtin
Brian Curtin added the comment: I created/assigned #10646 to myself for other samefile issues - I can cover this as well unless someone beats me to it. -- assignee: -> brian.curtin nosy: +brian.curtin stage: -> needs patch versions: +Pyth

[issue11951] Mac OSX IDLE 3.2 does not allow entering text into toolbar windows (such as the help search box) unless all shells are closed or minimized

2011-04-28 Thread Brian Buckley
Changes by Brian Buckley : -- components: IDLE nosy: Brian.Buckley priority: normal severity: normal status: open title: Mac OSX IDLE 3.2 does not allow entering text into toolbar windows (such as the help search box) unless all shells are closed or minimized type: feature request

[issue11951] Mac OSX IDLE 3.2 does not allow entering text into toolbar windows (such as the help search box) unless all shells are closed or minimized

2011-04-28 Thread Brian Buckley
New submission from Brian Buckley : text enters directly to the window closest to the front rather than to the selected text box. -- Added file: http://bugs.python.org/file21830/Screen shot 2011-04-28 at 5.07.07 PM.png ___ Python tracker <h

[issue11832] Add option to pause regrtest to attach a debugger

2011-04-28 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Brian Curtin
Brian Curtin added the comment: > I'm not confident to start using this build until I can pin down why eg > test_argparse and test_import are failing. Feel free to look into the failures in Lib/test/test_argparse.py and Lib/test/test_import.py -- nosy: +b

[issue11344] Add os.path.splitpath(path) function

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11344> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11955] 3.3 : test_argparse.py fails 'make test'

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Tests -Build type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue11955> ___ ___ Python-bugs-lis

[issue11956] 3.3 : test_import.py causes 'make test' to fail

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Tests -Build type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue11956> ___ ___ Python-bugs-lis

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- components: +Tests -Build nosy: -brian.curtin type: crash -> behavior versions: +Python 3.3 -Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue11954] 3.3 - 'make test' fails

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue11954> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Brian Curtin
New submission from Brian Curtin : Attached is a patch that adds documentation for a few things that have existed in subprocess for a while without documentation. The "startupinfo" parameter takes subprocess.STARTUPINFO object which takes a few different options for its attributes

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2011-04-29 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> brian.curtin nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11361> ___ ___ Python-bugs-list mai

[issue11961] Document STARTUPINFO and creationflags options for Windows

2011-04-29 Thread Brian Curtin
Brian Curtin added the comment: Thanks for having a look, Ezio. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11972] input does not strip a trailing newline correctly on Windows

2011-05-01 Thread Brian Curtin
Brian Curtin added the comment: Duplicate of #11642, #11272, and #11278. This is fixed. It'll be released in 3.2.1 -- nosy: +brian.curtin resolution: -> duplicate stage: -> committed/rejected ___ Python tracker <http://bugs.python.

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-03 Thread Brian Quinlan
Brian Quinlan added the comment: Under what circumstances do we expect a ProcessPoolExecutor child process to be killed outside of the control of the ProcessPoolExecutor? If the user kills a child then maybe all we want to do is raise an exception rather than deadlock as a convenience

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-05-03 Thread Brian Quinlan
Brian Quinlan added the comment: > Killed by the user, or by an automatic device (such as the Linux OOM > killer), or crashed. Crashed would be bad - it would indicate a bug in the ProcessPoolExecutor code. > >> If the user kills a child then maybe all we want to do is raise

[issue11834] wrong module installation dir on Windows

2011-05-03 Thread Brian Curtin
Brian Curtin added the comment: Thanks for the patches and reviews! -- assignee: -> brian.curtin resolution: -> fixed stage: needs patch -> committed/rejected type: -> behavior ___ Python tracker <http://bugs.python

[issue11834] wrong module installation dir on Windows

2011-05-04 Thread Brian Curtin
Changes by Brian Curtin : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue11834> ___ ___ Python-bugs-list mailing list Unsubscri

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

2011-05-06 Thread Brian Curtin
Brian Curtin added the comment: On XP, os.path.samefile is really "os.path.abspath(x) == os.path.abspath(y)", which does not work correctly with different cases. We could add a ".lower()" to line 657 of Lib/ntpath.py so the abspath is always returned in lower, so the XP

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

2011-05-06 Thread Brian Curtin
Brian Curtin added the comment: I don't have time to test it at the moment, but it seems fine to me. -- ___ Python tracker <http://bugs.python.org/is

[issue12018] No tests for ntpath.samefile, ntpath.sameopenfile

2011-05-06 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue12018> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-09 Thread Brian Curtin
Brian Curtin added the comment: Seems like it would be enough to add a wait() at the end? diff -r 9e473917cbfb Lib/subprocess.py --- a/Lib/subprocess.py Mon May 09 21:17:02 2011 +0200 +++ b/Lib/subprocess.py Mon May 09 15:30:02 2011 -0500 @@ -796,6 +796,7 @@ self.stderr.close

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-09 Thread Brian Curtin
Brian Curtin added the comment: Actually, I don't think the wait() is a good idea. If you want to block and infinitely wait on the process to close, you should do so explicitly. It's probably better that we try to use terminate() or kill() and raise if t

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-09 Thread Brian Curtin
Brian Curtin added the comment: Hm, yeah, not sure what I was thinking there. I'm thinking there's not a lot we can do here, but also not a lot that we should do here. We don't want to wait, and we don't want to close, so maybe we should just document that the usage shoul

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-09 Thread Brian Curtin
Brian Curtin added the comment: Looks like we already mention that. """ Popen objects are supported as context managers via the with statement, closing any open file descriptors on exit. """ Antoine, do you think this should be more strongly worded?

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-05-10 Thread Brian Curtin
Brian Curtin added the comment: Issues with Regexp should probably be handled on the Regexp tracker. -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue2

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Brian Curtin
Brian Curtin added the comment: Are you able to narrow it down to which security update(s) caused the breakage? -- ___ Python tracker <http://bugs.python.org/issue6

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Brian Curtin
Brian Curtin added the comment: Don't do anything you're not comfortable with. If you can get your system to whatever state it was in the past where things worked properly, feel free to dig into it. I will try to look into this situation and see if there's anything in these s

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Brian Curtin
Brian Curtin added the comment: Out of the patches listed, http://www.microsoft.com/technet/security/advisory/2269637.mspx is the only part that appears to be related in any way, although it doesn't specify a whole lot on the surface. The title is "Insecure Library Loading Could Al

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

2011-05-16 Thread Brian Curtin
Brian Curtin added the comment: Hirokazu contacted me directly with these patches a few days ago but I haven't been able to email him because his host's DNS is apparently down. The tests in this patch do not end up testing anything, so we'll need to start with a proper tes

[issue11990] redirected output - stdout writes newline as \n in windows

2011-05-16 Thread Brian Curtin
Brian Curtin added the comment: That's already fixed, it'll be in 3.2.1 -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11990> ___ __

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

2011-05-16 Thread Brian Curtin
Brian Curtin added the comment: Looks like I was referring to a different patch from the email - sorry for any confusion. -- ___ Python tracker <http://bugs.python.org/issue12

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

2011-05-16 Thread Brian Curtin
Changes by Brian Curtin : -- Removed message: http://bugs.python.org/msg136132 ___ Python tracker <http://bugs.python.org/issue12084> ___ ___ Python-bugs-list m

[issue6727] ImportError when package is symlinked on Windows

2011-05-17 Thread Brian Curtin
Brian Curtin added the comment: Wow, nice analysis. http://connect.microsoft.com/ is the external Microsoft bug tracker, as far as I know. -- ___ Python tracker <http://bugs.python.org/issue6

[issue11702] dir on return value of msilib.OpenDatabase() crashes python

2011-05-17 Thread Brian Curtin
Brian Curtin added the comment: If we can generate a testable MSI file that would be the best. Including a very small pre-generated MSI for the purposes of the test would be acceptable. As-is, the tests don't pass because my machine has C:\Windows\installer\1032f.msi that gets used fo

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

2011-05-18 Thread Brian Curtin
Brian Curtin added the comment: I'm hoping to. I have time to work on it tonight and tomorrow night US/Chicago time and will keep you posted. -- assignee: -> brian.curtin ___ Python tracker <http://bugs.python.org

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

2011-05-18 Thread Brian Curtin
Brian Curtin added the comment: With the patch applied, the new test fails along with test.test_os.WalkTests.test_traversal and test.test_os.Win32SymlinkTests.test_directory_link. Overall, I agree that this doesn't work correctly. The patch, which is pretty large, breaks more than it

[issue12104] os.path.join('/some/path', '') adds extra slash at end of result

2011-05-19 Thread Brian Curtin
Brian Curtin added the comment: This is intentional. See the implementation of join in Lib/posixpath.py and the Windows implementation in Lib/ntpath.py which also includes a comment explaining why. # path is not empty and does not end with a backslash, # but b is empty; since, e.g., split(&#

[issue11455] issue a warning when populating a CPython type dict with non-string keys

2011-05-20 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue11455> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12130] regex 0.1.20110514 findall overlapped not working with 'start of string' expression

2011-05-20 Thread Brian Curtin
Brian Curtin added the comment: Please report this to the regex bug tracker. -- nosy: +brian.curtin resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue6560] socket sendmsg(), recvmsg() methods

2011-05-21 Thread Brian May
Brian May added the comment: What needs to happen to get recvmsg() supported in Python? recvmsg() is required to get get transparent UDP proxies working under Linux using tproxy, the code needs to run recvmsg() to be able to find out what the original destination address was for the the

[issue8886] zipfile.ZipExtFile is a context manager, but that is not documented

2010-11-17 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r86506 for py3k. The maintenance branches recently had an RC in preparation for a release -- I'll backport once they go out. -- assignee: -> brian.curtin nosy: +brian.curtin resolution: -> accepted type: feature request ->

[issue10183] test_concurrent_futures failure on Windows

2010-11-18 Thread Brian Quinlan
Brian Quinlan added the comment: Would you include the entire output of the test run? -- ___ Python tracker <http://bugs.python.org/issue10183> ___ ___ Python-bug

[issue10183] test_concurrent_futures failure on Windows

2010-11-18 Thread Brian Quinlan
Brian Quinlan added the comment: Could you try rerunning the tests with the attached patch? It could be that your machines are just terribly slow at starting new Python instances. -- keywords: +patch Added file: http://bugs.python.org/file19636/timing.patch

[issue10183] test_concurrent_futures failure on Windows

2010-11-19 Thread Brian Quinlan
Brian Quinlan added the comment: Could you try with the patch that I just attached? And thanks for you help, I really appreciated it! -- Added file: http://bugs.python.org/file19645/timing2.patch ___ Python tracker <http://bugs.python.

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-11-19 Thread Brian Curtin
Brian Curtin added the comment: joblack - are you still seeing issues with this? -- ___ Python tracker <http://bugs.python.org/issue10002> ___ ___ Python-bug

[issue10437] ThreadPoolExecutor should accept max_workers=None

2010-11-19 Thread Brian Quinlan
Brian Quinlan added the comment: Daniel, I wasn't trying to avoid importing multiprocessing. What's your use case though? I think that defaulting the number of threads to the numbers of CPUs would trick users into believing that threads are useful for CPU-intensive work

[issue10183] test_concurrent_futures failure on Windows

2010-11-19 Thread Brian Quinlan
Brian Quinlan added the comment: Fixed in r10183 -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue10183> ___ __

[issue8705] shutil.rmtree with empty filepath

2010-11-19 Thread Brian Curtin
Brian Curtin added the comment: This can't actually work. You can't delete a directory which has open handles to it on Windows, namely the Python process you're running in that directory. The empty file path isn't really the issue here. shutil.rmtree(os.getcwd()) attempt

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-11-20 Thread Brian Curtin
Brian Curtin added the comment: I'm not sure how that would work in terms of redistributing, and how we'd handle it within our own build process. This close to the beta I'm -1 on adding that API. -- ___ Python tracker <http

[issue10469] test_socket fails

2010-11-20 Thread Brian Curtin
Brian Curtin added the comment: Daniel: If you need VS2008, you can get it here: http://www.microsoft.com/express/Downloads/#2008-Visual-CPP -- ___ Python tracker <http://bugs.python.org/issue10

[issue7506] multiprocessing.managers.BaseManager.__reduce__ references BaseManager.from_address

2010-11-20 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +asksol ___ Python tracker <http://bugs.python.org/issue7506> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8569] Upgrade OpenSSL in Windows builds

2010-11-20 Thread Brian Curtin
Brian Curtin added the comment: Closing - OpenSSL was upgraded to version 1.0.0a a few months ago. -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue8569] Upgrade OpenSSL in Windows builds

2010-11-20 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> committed/rejected ___ Python tracker <http://bugs.python.org/issue8569> ___ ___ Python-bugs-list mailing list Unsubscri

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker <http://bugs.python.org/issue4925> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10437] ThreadPoolExecutor should accept max_workers=None

2010-11-20 Thread Brian Quinlan
Brian Quinlan added the comment: I think that using the number of CPUs for max_workers makes sense for you but won't for most users. So I wouldn't make it a default. -- ___ Python tracker <http://bugs.python.o

[issue9099] multiprocessing/win32: WindowsError: [Error 0] Success on Pipe()

2010-11-21 Thread Brian Curtin
Brian Curtin added the comment: Can you provide a test case for this? -- nosy: +asksol, brian.curtin stage: -> unit test needed ___ Python tracker <http://bugs.python.org/iss

[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2010-11-21 Thread Brian Curtin
Brian Curtin added the comment: I don't think this is a feature request. This batch file should always run the version of the file for which the batch is installed. For it to be generic and end up using another installed version is incorrect. With that said... Fixed in r86651, r86652

[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2010-11-21 Thread Brian Curtin
Brian Curtin added the comment: True. I'll correct it. -- ___ Python tracker <http://bugs.python.org/issue6378> ___ ___ Python-bugs-list mailing list Unsubsc

[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2010-11-21 Thread Brian Curtin
Brian Curtin added the comment: Corrected in r86655, r86656, and r86657. -- ___ Python tracker <http://bugs.python.org/issue6378> ___ ___ Python-bugs-list mailin

[issue10496] "import site failed" when Python can't find home directory

2010-11-21 Thread Brian Bi
New submission from Brian Bi : This bug is Linux-specific. When Python cannot find the home directory of the user invoking it, it prints "'import site' failed; use -v for traceback". This occurs only when both of these conditions are met: 1. /etc/passwd contains no entry

[issue7645] test_distutils fails on Windows XP

2010-11-21 Thread Brian Curtin
Brian Curtin added the comment: The addition of the Setup.sample to Tools/msi/msi.py was only done in 3.2. I backported it to 3.1 in r8 and 2.7 in r86667. -- assignee: tarek -> brian.curtin nosy: +brian.curtin resolution: -> fixed stage: -> committed/rejected sta

[issue10496] "import site failed" when Python can't find home directory

2010-11-21 Thread Brian Bi
Brian Bi added the comment: This bug is Linux-specific. When Python cannot find the home directory of the user invoking it, it prints "'import site' failed; use -v for traceback". This occurs only when both of these conditions are met: 1. /etc/passwd contains no entry

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

2010-11-21 Thread Brian Curtin
Brian Curtin added the comment: I'm with Tim and Mark - can't reproduce this, so I'm closing the report. If you are able to find another case which can reproduce this, feel free to re-open. -- resolution: -> rejected stage: -> committed/rejected status: open

[issue10510] distutils.command.upload/register HTTP message headers: bad line termination

2010-11-22 Thread Brian Jones
New submission from Brian Jones : In trying to write a PyPI service, I of course need to support the registration and upload features of setup.py, which uses distutils for those actions. One thing making this a bit more difficult than need be is the fact that distutils.command.register and

[issue10510] distutils.command.upload/register HTTP message headers: bad line termination

2010-11-23 Thread Brian Jones
Brian Jones added the comment: In truth, I don't personally know if the other PyPI server implementations also have to work around this issue. Other comments on that are welcome. As for my own implementation, I've implemented a workaround to this, but I'm working around and

[issue1859] textwrap doesn't linebreak on "\n"

2010-11-23 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -phillip.m.feld...@gmail.com ___ Python tracker <http://bugs.python.org/issue1859> ___ ___ Python-bugs-list mailing list Unsub

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-11-24 Thread Brian Curtin
Brian Curtin added the comment: Committed to py3k in r86727. I think this should be backported to the maintenance branches, but not until after the upcoming point releases. Although those branches won't have the ability to create hard links, they should have the ability to view inform

[issue8879] Implement os.link on Windows

2010-11-24 Thread Brian Curtin
Brian Curtin added the comment: Removing link to #10027. It's fixed for py3k but the issue should stay open for backport to other branches. -- dependencies: -os.lstat/os.stat don't set st_nlink on Windows resolution: -> fixed ___ P

[issue8879] Implement os.link on Windows

2010-11-24 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r86733. -- stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue8879] Implement os.link on Windows

2010-11-25 Thread Brian Curtin
Brian Curtin added the comment: I'll come up with a patch for Amaury's message. Hirokazu - I didn't see that MSDN page, thanks. Without st_ino, I'll need to find a way around the block of lines 1941-1954 in Lib/tarfile.py. That's what was causing a test failure in t

[issue10510] distutils upload/register should use CRLF in HTTP requests

2010-11-26 Thread Brian Jones
Brian Jones added the comment: Sure. I'll create a patch in the next few days and submit it. Thanks for the link to the guidelines. :) -- ___ Python tracker <http://bugs.python.org/is

[issue10510] distutils upload/register should use CRLF in HTTP requests

2010-11-26 Thread Brian Jones
Brian Jones added the comment: So... have I missed a memo, or is it currently impossible to test the current svn version of distutils in the current svn version of Python? The tests for (at least) register and upload are written using Python 2.x syntax and modules. How are new features and

[issue10510] distutils upload/register should use CRLF in HTTP requests

2010-11-26 Thread Brian Jones
Brian Jones added the comment: If it's not a bug in distutils1, I imagine it will not be a bug in distutils2, since that will also presumably work with PyPI, and PyPI will be the single solitary supported implementation of the service? I also don't see distutils2 in this

[issue10540] test_shutil fails on Windows after r86733

2010-11-26 Thread Brian Curtin
New submission from Brian Curtin : My build slave shows a test failure at test_dont_copy_file_onto_link_to_itself. This happens because the implementation of _samefile in Lib/shutil.py (line 70) doesn't work for Windows hard links. Patch on the way. -- assignee: brian.c

[issue10540] test_shutil fails on Windows after r86733

2010-11-26 Thread Brian Curtin
Brian Curtin added the comment: Here is a patch. os.path.samefile and hard links don't work for Windows the same way they do for Mac/Linux. In the case where we are on Windows and a link comes into the _samefile function, check that it's a link and then use os.path.sameopenfile. I

[issue8110] subprocess.py doesn't correctly detect Windows machines

2010-11-28 Thread Brian Curtin
Brian Curtin added the comment: Jeff Hardy just made this change for IronPython 2.7: http://bitbucket.org/ironpython/ironlanguages/changeset/b6bb2a9a7bc5 Any opposition to us matching that so they don't need to patch Lib/subproce

[issue8879] Implement os.link on Windows

2010-11-28 Thread Brian Curtin
Brian Curtin added the comment: Amaury -- how does issue8879_unicode.diff look? Made the suggested change and added a test. -- stage: committed/rejected -> patch review Added file: http://bugs.python.org/file19862/issue8879_unicode.diff ___ Pyt

[issue8879] Implement os.link on Windows

2010-11-28 Thread Brian Curtin
Brian Curtin added the comment: Committed in r86854 with your win32_error suggestion. Thanks for your help and input. -- ___ Python tracker <http://bugs.python.org/issue8

[issue8879] Implement os.link on Windows

2010-11-28 Thread Brian Curtin
Brian Curtin added the comment: Maybe the test should be Windows-only? I don't really know the answer...things tend to fall apart when I get involved with Unicode, encoding, codecs, etc. :/ -- ___ Python tracker <http://bugs.python.org/i

<    1   2   3   4   5   6   7   8   9   10   >