[issue12415] Missing: How to checkout the Doc sources

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset e0d68c73e351 by Sandro Tosi in branch 'default': Issue #12415: describe where the documentation files are (patch by Éric Araujo) http://hg.python.org/devguide/rev/e0d68c73e351 -- nosy: +python-dev ___ Pyt

[issue14617] confusing docs with regard to __hash__

2012-08-20 Thread Ethan Furman
Ethan Furman added the comment: Any problems with the current doc patch? If not, can it be applied before RC1? -- ___ Python tracker ___

[issue12415] Missing: How to checkout the Doc sources

2012-08-20 Thread Sandro Tosi
Sandro Tosi added the comment: Éric: I've just committed your patch, with also the latest changes. Philip: In order to be consistent with the way the documentation is compiled on the Python platform, the svn checkout must be used: else if you refer to the upstream website, a contributor can ch

[issue15744] missing tests for {RawIO,BufferedIO,TextIO}.writelines

2012-08-20 Thread Antoine Pitrou
New submission from Antoine Pitrou: The writelines() method of I/O objects has almost no tests in test_fileio / test_io (and a couple of them in test_file). -- components: IO, Tests messages: 168709 nosy: pitrou priority: normal severity: normal stage: needs patch status: open title: mi

[issue14617] confusing docs with regard to __hash__

2012-08-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14954] weakref doc clarification

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8600ae913b63 by Antoine Pitrou in branch '3.2': Issue #14954: Clarify the interaction of weak references and garbage collection. http://hg.python.org/cpython/rev/8600ae913b63 New changeset 57c9ed276332 by Antoine Pitrou in branch 'default': Issue #1

[issue14954] weakref doc clarification

2012-08-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is good, thank you. -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 ___ Python tracker __

[issue14468] Update cloning guidelines in devguide

2012-08-20 Thread Chris Jerdonek
Chris Jerdonek added the comment: It might be worth mentioning and/or linking to some of the branching tips discussed in the FAQ. For example, using `hg share` instead of `hg clone` eliminates the need to pull between repositories/working directories: http://docs.python.org/devguide/faq.html

[issue14468] Update cloning guidelines in devguide

2012-08-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sandro, I find your patch is really a regression: -* Then clone it to create another local repository which is then used to - checkout branch 3.2:: +* Then clone it to create another local repository for the 3.2 branch:: This makes the terminology ambiguous.

[issue14468] Update cloning guidelines in devguide

2012-08-20 Thread Sandro Tosi
Sandro Tosi added the comment: I think the aim of that part of the devguide is to give one clear, simple, working way to operate on different branches at the same time. Additional workflows can be presented, but probably in another place (like the FAQ indeed). What others thing about this? --

[issue14468] Update cloning guidelines in devguide

2012-08-20 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I think the aim of that part of the devguide is to give one clear, simple, > working way to operate on different branches at the same time. The change can be as simple as adding a sentence along the lines of, "Also see the version control section of the FAQ

[issue14468] Update cloning guidelines in devguide

2012-08-20 Thread Ezio Melotti
Ezio Melotti added the comment: You could mention "hg out" where you talk about pushing all the changes. About hg graft, I would assume that most of the patches grafted from 3.x don't work right away on 2.7, or if the graft work the code might still need to be changed. How do you deal with th

[issue15733] PEP 3121, 384 Refactoring applied to winapi module

2012-08-20 Thread Richard Oudkerk
Richard Oudkerk added the comment: > In addition, I plan to actively drop Windows 2000 support post 3.3, so > CancelIO can be presumed to be present. The function at issue is CancelIoEx() (introduced in Vista) not CancelIo(). I assume WinXP will still be supported? -- ___

[issue9762] PEP 3149 related build failures

2012-08-20 Thread Stephen M McQuay
Stephen M McQuay added the comment: I cobbled together a mix of what I found here: http://ubuntuforums.org/showthread.php?t=1976837 http://blog.schmichael.com/2012/05/29/building-python-2-6-8-on-ubuntu-12-04/ and got python 2.6 to build fine on modern Ubuntu : % python -mplatform Linux-3.2.0-2

[issue7741] Allow multiple statements in code.InteractiveConsole.push

2012-08-20 Thread aliles
aliles added the comment: Patch option 1 of 2. Incorporates Kristjan's patch and adds unit tests. This has the side effect of changing InteractiveConsole's behaviour with respect to displayhook(). I'm unsure if this is desirable. -- nosy: +aliles Added file: http://bugs.python.org/fil

[issue7741] Allow multiple statements in code.InteractiveConsole.push

