[issue11926] help("keywords") returns incomplete list of keywords

2011-04-25 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue11926> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11970] distutils command 'upload' crashes when --show-response is selected

2011-05-01 Thread Chris Rose
New submission from Chris Rose : When running distutils like so: .tox/py27/bin/python setup.py -v bdist_egg upload --show-response Eventually, after everything else spools by, this pops up: Using PyPI login from /Users/offline/.pypirc Submitting dist/PyHamcrest-1.5-py2.7.egg to http

[issue11970] distutils command 'upload' crashes when --show-response is selected

2011-05-03 Thread Chris Rose
Chris Rose added the comment: I can see that this is only an error in the 2.7.1 release, and is fixed in distutils on the 2.7 branch (along with other bugs, too, from what I can see.) I'm closing it as invalid, given that. -- resolution: -> invalid status: open -

[issue11970] distutils command 'upload' crashes when --show-response is selected

2011-05-04 Thread Chris Rose
Chris Rose added the comment: No, not 100% sure, but my read of the 2.7 branch code certainly seemed to suggest that it was fixed. in distutil/commands/upload.py: Line 193 gets the response unconditionally as 'r' from the http object Line 201 uses 'r' to show the r

[issue11970] distutils command 'upload' crashes when --show-response is selected

2011-05-04 Thread Chris Rose
Chris Rose added the comment: ... oh, except I'm an idiot, and I think I'm reading tip code there. Yep, I'm an idiot. Okay, but this is still a dupe of #10367 -- resolution: invalid -> duplicate ___ Python tracker <h

[issue11965] Simplify context manager in os.popen

2011-05-05 Thread Chris Rose
Chris Rose added the comment: I'm pretty sure that the os._wrap_close wrapper is not the same thing as the Popen context manager. I don't think it's useful to try refactor this. As Antoine points out, the current wrapper serves a very different purpose. -

[issue12029] ABC registration of Exceptions

2011-05-08 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue12029> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12067] Doc: remove errors about mixed-type comparisons.

2011-05-12 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker <http://bugs.python.org/issue12067> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12076] IDLE v.3.2 crashing randomly on MacOSX 10.6.7

2011-05-14 Thread Chris Paton
New submission from Chris Paton : I don't know much about Python (in fact, I'm a noob) so not understanding much of the technical lingo. I've installed Python 3.2, and Active TCL 8.5.9 on my machine. IDLE crashes at random points - compiling, saving, loading or even just typi

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: I just compiled the zope.interface c speedups with MinGW on Python 2.7 and 2.6. There is a patch being tracked in the MinGW patch tracker <http://sourceforge.net/tracker/index.php?func=detail&aid=2134161&group_id=2435&atid=302435> relate

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: I'm attaching a patch that includes a disclaimer about some extensions not being able to compile and mentioning some of Martin's specifics. I also reorganized the instructions to more directly reflect the current state. This puts the common in

[issue1043134] mimetypes.guess_extension('text/plain') == '.ksh' ???

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: While I agree that getting .ksh is an unfortunate guess, I am not sure how you can guess in the face of many options (especially when the those options are parsed out of a mimetypes file or the windows registry). Perhaps there should be a

[issue6007] distutils tricks you into thinking you can build extensions with mingw

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: Eric, This documentation is "Installing Python Modules" which is focused on Distutils, but presumably we would continue to want such a document and account for both Disutils and Disutils2 (once people start using it). I think my patch add

[issue6799] mimetypes does not give cannonical extension for guess_extension with text/plain

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: This is a dup of #1043134 -- nosy: +lambacck ___ Python tracker <http://bugs.python.org/issue6799> ___ ___ Python-bugs-list m

[issue6434] buffer overflow in Zipfile when wrinting more than 2gig file

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: This should be closed as a dup of #1182788 which the OP identified as being the same bug and which is now fixed due to the implementation. of ZIP64. -- nosy: +lambacck ___ Python tracker <http://bugs.python.

[issue3636] Managing dual 2.x and 3.0 installations on Windows

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: This seems like a normal file association fight, no different than not being able to have both IE and Firefox associated with .html files. #2375 has been rejected, so I don't think it is a relevant superseder. I don't see how this is any diff

[issue7858] os.utime(file, (0, 0, )) fails on on vfat, but doesn't fail immediately

