[issue1537721] csv module: add header row to DictWriter
Dirkjan Ochtman dirk...@ochtman.nl added the comment: Both the solaris and windows slaves seem to have succeeded this time. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1537721 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7670] _sqlite3: Block *all* operations on a closed Connection object
Gerhard Häring g...@ghaering.de added the comment: Applied in trunk. Thanks! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7670 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7478] _sqlite3 doesn't catch PyDict_SetItem error
Gerhard Häring g...@ghaering.de added the comment: Fixed in trunk now. Thanks! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7478 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8062] PEP 3101 string formatting missing hexadecimal separator _ for every 4 hex digits
Mark Dickinson dicki...@gmail.com added the comment: How common is this 'common practice'? Could you point to some publicly available examples? Are there other languages that have built-in facilities for dealing with hexadecimal representations of integers in this way? I think I've seen hex strings separated by spaces every four digits, and by spaces or colons every two digits (though the latter was usually used for something that's better seen as a sequence of bytes rather than a hexadecimal representation of a large integer). I've rarely seen the underscore separation that you describe, but perhaps that's because I haven't been looking in the right places. Do you have a concrete proposal for amending the formatting mini-language syntax to support this? Perhaps you could run this past the python-ideas mailing list to try to get support and to thrash out the details of a possible specification? To me this seems to be adding yet more complication to an already complicated formatting mini-language for something that few people will ever need, so I'd be -1 on this as it stands. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8062 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8062] PEP 3101 string formatting missing hexadecimal separator _ for every 4 hex digits
Mark Dickinson dicki...@gmail.com added the comment: Closing this for now; if you want to pursue this, please take the suggestion to the python-ideas mailing list. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8062 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8060] PEP 3101 string formatting missing engineering presentation type for floating point
Mark Dickinson dicki...@gmail.com added the comment: Before a patch, there needs to be a concrete proposal: how would this be specified, and what would the precise semantics be? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8060 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8066] OS X installer: readline module breaks when targeting on 10.5 or 10.6
New submission from Ned Deily n...@acm.org: 2.6.5 release blocker Changes for Issue6877 to enable the readline module to use the native OS X editline library instead of GNU readline introduce a problem for OS X installer builds or other builds using MACOSX_DEPLOYMENT_TARGET. The test in setup.py to determine whether to search for a non-system library is based solely on the OS level of the build system and not the minimum deployment target level. Without this patch to setup.py, 10.3- or 10.4-targeted installer builds on 10.5 or 10.6 will fail to search for the installer-supplied GNU readline *and* will be dynamically linked with the crippled 10.4u SDK version of editline, thereby causing the readline module to crash on all levels of OS X. (The installer build needs to continue to supply GNU readline because of the broken 10.4 editline). Symptoms vary by OS level and arch but include bus errors and test failures such as: test_readline failed -- line 29, in testHistoryUpdates self.assertEqual(readline.get_current_history_length(), 2) AssertionError: 8448056 != 2 [10.5]: Python(71826,0xa0c18820) malloc: *** error for object 0x80e994: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug [10.6]: Python(25154,0xa0b73500) malloc: *** error for object 0x80df94: pointer being freed was not allocated [10.4]: test_readline skipped -- dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/readline.so, 2): Symbol not found: _rl_free_line_state Patches supplied for 26, trunk(27), and py3k(32), but *not* 31 as the readline changes have not been backported to 31. The trunk and 2.6 versions of the patch also correct a version test in setup.py that causes builds on 10.6 to be flooded with OS X deprecation warnings. -- assignee: ronaldoussoren components: Macintosh files: issue-sl-setup-26.txt messages: 100463 nosy: barry, ned.deily, ronaldoussoren severity: normal status: open title: OS X installer: readline module breaks when targeting on 10.5 or 10.6 type: crash versions: Python 2.6, Python 2.7, Python 3.2 Added file: http://bugs.python.org/file16448/issue-sl-setup-26.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8066 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier
New submission from Ned Deily n...@acm.org: When building on 10.6 with a deployment target of 10.3 or 10.4, various build errors occur, like: warning: 'struct winsize' declared inside parameter list error: 'struct rusage' has no member named 'ru_maxrss' The problem is a test in configure.in that isn't prepared to handle a two-digit Darwin kernel version: OS X 10.6 is Darwin 10. The patches backport the fix from trunk(2.7) to 2.6, 3.1, and py3k(3.2). (As usual, autoconf needs to be run after applying to update configure.) -- assignee: ronaldoussoren components: Macintosh files: issue-sl-configure-26.txt messages: 100465 nosy: ned.deily, ronaldoussoren severity: normal status: open title: OS X Installer: build errors on 10.6 when targeting 10.4 and earlier type: compile error versions: Python 2.6, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file16451/issue-sl-configure-26.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8067 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8068] OS X Installer: merge python2 and python3 build-installer.py script
New submission from Ned Deily n...@acm.org: Since the split of Python3, the OS X installer build scripts in the four active source trees have diverged due to multiple edits at different times such that most changes can no longer be easily merged across branches without significant hand editing, even though the scripts differ only trivially in functionality. The attached patches for the 26, trunk(27), 31, and py3k(31) trees result in an identical build script across all four with execution tests for the following python3 differences: 1. Installer packages PythonProfileChanges and PythonSystemFixes default to not selected for install 2. Include --with-computed-gotos on configure. 3. Do not change Framework/Current link during install. Also included is another patch which, if applied, would restore the change made to trunk in r77030 to change the default installation state of the UNIX Tools Package from selected to not selected, thus by default not installing any symlinks in /usr/local/bin. It's not clear why this change should be made and only to trunk, at that. If it is applied, it should be accompanied by appropriate NEWS and Installer README changes as it would affect how many users currently access python on OS X. -- assignee: ronaldoussoren components: Macintosh files: issue-sl-installer-26.txt messages: 100467 nosy: ned.deily, ronaldoussoren severity: normal status: open title: OS X Installer: merge python2 and python3 build-installer.py script versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file16454/issue-sl-installer-26.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8068 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6697] Check that _PyUnicode_AsString() result is not NULL
STINNER Victor victor.stin...@haypocalc.com added the comment: MaL If you want a fail-safe stringified version of a Unicode object, MaL your only choice is to create a new API that does error checking, MaL properly clears the error and then returns a reference to a constant MaL string, e.g. repr-error. I wrote a function _PyUnicode_AsStringOrDefault(unicode, default_str) which call _PyUnicode_AsStringAndSize() and return the default_str on error. It can be used in error handler (places where you don't really like to reraise new error) or if you don't care about (unicode) errors. -- Added file: http://bugs.python.org/file16458/pyunicode_asstringordefault.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue444582] Finding programs in PATH, addition to os
Jan Killian jan.kill...@gmail.com added the comment: Updated version of reference implementation as a standalone module * changed interface: which_files() returns generator, which() returns first match, or raises IOError(errno.ENOENT) * updated doctest Made this to more closely resemble the 'which' command behavior, and to make the typical use case simpler. The generator interface is still a good idea imho, so it's kept as which_files(). I'm already using the reference implementation module flawlessly, so I don't see any other changes needed on my side. Your ideas are welcome of course. -- Added file: http://bugs.python.org/file16459/which.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8069] struct documentation problem and suggestion to add fixed size formats
New submission from Jeremy Sanders jer...@jeremysanders.net: The struct documentation at http://docs.python.org/library/struct.html says: Standard size and alignment are as follows: no alignment is required for any type (so you have to use pad bytes); short is 2 bytes; int and long are 4 bytes; long long (__int64 on Windows) is 8 bytes; float and double are 32-bit and 64-bit IEEE floating point numbers, respectively. _Bool is 1 byte. long on linux x86-64 is not 4 bytes. It is 8 bytes long: xpc1:~:$ python Python 2.6.2 (r262:71600, Aug 21 2009, 12:23:57) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 Type help, copyright, credits or license for more information. import struct struct.calcsize('L') 8 struct.calcsize('l') 8 It is 4 bytes on i386, however. The documentation should say that long is 8 bytes on linux x86-64. Also, would it not be a good idea to add struct sizes with specific data sizes, e.g. 1 byte, 2 bytes, 4 bytes, 8 bytes, so that it is easier to write cross-platform code? -- components: Library (Lib) messages: 100470 nosy: jeremysanders severity: normal status: open title: struct documentation problem and suggestion to add fixed size formats versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8069] struct documentation problem and suggestion to add fixed size formats
Mark Dickinson dicki...@gmail.com added the comment: Please note that the docs distinguish 'standard size and alignment' from 'native size and alignment'. The standard size (which is what you get if your struct format string doesn't start with '', '', '=' or '!') does exactly what you suggest: it gives struct codes a fixed size that's independent of platform. import struct struct.calcsize('L') # native size and alignment 8 struct.calcsize('L') # standard size and alignment 4 -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error
STINNER Victor victor.stin...@haypocalc.com added the comment: PyRun_InteractiveLoop() doesn't specify the possible return value. It's maybe because it's always zero and that the error are not handled :-) http://docs.python.org/c-api/veryhigh.html#PyRun_InteractiveLoop PyRun_InteractiveOneFlags() documentation is also wrong: the result can only be: 0 (succes), -1 (exception raised) or E_EOF (=11, end of file). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8070 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6697] Check that _PyUnicode_AsString() result is not NULL
STINNER Victor victor.stin...@haypocalc.com added the comment: Patch for pythonrun.c: - catch _PyUnicode_AsString() error in get_codeset(): very unlikely, codeset is the result of nl_langinfo() and is ASCII only - catch _PyUnicode_AsString(sys.stdin.encoding) error in PyRun_InteractiveOneFlags() - use _PyUnicode_AsStringOrDefault() for ps1 and ps2: use ps1= and/or ps2= on unicode error. I don't know if it's the best option. Display the error is maybe a better idea. It's possible to raise to test the error on sys.stdin.encoding by adding the following lines to site.py: class Stdin: pass sys.stdin = Stdin() sys.stdin = \xdc80 See also #8070: PyRun_InteractiveLoopFlags() doesn't handle errors :-/ -- Added file: http://bugs.python.org/file16461/pythonrun-py3k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8069] struct documentation problem and suggestion to add fixed size formats
Mark Dickinson dicki...@gmail.com added the comment: Oops. In ... struct format string doesn't start with.. in my comment above, replace doesn't start with with starts with. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6697] Check that _PyUnicode_AsString() result is not NULL
Marc-Andre Lemburg m...@egenix.com added the comment: About the _PyUnicode_AsStringOrDefault() patch: Since the _PyUnicode_AsString*() APIs are scheduled to be removed, it would be better to not introduce yet another way to use them. If that's not easily possible now, then please fix the indentation (Tabs vs. spaces) before adding the API. Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8069] struct documentation problem and suggestion to add fixed size formats
Jeremy Sanders jer...@jeremysanders.net added the comment: Sorry - I didn't read the docs clearly enough. This probably isn't a bug then. Can you mark it invalid? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8069] struct documentation problem and suggestion to add fixed size formats
Mark Dickinson dicki...@gmail.com added the comment: Well, it's a bug inasmuch as the docs aren't as clear as they could be.I've got issue 7355 open to remind me to do something about that, though, so this one can probably be closed. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8069 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8054] as_string method in email's mime objects encode text segmentedly
R. David Murray rdmur...@bitdance.com added the comment: We don't fully support setting defaultencoding to anything other than ASCII. The test suite doesn't fully pass, for example, if defaultencoding is set to 'utf-8' in site.py. But that aside, the documentation for MIMEText says: No guessing or encoding is performed on the text data.. In your first example you are passing it unicode, which is un-encoded. It might be helpful if it threw a ValueError when passed unicode, but it isn't technically a bug that it doesn't, since it does throw an error if you haven't changed defaultencoding. The behavior also can't be changed, since existing code may be depending on being able to pass ascii-only unicode strings in and having them auto-coerced to ascii. Note that the cause of the problem is the fact that the email transport encoder is assuming that the input is binary data and is breaking it up into appropriately sized lines by counting bytes. You've fed it a unicode string, which it then winds up breaking up by *unicode* character count, then passing the lines to binascii.b2a_base64, which given the non-standard defaultencoding then coerces it to utf-8, which contains a number of bytes different from the original character count, which are then encoded in base64, giving you the uneven length lines in the final output. In Python3 this isn't a problem, since you can't accidentally mix up unicode and bytes in Python3. -- resolution: - wont fix stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8054 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8071] test message
New submission from Skip Montanaro s...@pobox.com: I don't know where this will go given that it's not a response to an existing bug report. I'm looking to see if the SpamBayes instance on mail.python.org processes this message. Someone please respond to let me know if this address is working properly again w.r.t. spam filtering. Thanks, Skip -- messages: 100480 nosy: skip.montanaro severity: normal status: open title: test message ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8071] test message
Ezio Melotti ezio.melo...@gmail.com added the comment: It seems it went in the right place. This message has a SpamBayes Score of 0.00451466. -- nosy: +ezio.melotti resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8072] Test #2
New submission from Skip Montanaro s...@pobox.com: After training a bunch of mail held for python-bugs-list I'm trying another post to see how well SpamBayes likes it. Skip -- messages: 100482 nosy: skip.montanaro severity: normal status: open title: Test #2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8072] Test #2
Skip Montanaro s...@pobox.com added the comment: Test successful... -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8072 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8071] test message
R. David Murray rdmur...@bitdance.com added the comment: Does this mean you think you've fixed whatever was causing metatracker bug 320? (http://psf.upfronthosting.co.za/roundup/meta/issue320). -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8064] Large regex handling very slow on Linux
Michael Foord mich...@voidspace.org.uk added the comment: Interestingly, the code olivers is using was originally written by Martin v. Loewis: http://www.velocityreviews.com/forums/t646421-unicode-regex-and-hindi-language.html In response to a still open bug report on \w in the Python re module: http://bugs.python.org/issue1693050 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8064 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1693050] \w not helpful for non-Roman scripts
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1693050 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7774] sys.executable: wrong location if zeroth command argument is modified.
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7774 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7670] _sqlite3: Block *all* operations on a closed Connection object
Gerhard Häring g...@ghaering.de added the comment: Now also fixed in 2.6 and 3.1 maintenance branches. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7670 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7670] _sqlite3: Block *all* operations on a closed Connection object
STINNER Victor victor.stin...@haypocalc.com added the comment: Commit numbers: r78688 (trunk), r78698 (py3k), r78699 (2.6), r78700 (3.1). 2.6 branch is froze because 2.6.5RC1 was released and 2.6.5 final is planned for next week. Ask barry if you should revert your commit or not r78699. -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7670 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8073] Test fail for sha512
New submission from Chris Lieb chris.lieb.hotmail+pyt...@gmail.com: I am building Python 2.6.4 with GCC 4.2.1 (SUSE Linux, kernel 2.6.22.19-0.4-default) on a shared server and am encountering test failures in test_hashlib.py and test_hmac.py, specifically concerning sha512. I recompiled Python with --with-pydebug and CLFAGS=CPPFLAGS=- g and ran the tests in GDB and got the following results: - GNU gdb 6.6.50.20070726-cvs Copyright (C) 2007 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as x86_64-suse-linux... Using host libthread_db library /lib64/libthread_db.so.1. (gdb) run test_hashlib.py Starting program: /export/users1/chris.lieb/packages/python/bin/ python2.6 test_hashlib.py test_case_md5_0 (__main__.HashLibTestCase) ... ok test_case_md5_1 (__main__.HashLibTestCase) ... ok test_case_md5_2 (__main__.HashLibTestCase) ... ok test_case_md5_huge (__main__.HashLibTestCase) ... ok test_case_md5_uintmax (__main__.HashLibTestCase) ... ok test_case_sha1_0 (__main__.HashLibTestCase) ... ok test_case_sha1_1 (__main__.HashLibTestCase) ... ok test_case_sha1_2 (__main__.HashLibTestCase) ... ok test_case_sha1_3 (__main__.HashLibTestCase) ... ok test_case_sha224_0 (__main__.HashLibTestCase) ... ok test_case_sha224_1 (__main__.HashLibTestCase) ... ok test_case_sha224_2 (__main__.HashLibTestCase) ... ok test_case_sha224_3 (__main__.HashLibTestCase) ... ok test_case_sha256_0 (__main__.HashLibTestCase) ... ok test_case_sha256_1 (__main__.HashLibTestCase) ... ok test_case_sha256_2 (__main__.HashLibTestCase) ... ok test_case_sha256_3 (__main__.HashLibTestCase) ... ok test_case_sha384_0 (__main__.HashLibTestCase) ... ok test_case_sha384_1 (__main__.HashLibTestCase) ... ok test_case_sha384_2 (__main__.HashLibTestCase) ... ok test_case_sha384_3 (__main__.HashLibTestCase) ... ok test_case_sha512_0 (__main__.HashLibTestCase) ... FAIL test_case_sha512_1 (__main__.HashLibTestCase) ... FAIL test_case_sha512_2 (__main__.HashLibTestCase) ... FAIL test_case_sha512_3 (__main__.HashLibTestCase) ... FAIL test_hexdigest (__main__.HashLibTestCase) ... Program received signal SIGSEGV, Segmentation fault. Cannot remove breakpoints because program is no longer writable. It might be running in another process. Further execution is probably impossible. 0x2ba86ffbb463 in ?? () (gdb) bt #0 0x2ba86ffbb463 in ?? () #1 0x0046993d in PyString_FromStringAndSize ( str=0x7fff71c67800 \203 5~︽ T(P m\200\a \005\vW \025 \203 ! l G ] \2055 \203\030 \207~ /c 1 GAz\201 82z ' x q \177, size=1054484473) at Objects/stringobject.c:90 #2 0x2ba87030d59a in ?? () #3 0x in ?? () - GNU gdb 6.6.50.20070726-cvs Copyright (C) 2007 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as x86_64-suse-linux... Using host libthread_db library /lib64/libthread_db.so.1. (gdb) run test_hmac.py Starting program: /export/users1/chris.lieb/packages/python/bin/ python2.6 test_hmac.py test_legacy_block_size_warnings (__main__.TestVectorsTestCase) ... ok test_md5_vectors (__main__.TestVectorsTestCase) ... ok test_sha224_rfc4231 (__main__.TestVectorsTestCase) ... ok test_sha256_rfc4231 (__main__.TestVectorsTestCase) ... ok test_sha384_rfc4231 (__main__.TestVectorsTestCase) ... ok test_sha512_rfc4231 (__main__.TestVectorsTestCase) ... Program received signal SIGSEGV, Segmentation fault. Cannot remove breakpoints because program is no longer writable. It might be running in another process. Further execution is probably impossible. 0x2b483844e4c7 in ?? () (gdb) bt #0 0x2b483844e4c7 in ?? () #1 0x0046993d in PyString_FromStringAndSize ( str=0x784f6730 \026C3D \235D\t \025 [ G \032bGץ ~ \235\t\233aP, size=4108309188) at Objects/stringobject.c:90 #2 0x2b48387e159a in ?? () #3 0x in ?? () In the case of test_hashlib.py, it segfaulted on the first sha512 test when I didn't have the debugging options enabled. Only after enabling debugging did I get FAIL's for the sha512 tests. Does anyone know what is causing these failures? - CPUINFO processor : 0 vendor_id : AuthenticAMD cpu family : 15 model
[issue8071] test message
Skip Montanaro s...@pobox.com added the comment: I don't know, but it's quite possible. Lots of messages were held for moderation. It's possible that some were rejected as spam. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8071 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7670] _sqlite3: Block *all* operations on a closed Connection object
Gerhard Häring g...@ghaering.de added the comment: As requested per Barry, marking this as release blocker for 2.6. -- keywords: +26backport priority: - release blocker stage: patch review - commit review status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7670 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8032] Add gdb7 hooks to make it easier to debug Python
Dave Malcolm dmalc...@redhat.com added the comment: (I faxed in my contributor agreement to the PSF on 2010-03-03) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8032 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8065] Memory leak in readline.get_current_history_length
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Note the following comment elsewhere in Modules/readline.c: /* the history docs don't say so, but the address of state changes each time history_get_history_state is called which makes me think it's freshly malloc'd memory... on the other hand, the address of the last line stays the same as long as history isn't extended, so it appears to be malloc'd but managed by the history package... */ free(state); It is indeed not documented that state is malloced, but the implementation of history_get_history_state () is as follows: /* Return the current HISTORY_STATE of the history. */ HISTORY_STATE * history_get_history_state () { HISTORY_STATE *state; state = (HISTORY_STATE *)xmalloc (sizeof (HISTORY_STATE)); state-entries = the_history; state-offset = history_offset; state-length = history_length; state-size = history_size; state-flags = 0; if (history_stifled) state-flags |= HS_STIFLED; return (state); } xmalloc () is an error checking wrapper around malloc, so free () can be used to deallocate the memory. On the other hand it seems wasteful to request full state in a function that only needs history_length which is directly exported by the readline library. I am attaching a patch that reads history_length directly. -- keywords: +patch nosy: +Alexander.Belopolsky Added file: http://bugs.python.org/file16462/issue8065.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8065 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8074] Fail-fast behavior for unittest
New submission from Cliff Dyer j...@sdf.lonestar.org: When a long suite of tests is running, it would be nice to be able to exit out early to see the results of the tests that have run so far. I would like to see a couple of features included in `unittest` to this effect that have recently been implemented in django's test runner. The first exits gracefully on `^C`, the second allows the user to specify a `--failfast` option, which causes the test runner to exit after the first failure or error, rather than proceeding with the If you hit `^C`, rather than exit with a stack trace of whatever was happening at the time, `unittest` should complete the current test, and then exit with the results to that point. A second `^C` would be treated as a normal `KeyboardInterrupt`, in case that last test were somehow running on too long. {{{ $ python test_module.py ..F.s.^C Test run halted by Ctrl-C x == FAIL: test_multiline_equal (__main__.MyTest) Unicode objects return diffs on failure -- Traceback (most recent call last): File test_test.py, line 39, in test_multiline_equal self.assertEqual(original, revised) AssertionError: - Lorem ipsum dolor sit amet, ? ^ + Lorem ipsum color sit amet, ? ^ consectetur adipisicing elit, + that's the way the cookie crumbles, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. -- Ran 7 tests in 12.010s FAILED (failures=1, skipped=1, expected failures=1) }}} A `failfast` option could be specified as a keyword argument to `unittest.main()`, or `unittest.main()` could read it off the command line, according to the same mechanism used by, e.g., the `verbosity` option. -- components: Library (Lib) messages: 100493 nosy: jcd severity: normal status: open title: Fail-fast behavior for unittest type: feature request versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8074 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8074] Fail-fast behavior for unittest
Cliff Dyer j...@sdf.lonestar.org added the comment: This feature was implemented in the django test runner as [r12034](http://code.djangoproject.com/changeset/12034) (^C override) and [r11843](http://code.djangoproject.com/changeset/11843) (failfast option) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8074 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8074] Fail-fast behavior for unittest
Changes by Brian Curtin cur...@acm.org: -- assignee: - michael.foord nosy: +michael.foord priority: - normal stage: - needs patch versions: -Python 3.1, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8074 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8065] Memory leak in readline.get_current_history_length
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Not directly related to the issue at hand, but I've noticed that while readline.get_current_history_length() is tested in the unittests, readline.get_history_length() is not. Attached patch adds tests for reading and writing history files. Also, I find it confusing that readline module static variable _history_length is named almost the same as readline library exported variable history_length. Maybe _history_length could be renamed to max_history_file_length. -- Added file: http://bugs.python.org/file16463/issue8065-tests.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8065 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue887237] Machine integers
Thomas Heller thel...@ctypes.org added the comment: Code duplication is unavoidable because the goal is to give access to machine arithmetics which means (# types) x (# operations) of very similar looking functions. I considered reducing (perceived) code duplication through some pre-processor magic, but doing so would make code much harder to understand and almost impossible to debug. Carefully written macros shouldn't be hard to understand. At least there wouldn't be the risk of overlooking one of the methods when making modifications. The code duplication in Alex's patch is indeed enormous. I can see two solutions to avoid (or work around) them. Use of macros, or writing a Python script that generates the C-code. Anyway, I guess his patch is some example code, not more. (Using C++ overloaded functions or even templates would be another - but only theoretical - possibility). I would like to hear from Thomas before introducing macros in this code. I tried to follow the style of cfield.c which shows similar code duplication. There are also some questions that need to be answered before polishing the code. 1. Should mixed arithmetics be supported? 2. Should we do anything special about floating point operations? Wrapping them in PyFPE_START/STOP_PROTECT? 3. Should we support in-place operations? 4. Bitwise operations on integers? I would answer 1, 3, and 4, with 'yes'. However, this grows the code size by another dimension since we now have #types * #operation * #types. My answer for question 3 is 'I don't know'. Before I forget: It may be possible to implement ctypes number methods as a third-party module by implementing a mixin class, and replacing the c_... type definitions in Lib/ctypes/__init__.py. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue887237 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7449] A number tests crash if python is compiled --without-threads
Jerry Seutter jseut...@gmail.com added the comment: Uploaded a new version of the patch, nothreads_3.patch. @r.david.murray - Good point about unittest.skipUnless, I didn't know about that function. I removed my decorator and used skipUnless() instead. @haypo: test_xmlrpc.py - Modified the URL changes so that now the tests should run exactly as before in the multithreaded case. test_macostools.py - The TESTFN changes are unrelated to the work I am doing. I removed them and will file as a separate item in Roundup. The skip_if_no decorator has been removed and replaced with unittest.skipUnless(). test_errno.py - You mentioned that only half the tests use threads. The file has two test methods, both of which use threads. test_sqlite.py - Fixed so that only tests that require threading are skipped. Thank you for the reminder about class decorators. test_urllib2_localnet.py - I will create an issue in the bug tracker to fix the usage of BaseTestCase. From the svn revision lot it appears the functionality in BaseTestCase is there for a reason and I think it should be fixed. test_support.py: - The thread module is now imported once at the top of test_support. - The reap_threads() function decorates with a thread cleanup function if thread is available, or with a no-op function if thread is not available. Added a docstring. - Removed import thread calls in threading_setup() and threading_cleanup(). Replaced with if thread statements. fork_wait.py - I removed the decorator and use import_module() instead. test_bz2.py - Modified the import so all but one of the tests run when threading is disabled. test_multiprocessing.py - Modified to use the try: import threading method of importing the module. It's kind of a moot point because the multiprocessing module does not exist when python is built without threading. test_capi.py - test_pendingcalls_non_threaded eventually makes a call to testcapi._pending_threadfunc(). testcapi._pending_threadfunc() does not exist when python is built without threading. What I'm trying to say is that both tests rely on threading. I added the skipUnless decorator to both test methods. test_hashlib.py - Switched to use skipUnless instead. -- Added file: http://bugs.python.org/file16464/nothreads_3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8068] OS X Installer: merge python2 and python3 build-installer.py script
Ned Deily n...@acm.org added the comment: Also note that these patches effectively take care of backporting to py3k and 31 the most recent installer script changes that were made to 2.6 and trunk in support of 10.6 and the newer universal build options. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8068 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7449] A number tests crash if python is compiled --without-threads
Jerry Seutter jseut...@gmail.com added the comment: I think this issue is going to reoccur every time someone adds a unit test that relies on threading. What do you think about using a buildbot slave to run the tests with a non-multithreaded build of python? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7449] A number tests crash if python is compiled --without-threads
R. David Murray rdmur...@bitdance.com added the comment: I think it is a good idea, but someone has to set one up. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7460] extended slicing not sufficiently covered in docs
Terry J. Reedy tjre...@udel.edu added the comment: This may be duplicative of #1446619, but I have not looked at that enough. I agree that revision is needed and will try to develop patch suggestions. -- nosy: +tjreedy versions: -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7460 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7449] A number tests crash if python is compiled --without-threads
STINNER Victor victor.stin...@haypocalc.com added the comment: +1 to setup a buildbot, but only after all bugs are fixed :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7460] extended slicing not sufficiently covered in docs
Lorenz Quack d...@amberfisharts.com added the comment: When I wrote this bug report I was mainly thinking about the C-API documentation which doesn't mention extended slicing at all. Since the C-API isn't mentioned in the other bug I don't think it's a duplicate but they could maybe be merged if you see any advantage in that. And thanks for looking into it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7460 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8075] Windows (Vista/7) install error when choosing to compile .py files
New submission from Eugene Baranov eug.bara...@gmail.com: I tried installing Python 2.6.4 into Program Files in Windows 7 and choose to compile .py files after install. Installer correctly asks for a elevation and copies all fixes but it looks like compile batch are being started from initial, unelevated context. (It displays access denied messages) The issues does not appear when starting installer from already elevated command prompt. -- components: Installation messages: 100504 nosy: Regent severity: normal status: open title: Windows (Vista/7) install error when choosing to compile .py files versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5604] imp.find_module() mixes UTF8 and MBCS
Ezio Melotti ezio.melo...@gmail.com added the comment: I fixed all the things listed in the previous message in r78689, but that just enabled the test on several Linux buildbots and some started to fail too. In r78696 (and r78697) I tried to use sys.getfilesystemencoding() instead of locale.getpreferredencoding() and that turned at least the Windows buildbots green, but there are still a few linux bots that fail: http://www.python.org/dev/buildbot/builders/AMD64%20Ubuntu%20wide%203.x/builds/545/steps/test/logs/stdio http://www.python.org/dev/buildbot/builders/AMD64%20Ubuntu%203.x/builds/561/steps/test/logs/stdio http://www.python.org/dev/buildbot/builders/x86%20Ubuntu%203.x/builds/525/steps/test/logs/stdio http://www.python.org/dev/buildbot/builders/amd64%20gentoo%203.x/builds/513/steps/test/logs/stdio -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5604 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8075] Windows (Vista/7) install error when choosing to compile .py files
Brian Curtin cur...@acm.org added the comment: #6716 is a related issue, but isn't exactly a duplicate. -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8075] Windows (Vista/7) install error when choosing to compile .py files
Changes by Brian Curtin cur...@acm.org: -- components: +Windows priority: - high stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8076] sys.setfilesystemencoding('foo') causes segmentation fault
New submission from Florent Xicluna florent.xicl...@gmail.com: import sys sys.setfilesystemencoding('foo') open('something') Segmentation Fault -- components: Interpreter Core messages: 100507 nosy: flox priority: normal severity: normal stage: test needed status: open title: sys.setfilesystemencoding('foo') causes segmentation fault type: crash versions: Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8076 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8062] PEP 3101 string formatting missing hexadecimal separator _ for every 4 hex digits
steven Michalske smichal...@gmail.com added the comment: I'll work on a proposal for the ideas list. Other language examples to keep this in a thread though. perl -e 'print 0x1234_abcd; print \n;' C/C++ seems to not support the underscore. Lua unsupported. Data sheets from micro controllers and other digital circuits. Bottom of page 21 on http://www.atmel.com/dyn/resources/prod_documents/32058S.pdf -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8062 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8077] cgi handling of POSTed files is broken
New submission from Mitchell Model m...@acm.org: I am reluctant to post this because (a) I might have made some dumb mistake in my code, simple as it is, and (b) the problem might be well-known or even hopeless because the cgi module may not be WSGI compliant, but if this isn't going to be fixed then at least the problem should be described in the cgi module documentation. I run an HTTPServer with a CGIHTTPRequestHandler. I open an HTML file with a trivial form that simply POSTs an upload of a single file. I browse, select a file, and click submit. The web request never completes -- the browser just waits for a response. Interrupting the server with ^C^C produces a backtrace that indicates it is stuck trying to decode the file contents. The attached zip file contains: cgi-server.py cgi-post.html cgi-bin/cgi-test.py exception.txt The latter is the backtrace output from when I interrupt the server. This is on OS X 10.5 with either Python3.1 or Python3.2 from the repository. -- assignee: georg.brandl components: Documentation, Library (Lib) files: cgi-post-broken.zip messages: 100509 nosy: MLModel, georg.brandl severity: normal status: open title: cgi handling of POSTed files is broken type: behavior versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file16465/cgi-post-broken.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8077 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8076] sys.setfilesystemencoding('foo') causes segmentation fault
Ezio Melotti ezio.melo...@gmail.com added the comment: On 3.2 on Linux and 3.1 on Windows I get: [...] File C:\Programmi\Python31\lib\encodings\__init__.py, line 98, in search_fun ction level=0) File C:\Programmi\Python31\lib\encodings\__init__.py, line 98, in search_fun ction level=0) File C:\Programmi\Python31\lib\encodings\__init__.py, line 83, in search_fun ction norm_encoding = normalize_encoding(encoding) File C:\Programmi\Python31\lib\encodings\__init__.py, line 55, in normalize_ encoding if isinstance(encoding, bytes): RuntimeError: maximum recursion depth exceeded while calling a Python object -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8076 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6509] re.py - compiled byte-object regular expr encounter unexpected str-object
Ezio Melotti ezio.melo...@gmail.com added the comment: The patch looks OK. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue887237] Machine integers
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Attaching a patch that is equivalent toissue887237.diff, but uses preprocessor to generate repetitive code. -- Added file: http://bugs.python.org/file16466/issue887237-macro.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue887237 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8047] Serialiser in ElementTree returns unicode strings in Py3k
Antoine Pitrou pit...@free.fr added the comment: I don't know what compatibility you are talking about. Py3k deliberately breaks compatibility with many 2.x behaviours that were considered defective or suboptimal. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8047 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8073] Test fail for sha512
Changes by Antoine Pitrou pit...@free.fr: -- components: +Extension Modules -Tests nosy: +gps type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7449] A number tests crash if python is compiled --without-threads
STINNER Victor victor.stin...@haypocalc.com added the comment: I'm applying fixes one by one in my local git-svn repository. I will commit them (in one huge patch \o/) when I'm done, or maybe post a new version of the patch (if I'm too scared of the patch). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8073] Test fail for sha512
Changes by Gregory P. Smith g...@krypto.org: -- assignee: - gregory.p.smith nosy: +gregory.p.smith -gps ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8078] add more baud constants to termios
New submission from Jon Smirl jonsm...@gmail.com: termios doesn't have the constants defined for higher baud rates on Linux. According to my bits/termios.h: #define B57600 0010001 #define B115200 0010002 #define B230400 0010003 #define B460800 0010004 #define B50 0010005 #define B576000 0010006 #define B921600 0010007 #define B100 0010010 #define B1152000 0010011 #define B150 0010012 #define B200 0010013 #define B250 0010014 #define B300 0010015 #define B350 0010016 #define B400 0010017 -- messages: 100515 nosy: jonsmirl severity: normal status: open title: add more baud constants to termios type: feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8078 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7449] A number tests crash if python is compiled --without-threads
Jerry Seutter jseut...@gmail.com added the comment: I think the latest (v3) patch is in pretty good shape. You and David have been through the changes and the result is a much improved set of changes. If you want (and you're okay with it), I can commit the changes from here and take the beating if it makes the buildbots fall over. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7449] A number tests crash if python is compiled --without-threads
Jerry Seutter jseut...@gmail.com added the comment: I'll break up the patch into multiple files as well. It will make it easier to deal with if I cause a regression. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7449 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8079] make install fails with -j8 with python2.6/config on FreeBSD
New submission from Garrett Cooper yaneg...@gmail.com: When attempting to install and deinstall lang/python26 to run some unit tests for a change I was going to provide to the maintainer, I ran into this issue: install -o root -g wheel -m 444 ./../Include/ucnhash.h /usr/local/include/python2.6 install -o root -g wheel -m 444 ./../Include/unicodeobject.h /usr/local/include/python2.6 install -o root -g wheel -m 444 ./../Include/warnings.h /usr/local/include/python2.6 install -o root -g wheel -m 444 ./../Include/weakrefobject.h /usr/local/include/python2.6 install -o root -g wheel -m 444 pyconfig.h /usr/local/include/python2.6/pyconfig.h Creating directory /usr/local/lib/python2.6/config install: /usr/local/lib/python2.6/config exists but is not a directory *** Error code 71 Stop in /scratch/freebsd/ports/lang/python26/work/Python-2.6.4/portbld.static. *** Error code 1 Stop in /scratch/freebsd/ports/lang/python26. *** Error code 1 The problem was caused by an incomplete install into ${prefix} [which I will take up with the FreeBSD project], but manifests itself because the -j value I specified, was too high. I say this because of another comment placed in a top-level Makefile at a previous job about compiling Python 2.4.2 with this particular goal (installing the modules) and race conditions. I would provide a patch but I'm not sure what the issue could stem from, other than a race conditions with a busted install-sh and incomplete dependencies specified in Makefile.pre.in. I'll provide more info if needed. Reproducible via the following on FreeBSD, given a fast enough machine: cd lang/python26; make deinstall clean; make -j8 all; make -j8 install [gcoo...@bayonetta /scratch/freebsd/ports/lang/python26]$ uname -a FreeBSD bayonetta.localdomain 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Thu Mar 4 13:16:39 PST 2010 gcoo...@bayonetta.localdomain:/usr/obj/usr/src/sys/BAYONETTA amd64 [gcoo...@bayonetta /scratch/freebsd/ports/lang/python26]$ sysctl -a hw.model hw.model: Intel(R) Xeon(R) CPU W3520 @ 2.67GHz [From top(1)] Mem: 43M Active, 10G Inact, 870M Wired, 76M Cache, 1237M Buf, 537M Free Swap: 20G Total, 108K Used, 20G Free -- components: Build messages: 100518 nosy: yaneurabeya severity: normal status: open title: make install fails with -j8 with python2.6/config on FreeBSD versions: Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8075] Windows (Vista/7) install error when choosing to compile .py files
Martin v. Löwis mar...@v.loewis.de added the comment: This will be difficult to fix. Contributions are welcome. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8075 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8079] make install fails with -j8 with python2.6/config on FreeBSD
Changes by Garrett Cooper yaneg...@gmail.com: Added file: http://bugs.python.org/file16467/all.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8079] make install fails with -j8 with python2.6/config on FreeBSD
Changes by Garrett Cooper yaneg...@gmail.com: Added file: http://bugs.python.org/file16468/clean.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8045] test_tcl aborts on OS X 10.6 with The application with bundle ID org.python.python is running setugid(), which is not allowed.
Gregory P. Smith g...@krypto.org added the comment: See trunk r78718 for my proposed fix. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8045 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com