2012-08-20 Thread aliles
aliles added the comment: Patch option 2 of 2. Alternative patch that adds a new method to InteractiveConsole to split the string into multiple lines, feeding each line to interpreter using push(). This doesn't change the behaviour regarding the displayhook. But this may not meet Kristjan's o

[issue7741] Allow multiple statements in code.InteractiveConsole.push

2012-08-20 Thread aliles
aliles added the comment: A quick note regarding the last two patches submitted. These patches add unit tests using the test suite added for Issue #12643. This limits the patches suitable to Python 3.3 and up. -- nosy: +ncoghlan ___ Python tracker

[issue1228112] code.py use sys.excepthook to display exceptions

2012-08-20 Thread aliles
aliles added the comment: Has this issue been resolved by issue been resolved by #12643, which has been merged for Python 3.3? -- nosy: +aliles, ncoghlan ___ Python tracker __

[issue14563] Segmentation fault on ctypes.Structure subclass with byte string field names

2012-08-20 Thread aliles
aliles added the comment: Tested with Python 3.3b2 built from trunk. This issue is resolved. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue15740] test_ssl failure when cacert.org CA cert in system keychain on OSX

2012-08-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The failure seems to occur because the test assumes that the OpenSSL > library either won't load a CA list at all when ca_cert is not > specified, or that the default CA list doesn't contain the cacert.org one. Well, OpenSSL should not implicitly load a CA lis

[issue15285] test_timeout failure when system on IPv4 10.x.x.x subnet

2012-08-20 Thread Trent Nelson
Changes by Trent Nelson : -- assignee: -> trent ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1228112] code.py use sys.excepthook to display exceptions

2012-08-20 Thread Miki Tebeka
Miki Tebeka added the comment: Seems like #12643 did solve this. Closing. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue15285] test_timeout failure when system on IPv4 10.x.x.x subnet

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c2af1f9 by Trent Nelson in branch '3.2': Issue #15285: Refactor connect timeout test in test_timeout. http://hg.python.org/cpython/rev/9c2af1f9 New changeset b86f3af4746c by Trent Nelson in branch 'default': Issue #15285: Refactor connect t

[issue15285] test_timeout failure when system on IPv4 10.x.x.x subnet

2012-08-20 Thread Trent Nelson
Trent Nelson added the comment: Fixed in 3.2: changeset: 78690:9c2af1f9 branch: 3.2 parent: 78686:8600ae913b63 user:Trent Nelson date:Mon Aug 20 21:22:59 2012 -0400 summary: Issue #15285: Refactor connect timeout test in test_timeout. Fixed in 3.x: changes

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS

2012-08-20 Thread Trent Nelson
New submission from Trent Nelson: I've got two FreeBSD buildslaves running on ZFS (8.2 and 9.1) experiencing this: == FAIL: test_futimes_ns (test.test_os.StatAttributeTests) --

[issue15746] test_winsound bombing out on 2003 buildslave

2012-08-20 Thread Trent Nelson
New submission from Trent Nelson: The 'Windows Server 2003 R2 SP1' build slave I set up keeps bombing out on test_winsound: == FAIL: test_alias_nofallback (test.test_winsound.PlaySoundTest)

[issue15747] Various chflags tests failing on FreeBSD/ZFS

2012-08-20 Thread Trent Nelson
New submission from Trent Nelson: Both of my FreeBSD ZFS slaves (8.2 and 9.1) have chflags tests failing as follows: == ERROR: test_chflags (test.test_posix.PosixTester) -

[issue15748] Various symlink test failures in test_shutil on FreeBSD

2012-08-20 Thread Trent Nelson
New submission from Trent Nelson: FreeBSD slaves are running into this: == ERROR: test_copy2_symlinks (test.test_shutil.TestShutil) -- Traceback (most recent c

[issue15739] Python crashes with "Bus error: 10"

2012-08-20 Thread Ned Deily
Ned Deily added the comment: I believe the issue Ronald is referring to is Issue9670. I tried your test program with a current MacPorts Python 2.7.3 and Django 1.4 and, as Ross saw, it failed gracefully with a "maximum recursion depth exceeded while calling a Python object" exception. Note i

[issue12834] memoryview.to_bytes() and PyBuffer_ToContiguous() incorrect for non-contiguous arrays

2012-08-20 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14130] memoryview: add multi-dimensional indexing and slicing

2012-08-20 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue3132] implement PEP 3118 struct changes

2012-08-20 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky -Alexander.Belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue15740] test_ssl failure when cacert.org CA cert in system keychain on OSX