2010-11-20 Thread Chris Lambacher
Chris Lambacher added the comment: win_utime.patch does not apply cleanly on the py3k branch. Adapted, as in the attached win_utime_updated.patch, the solution does fix the problem. I have not added a test because I don't know how to deal with the fat32 requirement in order to cause fa

[issue969718] BASECFLAGS are not passed to module build line

2010-11-21 Thread Chris Lambacher
Chris Lambacher added the comment: I am attaching a preliminary patch to allow override of $(OPT). I am not sure this is sufficient, but am wary of breaking packages that depend on the existing behaviour. The logic indeed seems wrong, but maybe this is something that has to go in

[issue1043134] mimetypes.guess_extension('text/plain') == '.ksh' ???

2010-11-21 Thread Chris Lambacher
Chris Lambacher added the comment: Rafael, There is already a method which returns all the extensions. What is required is a flag (or separate dict) which provides a canonical extension. The questions is whether it is sufficient to rely on the default provided mimetypes for the default in

[issue10087] HTML calendar is broken

2010-11-21 Thread Chris Lambacher
Chris Lambacher added the comment: I have attached a patch that conditionally uses sys.stdout.buffer.write to output binary (encoded) data to stdout. -- nosy: +lambacck Added file: http://bugs.python.org/file19768/calendar_bytes_output.patch

[issue10087] HTML calendar is broken

