New submission from Brian Vandenberg:
One of our solaris machines doesn't have an entry in /etc/services for "http".
This is causing test_create_connection_service_name to fail.
In my case I can just ignore that particular failure, but as a fix you might
consider overtl
New submission from Brian Vandenberg:
Due to issue 29264 I was attempting to override the build default "-std=c99"
with:
/path/to/configure (...) CFLAGS=-std=gnu99
... however, the configure script is written like this:
CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
New submission from Brian Vandenberg:
On all our solaris 10 machines when I run a simple test program it never
reports a failure when calling getspnam:
#include
#include
int main( int, char** ) {
spwd *asdf = getspnam( "some_user" );
if( NULL == sdf ) {
New submission from Brian Vandenberg:
I started looking into this failure to see if I could figure out why but it
looks like I'd have to spend more time than I have available to figure out the
cause.
Environment/setup:
* air-gapped network (no internet access)
* sparc / Solaris 10
*
Brian Vandenberg added the comment:
> It doesn't cause any real problem with the tests, though. I routinely run
> with -j40 on my 2 cpu test box because the test run completes faster that way
> due to the way many tests spend time waiting for various things.
In my case it
New submission from Brian Vandenberg:
On some of the linux boxes on our (air-gapped, if that matters) network it
looks like some of them were mis-configured and their /etc/hosts file looks
something like this:
$ cat /etc/hosts
127.0.0.1 snoopy.the.internal.domain snoopy localhost4 localhost4
New submission from Brian Vandenberg:
I'm not sure where to request changes to pysqlite, so my apologies if this
isn't the right place.
To begin with: I'll either end up building a newer version of sqlite myself or
just accepting that pysqlite won't be part of this
Changes by Brian Martin :
--
nosy: +osvdb
___
Python tracker
<http://bugs.python.org/issue29398>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Brian Thorne:
Suggest changing base64 module to better handle encoding schemes that don't use
padding.
Because RFC4648 [1] allows other RFCs that implement RFC4648-compliant
base64url encoding to explicitly stipulate that there is no padding. Dropping
the paddi
Brian Curtin added the comment:
New changeset 3d707be950b387552585451071928e7b39cdfa53 by Brian Curtin in
branch 'master':
bpo-29521 Fix two minor documentation build warnings (#41)
https://github.com/python/cpython/commit/3d707be950b387552585451071928e7b39cdfa53
-
Brian Curtin added the comment:
Dropping the inner brackets sounds like a better move to me.
--
nosy: +bethard, brian.curtin
___
Python tracker
<http://bugs.python.org/issue29
Brian Curtin added the comment:
PR 120 looks fine to me, but Steven Bethard is the maintainer of argparse so
he's better suited to say for sure if exclusive groups are ok how they are in
120 or if 117 is actually the way forward.
--
assignee: ->
Brian Curtin added the comment:
I echo Paul. I think the last time I would have seen a problem was on Windows
2000, which is unsupported per PEP-11.
+1 to using localhost
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.org/issue29
New submission from Brian Coleman:
On PyMem_Malloc failure, _PyCode_SetExtra should set co_extra->ce_size = 0.
On PyMem_Realloc failure, _PyCode_SetExtra should set co_extra->ce_size = 0.
On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in
co_extra->ce_extras to
Changes by Brian Coleman :
--
pull_requests: +312
___
Python tracker
<http://bugs.python.org/issue29683>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Coleman added the comment:
I have now added a Github pull request here:
https://github.com/python/cpython/pull/376
--
___
Python tracker
<http://bugs.python.org/issue29
Changes by Brian Coleman :
--
pull_requests: +333
___
Python tracker
<http://bugs.python.org/issue29683>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Coleman added the comment:
I have created a pull request to backport the fix onto 3.6 here:
https://github.com/python/cpython/pull/402
--
___
Python tracker
<http://bugs.python.org/issue29
Brian Martin added the comment:
Per http://expat.sourceforge.net/, version 2.1.1 fixes CVE-2015-1283, not 2.2.1
as mentioned in a comment.
--
nosy: +Brian Martin
___
Python tracker
<http://bugs.python.org/issue26
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue17128>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue7769>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Martin :
--
nosy: +osvdb
status: pending -> open
___
Python tracker
<http://bugs.python.org/issue27235>
___
___
Python-bugs-list mai
Brian Herman added the comment:
In python 3.6 from hg it has been fixed.
>>> glob.glob('*.py')
['setup.py', 'test.py']
>>> import test
>>> test.__file__
'C:\\Users\\brian\\Desktop\\cpython\\test.py'
>>>
--
Brian Curtin added the comment:
I don't know exactly what the option would be called, but +1 on the idea.
Perhaps something under the interpreter's -X option since it's
implementation-specific?
This output gets in the way a fair bit when debugging interpreter sessions, and
Ch
Changes by Brian Kearns :
--
nosy: +brian.kearns
___
Python tracker
<http://bugs.python.org/issue16389>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Curtin added the comment:
None from me. Not familiar with what cygwin does.
--
___
Python tracker
<http://bugs.python.org/issue6335>
___
___
Python-bug
Changes by Brian Curtin :
--
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue17627>
___
___
Python-bugs-list mailing list
Unsubscri
Brian Curtin added the comment:
The example code works for me on 3.3.0 on Windows 8. I'd have to find a VM to
try out XP like gjwebber - will look later.
--
___
Python tracker
<http://bugs.python.org/is
Brian Curtin added the comment:
Could you also propose places in the test to use this? If we're going to add
it, we should use it.
--
___
Python tracker
<http://bugs.python.org/is
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue16273>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Curtin added the comment:
Just an FYI, but if it takes 10 more months to get it right, we'll do that.
--
___
Python tracker
<http://bugs.python.org/is
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue3778>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Curtin added the comment:
In the "Otherwise it coerces" sentence, obj should probably be ``obj``.
--
nosy: +brian.curtin
___
Python tracker
<http://bugs.python.o
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue11406>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
type: compile error -> behavior
___
Python tracker
<http://bugs.python.org/issue17992>
___
___
Python-bugs-list mailing list
Un
Changes by Brian Curtin :
--
nosy: +brian.curtin
stage: -> test needed
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue17994>
___
___
Changes by Brian Curtin :
--
assignee: -> loewis
components: -Build
nosy: +loewis
type: compile error -> behavior
___
Python tracker
<http://bugs.python.org/i
Brian Keegan added the comment:
I was also using a dual-screen setup: laptop + external display.
On Thu, Oct 9, 2014 at 1:07 AM, Ned Deily wrote:
>
> Ned Deily added the comment:
>
> Thanks, Tom, nice writeup! If any of the other people who have seen this
> crash are still a
New submission from Brian Matthews:
In the file mimetypes.py the mime type for bmp files should be image/bmp for
IE8 and later. the problem is that if the content header for 'nosniff' is set,
then the bmp file fails to display due to the incorrect mime type.
--
components: I
Changes by Brian Kearns :
--
files: fix_test_doctest.patch
keywords: patch
nosy: bdkearns
priority: normal
severity: normal
status: open
title: fix test_doctest relying on refcounting to close files
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file37508
Changes by Brian Thorne :
--
nosy: -Thorney, chris.jerdonek, eric.araujo, ezio.melotti, georg.brandl
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue19433>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue12239>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue19050>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Quinlan added the comment:
Actually it immediately converts the iterable into a list. Recall:
def filter(self, fn, iterable, timeout=None):
l = list(iterable) # iterable => list
return (item for (item, keep) in zip(l, self.map(fn, l, timeout)) if k
New submission from Brian Mingus:
The lower range for this bug may be anything greater than 32 bit maxint. Other
modules such as multiprocessing are limited passing objects of size 32 bit
maxint, even on 64 bit systems, likely due to this issue. I have demonstrated
this by modifying
New submission from Brian Cain:
_ssl.c has a "convert()" macro which misuses the "do { ... } while(0)" pattern
by accidentally omitting the "do".
This was discovered when building with clang, it reports "while loop has empty
body". Effectively, con
Brian Cain added the comment:
New patch.
--
Added file: http://bugs.python.org/file39941/ssl_convert_2nd.patch
___
Python tracker
<http://bugs.python.org/issue24
Brian Cain added the comment:
Whoops, that's not right. Corrected.
--
Added file: http://bugs.python.org/file39942/ssl_convert_3rd.patch
___
Python tracker
<http://bugs.python.org/is
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue9262>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Brian Hou:
With Python 3.5.0rc2 (tested with both Git BASH and Cmder on Windows 8):
$ python3
>>> import webbrowser
>>> webbrowser.open_new('http://example.com/?a=1&b=2')
'b' is not recognized as an internal or external command,
Brian Boonstra added the comment:
See also issue 22393
--
nosy: +brianboonstra
___
Python tracker
<http://bugs.python.org/issue24927>
___
___
Python-bugs-list m
Brian Trotter added the comment:
I am experiencing the same bug with c_uint32 bitfields inside
BigEndianStructure in Python 3.4.0 on Ubuntu 14.04.3 x64. No problem in Windows
7 x64. As shown in the example below, the fourth byte is the only one that is
written correctly. This is a rather
Changes by Brian Boonstra :
--
nosy: +brianboonstra
___
Python tracker
<http://bugs.python.org/issue22393>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue9566>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Brian O'Neill:
The doc says "If there is a third argument, it must be a string, whose
characters will be mapped to None in the result." The characters of the
optional third argument get mapped to '', of course, not to None.
--
assigne
Brian O'Neill added the comment:
Closed as this is a actually true of maketrans.
--
resolution: -> not a bug
status: open -> closed
___
Python tracker
<http://bugs.python.
New submission from Brian Cain:
This issue is similar to (but I believe distinct from) the one reported earlier
as http://bugs.python.org/issue24022. Tokenizer failures strike me as
difficult to exploit, but risky nonetheless.
Attached is a test case that illustrates the problem and the
Brian Cain added the comment:
asan output
--
Added file: http://bugs.python.org/file40765/asan.txt
___
Python tracker
<http://bugs.python.org/issue25388>
___
___
Changes by Brian Cain :
--
title: tokenizer crash/misbehavior -> tokenizer crash/misbehavior -- heap
use-after-free
___
Python tracker
<http://bugs.python.org/issu
Changes by Brian Cain :
--
type: -> crash
___
Python tracker
<http://bugs.python.org/issue25388>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Brian Sutherland:
Running the attached file with python3 shows that SystemExit is caught rather
than causing the process to stop. That's quite surprising.
--
components: asyncio
files: test_sys_exit_in_exception_handler.py
messages: 253529
nosy: gvanrossum,
Brian Sutherland added the comment:
the workaround I am using at the moment is this:
def handler(loop, context):
print('Got error, exiting')
loop.call_soon(sys.exit, 42)
which actually does cause the process to exit
--
___
Pyth
Brian Sutherland added the comment:
Calling loop.stop() means that I need other, more complex code, to store and
return the non-zero exit status.
--
___
Python tracker
<http://bugs.python.org/issue25
Brian Sutherland added the comment:
On Wed, Oct 28, 2015 at 02:49:55PM +, R. David Murray wrote:
>
> R. David Murray added the comment:
>
> Using sys.exit means you are depending on garbage collection to clean
> up all of your program's resources. In the general case
Brian Sutherland added the comment:
On Wed, Oct 28, 2015 at 03:32:36PM +, Guido van Rossum wrote:
>
> Guido van Rossum added the comment:
>
> How about we extend loop.stop() so that you can pass it an exception to
> raise once the loop is stopped? This exception would then b
Brian Cain added the comment:
Sorry, the report would have been clearer if I'd included a build with symbols
and a stack trace.
The test was inspired by the test from issue24022
(https://hg.python.org/cpython/rev/03b2259c6cd3), it sounds like it should not
have been.
But indeed it
Brian Cain added the comment:
Here is a more useful ASan report:
=
==12168==ERROR: AddressSanitizer: heap-use-after-free on address 0x6251e110
at pc 0x00697238 bp 0x7fff412b9240 sp 0x7fff412b9238
READ of size 1 at
New submission from Brian Kearns:
Brings timedelta creation up to par with the (simpler) C equivalent. Gives a
nice speed boost on the pure-py version (not worth much on CPython but useful
on other implementations like PyPy).
Included in a few other small bug fixes/cleanups, should be self
Changes by Brian Kearns :
Removed file: http://bugs.python.org/file41158/timedelta.patch
___
Python tracker
<http://bugs.python.org/issue25729>
___
___
Python-bugs-list m
Changes by Brian Kearns :
Added file: http://bugs.python.org/file41159/timedelta.patch
___
Python tracker
<http://bugs.python.org/issue25729>
___
___
Python-bugs-list m
Changes by Brian Kearns :
Removed file: http://bugs.python.org/file41159/timedelta.patch
___
Python tracker
<http://bugs.python.org/issue25729>
___
___
Python-bugs-list m
Brian Kearns added the comment:
Correct patch uploaded
--
Added file: http://bugs.python.org/file41160/timedelta.patch
___
Python tracker
<http://bugs.python.org/issue25
Brian Kearns added the comment:
Bug fixes are to the test suite itself, and the name cleanup, minor. Best
classified as enhancement, apply where applicable.
--
___
Python tracker
<http://bugs.python.org/issue25
Brian Kearns added the comment:
Updated patch per review
--
Added file: http://bugs.python.org/file41164/timedelta2.patch
___
Python tracker
<http://bugs.python.org/issue25
Brian Kearns added the comment:
Updated again
--
Added file: http://bugs.python.org/file41165/timedelta3.patch
___
Python tracker
<http://bugs.python.org/issue25
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue14597>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Tom :
--
nosy: btomtom5
priority: normal
severity: normal
status: open
title: exec function fails to properly assign scope to dict like object
type: behavior
versions: Python 3.5
___
Python tracker
<http://bugs.python.org/issue26
New submission from Brian Tom:
http://stackoverflow.com/questions/35993869/passing-a-dictionary-like-object-to-exec-instead-of-dict-object-changes-scope-of
--
___
Python tracker
<http://bugs.python.org/issue26
Brian Guo added the comment:
Hi,
I agree with your observation about the unnecessarily complicated
documentation. I feel that there is not a real necessity to include an example
that uses (metavar='N', nargs='+') or even (const='sum', default='max') in
Brian Guo added the comment:
>From the datetime documentation of astimezone():
https://docs.python.org/3.5/library/datetime.html#datetime.datetime.astimezone :
'If called without arguments (or with tz=None) the system local timezone is
assumed. The tzinfo attribute of the converted
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue15984>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue6792>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Kearns added the comment:
Maybe we should also use divide_and_round for __truediv__ to match the C
implementation calling divide_nearest there as well?
--
___
Python tracker
<http://bugs.python.org/issue23
Brian Kearns added the comment:
td = timedelta(seconds=1)
print(td / (1/0.6112295))
--
___
Python tracker
<http://bugs.python.org/issue23521>
___
___
Python-bug
Brian Kearns added the comment:
You saw the demo python implementation of divmod_near in Objects/longobject.c?
Maybe it's worth using a common implementation?
--
___
Python tracker
<http://bugs.python.org/is
New submission from Brian Peterson:
Hey,
So here we go:
When an email header goes over a line break, rfc2231
(https://tools.ietf.org/html/rfc2231) specifies that it get formatted in such a
way that the line break is stripped out. This formatting looks like, for
example:
> filename*0=
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue1222585>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Brian Curtin :
--
nosy: -brian.curtin
___
Python tracker
<http://bugs.python.org/issue2122>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Quinlan added the comment:
This feature seems unnecessary to me but couldn't the implementation be
simplified to work in terms of map? i.e. (pseudocode):
def filter(self, fn, iterable, timeout=None):
l = list(iterable)
return (item for (item, keep) in zip(l, self.map(fn, l, ti
Brian Quinlan added the comment:
Ethan: I'm -0 so I'd happily go with the consensus. Does anyone have a strong
opinion?
Ram: What did you mean by "Possible issues"? Did you mean that to be an example
using the exec
New submission from Brian Smith:
While using decorators in python 3.5.2, I ran into a surprising bug where the
decorator sometimes lost context of the outer scope. The attached file
demonstrates this problem.
In this file, we have 2 decorators. They are identical, except that the first
has
New submission from brian-cameron-oracle:
Solaris supports OSS, but the attached patch is needed to get it to build.
Note that some of the EXPORT_INT lines in Modules/ossaudiodev.c need to be
#ifndef'ed out on Sun since OSS on Solaris doesn't support them all.
Does it make se
brian-cameron-oracle added the comment:
OSS is the default audio system in Solaris 11 and 12. In Solaris 10 and
earlier, the sunaudio (or SADA) interfaces are still used. You can only test
this if you are using Solaris 11 or later, on a machine with a sound card
supported by OSS.
I would
brian-cameron-oracle added the comment:
Correct, OSS should work out-of-the-box on Solaris 11 and up since it is
the default audio system there. OSS was also integrated into OpenSolaris, so
it is probably the most sensible audio plugin to use there also. Some
end-users may build and install
brian-cameron-oracle added the comment:
Sure, doing multiple #ifdef's makes sense. Do you need me to provide an
updated patch, or is this something easier for someone who has commit access to
the source code repository to just go ahead and do.
I would think this Module would fail to co
brian-cameron-oracle added the comment:
I'm not sure how to write such OSS detection code. I do know that
OSS is only on Solaris systems that have this OSS-specific file:
/usr/include/sys/soundcard.h
So that's probably the best way to check and it should work even on Solaris 10
brian-cameron-oracle added the comment:
Since Modules/ossaudiodev.c has the following line (which is not surrounded by
any conditional #ifdef sort of things):
#include
This means that the OSS plugin will only build on a system that has this header
file, so it is safe to check for on any
1901 - 1998 of 1998 matches
Mail list logo