Changes by Chris Rebert :
--
nosy: +cvrebert
___
Python tracker
<http://bugs.python.org/issue11926>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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 -
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
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
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.
-
Changes by Chris Rebert :
--
nosy: +cvrebert
___
Python tracker
<http://bugs.python.org/issue12029>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Chris Rebert :
--
nosy: +cvrebert
___
Python tracker
<http://bugs.python.org/issue12067>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
Chris Lambacher added the comment:
This is a dup of #1043134
--
nosy: +lambacck
___
Python tracker
<http://bugs.python.org/issue6799>
___
___
Python-bugs-list m
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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 '
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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)
--
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
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
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
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
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
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
Changes by Chris Withers :
--
nosy: -cjw296
___
Python tracker
<http://bugs.python.org/issue7759>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
Chris Carter added the comment:
My bad, wrong bug.
--
___
Python tracker
<http://bugs.python.org/issue7643>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Chris Carter added the comment:
Ha, fun with language features. Thanks for the detailed explanation. :)
--
___
Python tracker
<http://bugs.python.org/issue7
Chris Rebert added the comment:
Working on a more concise new draft...
--
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bugs-list mailin
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
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
Changes by Chris Rebert :
Removed file: http://bugs.python.org/file14770/subprocess.rst.patch
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bug
Changes by Chris Rebert :
Removed file: http://bugs.python.org/file16094/subprocess.rst.patch
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bug
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:
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
Changes by Chris Rebert :
Removed file: http://bugs.python.org/file15033/subprocess.rst.patch
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bug
Changes by Chris Rebert :
Removed file: http://bugs.python.org/file16095/subprocess.rst.patch
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bug
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
Changes by Chris Rebert :
Removed file: http://bugs.python.org/file16101/subprocess.rst.patch
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bug
Changes by Chris Rebert :
Added file: http://bugs.python.org/file16109/subprocess.rst.patch
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bug
Changes by Chris Rebert :
Removed file: http://bugs.python.org/file16108/subprocess.rst.patch
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bug
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
Changes by Chris Rebert :
Removed file: http://bugs.python.org/file16109/subprocess.rst.patch
___
Python tracker
<http://bugs.python.org/issue6760>
___
___
Python-bug
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
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
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
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
Chris Carter added the comment:
unwatched
--
___
Python tracker
<http://bugs.python.org/issue7643>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Changes by Chris Jerdonek :
--
nosy: +vinay.sajip
___
Python tracker
<http://bugs.python.org/issue8200>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Chris Jerdonek added the comment:
I agree. Thanks!
--
___
Python tracker
<http://bugs.python.org/issue8200>
___
___
Python-bugs-list mailing list
Unsubscribe:
Chris Jerdonek added the comment:
FYI, I verified the fix in my local environment. Thanks again.
--
___
Python tracker
<http://bugs.python.org/issue8
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
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
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
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
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
Chris Jerdonek added the comment:
Great -- thanks a lot for taking a stab at this!
--
___
Python tracker
<http://bugs.python.org/issue8297>
___
___
Python-bug
Changes by Chris Jerdonek :
--
versions: +Python 2.6
___
Python tracker
<http://bugs.python.org/issue8297>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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:
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
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
101 - 200 of 2758 matches
Mail list logo