2010-11-22 Thread Chris Lambacher
Chris Lambacher added the comment: I don't understand what you mean by "elides the line breaks in output". They are still there, you just don't see them as \n because print() is no longer implicitly converting the bytes to a string (which appears to actual

[issue10087] HTML calendar is broken

2010-11-22 Thread Chris Lambacher
Chris Lambacher added the comment: I am attaching a new patch which fixes the majority of the comments raised. 1. Any suggestions about how to test the output of the console program (the case that this bug affects) would be appreciated. 2. Agreed, included in the output for --help 3. Agreed

[issue10087] HTML calendar is broken

2010-11-22 Thread Chris Lambacher
Chris Lambacher added the comment: The test_pydoc method looks workable, but I'll need to come back to it later because I don't have any more time to work on it today. -- ___ Python tracker <http://bugs.python.o

[issue10087] HTML calendar is broken

2010-11-23 Thread Chris Lambacher
Chris Lambacher added the comment: I don't think we *need* to have the encoding in the HTML calendar, but I doubt we could remove it at this point, deprecate maybe, but since I don't use the module I don't have a sense for how often the need for encoding comes up. The one

[issue6703] cross platform failure and silly test in doctest

2010-11-29 Thread Chris Withers
Chris Withers added the comment: What this patch doesn't appear to address is that there doesn't appear to be any point to module_relative. Can anyone clarify what the intention of this option is? (it doesn't appear to have any meaningful point from

[issue8073] Test fail for sha512 -

2010-12-19 Thread Chris Lieb
Chris Lieb added the comment: I don't have any way to test this anymore since they removed pretty much the entire toolchain on that server and I really don't feel like trying to get an entire toolchain built and installed just to

[issue10745] --user option, per user site-packages undocumented in Installing Python Modules document

2010-12-20 Thread Chris Lasher
New submission from Chris Lasher : Python 2.6 saw the introduction of per user site-packages directory for easy installation of Python packages into a guaranteed location in which the user has appropriate permissions. http://bugs.python.org/issue1799 http://www.python.org/dev/peps/pep-0370

[issue10087] HTML calendar is broken

2010-12-20 Thread Chris Lambacher
Chris Lambacher added the comment: Sorry in advance for the long winded response. Ron, have you looked at my patch? The underlying issue is that the semantics for print() between Python 1 and 3. print() does not accept a bytes type in Python 3. In Python 2 str was a "bytes" t

[issue10984] argparse add_mutually_exclusive_group should accept existing arguments to register conflicts

2011-01-22 Thread Chris Lasher
New submission from Chris Lasher : argparse supports registering conflicting arguments, however, it does so in a way that an argument may belong to at most one group of conflicting arguments. The inspiration for this bug is Stack Overflow question #4770576. http://stackoverflow.com/questions

[issue969718] BASECFLAGS are not passed to module build line

2011-02-06 Thread Chris Lambacher
Chris Lambacher added the comment: I am not convinced that the minimal patch would work for my original issue. I wanted to be able to override the -march option which shows up in OPT on Fedora. I was cross-compiling to a target architecture that does not support the -march option so I would

[issue969718] BASECFLAGS are not passed to module build line

2011-02-07 Thread Chris Lambacher
Chris Lambacher added the comment: Antoine said: > I don't understand how you can cross-compile using the host Python > Makefile. Could you explain? The get_config_vars() function parses the host Makefile to get the values that we are discussing overriding. > EXTRA_CFLAGS is

Initialization scope bug?

2011-02-17 Thread Parker, Chris
The following code does not work for some reason in Python 2.6.5 (r265:79063, Jun 9 2010, 16:26:11) [MSC v.1500 32 bit (Intel)] on win32 Apparently, the class's function definition is accepted just fine by Python, however when the function is called during the initialization that follows, the fun

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2008-06-22 Thread Chris Withers
Chris Withers <[EMAIL PROTECTED]> added the comment: Andi, I'm in total agreement with you :-) (so if this bug could get fixed, both issues could get closed) ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2008-06-23 Thread Chris Withers
Chris Withers <[EMAIL PROTECTED]> added the comment: Again, in total agreement with Andi *EXCEPT*: Please use ' ' instead of '\t' for the continuation character. It's the \t that gets mis-rendered by Outlook and Thunderbird (at the very least!) and since '

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2008-06-26 Thread Chris Withers
Chris Withers <[EMAIL PROTECTED]> added the comment: Ori, I do agree with both you and Barry but is there any chance someone could make the one-character change to make the /t a space so we can stop seeing weirdness in common mail clients? Perhaps a separate issue could be raised to re

[issue3224] Small typo in 2.6 what's new

2008-06-27 Thread Chris AtLee
New submission from Chris AtLee <[EMAIL PROTECTED]>: Index: Doc/whatsnew/2.6.rst === --- Doc/whatsnew/2.6.rst(revision 64571) +++ Doc/whatsnew/2.6.rst(working copy) @@ -1284,7 +1284,7 @@ Here are all of the c

[issue3243] Support iterable bodies in httplib

2008-06-30 Thread Chris AtLee
New submission from Chris AtLee <[EMAIL PROTECTED]>: httplib should support requests whose bodies are iterable objects. This would facilitate doing large file uploads via HTTP since you wouldn't have to load the entire file into memory to create the request string. Index: Lib

[issue3244] multipart/form-data encoding

2008-06-30 Thread Chris AtLee
New submission from Chris AtLee <[EMAIL PROTECTED]>: The standard library should provide a way to encode data using the standard multipart/form-data encoding. This encoding is required to support file uploads via HTTP POST (or PUT) requests. Ideally file data could be streamed to the

[issue3249] bug adding datetime.timedelta to datetime.date

2008-07-01 Thread Chris Withers
New submission from Chris Withers <[EMAIL PROTECTED]>: The following demonstrates the problem: >>> from datetime import datetime,timedelta >>> datetime.now().date()+timedelta(hours=1) datetime.date(2008, 7, 1) I'd expect the above to either result

[issue3250] datetime.time does not support arithmetic

2008-07-01 Thread Chris Withers
New submission from Chris Withers <[EMAIL PROTECTED]>: >>> from datetime import time >>> time(9,0)-time(8,0) Traceback (most recent call last): File "", line 1, in TypeError: unsupported operand type(s) for -: 'datetime.time' and 'datet

[issue3249] bug adding datetime.timedelta to datetime.date

2008-07-03 Thread Chris Withers
Chris Withers <[EMAIL PROTECTED]> added the comment: This may be "as documented" but it's *extremely* counter intuitive and seems to go against the grain of where python is headed. (remember that whole struggle to get 3/2 = 1.5 rather 3/2=1? ;-) ) I've changed the

[issue3249] bug adding datetime.timedelta to datetime.date

2008-07-04 Thread Chris Withers
Chris Withers <[EMAIL PROTECTED]> added the comment: Amaury, Yes, I agree with you, and that sucks too. I'd suggest opening another bug for that ;-) For an allegedly nice, shiny, new and perfect module, datetime sure seems to have an awful lot lackin

[issue3250] datetime.time does not support arithmetic

2008-07-04 Thread Chris Withers
Chris Withers <[EMAIL PROTECTED]> added the comment: Hi George, I haven't looked at your patch but that fact that there are no unit tests and you talk about copying and pasting code, I'd suggest this might not be a good patch. Refactor so code is only in one place rather

[issue3722] print followed by exception eats print with doctest

2008-08-29 Thread Chris Withers
New submission from Chris Withers <[EMAIL PROTECTED]>: Here's an example from a python interpreter session: Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for

[issue3722] print followed by exception eats print with doctest

2008-08-29 Thread Chris Withers
Chris Withers <[EMAIL PROTECTED]> added the comment: Here's the full test file. Added file: http://bugs.python.org/file11301/doctestbug.py ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3730] Update BaseHTTPServer docs

2008-08-29 Thread Chris AtLee
New submission from Chris AtLee <[EMAIL PROTECTED]>: The BaseHTTPServer docs don't mention 'server' as an instance variable in the instance variable section for BaseHTTPRequestHandler. It is mentioned in passing a few paragraphs above in the BaseHTTPServer class descripti

[issue3761] urllib.request and urllib.response cannot handle HTTP1.1 chunked encoding

2008-09-02 Thread Chris Leow
New submission from Chris Leow <[EMAIL PROTECTED]>: Hi, fairly new to Python, so not sure if this is something you want as a behaviour or not: urllib.response object when fetching an HTTP1.1 page does not transparently handle "Transfer-Encoding": "chunked", and I thin

[issue3722] print followed by exception eats print with doctest

2008-09-04 Thread Chris Withers
Chris Withers <[EMAIL PROTECTED]> added the comment: Out of interest, where are the doctest docs you quoted? I missed that bit and that disturbs me :-S I'm not sure documenting a bug and trying to explain it away makes it any less of a bug, nonetheless, lets leave this one open a

[issue3671] What's New in 2.6 - corrections

2008-09-05 Thread Chris Lambacher
Chris Lambacher <[EMAIL PROTECTED]> added the comment: In rev66217, the itertools example for "With two iterables, 2N-tuples are returned." has a typo: itertools(product([1,2], [3,4], repeat=2) should be: itertools.product([1,2], [3,4], repeat=2) --

[issue7744] Allow site.addsitedir insert to beginning of sys.path

2010-01-20 Thread Chris Lasher
New submission from Chris Lasher : Would it be possible to add an extra option to site.addsitedir so that it left-appends (inserts at the beginning of the list rather than the end of the list) to sys.path the new path? The use case for this is that sometimes the user has local versions of

[issue7744] Allow site.addsitedir insert to beginning of sys.path

2010-01-20 Thread Chris Lasher
Chris Lasher added the comment: One correction: by "beginning of sys.path", what I really mean is, "the portion of sys.path after the initial ''". I forgot that '', the empty path, should always be at the start of sys.path to ensure that packages and m

[issue7759] mhlib fails on Btrfs filesystem (test_mhlib failure)

2010-01-23 Thread Chris Withers
Chris Withers added the comment: Please can you write a test for your patch? -- nosy: +cjw296 stage: -> test needed ___ Python tracker <http://bugs.python.org/iss

[issue7741] Allow multiple statements in code.InteractiveConsole.push

2010-01-23 Thread Chris Withers
Chris Withers added the comment: Please can you starts a small test suite for the code module that tests the fix you are proposing and include it as another patch? -- nosy: +cjw296 ___ Python tracker <http://bugs.python.org/issue7

[issue7743] Additional potential string -> float conversion issues.

2010-01-23 Thread Chris Withers
Chris Withers added the comment: Out of curiosity, is it possible to write unit tests for any/all of this? > I haven't yet found any examples that cause this crash without bigcomp > enabled. I presume you meant *with* bigcomp enabled? Forgive my lack of knowledge, but why would

[issue7744] Allow site.addsitedir insert to beginning of sys.path

2010-01-23 Thread Chris Withers
Chris Withers added the comment: This sounds like something best taken to the python-ideas mailing list. Can you do that and update the issue with the outcome of any discussion? -- nosy: +cjw296 ___ Python tracker <http://bugs.python.org/issue7

[issue7759] mhlib fails on Btrfs filesystem (test_mhlib failure)

2010-01-24 Thread Chris Withers
Changes by Chris Withers : -- nosy: -cjw296 ___ Python tracker <http://bugs.python.org/issue7759> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7775] str.rpartition(sep) -> (tail, sep, head)

2010-01-24 Thread Chris Withers
New submission from Chris Withers : Can you please provide information about the actual problem you're reporting? -- nosy: +cjw296 ___ Python tracker <http://bugs.python.org/i

[issue7792] Errors registering non-classes with ABCs

2010-01-27 Thread Chris Withers
Chris Withers added the comment: ...and for the second feature, Andrew may wish to look at zope.component, which provides for this already. -- nosy: +cjw296 ___ Python tracker <http://bugs.python.org/issue7

[issue7793] regrtest fails with "RuntimeError: maximum recursion depth exceeded" in some cases

2010-01-27 Thread Chris Withers
Chris Withers added the comment: Can you try and list what the cases are which cause this failure to occur? -- nosy: +cjw296 ___ Python tracker <http://bugs.python.org/issue7

[issue7800] Attributes of type list are static

2010-01-28 Thread Chris Carter
New submission from Chris Carter : The test case at the end of this message seems to indicate that the list is being initialized only once for all wrapper instances. I've tried to find anything about static members in Python and came up empty. I also found no relevant existing

[issue7643] What is a Unicode line break character?

2010-01-28 Thread Chris Carter
Chris Carter added the comment: Then I must ask, why did the string attribute behave differently? I added it to allow for that, and the behavior seems inconsistent. -- nosy: +Chris.Carter ___ Python tracker <http://bugs.python.org/issue7

[issue7643] What is a Unicode line break character?

2010-01-28 Thread Chris Carter
Chris Carter added the comment: My bad, wrong bug. -- ___ Python tracker <http://bugs.python.org/issue7643> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7800] Attributes of type list are static

2010-01-28 Thread Chris Carter
Chris Carter added the comment: Then I must ask, why did the string attribute behave differently? I added it to allow for that, and the behavior seems inconsistent. -- ___ Python tracker <http://bugs.python.org/issue7

[issue7800] Attributes of type list are static

2010-01-28 Thread Chris Carter
Chris Carter added the comment: Ha, fun with language features. Thanks for the detailed explanation. :) -- ___ Python tracker <http://bugs.python.org/issue7

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Chris Rebert added the comment: Working on a more concise new draft... -- ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bugs-list mailin

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Chris Rebert added the comment: Okay; new, hopefully better, draft. Feedback? -- versions: -Python 3.1 Added file: http://bugs.python.org/file16094/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Chris Rebert added the comment: Gonna have to disagree about the raw_input(), because the escaping involved would complicate the example and could be distracting/confusing. Rest of Brian's suggestions taken into account. -- Added file: http://bugs.python.org/file

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file14770/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16094/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Chris Rebert added the comment: Well, the same basic example is used for cohesiveness, but the issue/pitfall being highlighted in each note is distinct. But you have a point about shlex being pointed out twice, so here's a version with that redundancy excised. -- Added file:

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Chris Rebert added the comment: Counterpatch incorporating R. David Murray's succinctness improvements while retaining correct positioning of the first note, managing to incorporate the 3rd note not present in Mr. Murray's, and including more precise wording to address the problem

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file15033/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16095/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Chris Rebert added the comment: This version takes Murray's most recent draft, applies some minor tweaks from my prior patch, and has the "python -c" etc. changed to "echo '$MONEY'" so the sh -c comment is completely unambiguous (and it's a

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16101/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file16109/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-02 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16108/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-04 Thread Chris Rebert
Chris Rebert added the comment: Okay, now if this could just get dev review... -- Added file: http://bugs.python.org/file16128/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-04 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file16109/subprocess.rst.patch ___ Python tracker <http://bugs.python.org/issue6760> ___ ___ Python-bug

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-04 Thread Chris Rebert
Chris Rebert added the comment: Thanks to all for the copious feedback & suggestions, and R. David Murray for his superior docs writing skills! -- ___ Python tracker <http://bugs.python.org/is

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-05 Thread Chris Rebert
Chris Rebert added the comment: One problem with the 3.x versions: the raw_input() should be input(). -- ___ Python tracker <http://bugs.python.org/issue6

[issue8073] Test fail for sha512

2010-03-05 Thread Chris Lieb
New submission from Chris Lieb : I am building Python 2.6.4 with GCC 4.2.1 (SUSE Linux, kernel 2.6.22.19-0.4-default) on a shared server and am encountering test failures in test_hashlib.py and test_hmac.py, specifically concerning sha512. I recompiled Python with --with-pydebug and CLFAGS

[issue8073] Test fail for sha512

2010-03-13 Thread Chris Lieb
Chris Lieb added the comment: Just for reference, I tried applying all of the patches in the SuSE 11.2 source RPM python-2.6.4.92-3.1.src.rpm from http://software.opensuse.org/search?q=python and rebuilding and retesting, but got the same results as using the vanilla Python 2.6.4 sources

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Chris Carter
Chris Carter added the comment: unwatched -- ___ Python tracker <http://bugs.python.org/issue7643> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8200] logging module errors out if log called when multiprocessing module not finished loading

2010-03-22 Thread Chris Jerdonek
New submission from Chris Jerdonek : The logging module errors out if the multiprocessing module is not finished loading when logging.log() is called. This can happen, for example, if a custom import hook is defined that causes third-party code to execute when the multiprocessing module gets

[issue8200] logging module errors out if log called when multiprocessing module not finished loading

2010-03-22 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +vinay.sajip ___ Python tracker <http://bugs.python.org/issue8200> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8200] logging module errors out if log called when multiprocessing module not finished loading

2010-03-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: Reversing the if-else in Florent's suggestion seems to address points (1) and (2). Is there a reason to set and check an mp variable rather than simply having the try-except block? if not logMultiprocessing: self.processName = None else: # E

[issue8200] logging module errors out if log called when multiprocessing module not finished loading

2010-03-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: I agree. Thanks! -- ___ Python tracker <http://bugs.python.org/issue8200> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8200] logging module errors out if log called when multiprocessing module not finished loading

2010-03-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, I verified the fix in my local environment. Thanks again. -- ___ Python tracker <http://bugs.python.org/issue8

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-03-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: I was also hit by this today. For the sake of clarity, I will restate two of the scenarios that have been mentioned in this discussion: (1) An ImportError raised whilst importing a module (original issue) (2) A sub-module not existing. I think the error

[issue8297] AttributeError message text should include module name

2010-04-02 Thread Chris Jerdonek
New submission from Chris Jerdonek : It would be nice if the error message for an AttributeError could include the module name when getting from a module -- just like it does for getting from a class. This would make the message more helpful. For example, it would help in diagnosing issues

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-03 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I think in both cases the error text should state not just what module was > being imported but also what module was being imported from FYI, I filed the following report partly in response to some of the comments I made above: http://bugs.pyth

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-04 Thread Chris Jerdonek
Chris Jerdonek added the comment: This patch implements Michael's suggestion (but not the ErrorHolder part): http://bugs.python.org/issue7559#msg97462 The unit tests all pass with no change. If this approach looks good to you, I can add a unit test to the patch that checks that this bu

[issue1303434] Please include pdb with windows distribution

2010-04-06 Thread Chris Grebeldinger
Chris Grebeldinger added the comment: Hi Martin, As an aside to the request, is the pdb for the python dll currently available anywhere? -- nosy: +cgrebeld ___ Python tracker <http://bugs.python.org/issue1303

[issue8297] AttributeError message text should include module name

2010-04-06 Thread Chris Jerdonek
Chris Jerdonek added the comment: Great -- thanks a lot for taking a stab at this! -- ___ Python tracker <http://bugs.python.org/issue8297> ___ ___ Python-bug

[issue8297] AttributeError message text should include module name

2010-04-06 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- versions: +Python 2.6 ___ Python tracker <http://bugs.python.org/issue8297> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-06 Thread Chris Jerdonek
Chris Jerdonek added the comment: Rietveld link: http://codereview.appspot.com/810044/show This patch changes unittest.TestLoader.loadTestsFromName() so that ImportErrors will bubble up when importing from a module with a bad import statement. Before the method raised an AttributeError

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, David. Sorry about that. The test probably requires one additional level of nesting so that "parts_copy" is not False: +if not parts_copy or not module_not_found:

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-08 Thread Chris Jerdonek
Chris Jerdonek added the comment: FYI, there seems to be a bug in the code cited above: http://twistedmatrix.com/trac/browser/trunk/twisted/python/reflect.py#L382 For example, _importAndCheckStack('package.subpackage.module') raises _NoModuleFound in the following scenario

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-08 Thread Chris Jerdonek
Chris Jerdonek added the comment: Four failing unit tests (context code can use clean-up). -- Added file: http://bugs.python.org/file16819/_patch-7559-4-unittests.diff ___ Python tracker <http://bugs.python.org/issue7

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