On Tue, Aug 3, 2010 at 10:14 AM, Guido van Rossum wrote:
> What are the use cases for co_firstlineno? Even if it is for
> displaying the source code, I can find virtue for both sides of this
> argument.
nose uses co_firstlineno to determine order of the test functions and
decorating a test funct
On Fri, Apr 16, 2010 at 12:57 AM, Alex Gaynor wrote:
> Hi all,
>
> I ran into the follow behavior while making sure Django works
> correctly on PyPy. The following behavior was observed in all tested
> versions of CPython (2.5, 3.1):
>
def f(**kwargs):
> ... print(kwargs)
> ...
kwar
On Wed, Feb 11, 2009 at 1:45 PM, Mitchell L Model wrote:
> I have a patch for IDLE, but I've never submitted a patch before and not
> quite sure of the procedure, despite reading the guidelines at
> http://www.python.org/dev/patches/. But I'll be brave and persevere. The
> question I have at the m
>> The attached patch is compatible with both the 2.x and the 3.x
>> branches; it adds a `unique_sects` parameter to the constructor of
>> RawConfigParser and a test in the parser loop that raises
>> DuplicateSectionError if a section is seen more then once and that
>> unique_sects is True.
http:/
On Thu, Oct 30, 2008 at 11:55 AM, Paul Moore <[EMAIL PROTECTED]> wrote:
> I just did a quick experiment, checking for trivial documentation
> patches I could review, and some things became obvious:
>
> 1. There is no way of telling which issues have a patch.
There is a "patch" keyword that is usu
> > Are there any mailing lists associated with this project? I looked at
> > google code page but couldn't find any.
>
> Not yet. Do you want me to create a Google group for it?
I think that will be very useful.
___
Python-Dev mailing list
Python-D
On Mon, May 5, 2008 at 12:28 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> None of these seem insurmountable, so now that it's open source, I'm
> looking forward to contributions.
Are there any mailing lists associated with this project? I looked at
google code page but couldn't find any.
On Wed, Apr 30, 2008 at 2:07 PM, Trent Nelson <[EMAIL PROTECTED]> wrote:
>
> > This one will not work.
> >
> > >>> 'windows' in System.getProperty('os.name').lower()
> > Traceback (innermost last):
> > File "", line 1, in ?
> > TypeError: string member test needs char left operand
> > >>>
On Wed, Apr 30, 2008 at 1:42 PM, Trent Nelson <[EMAIL PROTECTED]> wrote:
> > if os.name == "nt":
> > _socketmethods = _socketmethods + ('ioctl',)
> > +_is_windows = True
> > +elif os.name == 'java':
> > +from java.lang import System
> > +_is_windows = 'windows' in System.getP
On Sat, Apr 5, 2008 at 1:22 PM, Trent Nelson <[EMAIL PROTECTED]> wrote:
> Nod, if SO_EXCLUSIVEADDRUSE is used instead in the code I posted, Windows
> raises EADDRINUSE on the second bind(). I don't have access to any Linux
> boxes at the moment, so I can't test what sort of error is raised wit
> > Renaming it is easy. To the native speakers reading it: What should
> > it be called? (please try to come up with something shorter than
> > "request for enhancement")
> >
>
> "feature request"?
How about calling it just "enhancement"?
___
Pytho
On Feb 6, 2008 2:54 PM, Joseph Armbruster <[EMAIL PROTECTED]> wrote:
> - went to bugs.python.org
> - clicked search (on the lhs of the page)
> - typed in josepharmbruster as creator
> - clicked search
>
> I will create an issue if deemed necessary.
>
> Joseph Armbruster
>
> exceptions.KeyError:
Hi,
When an exception occurs in a function, SimpleXMLRPCServer currently sends
exception type and value back to the client (in ) . So the
client sees some thing like:
"':invalid literal for int() with base 10"
This string is constructed in _marshaled_dispatch() as ""%s:%s" % (exc_type,
exc_value
On 9/13/07, Facundo Batista <[EMAIL PROTECTED]> wrote:
> http://www.taniquetil.com.ar/facundo/py_tickets.html
It looks like the column "Opened by" contains information for "Last
update by" and vice versa. At least, that is the case with issue
1159.
Thanks,
Raghu
___
On 6/1/07, Georg Brandl <[EMAIL PROTECTED]> wrote:
> Raghuram Devarakonda schrieb:
> > There is an entry in "Core and builtins" section of Misc/NEWS:
> >
> > "Bug #1722484: remove docstrings again when running with -OO.".
> >
> > The actu
There is an entry in "Core and builtins" section of Misc/NEWS:
"Bug #1722484: remove docstrings again when running with -OO.".
The actual bug is 1722485. Incidentally, 1722484 appears to be spam.
___
Python-Dev mailing list
Python-Dev@python.org
http://
On 5/31/07, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> > In other words this email is to hopefully inspire someone to remove
> > the uses
> > of rfc822, mimetools, and multifile from the stdlib so the
> > DeprecationWarnings can finally go in.
>
> +1 for deprecating these. I don't have time to slog
Hi,
I uploaded couple of patches to fix bugs.
1) http://www.python.org/sf/1720897 to fix the bug 668596 (distutils
chops the first character of filenames).
2) http://www.python.org/sf/1713041 to fix the bug 1712742 (pprint
handles depth argument incorrectly).
Both the patches are extremely smal
On 5/1/07, Scott Dial <[EMAIL PROTECTED]> wrote:
> The cygwin implementation of rename goes like this:
>
> 1) Try to use MoveFile
> 2) Try to use MoveFileEx(..., MOVEFILE_REPLACE_EXISTING)
> 3) Try to unlink destination, then try to use MoveFile
>
> And as you say, Cygwin claims it meets POSIX.1.
On 4/30/07, Andrew Bennetts <[EMAIL PROTECTED]> wrote:
> Does MOVEFILE_REPLACE_EXISTING mean the rename over an existing file is
> actually
> atomic? I cannot find any MSDN docs that say so (and I've seen some that
> suggest to me that it probably isn't).
Even though MSDN docs do not say it exp
Hi,
I have submitted a patch (http://www.python.org/sf/1704547) that
allows os.rename to replace the destination file if it exists, on
windows. As part of discussion in the tracker, Martin suggested that
python-dev should discuss the change.
Currently, os.rename() on windows uses the API MoveFile
On 4/28/07, Calvin Spealman <[EMAIL PROTECTED]> wrote:
> Index: test_os.py
> ===
> --- test_os.py (revision 54982)
> +++ test_os.py (working copy)
> @@ -6,6 +6,7 @@
> import unittest
> import warnings
> import sys
> +import tempfi
Hi,
The following two bugs can be closed with possible document update. I
have put my suggestions for doc changes in the SF tracker.
--
http://python.org/sf/1615275 - tempile.TemporaryFile differences
between linux and windows
http://python.org/sf/1633941 - for line in sys.stdin: doesn't
On 4/13/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > I didn't find getbuildinfo2.c in the source. Can some one tell me if
> > I am missing some thing here? Are there any additional steps need to
> > follow on windows?
>
> It's a generated file. Search all build description files for that
Hi,
I am trying to build latest python on Windows XP and ran into the
following error:
"c1 : fatal error C1083: Cannot open source file: '.\getbuildinfo2.c':
No such file or directory"
I am using Visual C++ 2005 Express Edition to build. I opened
"PCbuilld8/pcbuild.sln" and did a "release" buil
On 4/2/07, Facundo Batista <[EMAIL PROTECTED]> wrote:
> I launch openssl through subprocess, but I do *not* find a way to tell
> him to quit serving, so all I can do is to kill the process (through the
> pid from the Popen object).
>
> The problem is that os.kill only works in Unix and Macintosh.
On 3/29/07, Raghuram Devarakonda <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am looking into the issue http://python.org/sf/1615275 (suggested by
> Neal) and added a comment there. I would appreciate it if some one can
> check it out and comment on it. Basically, I am wonderi
Hi,
I am looking into the issue http://python.org/sf/1615275 (suggested by
Neal) and added a comment there. I would appreciate it if some one can
check it out and comment on it. Basically, I am wondering if
TemporaryFile() should return a wrapper instance (with "file" member)
just like NamedTemp
On 1/18/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> Neal Norwitz schrieb:
> > http://python.org/sf/1637022 points out a problem caused by the lack
> > of a _Py prefix on Ellipsis. Most (all?) of the new AST names are not
> > prefixed. These are all meant to be internal names. Are there an
29 matches
Mail list logo