[issue19554] Enable all freebsd* host platforms

2013-11-11 Thread William Grzybowski
William Grzybowski added the comment: Semaphores broken or not (it seems to work just fine in freebsd9) python is still usable overall. I see no reason to arbitrarily chose what freebsd platform to build. -- ___ Python tracker <h

[issue19554] Enable all freebsd* host platforms

2013-11-11 Thread William Grzybowski
William Grzybowski added the comment: Ah, I see, I made a misinterpretation of setup.py. Sorry about that. So please ignore the setup.py changes in the patch ;) -- ___ Python tracker <http://bugs.python.org/issue19

[issue21976] Fix test_ssl.py to handle LibreSSL versioning appropriately

2014-07-13 Thread William Orr
New submission from William Orr: Currently, test_ssl.py requires the version information to match the OpenSSL format exactly, and to be less than 2.0. LibreSSL, a drop-in replacement for OpenSSL, has started its version numbers at 2.0.0, and reports it slightly differently. This patch

[issue22382] sqlite3 connection built from apsw connection should raise IntegrityError, not DatabaseError

2014-09-10 Thread william tonkin
New submission from william tonkin: python Python 2.7.6 (default, Dec 23 2013, 13:16:30) [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> - test script - i

[issue22382] sqlite3 connection built from apsw connection should raise IntegrityError, not DatabaseError

2014-09-11 Thread william tonkin
william tonkin added the comment: sqlite3 allows a connection to be built from an apsw.Connection(). Using an apsw.Connection() to build an sqlite3.connect() implies that the underlying sqlite database engine will have extended error codes turned on (the default if for them to be turned off

[issue22382] sqlite3 connection built from apsw connection should raise IntegrityError, not DatabaseError

2014-09-11 Thread william tonkin
william tonkin added the comment: The following worked for me: --- util.c 2014-09-11 15:15:11.480266548 -0400 +++ util.c.fixed2014-09-11 15:17:19.214878592 -0400 @@ -54,7 +54,7 @@ (void)sqlite3_reset(st); } -errorcode = sqlite3_errcode(db); +errorcode

[issue22382] sqlite3 connection built from apsw connection should raise IntegrityError, not DatabaseError

2014-09-18 Thread william tonkin
Changes by william tonkin : -- nosy: +ghaering ___ Python tracker <http://bugs.python.org/issue22382> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6678] inspect.currentframe documentation omits optional depth parameter

2009-08-10 Thread William Mill
New submission from William Mill : help(inspect.currentframe) reads: - _getframe(...) _getframe([depth]) -> frameobject Return a frame object from the call stack. If optional integer depth is given, return the frame object that many calls below the top

[issue1047397] cgitb failures

2010-08-01 Thread William McVey
Changes by William McVey : -- nosy: +wam ___ Python tracker <http://bugs.python.org/issue1047397> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-08 Thread William Mill
William Mill added the comment: This patch is built against trunk, because I'm not sure what branch I should build it against. If that's the wrong branch, I'd be happy to figure it out against the right branch. I tested both the help() and the doc build, both worked as ex

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-08 Thread William Mill
William Mill added the comment: I've updated the patch to be based on the py3k branch, and updated the sys module's documentation for _getframe, since inspect just aliases sys._getframe to currentframe(). I've updated the argument list of both inspect.currentframe and sy

[issue6678] inspect.currentframe documentation omits optional depth parameter

2010-08-08 Thread William Mill
William Mill added the comment: Terry: fair enough, I'll add that it's required to be an integer. I just meant that the brackets seemed not to be around other keyword arguments, not that it's not optional, sorry for being unclear. Ben and/or Terry: Would you prefer the inspe

[issue29135] run_proces logs the command without escaping parmaeters such that the coammns logged are not valid

2017-01-02 Thread William Gianopoulos
New submission from William Gianopoulos: So, the arguments to run_process are not escaped when logged such that the logged command is un-parsable. The following call: self.run_process(['notify-send', '--app-name', 'Mozilla Build System', 'Mozilla Bui

[issue29135] run_proces logs the command without escaping parmaeters such that the coammns logged are not valid

2017-01-02 Thread William Gianopoulos
William Gianopoulos added the comment: well i could be screwed up perhaps it is something provided in the mozilla python environment i was going by the fact that google searches on python run-process returned things, including other reported issues, that made me think it was not. On Mon, Jan 2

[issue29135] run_proces logs the command without escaping parmaeters such that the coammns logged are not valid

2017-01-02 Thread William Gianopoulos
William Gianopoulos added the comment: OK i t appears it might be a third party python utility library. I will try to trak this down and report it there and close this issue once i sort it out. On Mon, Jan 2, 2017 at 4:07 PM, William Gianopoulos wrote: > > William Gianopoulos add

[issue29135] run_proces logs the command without escaping parmaeters such that the coammns logged are not valid

2017-01-02 Thread William Gianopoulos
William Gianopoulos added the comment: I would like to keep this open until I figure this out so I can provide a pointer to where the real issue is being tracked. I should have time to do that tomorrow. SOunds like this is part of some third-party add-on python library that is normally

[issue29135] run_proces logs the command without escaping parmaeters such that the coammns logged are not valid

2017-01-02 Thread William Gianopoulos
William Gianopoulos added the comment: It seems it is part of the Mozilla build system. I closed this issue. -- resolution: -> not a bug status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue25602] Add support for EVFILT_USER kqueue filter

2016-06-06 Thread William Grzybowski
William Grzybowski added the comment: I have bumped into this issue as well. This change would be much appreciate on my end. What can we do to move the ball forward here? Thanks! -- nosy: +wg ___ Python tracker <http://bugs.python.org/issue25

[issue27275] KeyError thrown by optimised collections.OrderedDict.popitem()

2016-06-08 Thread William Pitcock
New submission from William Pitcock: The C-based optimised version of collections.OrderedDict occasionally throws KeyErrors when deleting items. See https://github.com/mailgun/expiringdict/issues/16 for an example of this regression. Backporting 3.6's patches to 3.5.1 does not resolv

[issue27275] KeyError thrown by optimised collections.OrderedDict.popitem()

2016-06-09 Thread William Pitcock
William Pitcock added the comment: A frequent reproducer is to run the expiringdict tests on Python 3.5.1, unfortunately I cannot come up with a testcase. Replacing use of popitem() with "del self[next(OrderedDict.__iter__(self))]" removes the KeyErrors and the structure otherwise

[issue27275] KeyError thrown by optimised collections.OrderedDict.popitem()

2016-06-10 Thread William Pitcock
William Pitcock added the comment: At least in my case, the application is single-threaded. I don't think this is a locking-related issue as the expiringdict test case itself fails which is also single-threaded. -- ___ Python tracker

[issue27275] KeyError thrown by optimised collections.OrderedDict.popitem()

2016-06-10 Thread William Pitcock
William Pitcock added the comment: It seems to me that calling __contains__() (PySequence_Contains()) isn't necessary, as the first and last elements of the list are already known, and therefore known to be in the list. Revising the behaviour of popitem() to avoid calling _odict_popkey

[issue17189] Add zip64 support to shutil

2013-02-13 Thread William Mallard
William Mallard added the comment: Ok, here's a patch that makes zip64 the default in make_archive() when format='zip'. I also agree that ZipFile should set allowZip64=True by default. (PKZIP has supported zip64 since 2001!) -- Added file: http://bugs.pytho

[issue17189] Add zip64 support to shutil

2013-02-13 Thread William Mallard
William Mallard added the comment: Documentation added. See attached. -- Added file: http://bugs.python.org/file29063/shutil_zip64_by_default.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17201] Use allowZip64=True by default

2013-02-13 Thread William Mallard
William Mallard added the comment: Enabling ZIP64 seems like a reasonable default. The documentation justifies the current 32-bit default with outdated information: """ ZIP64 extensions are disabled by default because the default 'zip' and 'unzip' comm

[issue17201] Use allowZip64=True by default

2013-02-14 Thread William Mallard
William Mallard added the comment: See attached. The patch updates ZipFile, its documentation, and its unit tests. -- keywords: +patch Added file: http://bugs.python.org/file29074/zipfile_zip64_by_default.patch ___ Python tracker <h

[issue17201] Use allowZip64=True by default

2013-02-14 Thread William Mallard
Changes by William Mallard : Added file: http://bugs.python.org/file29075/zipfile_zip64_by_default.patch ___ Python tracker <http://bugs.python.org/issue17201> ___ ___

[issue17224] can not open idle in python 2.7.3

2013-02-18 Thread william wu
New submission from william wu: I install python 2.7 in windows xp 32bit. I try to open idle using "C:\Python27>python.exe Lib\idlelib\idle.py", But return error as following: Traceback (most recent call last): File "Lib\idlelib\idle.py", line 11, in idlelib.P

[issue7980] time.strptime not thread safe

2013-03-12 Thread William McBrine
William McBrine added the comment: I'm still seeing this, in the 2.7.2 that comes with OS X 10.8.2. -- nosy: +William.McBrine ___ Python tracker <http://bugs.python.org/i

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-18 Thread William Moreno
New submission from William Moreno: cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -pthread -pthread Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-20 Thread William Moreno
William Moreno added the comment: Thank's a lot by answered me, I am now at FreeBSD team in order to fix this issue. -- ___ Python tracker <http://bugs.python.org/is

[issue18008] python33-3.3.2 Parser/pgen: Permission denied

2013-05-20 Thread William Moreno
William Moreno added the comment: [SOLVED on FreeBSD 9.1] if anyone need to see http://www.freshports.org/lang/python33/ thank's again to alls specyally to Marcus von Appen (marcusva) -- ___ Python tracker <http://bugs.python.org/is

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2014-10-16 Thread William Schwartz
William Schwartz added the comment: 3.4.2 has been released, it seems, without this getting fixed. 3.4.3 then? Are we still happy with the patch? -- ___ Python tracker <http://bugs.python.org/issue21

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2015-01-14 Thread William Scullin
Changes by William Scullin : -- nosy: +wscullin ___ Python tracker <http://bugs.python.org/issue18835> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22699] cross-compilation of Python3.4

2015-02-11 Thread William Scullin
Changes by William Scullin : -- nosy: +wscullin ___ Python tracker <http://bugs.python.org/issue22699> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2015-08-11 Thread William Scullin
William Scullin added the comment: This would likely improve life for folks with cross-compile toolchains. -- nosy: +wscullin ___ Python tracker <http://bugs.python.org/issue23

[issue22699] cross-compilation of Python3.4

2015-08-11 Thread William Scullin
William Scullin added the comment: I thought this was originally a help request and was going to re-direct this. Cross-compile with 3.4.3 and later seems broken. Procedure followed: wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0rc1.tgz tar -xf Python-3.5.0rc1.tgz mkdir

[issue22699] cross-compilation of Python3.4

2015-09-02 Thread William Scullin
Changes by William Scullin : -- type: resource usage -> compile error ___ Python tracker <http://bugs.python.org/issue22699> ___ ___ Python-bugs-list mai

[issue12978] Figure out extended attributes on BSDs

2015-11-04 Thread William Orr
William Orr added the comment: After a considerable amount of rework, I've gotten something worth submitting. All unit tests pass, and it handles some of the more unfortunate differences between FreeBSD's extended attribute syscalls and Linux's. One of the bigger changes is

[issue25875] PYODBC talk to Oracle under Windows 10.

2015-12-15 Thread William Abdo
New submission from William Abdo: PYODBC talk to Oracle under Windows 10. I tried everything I could however, I was unable to make PYODBC talk to Oracle 11g under Windows 10. I have recently upgraded to Windows 10 and I have an issue with PYODBC connecting to Oracle 11g. It was working OK

[issue26000] Crash in Tokenizer - Heap-use-after-free

2016-01-03 Thread William Bowling
New submission from William Bowling: Similar to https://bugs.python.org/issue25388 the following causes a crash on 3.5.1 and the latest 3.5 branch: ./python -c 'with open("vuln.py", "wb") as f: f.write(b"\x61\x73\x00\x0a\x79\x6e\x63\x5c\x0a\xef")' .

[issue26000] Crash in Tokenizer - Heap-use-after-free

2016-01-03 Thread William Bowling
William Bowling added the comment: Also a very similar source causes a slightly different crash (heap-buffer-overflow instead of heap-use-after-free): ./python -c 'with open("vuln2.py", "wb") as f: f.write(b"\x61\x73\x00\x0a\x79\x6e\x63\x5c\x0a\x00\x0d\xdd"

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2015-03-14 Thread William Schwartz
William Schwartz added the comment: 3.4.3 has been released, it seems, without this getting fixed. 3.4.4 then? -- William Schwartz On Mon, Sep 8, 2014 at 3:42 AM, Michael Foord wrote: > > Michael Foord added the comment: > > The patch look

[issue23548] TypeError in event loop finalizer, new in Python 3.4.3

2015-04-07 Thread William Woodall
William Woodall added the comment: I was getting the same error as the OP in my application. I did something like this to work around the problem: import asyncio import atexit def close_asyncio_loop(): loop = None try: loop = asyncio.get_event_loop() except AttributeError

[issue23852] Wrong computation of max_fd on OpenBSD

2015-04-13 Thread William Orr
William Orr added the comment: Tested on OpenBSD 5.6/amd64. lgtm. -- nosy: +worr ___ Python tracker <http://bugs.python.org/issue23852> ___ ___ Python-bugs-list m

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-14 Thread William Orr
William Orr added the comment: In the case of EINVAL, OpenBSD returns this if multiple cmsghdrs are attached to a message with sendmsg(2). In this case, those tests should probably be skipped. I've attached the patch that combines haypo's patch with skips referencing this issue wrt

[issue23852] Wrong computation of max_fd on OpenBSD

2015-04-14 Thread William Orr
William Orr added the comment: Given that OpenBSD returns *bad* data via sysconf(3), I'm not sure that there's a good way to validate other than *only* calling getrlimit(3) on OpenBSD. Is that an acceptable approach? -- ___ Python trac

[issue9246] os.getcwd() hardcodes max path len

2015-04-14 Thread William Orr
William Orr added the comment: Revisiting this, I've updated python3 to calculate this and use gradual dynamic allocation like the python2 implementation. -- nosy: +worr versions: +Python 3.5 -Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file

[issue23949] Number of elements display in error message is wrong while unpacking in traceback

2015-04-14 Thread William Orr
William Orr added the comment: I've updated the error message to just include the expected number of arguments. I think this makes it way more readable. -- keywords: +patch nosy: +worr Added file: http://bugs.python.org/file39010/maxvalueerror.

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-14 Thread William Orr
William Orr added the comment: I'm adding another patch, as adding multiple cmsg's to a single message with sendmsg is a Linux-specific extension. This only enables the problematic patches on Linux. This solves the AIX failures in #20718 as well. -- Added file: http://bugs.

[issue12978] Figure out extended attributes on BSDs

2015-04-17 Thread William Orr
William Orr added the comment: Here's an initial attempt at implementing extended attribute support. Let me know if there's any interest. There's currently one deficiency, which is that the namespace isn't prepended to the attribute name when calling lsxattr. Let me kn

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-17 Thread William Orr
Changes by William Orr : Removed file: http://bugs.python.org/file38990/recvmsg_trunc_emsgsize_cmsg_obsd_skip.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-17 Thread William Orr
Changes by William Orr : Removed file: http://bugs.python.org/file39028/recvmsg_trunc_emsgsize_cmsg_linux_only.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-17 Thread William Orr
William Orr added the comment: Double checked on a FreeBSD box and confirmed. I missed the loop in the kernel source. I've attached a new patch, without the emsgsize change. -- Added file: http://bugs.python.org/file39096/recvmsg_linux_freebsd_only.

[issue23852] Wrong computation of max_fd on OpenBSD

2015-04-17 Thread William Orr
William Orr added the comment: I've updated Cédric's patch to only run that portion on OpenBSD. -- Added file: http://bugs.python.org/file39097/max_fd.patch ___ Python tracker <http://bugs.python.o

[issue9246] os.getcwd() hardcodes max path len

2015-04-20 Thread William Orr
William Orr added the comment: I've incorporated some of the feedback from the reviews into this new patch. I used the PyMem_Raw* functions to do allocation to avoid having to acquire the GIL and also avoid complciations from the builtin memory allocator, since I'm not using pyth

[issue9246] os.getcwd() hardcodes max path len

2015-04-24 Thread William Orr
Changes by William Orr : Removed file: http://bugs.python.org/file39005/max_getcwd.patch ___ Python tracker <http://bugs.python.org/issue9246> ___ ___ Python-bugs-list m

[issue9246] os.getcwd() hardcodes max path len

2015-04-24 Thread William Orr
Changes by William Orr : Removed file: http://bugs.python.org/file39154/max_getcwd.patch ___ Python tracker <http://bugs.python.org/issue9246> ___ ___ Python-bugs-list m

[issue9246] os.getcwd() hardcodes max path len

2015-04-24 Thread William Orr
William Orr added the comment: I've updated the patch with the comments from the review -- Added file: http://bugs.python.org/file39199/max_getcwd.patch ___ Python tracker <http://bugs.python.org/i

[issue23852] Wrong computation of max_fd on OpenBSD

2015-04-24 Thread William Orr
William Orr added the comment: Updated the patch based on review -- Added file: http://bugs.python.org/file39200/max_fd.patch ___ Python tracker <http://bugs.python.org/issue23

[issue23852] Wrong computation of max_fd on OpenBSD

2015-04-24 Thread William Orr
Changes by William Orr : Removed file: http://bugs.python.org/file39097/max_fd.patch ___ Python tracker <http://bugs.python.org/issue23852> ___ ___ Python-bugs-list mailin

[issue28717] rounding error in % operator

2016-11-16 Thread William McIlhagga
New submission from William McIlhagga: '%.1f' % 0.25 yields the string '0.2' '%.1f' % 0.75 yields the string '0.8' This is wrong. -- messages: 280984 nosy: William McIlhagga priority: normal severity: normal status: open

[issue28717] rounding error in % operator

2016-11-16 Thread William McIlhagga
William McIlhagga added the comment: OK, not wrong, just unexpected. Is this behaviour documented? Or are you just expected to know what C does? On 16 November 2016 at 21:37, Mark Dickinson wrote: > > Mark Dickinson added the comment: > > You don't say why you think this b

[issue28717] rounding error in % operator

2016-11-16 Thread William McIlhagga
William McIlhagga added the comment: Thanks, maybe I should get off my ass and contribute to the documentation then ... On 16 November 2016 at 22:30, Mark Dickinson wrote: > > Mark Dickinson added the comment: > > > Is this behaviour documented? Or are you just expected to kno

[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__

2009-02-13 Thread James William Pye
New submission from James William Pye : Basically, nested() doesn't seem to be consistent with explicitly nested with-statements when an exception is thrown in a CM's __enter__. Consider a pair of nested CMs, the inner __enter__ raises an exception trapped by the outer. In the si

[issue1195571] simple callback system for Py_FatalError

2009-02-16 Thread James William Pye
James William Pye added the comment: I had actually forgotten that this was still open. Anything I can do to help speed this along? In case nobody remembers, the purpose of this was to provide a facility to embedded applications that allows for a more graceful shutdown in fatal error

[issue5283] setting __class__ in __del__ is bad. mmkay. negative ref count! kaboom!

2009-02-16 Thread James William Pye
New submission from James William Pye : I found this bug by misplacing a line of a code. Yes, I was doing naughty things, but in the case of the class that led to the discovery, it was inadvertent. :P class something_else(object): pass class foo(object): def __del__(self): self.__class__

[issue43673] Missing stub for logging attribute manager

2021-03-30 Thread William (David) Wilcox
Change by William (David) Wilcox : -- components: Library (Lib) nosy: wdwilcox priority: normal severity: normal status: open title: Missing stub for logging attribute manager type: enhancement versions: Python 3.10 ___ Python tracker <ht

[issue43673] Missing stub for logging attribute manager

2021-03-30 Thread William (David) Wilcox
Change by William (David) Wilcox : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37381] Script using ProactorEventLoop does not exit cleanly on Windows with multiple subprocesses

2019-06-23 Thread William D. Jones
New submission from William D. Jones : On Windows 7, when using ProactorEventLoop, when asyncio.subprocess.terminate is called on the last subprocess when multiple subprocesses are spawned*, the last subprocess will never exit, and the Python interpreter will never exit. Spawning an

[issue37381] Script using ProactorEventLoop does not exit cleanly on Windows with multiple subprocesses

2019-06-23 Thread William D. Jones
William D. Jones added the comment: Update: It turns out multiple spawned subprocesses are NOT required. If I replace "(short_fut, _) = await spawn()" with "short_fut = asyncio.ensure_future(asyncio.sleep(4))", t

[issue37381] Script using ProactorEventLoop does not exit cleanly when subprocesses are spawned.

2019-06-23 Thread William D. Jones
Change by William D. Jones : -- title: Script using ProactorEventLoop does not exit cleanly on Windows with multiple subprocesses -> Script using ProactorEventLoop does not exit cleanly when subprocesses are spawned. ___ Python tracker <

[issue16783] sqlite3 accepts strings it cannot return

2012-12-25 Thread William D. Colburn
New submission from William D. Colburn: This seems to be just like issue6010, which is closed as "not as bug" which is simple irresponsible on the part of Python. The problem is that I can store data into sqlite3 which cannot be retrieved. The data I encountered was a string with

[issue16783] sqlite3 accepts strings it cannot (by default) return

2012-12-28 Thread William D. Colburn
William D. Colburn added the comment: I'm ranting against an improper bug closure and bad behavior from the python sqlite3. Treating invalid data as sometimes valid and sometime as invalid is a problem. Problems with a Python module are not anuser-error, they are an implementation

[issue16783] sqlite3 accepts strings it cannot (by default) return

2012-12-30 Thread William D. Colburn
William D. Colburn added the comment: What it should do is be consistent (predictable) in it's handling of input and output. If it accepts unicode and outputs unicode, then it should accept unicode and output unicode, not accept garbage and then barf. Valid data should be consistantly

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2009-07-04 Thread James William Pye
James William Pye added the comment: Seeing this in 3.1 when I try to compile with mingw32 under wine: "error: Unable to find vcvarsall.bat" --compiler=mingw32 works in 3.0. I assume it's related to this bug? -- nosy: +jwp versio

[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__

2009-03-14 Thread James William Pye
James William Pye added the comment: Just downloaded v2 and tried it out against Python 2.7a0 (trunk:70381M, Mar 14 2009, 23:12:51). output of the "nested_issue.py" script with patch: j...@torch[]:org/python/trunk 0% /src/build/py/bin/python ./nested_issue.py () [try_with_nested

[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__

2009-03-15 Thread James William Pye
James William Pye added the comment: I tested the attached script against v2. It further identifies consistencies between nested with-statements and nested() that should exist(and do in v2). It answers the question: what is the effect of a SkipStatement exception on another, outer CM? with

[issue1195571] simple callback system for Py_FatalError

2010-08-02 Thread James William Pye
James William Pye added the comment: Would it be possible to require the embedding application to define the Py_FatalError symbol? Admittedly, it would be nice to not have the callback installation code. =\ -- ___ Python tracker <h

[issue1195571] simple callback system for Py_FatalError

2010-08-02 Thread James William Pye
James William Pye added the comment: I guess it seemed so unlikely that (C) extensions should be installing the callback that installation should be restricted pre-Py_Initialize(); the area completely controlled by the embedding app. However, I have no strong attachment to that

[issue1195571] simple callback system for Py_FatalError

2010-08-02 Thread James William Pye
Changes by James William Pye : -- nosy: -jwpye ___ Python tracker <http://bugs.python.org/issue1195571> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25463] 2.7.10 glibc double free detected

2015-10-22 Thread William D Colburn
New submission from William D Colburn: Linking cython against the static libpython in a python install compiled with shared libraries causes a glibc error that a double free or corruption was found while importing site. I don't think it is cython's fault. Happens on RHEL

[issue25463] 2.7.10 glibc double free detected

2015-10-22 Thread William D Colburn
William D Colburn added the comment: I don't see the shell script attached anywhere. I'll just paste it here! -cut here- PYDEST=`pwd` wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz wget http://cython.org/release/Cython-0.23.4.tar.gz rm -rf Python-2.7.10 Cyt

[issue25463] 2.7.10 glibc double free detected

2015-12-30 Thread William D Colburn
William D Colburn added the comment: I tried the test with Python 2.7.11, and it still crashes. -- Added file: http://bugs.python.org/file41454/debug.sh ___ Python tracker <http://bugs.python.org/issue25

[issue25463] 2.7.10 glibc double free detected

2015-12-31 Thread William D Colburn
William D Colburn added the comment: wcolburn@anotheruvula$ strace doublefree 2>&1 | grep site.py open("/home/anotheruvula/python/debug/pybug/lib/python2.7/site.py", O_RDONLY) = 3 open("/home/anotheruvula/python/debug/pybug/lib/python2.7/site.pyc", O_RDON

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens
New submission from William Edward Stuart Clemens : The DB API Spec 2.0 (PEP 249) clearly requires that column name and type_code be set as the first two values in Cursor.description the other 5 attributes are optional. The sqlite3 module doesn't set type_code. -- components:

[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens
William Edward Stuart Clemens added the comment: The patch for version 3.3 has a one line difference. -- assignee: -> docs@python components: +Documentation, Library (Lib) -None nosy: +docs@python versions: +Python 3.3 Added file: http://bugs.python.org/file21

<    1   2   3