Brian Curtin added the comment:
Seems reasonable.
Additionally, the block about time.strftime not utilizing date related formats
(line 1514 in the patched file) can be removed. It has worked for a long time
(forever?).
>>> time.strftime("%Y-%m-%d %H:%M:%S", time.localtim
Changes by Brian Curtin :
--
priority: -> normal
stage: -> needs patch
versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6
___
Python tracker
<http://bugs.python.org/
Brian Curtin added the comment:
This has come up recently and Martin's approach seems to work. I updated his
patch for trunk, and test_popen passes when I run it with and without a space
in the path.
Russ Gibson's suggestion was already applied to test_popen, so the only code
ch
Brian Curtin added the comment:
Here is a py3k version of the previous patch. os.popen is implemented using
subprocess.Popen, so the quoting change was made there.
--
Added file: http://bugs.python.org/file15886/issue1559298_py3k.diff
___
Python
Changes by Brian Curtin :
Removed file: http://bugs.python.org/file15324/issue7301_v2.patch
___
Python tracker
<http://bugs.python.org/issue7301>
___
___
Python-bug
Changes by Brian Curtin :
Removed file: http://bugs.python.org/file15322/issue7301.patch
___
Python tracker
<http://bugs.python.org/issue7301>
___
___
Python-bugs-list m
Brian Curtin added the comment:
fixed a tab/space issue
--
Added file: http://bugs.python.org/file15889/issue7301.diff
___
Python tracker
<http://bugs.python.org/issue7
Brian Curtin added the comment:
assertStr and assertUnicode don't exist in test_ntpath so the tests fail on
Windows. I copied/pasted the functions over from test_posixpath just to see and
test_ntpath passes. Other than that, it looks good
Brian Curtin added the comment:
You should use assertFalse in your test, as failIf is deprecated starting in
2.7.
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.org/issue5
Changes by Brian Curtin :
--
keywords: +needs review
priority: -> normal
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issue7705>
___
__
Changes by Brian Curtin :
--
keywords: +needs review
stage: test needed -> patch review
versions: +Python 3.1 -Python 3.0
___
Python tracker
<http://bugs.python.org/issue1
Brian Curtin added the comment:
Martin, can you provide a true unit test? Lib\email\test\test_email.py has many
examples, and something like this would fit in there.
--
nosy: +brian.curtin
stage: patch review -> test needed
___
Python trac
Changes by Brian Curtin :
--
keywords: +needs review
priority: -> normal
stage: -> patch review
versions: +Python 3.2 -Python 3.1
___
Python tracker
<http://bugs.python.org/
Changes by Brian Curtin :
--
keywords: +needs review
priority: -> normal
stage: -> patch review
versions: +Python 2.7 -Python 2.6
___
Python tracker
<http://bugs.python.org/
Changes by Brian Curtin :
--
keywords: +needs review
priority: -> normal
stage: -> test needed
type: crash -> behavior
___
Python tracker
<http://bugs.python.o
Changes by Brian Curtin :
--
keywords: +easy
stage: -> needs patch
type: -> feature request
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Python 2.5
___
Python tracker
<http://bugs.python.org/
Brian Quinlan added the comment:
It turns out that there are a bunch of issues with the py3k XML-RPC
client and server. Attached as some tests that demonstrate them.
--
keywords: +patch
nosy: +bquinlan
Added file: http://bugs.python.org/file13442/xmlrpc-test.diff
Changes by Brian Quinlan :
Added file: http://bugs.python.org/file13444/xmlrpc-fix.diff
___
Python tracker
<http://bugs.python.org/issue5040>
___
___
Python-bugs-list m
Changes by Brian Quinlan :
--
type: performance -> behavior
___
Python tracker
<http://bugs.python.org/issue5040>
___
___
Python-bugs-list mailing list
Un
New submission from Brian Curtin :
One of the available options for the type field in the PyMemberDef
structure is incorrectly listed as T_UNBYTE. T_UBYTE is the correct type.
See http://docs.python.org/c-api/structures.html#PyMemberDef
--
assignee: georg.brandl
components
Brian Curtin added the comment:
Adding 3x patch
--
Added file: http://bugs.python.org/file13505/structures_3x.patch
___
Python tracker
<http://bugs.python.org/issue5
Changes by Brian Quinlan :
--
components: Extension Modules
files: docstring.diff
keywords: patch
nosy: bquinlan
severity: normal
status: open
title: Docstring typo in _io
versions: Python 3.1
Added file: http://bugs.python.org/file13611/docstring.diff
New submission from Brian Quinlan :
>>> import io
>>> class MyIO(io.FileIO):
... def flush(self):
... print('closed:', self.closed)
...
>>> f = MyIO('test.out', 'wb')
>>> f.close()
closed: True
IMHO, calling flu
Brian Quinlan added the comment:
Discussion about this bug is ongoing in python-dev.
--
___
Python tracker
<http://bugs.python.org/issue5700>
___
___
Python-bug
New submission from Brian Quinlan :
The C implementation:
- doesn't correctly initialize its reader and writer instances
- incorrectly maps its "readinto" method to another class
- incorrectly delegates its "closed" property to its base class
i.e. this class can
Changes by Brian Quinlan :
--
components: +Library (Lib)
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue5734>
___
___
Python-bugs-list mai
Brian Quinlan added the comment:
Hey Antoine,
Will do - but first I'll finish up my reason for needing a working
version of this class in the first place ;-)
Cheers,
Brian
--
___
Python tracker
<http://bugs.python.org/i
Changes by Brian Quinlan :
Added file: http://bugs.python.org/file13677/cooperation.diff
___
Python tracker
<http://bugs.python.org/issue5700>
___
___
Python-bugs-list m
Brian Quinlan added the comment:
cooperation.diff:
- change the close method to call .flush() and then ._close()
- only IOBase implements close() (though a subclass can override close
without causing problems - so long as it calls super().close())
- .flush() invokes super().flush()
- ._close
Brian Quinlan added the comment:
>> - FileIO is implemented in Python in _pyio.py so that it can have the
>>same base class as the other Python-implemented files classes
> Is it really necessary (e.g. to pass the tests)?
It is necessary to make MI work. With out it the in
Brian Quinlan added the comment:
Antoine Pitrou wrote:
> Antoine Pitrou added the comment:
>
>> It is necessary to make MI work. With out it the inheritance graph looks
>> like this (using _pyio):
>>
>>
>> io.IOBase_pyio.IOBase
>> |
Brian Quinlan added the comment:
Antoine Pitrou wrote:
> Antoine Pitrou added the comment:
>
>> I think that this linearization is probably more useful:
>>
>> MyClass -> io.FileIO -> MyMixin -> IOBase
>
> But why not simply:
>
> MyClass ->
Brian Quinlan added the comment:
Antoine Pitrou wrote:
> Antoine Pitrou added the comment:
>
>> No, doing this is trivial. But shouldn't it be up to the implementor of
>> MyClass to decide whether MyMixin or io.FileIO methods are evaluated first?
>
> Is there a
Brian Quinlan added the comment:
Oops, I didn't finish my thought:
>> No, doing this is trivial. But shouldn't it be up to the implementor of
>> MyClass to decide whether MyMixin or io.FileIO methods are evaluated
first?
>
> Is there a concrete use case, though?
Changes by Brian Quinlan :
Added file: http://bugs.python.org/file13716/rwpair2.diff
___
Python tracker
<http://bugs.python.org/issue5734>
___
___
Python-bugs-list mailin
Brian Quinlan added the comment:
http://codereview.appspot.com/40126/diff/1/2
File Lib/_pyio.py (left):
http://codereview.appspot.com/40126/diff/1/2#oldcode370
Line 370: def _checkReadable(self, msg=None):
On 2009/04/17 21:11:15, Antoine Pitrou wrote:
> Not sure why you're rem
New submission from Brian Quinlan :
...in seconds-based library functions (e.g. time.sleep) and calculations
(e.g. distance = velocity * ?).
--
components: Library (Lib)
messages: 86132
nosy: bquinlan
severity: normal
status: open
title: datetime.timedelta is inconvenient to use
Changes by Brian Quinlan :
--
keywords: +patch
Added file: http://bugs.python.org/file13719/totalseconds.diff
___
Python tracker
<http://bugs.python.org/issue5
Brian Quinlan added the comment:
I did add a patch description: "Adds a datetime.total_seconds attribute"
- is that unclear?
The idea is that you should be able to extract the total number of
seconds in the duration i.e.
>>> dt = datetime.timedelta(seconds=1234567.89)
&
Brian Quinlan added the comment:
OK, a bit on motivation:
1. datetime.timedelta instances are a convenient way of representing
durations
2. datetime.timedelta instances cannot be conveniently used in many
calculations e.g. calculating distance based on velocity and time
3
Changes by Brian Quinlan :
Added file: http://bugs.python.org/file13721/totalseconds2.diff
___
Python tracker
<http://bugs.python.org/issue5788>
___
___
Python-bugs-list m
Brian Quinlan added the comment:
Attached is a patch that implements .total_seconds as an instance method
--
___
Python tracker
<http://bugs.python.org/issue5
New submission from Brian Mearns :
Created an mmap for a file in update mode, seek to end of file, and
invoke write_byte. The file is not updated (as expected), but did not
get any error indicating the write was out of bounds, and when I invoke
tell(), it reports a position that is out of bounds
New submission from Brian Mearns :
I thought it would be nice if mmaps could generally look a little more
like sequences. Specifically, being able to resize+write using
square-bracket notation as with lists:
>>> x = [1,2,3,4,5]
>>> x
[1, 2, 3, 4, 5]
>>> x[2:2] = [6,
Brian Mearns added the comment:
Confirmed fixed in python 2.6.2
--
___
Python tracker
<http://bugs.python.org/issue5887>
___
___
Python-bugs-list mailin
Brian Mearns added the comment:
On Wed, May 6, 2009 at 8:51 AM, Hirokazu Yamamoto
wrote:
>
> Hirokazu Yamamoto added the comment:
>
> Thank you for response. I'll close this entry.
>
> --
> resolution: -> out of date
> status: open -> closed
>
New submission from Brian Slesinsky :
If a robots.txt file contains a rule of the form:
Disallow: /some/path?name=value
This pattern will never match a URL passed to can_fetch(), as far as I
can tell.
It's arguable whether this is a bug. The 1994 robots.txt protocol is
silent on wheth
New submission from Brian Mearns :
Open a file in "w+b" mode: if you write to the file, then read from it
without seeking backward, it reads past the EOF, apparently out into
memory, which could be a pretty bad security concern. Have not checked
if "w+" mode does the sam
Brian Curtin added the comment:
Are you allowing it to install into all Python versions? I have a package here
at work that I make bdist_msi installers for and most of my machines have 2.6
and 3.1 on them. During the install I only choose to install it for 3.1 when
the extensions are
Changes by Brian Curtin :
--
versions: +Python 3.2 -Python 2.7
___
Python tracker
<http://bugs.python.org/issue8777>
___
___
Python-bugs-list mailing list
Unsub
Brian Curtin added the comment:
Looks fine to me.
The first line of the test comment has "if" instead of "is" but you could fix
that on checkin.
--
assignee: brian.curtin -> haypo
___
Python tracker
<http:/
Brian Curtin added the comment:
Committed to trunk in r81517 and release26-maint in r81540.
I'll cover the 3.x stuff today and then close it out.
--
assignee: stutzbach -> brian.curtin
resolution: -> fixed
stage: patch review -> comm
Brian Curtin added the comment:
test_dynamic_key fails on py3k, but not because of these changes.
RegQueryValueExW doesn't appear to work with NULL for the second parameter
(valueName), although it is documented to and the ANSI version on 2.x works
fine. The empty string is also docum
Brian Curtin added the comment:
sys.platform will be "win32" for both 32 and 64-bit Windows.
As for Cygwin, os.name is "posix" there, and sys.platform is "cygwin", so it
should be unaffected.
The patch looks fine to me, and we do typically use sys.platform more
Brian Curtin added the comment:
Works fine on 2.6 and 3.1 on Windows.
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.org/issue8825>
___
___
Pytho
Brian Curtin added the comment:
That's an IronPython bug, and I see the same thing as you when I run on IP 2.6.
You could submit a bug report to them here:
http://ironpython.codeplex.com/workitem/list/basic
--
___
Python tracker
Brian Curtin added the comment:
Committed to py3k in r81547 and release31-maint in r81546.
Thanks for the patch!
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/iss
Changes by Brian Curtin :
--
nosy: +dino.viehland
___
Python tracker
<http://bugs.python.org/issue8825>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Curtin added the comment:
I just noticed the other day that a buildbot failed because of this issue.
Attached is a patch which removes the unconditional 0.5 sleep, and increases
the loop to run 100 times. It should cover the worst case of a super slow
buildbot, but is still typically
Brian Curtin added the comment:
LoadKey and SaveKey require special privileges which need to manually acquired,
likely via ctypes. #1578269 has some code which does this for os.symlink
privileges and it's about to go into py3k, so I'll try to piggyback o
Changes by Brian Curtin :
--
components: +Windows
versions: -Python 2.7
___
Python tracker
<http://bugs.python.org/issue7171>
___
___
Python-bugs-list mailin
Brian Curtin added the comment:
SQLite was upgraded to 3.6.21 about 4 months ago for 2.7 and 3.2.
--
nosy: +brian.curtin
resolution: -> out of date
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Brian Curtin added the comment:
Committed to trunk in r81584 and py3k in r81585.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
Brian Quinlan added the comment:
A few notes:
1. these types are *not* part of the XML-RPC specification, they are Apache
extensions
2. these types seem designed to accommodate Java
3. some of these types would be very possible to accommodate e.g.
ex:serializable which contains a serialized
Brian Curtin added the comment:
Rather than attaching a Word document, can you just enter your information here?
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.org/issue8
Brian Curtin added the comment:
Committed in r81640 through r81643
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
New submission from Brian Curtin :
Add os.link support for Windows
(mostly a reminder to myself to finish the patch I have)
--
assignee: brian.curtin
components: Extension Modules, Windows
messages: 106908
nosy: brian.curtin
priority: normal
severity: normal
stage: needs patch
status
Changes by Brian Curtin :
--
nosy: +brian.curtin
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue8905>
___
___
Python-bugs-list mai
Changes by Brian Curtin :
--
title: [patch] doc: termios and ioctl reference links -> doc: termios and ioctl
reference links
___
Python tracker
<http://bugs.python.org/iss
Brian Curtin added the comment:
I think what you are suggesting is outside of the scope of that document -- it
appears that the page intends to be quick and strictly focused on reporting
bugs, not fixing them.
--
nosy: +brian.curtin
status: open -> pend
Brian Curtin added the comment:
It seems like this might not be worth it or a good idea, and I have no strong
feeling for this being done. Feel free to close/reject this one.
--
___
Python tracker
<http://bugs.python.org/issue7
Brian Curtin added the comment:
See also #8232
--
nosy: +brian.curtin
stage: -> unit test needed
type: -> behavior
versions: -Python 2.6
___
Python tracker
<http://bugs.python.org/
Brian Curtin added the comment:
Also, since you stated that this is a regression -- what was the last version
you saw this work in?
--
___
Python tracker
<http://bugs.python.org/issue8
New submission from Brian Curtin :
The key/subkey used in this test causes a failure when run on Windows Server
2003 x64.
--
assignee: brian.curtin
components: Tests, Windows
messages: 107337
nosy: brian.curtin
priority: normal
severity: normal
stage: needs patch
status: open
title
Brian Curtin added the comment:
Fixed in r81851 (py3k) and r81852 (release31-maint). Thanks!
--
assignee: d...@python -> brian.curtin
nosy: +brian.curtin
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
versions:
Changes by Brian Curtin :
--
resolution: -> invalid
___
Python tracker
<http://bugs.python.org/issue8953>
___
___
Python-bugs-list mailing list
Unsubscri
Brian Curtin added the comment:
Where was that reported?
--
nosy: +brian.curtin
stage: -> unit test needed
type: -> behavior
___
Python tracker
<http://bugs.python.org/
Brian Curtin added the comment:
Good catch, I forgot to update that message when adding the other signal
support.
Would you rather see something more generic like "Unsupported signal" rather
than start listing all of the signals?
Another alternative is to allow any signal through
Changes by Brian Curtin :
--
nosy: +srid
___
Python tracker
<http://bugs.python.org/issue8961>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Brian Curtin :
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.org/issue8972>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
priority: normal -> low
stage: -> needs patch
type: -> behavior
versions: -Python 3.3
___
Python tracker
<http://bugs.python.o
Changes by Brian Curtin :
--
title: patch: BaseHTTPServer reinventing rfc822 date formatting ->
BaseHTTPServer reinventing rfc822 date formatting
___
Python tracker
<http://bugs.python.org/iss
Changes by Brian Curtin :
--
components: +Library (Lib) -Tests
stage: -> unit test needed
title: What do you think about an Option Flags to enable/disable some chunk of
doctest file ? -> doctest option flag to enable/disable some chunk of doctests?
type: -> feature request
Brian Curtin added the comment:
I wouldn't say that is confusing -- it is a common usage to have an option
immediately followed by it's value (see gcc output after running make, -Wall,
etc).
--
nosy: +brian.curtin
versions: +Python 3.2 -
Brian Curtin added the comment:
"they only get security and documentation fixes"
2.6 does receive bug fixes. 2.5 is the version in security fix only mode.
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.
Brian Curtin added the comment:
If it has matured, has shown to be as a "best of breed" library of it's type,
and has gone through the PEP process, it could make it. That takes quite a bit
of time and isn't likely to occur within the next few years (3.3 at the
earliest
Changes by Brian Curtin :
--
assignee: -> brian.curtin
nosy: +brian.curtin
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue7566>
___
__
Brian Curtin added the comment:
-0 for having os.chdir be responsible for the previous directory. I'm not too
much against this, but it's very easily done in it's current state.
-1 for making os.chdir into a context manager which reverts itself upon exit.
There are a
Brian Curtin added the comment:
> I thought Python ran everywhere. That's what the documentation says.
Python does *run* on Windows (when compiled with Visual Studio or gcc via
Cygwin), it just might not be setup to build with the MSYS compiler.
--
nosy: +bria
New submission from Brian Curtin :
Debug and Release builds of py3k both throw up a Visual Studio debugger prompt
when running this test on Windows. I don't have much time at the moment to
investigate, but I find it odd that this isn't occurring on the two Windows
py3k buildbots.
Brian Curtin added the comment:
I should also note that this doesn't appear to happen on release31-maint or
trunk.
--
___
Python tracker
<http://bugs.python.org/i
Changes by Brian Curtin :
--
components: +Library (Lib)
stage: -> unit test needed
type: crash -> behavior
versions: +Python 2.7 -Python 2.6
___
Python tracker
<http://bugs.python.org/
Brian Curtin added the comment:
I should note here that I fixed Demo/md5test/md5driver.py in r82351 (py3k) and
r82352 (release31-maint).
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.org/issue7
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue8905>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue7582>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Curtin added the comment:
Before anything else is done with it, it should probably be announced in some
way. I'm not sure if anyone has opened any of these zip files, reviewed
anything, ran anything, or if anyone even knows this whole thing has been going
on.
--
Changes by Brian Curtin :
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.org/issue9191>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Brian Curtin :
The change to #8413 broke the use of sys.getwindowsversion() in
platform.platform() calls on Windows, which subsequently breaks all runs of
regrtest (e.g. buildbots) since it outputs platform info at the start.
Now that structseq subclasses tuple, every
Brian Curtin added the comment:
The following little patch could do the trick.
--- platform.py (revision 82643)
+++ platform.py (working copy)
@@ -606,7 +606,9 @@
# Find out the registry key and some general version infos
winver = GetVersionEx()
-maj,min,buildno,plat,csd
Brian Curtin added the comment:
The previously mentioned comments about backwards incompatibility with the
number of items in the sequence are now a problem, since structseq now inherits
from tuple. It seems that n_in_sequence gets ignored and we have a 9 item tuple.
--
status
1701 - 1800 of 1998 matches
Mail list logo