[issue29266] test_create_connection_service_name fails if "http" isn't listed in /etc/services

2017-01-13 Thread Brian Vandenberg
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

[issue29267] Cannot override some flags in CFLAGS from the command-line

2017-01-13 Thread Brian Vandenberg
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"

[issue29268] test_spwd fails on solaris using NIS users

2017-01-13 Thread Brian Vandenberg
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 ) {

[issue29269] test_socket failing in solaris

2017-01-13 Thread Brian Vandenberg
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 *

[issue29265] os.cpu_count is problematic on sparc/solaris

2017-01-13 Thread Brian Vandenberg
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

[issue29272] test_logging hangs if /etc/hosts only aliases "localhost" to ::1

2017-01-13 Thread Brian Vandenberg
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

[issue29325] pysqlite: Evaluate removal of sqlite3_stmt_readonly

2017-01-19 Thread Brian Vandenberg
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

[issue29398] memory corruption in xxlimited

2017-01-31 Thread Brian Martin
Changes by Brian Martin : -- nosy: +osvdb ___ Python tracker <http://bugs.python.org/issue29398> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29427] Option to skip padding for base64 urlsafe encoding/decoding

2017-02-02 Thread Brian Thorne
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

[issue29387] Tabs vs spaces FAQ out of date

2017-02-13 Thread Brian Curtin
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 -

[issue29553] Argparser does not display closing parentheses in nested mutex groups

2017-02-15 Thread Brian Curtin
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

[issue29553] Argparser does not display closing parentheses in nested mutex groups

2017-02-16 Thread Brian Curtin
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: ->

[issue29639] test suite intentionally avoids referring to localhost, destroying abstraction away from IPv6 vs IPv4

2017-02-27 Thread Brian Curtin
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

[issue29683] _PyCode_SetExtra behaviour wrong on allocation failure and after realloc

2017-03-01 Thread Brian Coleman
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

[issue29683] _PyCode_SetExtra behaviour wrong on allocation failure and after realloc

2017-03-01 Thread Brian Coleman
Changes by Brian Coleman : -- pull_requests: +312 ___ Python tracker <http://bugs.python.org/issue29683> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29683] _PyCode_SetExtra behaviour wrong on allocation failure and after realloc

2017-03-01 Thread Brian Coleman
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

[issue29683] _PyCode_SetExtra behaviour wrong on allocation failure and after realloc

2017-03-02 Thread Brian Coleman
Changes by Brian Coleman : -- pull_requests: +333 ___ Python tracker <http://bugs.python.org/issue29683> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29683] _PyCode_SetExtra behaviour wrong on allocation failure and after realloc

2017-03-02 Thread Brian Coleman
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

[issue26556] Update expat to 2.2.1

2016-06-09 Thread Brian Martin
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

[issue17128] OS X system openssl deprecated - installer should build local libssl

2016-07-05 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue17128> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2016-07-06 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue7769> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27235] Heap overflow occurred due to the int overflow (Python-2.7.11/Modules/posixmodule.c)

2016-07-11 Thread Brian Martin
Changes by Brian Martin : -- nosy: +osvdb status: pending -> open ___ Python tracker <http://bugs.python.org/issue27235> ___ ___ Python-bugs-list mai

[issue27083] PYTHONCASEOK is ignored on Windows

2016-07-11 Thread Brian Herman
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' >>> --

[issue17323] Disable [X refs, Y blocks] ouput in debug builds

2013-03-05 Thread Brian Curtin
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

[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

2013-03-08 Thread Brian Kearns
Changes by Brian Kearns : -- nosy: +brian.kearns ___ Python tracker <http://bugs.python.org/issue16389> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6335] Add support for mingw

2013-04-01 Thread Brian Curtin
Brian Curtin added the comment: None from me. Not familiar with what cygwin does. -- ___ Python tracker <http://bugs.python.org/issue6335> ___ ___ Python-bug

[issue17627] Datetime and time doesn't update timezone in a running Win app

2013-04-03 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue17627> ___ ___ Python-bugs-list mailing list Unsubscri

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread Brian Curtin
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

[issue17652] Add skip_on_windows decorator to test.support

2013-04-10 Thread Brian Curtin
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

[issue16273] f.tell() returning negative number on Windows build

2013-04-11 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue16273> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15207] mimetypes.read_windows_registry() uses the wrong regkey, creates wrong mappings

2013-04-17 Thread Brian Curtin
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

[issue3778] python uninstaller leave registry entries

2013-04-19 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue3778> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15984] Wrong documentation for PyUnicode_FromObject()