2012-08-20 Thread Ned Deily
Ned Deily added the comment: As Ronald is aware, there is also the issue that Apple has deprecated use of OpenSSL in OS X: "Although OpenSSL is commonly used in the open source community, OpenSSL does not provide a stable API from version to version. For this reason, although OS X provides Op

[issue15739] Python crashes with "Bus error: 10"

2012-08-20 Thread Apple Grew
Apple Grew added the comment: Thanks. I tested with 2.7.3 (macport) and it indeed works. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue15749] cgitb prints html for text when display disabled.

2012-08-20 Thread aliles
New submission from aliles: If cgitb has been enabled to format as text but suppress the display, the output is formated as html. (Prefixed with ) >>> gitb.enable(display=0, format='txt') >>> raise ValueError('Oops!') A problem occurred in a Python script. The patch changes the prefix used

[issue15739] Python crashes with "Bus error: 10"

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: The stack size problem was issue #9670. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15645] 2to3 Grammar pickles not created when upgrading to 3.3.0b2

2012-08-20 Thread Ned Deily
Ned Deily added the comment: Patch LGTM and I verified that it does indeed install the pickles properly on both a vanilla Linux build/install and with an OS X framework build/install. (Note that, as expected, previously installed versioned pickles in the install library directory are not remov

[issue15740] test_ssl failure when cacert.org CA cert in system keychain on OSX

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: What's rather annoying is that I cannot find OpenSSL on opensource.apple.com, which means we cannot check if they use patches add functionality that our users would like to have. One such feature is likely keychain integration (that is, use the CA roots from

[issue15747] Various chflags tests failing on FreeBSD/ZFS

2012-08-20 Thread Trent Nelson
Trent Nelson added the comment: Turns out ZFS doesn't support any of the traditional chflags flags -- it returns EOPNOTSUPP for all of them. Attached patch factors this into the various chflags tests. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file26

[issue15740] test_ssl failure when cacert.org CA cert in system keychain on OSX

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Antoine: Apple almost certainly has hacked their copy of OpenSSL, they do so for other libraries (including python) as well. Apple does not ship CAcerts root certificate, I've added it to the System Keychain on my machine because I use a number of machines th

[issue15750] test_localtime_daylight_false_dst_true raises OverflowError: mktime argument out of range

2012-08-20 Thread Trent Nelson
New submission from Trent Nelson: On the FreeBSD 8.2 build slave: == ERROR: test_localtime_daylight_false_dst_true (test_utils.LocaltimeTests) -- Traceback (mos

[issue15751] Add PyGILState_SwitchInterpreter

2012-08-20 Thread Nick Coghlan
New submission from Nick Coghlan: Currently, modules that use the PyGILState* APIs cannot be used with mod_wsgi, as mod_wsgi uses the subinterpreter support. Graham Dumpleton and I spent some time discussing this at PyCon AU 2012, and we believe that the incompatibility can be resolved with a

[issue15750] test_localtime_daylight_false_dst_true raises OverflowError: mktime argument out of range

2012-08-20 Thread Trent Nelson
Trent Nelson added the comment: Narrowed it down to the following snippet: >>> time.mktime((2012, 3, 12, 1, 1, 0, 0, 72, -1)) 1331514060.0 [70780 refs] >>> time.mktime((2012, 3, 12, 1, 1, 0, 0, 72, 1)) Traceback (most recent call last): File "", line 1, in OverflowError: mktime argument out

[issue15740] test_ssl failure when cacert.org CA cert in system keychain on OSX

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: More interesingly are the download archives for OpenSSL098, which is the openssl version that's used on newer OSX releases. Sadly enough the version used on OSX 10.8 is not present there (that seems to be OpenSSL098-47, the latest download is -35). Download

[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset dbbf3ccf72e8 by Stefan Krah in branch '3.2': Issue #15736: Fix overflow in _PySequence_BytesToCharpArray(). http://hg.python.org/cpython/rev/dbbf3ccf72e8 -- nosy: +python-dev ___ Python tracker

[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Stefan Krah
Stefan Krah added the comment: I used the cast for gcc >= 4.6 and the assert() as a courtesy to authors of buggy sq_length() functions. Thanks for the comments! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed

[issue15750] test_localtime_daylight_false_dst_true raises OverflowError: mktime argument out of range

2012-08-20 Thread Trent Nelson
Trent Nelson added the comment: All my servers are set to use UTC, which affects how FreeBSD (and other BSDs) treat the isdst param in struct tm in mktime: #include #include #include int main(int argc, char **argv) { struct tm tm1, tm2; time_t t1, t2; memset((void *)&tm1, 0, s

<    1   2