2013-04-30 Thread Brian Curtin
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

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2013-05-11 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue11406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17992] test_asynchat hangs

2013-05-15 Thread Brian Curtin
Changes by Brian Curtin : -- type: compile error -> behavior ___ Python tracker <http://bugs.python.org/issue17992> ___ ___ Python-bugs-list mailing list Un

[issue17994] Change necessary in platform.py to support IronPython

2013-05-16 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin stage: -> test needed type: -> behavior ___ Python tracker <http://bugs.python.org/issue17994> ___ ___

[issue18023] msi product code for 2.7.5150 not in Tools/msi/uuids.py

2013-05-20 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: -> loewis components: -Build nosy: +loewis type: compile error -> behavior ___ Python tracker <http://bugs.python.org/i

[issue16177] Typing left parenthesis in IDLE causes intermittent Cocoa Tk crash on OS X

2014-10-09 Thread Brian Keegan
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

[issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

2014-10-09 Thread Brian Matthews
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

[issue23090] fix test_doctest relying on refcounting to close files

2014-12-19 Thread Brian Kearns
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

[issue16192] ctypes - documentation example

2015-01-08 Thread Brian Thorne
Changes by Brian Thorne : -- nosy: -Thorney, chris.jerdonek, eric.araujo, ezio.melotti, georg.brandl status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue19433] Define PY_UINT64_T on Windows 32bit

2015-02-12 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue19433> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12239] msilib VT_EMPTY SummaryInformation properties raise an error (suggest returning None)

2015-02-14 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue12239> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19050] crash while writing to a closed file descriptor

2015-02-15 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue19050> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24195] Add `Executor.filter` to concurrent.futures

2015-06-08 Thread Brian Quinlan
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

[issue24550] maxint on 64 bit platforms breaks os.read

2015-07-01 Thread Brian Mingus
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

[issue24655] _ssl.c: Missing "do" for do {} while(0) idiom

2015-07-17 Thread Brian Cain
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

[issue24655] _ssl.c: Missing "do" for do {} while(0) idiom

2015-07-17 Thread Brian Cain
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

[issue24655] _ssl.c: Missing "do" for do {} while(0) idiom

2015-07-17 Thread Brian Cain
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

[issue9262] IDLE: Use tabbed shell and edit windows

2015-08-12 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue9262> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25005] webbrowser breaks on query strings with multiple fields on Windows

2015-09-04 Thread Brian Hou
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,

[issue24927] multiprocessing.Pool hangs forever on segfault

2015-09-11 Thread Brian Boonstra
Brian Boonstra added the comment: See also issue 22393 -- nosy: +brianboonstra ___ Python tracker <http://bugs.python.org/issue24927> ___ ___ Python-bugs-list m

[issue20629] Python ctypes BigEndianStructure bitfield assignment misbehavior in Linux

2015-09-11 Thread Brian Trotter
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

[issue22393] multiprocessing.Pool shouldn't hang forever if a worker process dies unexpectedly

2015-09-16 Thread Brian Boonstra
Changes by Brian Boonstra : -- nosy: +brianboonstra ___ Python tracker <http://bugs.python.org/issue22393> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9566] Compilation warnings under x64 Windows

2015-09-24 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue9566> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25236] str.maketrans wrong description for optional 3rd parameter

2015-09-25 Thread Brian O'Neill
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

[issue25236] str.maketrans wrong description for optional 3rd parameter

2015-09-25 Thread Brian O'Neill
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.

[issue25388] tokenizer crash/misbehavior

2015-10-12 Thread Brian Cain
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

[issue25388] tokenizer crash/misbehavior

2015-10-12 Thread Brian Cain
Brian Cain added the comment: asan output -- Added file: http://bugs.python.org/file40765/asan.txt ___ Python tracker <http://bugs.python.org/issue25388> ___ ___

[issue25388] tokenizer crash/misbehavior -- heap use-after-free

2015-10-12 Thread Brian Cain
Changes by Brian Cain : -- title: tokenizer crash/misbehavior -> tokenizer crash/misbehavior -- heap use-after-free ___ Python tracker <http://bugs.python.org/issu

[issue25388] tokenizer crash/misbehavior -- heap use-after-free

2015-10-12 Thread Brian Cain
Changes by Brian Cain : -- type: -> crash ___ Python tracker <http://bugs.python.org/issue25388> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue25489] sys.exit() caught in exception handler

2015-10-27 Thread Brian Sutherland
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,

[issue25489] sys.exit() caught in exception handler

2015-10-27 Thread Brian Sutherland
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

[issue25489] sys.exit() caught in exception handler

2015-10-28 Thread Brian Sutherland
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

[issue25489] sys.exit() caught in exception handler

2015-10-29 Thread Brian Sutherland
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

[issue25489] sys.exit() caught in exception handler

2015-10-30 Thread Brian Sutherland
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

[issue25388] tokenizer crash/misbehavior -- heap use-after-free

2015-11-03 Thread Brian Cain
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

[issue25388] tokenizer crash/misbehavior -- heap use-after-free

2015-11-03 Thread Brian Cain
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

[issue25729] update pure python datetime.timedelta creation

2015-11-24 Thread Brian Kearns
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

[issue25729] update pure python datetime.timedelta creation

2015-11-24 Thread Brian Kearns
Changes by Brian Kearns : Removed file: http://bugs.python.org/file41158/timedelta.patch ___ Python tracker <http://bugs.python.org/issue25729> ___ ___ Python-bugs-list m

[issue25729] update pure python datetime.timedelta creation

2015-11-24 Thread Brian Kearns
Changes by Brian Kearns : Added file: http://bugs.python.org/file41159/timedelta.patch ___ Python tracker <http://bugs.python.org/issue25729> ___ ___ Python-bugs-list m

[issue25729] update pure python datetime.timedelta creation

2015-11-25 Thread Brian Kearns
Changes by Brian Kearns : Removed file: http://bugs.python.org/file41159/timedelta.patch ___ Python tracker <http://bugs.python.org/issue25729> ___ ___ Python-bugs-list m

[issue25729] update pure python datetime.timedelta creation

2015-11-25 Thread Brian Kearns
Brian Kearns added the comment: Correct patch uploaded -- Added file: http://bugs.python.org/file41160/timedelta.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25729] update pure python datetime.timedelta creation

2015-11-25 Thread Brian Kearns
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

[issue25729] update pure python datetime.timedelta creation

2015-11-25 Thread Brian Kearns
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

[issue25729] update pure python datetime.timedelta creation

2015-11-25 Thread Brian Kearns
Brian Kearns added the comment: Updated again -- Added file: http://bugs.python.org/file41165/timedelta3.patch ___ Python tracker <http://bugs.python.org/issue25

[issue14597] Cannot unload dll in ctypes until script exits

2016-02-16 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue14597> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26561] exec function fails to properly assign scope to dict like object

2016-03-14 Thread Brian Tom
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

[issue26561] exec function fails to properly assign scope to dict like object

2016-03-14 Thread Brian Tom
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

[issue26602] argparse doc introduction is inappropriately targeted

2016-03-22 Thread Brian Guo
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

[issue26616] A bug in datetime.astimezone() method

2016-03-23 Thread Brian Guo
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

[issue15984] Wrong documentation for PyUnicode_FromObject() and PyUnicode_FromEncodedObject()

2016-04-12 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue15984> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2016-04-22 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue6792> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23521] OverflowError from timedelta * float in datetime.py

2015-02-25 Thread Brian Kearns
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

[issue23521] OverflowError from timedelta * float in datetime.py

2015-02-25 Thread Brian Kearns
Brian Kearns added the comment: td = timedelta(seconds=1) print(td / (1/0.6112295)) -- ___ Python tracker <http://bugs.python.org/issue23521> ___ ___ Python-bug

[issue23521] OverflowError from timedelta * float in datetime.py

2015-02-26 Thread Brian Kearns
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

[issue23727] rfc2231 line continuations result in an additional newline

2015-03-20 Thread Brian Peterson
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=

[issue1222585] C++ compilation support for distutils

2015-05-06 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue1222585> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2122] mmap.flush does not check for errors on windows

2015-05-07 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker <http://bugs.python.org/issue2122> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24195] Add `Executor.filter` to concurrent.futures

2015-05-14 Thread Brian Quinlan
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

[issue24195] Add `Executor.filter` to concurrent.futures

2015-05-22 Thread Brian Quinlan
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

[issue28606] Suspected bug in python optimizer with decorators

2016-11-03 Thread Brian Smith
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

[issue16902] Add OSS module support for Solaris

2013-01-09 Thread brian-cameron-oracle
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

[issue16902] Add OSS module support for Solaris

2013-01-09 Thread brian-cameron-oracle
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

[issue16902] Add OSS module support for Solaris

2013-01-09 Thread brian-cameron-oracle
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

[issue16902] Add OSS module support for Solaris

2013-01-09 Thread brian-cameron-oracle
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

[issue16902] Add OSS module support for Solaris

2013-01-09 Thread brian-cameron-oracle
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

[issue16902] Add OSS module support for Solaris

2013-01-10 Thread brian-cameron-oracle
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

<    15   16   17   18   19   20