[issue17887] docs: summary page - generator vs iterator vs iterable

2013-04-30 Thread anatoly techtonik
New submission from anatoly techtonik: Docs lack a good summary page comparing three concepts. The main question is how do I tell if something is a sequence, generator, iterator or iterable? I found myself puzzled that range() is neither generator or iterator. -- assignee: docs@python

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

2013-04-30 Thread Ned Deily
Ned Deily added the comment: Thanks for the report, Eric. It confirms that the problem still exists with everything current. I'm sorry you are hitting the crash. Without being able to reliably reproduce the problem, it's difficult to be able to help. Are there any hints you can give about

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

2013-04-30 Thread Kyle Roberts
Kyle Roberts added the comment: I've uploaded a new patch with the obj argument properly marked up. Brian, I think *obj* is what we want based on other examples in that file. It looks like italics is typically used when discussing parameters since each parameter is italicized in the signature.

[issue17886] spam

2013-04-30 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> invalid status: open -> closed title: Invitation to connect on LinkedIn -> spam ___ Python tracker ___ _

[issue17886] Invitation to connect on LinkedIn

2013-04-30 Thread Hank Christian
New submission from Hank Christian: LinkedIn Python, I'd like to add you to my professional network on LinkedIn. - Henry Henry Christian ADJUNCT PROFESSOR at Central Texas College Greater Los Angeles Area Confirm that you know Henry Christian: https://www.linkedin.com/e/-3qcne3-

[issue17874] ProcessPoolExecutor in interactive shell doesn't work in Windows

2013-04-30 Thread Decade
Decade added the comment: Ah. Then, a documentation error. The error message ("queue.Full"?) and the documentation are totally not clear about that. Does ProcessPoolExecutor just not require tasks to be picklable in Unix? Also, this raises questions about what exactly "picklable" means, and wh

[issue17885] multiprocessing.Process child process imports package instead of parent file

2013-04-30 Thread R. David Murray
R. David Murray added the comment: I take it you are on a case insensitive file system, in which case this is just the way imports work in Python: a package is preferred to a .py file with the same name. -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected sta

[issue17885] multiprocessing.Process child process imports package instead of parent file

2013-04-30 Thread HCT
New submission from HCT: created a project with the following content CODEC/ CODEC/video.py CODEC/audio.py CODEC/__init__.py CRC/ CRC/crc24.py CRC/crc32.py CRC/__init__.py TEST/test_crc.py TEST/test_codec.py TEST/__init__.py __init__.py test.py main.py test.py contain tests that launches multip

[issue17870] Python does not provide PyLong_FromIntMax_t() or PyLong_FromUintMax_t() function

2013-04-30 Thread STINNER Victor
STINNER Victor added the comment: Another patch to use PyLong_FromIntMax_t(). -- Added file: http://bugs.python.org/file30085/use_intmax_t.patch ___ Python tracker ___ __

[issue16177] IDLE Crash on Open Parens

2013-04-30 Thread Eric Schulz
Eric Schulz added the comment: I can repo with MacOS 10.8.3 and Tcl 8.5.13. I'm fairly certian it is triggered by the calltip. However, it is intermittent. I can work for a while, get comfortable and let my guard down, then hit the crash. Typically after I have a good amount of unsaved wor

[issue17884] Try to reuse stdint.h types like int32_t

2013-04-30 Thread STINNER Victor
STINNER Victor added the comment: See also issue #17870 related to intmax_t and uintmax_t. -- ___ Python tracker ___ ___ Python-bugs-l

[issue17870] Python does not provide PyLong_FromIntMax_t() or PyLong_FromUintMax_t() function

2013-04-30 Thread STINNER Victor
STINNER Victor added the comment: See also issue #17884. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue17884] Try to reuse stdint.h types like int32_t

2013-04-30 Thread STINNER Victor
New submission from STINNER Victor: In different places, macros like SIZEOF_VOID_P or SIZEOF_LONG to choose a type, whereas the C language proposes standard types since ISO C99: intXX_t and uintXX_t (8, 16, 32, 64), intptr_t, etc. Python should rely on these new types instead of trying to reim

[issue17712] test_gdb failures

2013-04-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue17712] test_gdb failures

2013-04-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset c241831a91f2 by Antoine Pitrou in branch '2.7': Issue #17712: Fix test_gdb failures on Ubuntu 13.04. http://hg.python.org/cpython/rev/c241831a91f2 -- ___ Python tracker

[issue17712] test_gdb failures

2013-04-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e58cafbebfc by Antoine Pitrou in branch '3.3': Issue #17712: Fix test_gdb failures on Ubuntu 13.04. http://hg.python.org/cpython/rev/4e58cafbebfc New changeset 4e186581fea7 by Antoine Pitrou in branch 'default': Issue #17712: Fix test_gdb failures

[issue17870] Python does not provide PyLong_FromIntMax_t() or PyLong_FromUintMax_t() function

2013-04-30 Thread STINNER Victor
STINNER Victor added the comment: Here is a first patch adding the following functions: PyObject* PyLong_FromIntMax_t(intmax_t v); PyObject* PyLong_FromUintMax_t(uintmax_t v); intmax_t PyLong_AsIntMax_t(PyObject *pylong); uintmax_t PyLong_AsUintMax_t(PyObject *pylong); I used AC

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: idlelib has two files that *might* be helpful to anyone who wants to pursue this: PyParse.py and HyperParser.py. One use of the latter is for calltips. When the user types '(', the HyperParser is used first to determine whether the '(' is preceded by an operat

[issue17630] Create a pure Python zipfile importer

2013-04-30 Thread Dmi Baranov
Changes by Dmi Baranov : -- nosy: +dmi.baranov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread Ezio Melotti
Ezio Melotti added the comment: > Consider: >r(a()/b(), > d()/e(), > g=h()/i(), > ) I tried to run this, with e() == 0, and got: Traceback (most recent call last): File "deleteme.py", line 6, in d()/e(), ZeroDivisionError: division by zero This is actually a good point

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: >>> Printing a fragment of the logical line is clearly not very helpful Given the unbounded and recursive nature of 'logical line', I disagree with that as a general, versus special-case, statement. Consider: r(a()/b(), d()/e(), g=h()/i(),

[issue17829] csv.Sniffer.snif doesn't set up the dialect properly for a csv created with dialect=csv.excel_tab and containing quote (") char

2013-04-30 Thread Dmi Baranov
Changes by Dmi Baranov : -- nosy: +dmi.baranov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17883] Fix buildbot testing of Tkinter

2013-04-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +roger.serwy stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue17825] Indentation.offset and SyntaxError.offset mismatch

2013-04-30 Thread Florent Xicluna
Florent Xicluna added the comment: Patch updated with latest changes of trunk. -- Added file: http://bugs.python.org/file30081/patch_indenterror_offset_v2.diff ___ Python tracker ___

[issue17883] Fix buildbot testing of Tkinter

2013-04-30 Thread Zachary Ware
New submission from Zachary Ware: Ezio, you brought up the fact that the 2.7 Windows buildbots were skipping the Tkinter tests in Terry's core-mentorship thread about tkinter on Windows last month, and I've finally learned what is causing that failure. It appears that when 689a813f4afc and df

[issue16518] add "buffer protocol" to glossary

2013-04-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 474f28bf67b3 by Ezio Melotti in branch '3.3': #16518: add "bytes-like object" to the glossary. http://hg.python.org/cpython/rev/474f28bf67b3 New changeset 747cede24367 by Ezio Melotti in branch 'default': #16518: merge with 3.3. http://hg.python.org

[issue17857] sqlite modules doesn't build with 2.7.4 on Mac OS X 10.4

2013-04-30 Thread Ned Deily
Ned Deily added the comment: Georg, do you want a 3.2 patch for this as well? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue17864] IDLE won't run

2013-04-30 Thread Ben Read
Ben Read added the comment: Good news - ran the sudo command, entered the password but I could still not make the directory, but I could within Finder - this time without a password. Tried the IDLE application again and it now works. Thank you once again for your help in resolving this. Reg

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

2013-04-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps we should correct a documentation for PyUnicode_FromEncodedObject() too. Coercing doesn't look as right term for decoding. -- title: Wrong documentation for PyUnicode_FromObject() -> Wrong documentation for PyUnicode_FromObject() and PyUnicod

[issue15984] Wrong documentation for PyUnicode_FromObject()

2013-04-30 Thread Kyle Roberts
Kyle Roberts added the comment: Thanks for the quick responses. Brian: Nice catch, I'll add the ``obj`` shortly. R. David: You're correct, that's exactly what happens, and what coercion means here. The language is almost the same as PyUnicode_FromEncodedObject()'s documentation, but if it's u

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Due to the coming of regression fix releases the fix for this issue urgently needed. It fixes a regression in issue17585 which fixes a regression in last bugfix releases. -- nosy: +benjamin.peterson, georg.brandl, larry priority: normal -> release bl

[issue17585] IDLE - regression with exit() and quit()

2013-04-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This fix introduces other bug (see issue17838). I think this fix with issue17838 fix should be included in next regression releases. -- nosy: +benjamin.peterson, georg.brandl, larry priority: critical -> release blocker status: closed -> open versions

[issue17656] Python 2.7.4 breaks ZipFile extraction of zip files with unicode member paths

2013-04-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15984] Wrong documentation for PyUnicode_FromObject()

2013-04-30 Thread R. David Murray
R. David Murray added the comment: So (speaking from C API ignorance here), if you pass it a unicode subclass you get back an instance of the base unicode type? Is that what coercion means here? -- nosy: +r.david.murray ___ Python tracker

[issue17857] sqlite modules doesn't build with 2.7.4 on Mac OS X 10.4

2013-04-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this fix should be included in the next regression release. -- ___ Python tracker ___ ___

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread R. David Murray
R. David Murray added the comment: The point is to print one logical line. Printing a fragment of the logical line is clearly not very helpful...I have found myself a number of times looking for the bug in the fragment printed, and (quickly, but still...) then remembering that the traceback j

[issue17857] sqlite modules doesn't build with 2.7.4 on Mac OS X 10.4

2013-04-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, larry priority: normal -> release blocker status: closed -> open versions: +Python 3.2 ___ Python tracker ___ _

[issue17819] removes need for CONFIG_SITE external configuration

2013-04-30 Thread Antonio Cavallo
Changes by Antonio Cavallo : -- nosy: +benjamin.peterson, doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17822] Save on Close windows (IDLE)

2013-04-30 Thread Guilherme Simões
Guilherme Simões added the comment: I didn't test Roger's patch because I have limited access to Windows, but I think it should solve this specific issue. But the problem is actually more general. For example, the same odd behavior happens when you try to run a module without saving. On MacOS

[issue15984] Wrong documentation for PyUnicode_FromObject()

2013-04-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue15984] Wrong documentation for PyUnicode_FromObject()

2013-04-30 Thread Brian Curtin
Brian Curtin added the comment: In the "Otherwise it coerces" sentence, obj should probably be ``obj``. -- nosy: +brian.curtin ___ Python tracker ___

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK, you would make tracebacks even longer by adding lines that might or might not be be useful. Suppose the error is not the assertion itself, but in one of the expressions (in this case, being compared for equality): self.assertEqual(1/0, 1000) Or

[issue15088] PyGen_NeedsFinalizing is public, but undocumented

2013-04-30 Thread Nathan Housel
Nathan Housel added the comment: Please correct me if I'm wrong, but I think PyGen_NeedsFinalizing should not be an API function because it is only used, nor _PyGen_FetchStopIterationValue. In the attached patch I've removed PyGen_NeedsFinalizing and _PyGen_FetchStopIterationValue fom the publ

[issue17882] test_objecttypes fails for 3.2.4 on CentOS 6

2013-04-30 Thread bharper
New submission from bharper: Hello, I have been running into some issues with test_objecttypes with 3.2.4 on CentOS 6: == FAIL: test_objecttypes (test.test_sys.SizeofTest) ---

[issue17870] Python does not provide PyLong_FromIntMax_t() or PyLong_FromUintMax_t() function

2013-04-30 Thread STINNER Victor
STINNER Victor added the comment: Some Google searchs told me that no CPU support 128-bit integer and using 64-bit integer as intmax_t is safe. GCC has a __int128 type, but I didn't find on which platform it is supported, nor if intmax_t is __int128 in this case. Microsoft Visual Studio has std

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread R. David Murray
R. David Murray added the comment: I agree that printing all the lines would be best, and printing the first line would be second best. I suspect once someone works out how to do the latter it is just as easy to do the former, though :) -- nosy: +r.david.murray __

[issue17876] Doc issue with threading.Event

2013-04-30 Thread R. David Murray
R. David Murray added the comment: I'm sorry, the 3.2 docs are no longer updated. The effective way to become aware of these changes between versions is via the 'version changed' tags in the new documentation. You will note that these tags exist in the 3.3 docs. -- nosy: +r.david.mur

[issue17843] Lib/test/testbz2_bigmem.bz2 trigger virus warnings

2013-04-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ah, sorry, I see what you mean. Will do. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue17843] Lib/test/testbz2_bigmem.bz2 trigger virus warnings

2013-04-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm just going to branch off the current 2.7 branch at this point. -- ___ Python tracker ___ ___

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset cf65c7a75f55 by Benjamin Peterson in branch 'default': check local class namespace before reaching for cells (closes #17853) http://hg.python.org/cpython/rev/cf65c7a75f55 -- nosy: +python-dev resolution: -> fixed stage: -> committed/reject

[issue17881] plistlib.writePlist documentation clarification for file object

2013-04-30 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: -> ezio.melotti components: +Documentation nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3, Python 3.4 -Python 3.2 ___

[issue17881] plistlib.writePlist documentation clarification for file object

2013-04-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e9d21761fc1 by Ezio Melotti in branch '3.3': #17881: clarify documentation of plistlib. http://hg.python.org/cpython/rev/6e9d21761fc1 New changeset 1ec6d3cc217d by Ezio Melotti in branch 'default': #17881: merge with 3.3. http://hg.python.org/cpyth

[issue17881] plistlib.writePlist documentation clarification for file object

2013-04-30 Thread Lance Helsten
New submission from Lance Helsten: plistlib.writePlist documentation states """Write 'rootObject' to a .plist file. 'pathOrFile' may either be a file name or a (writable) file object.""", but if a text IO object is given for the pathOrFile object (e.g. ``io.TextIOBase`` or ``sys.stdout``) a ``

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > But on python-ideas, G. Rodola noted the following > assert \ > 1 == 0, \ > "error" [...] > and requested that the *second* or *middle* line should be reported. No, I was suggesting (assuming it's reasonably possible in terms of implementation)

[issue17721] Help button on preference window doesn't work

2013-04-30 Thread Roger Serwy
Roger Serwy added the comment: LGTM. -- stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-30 Thread Nick Coghlan
Nick Coghlan added the comment: Aside from the spurious definition of CLASS_FREE, looks good to me. I did need to double check that PyDict_GetItem is the API that *doesn't* raise the error :) -- ___ Python tracker

[issue17880] `tmpnam_r' is dangerous, better use `mkstemp'

2013-04-30 Thread Christian Heimes
Christian Heimes added the comment: Please ignore the linker warning. tmpnam_r has been removed from Python 3.x. It's still available in 2.7 for legacy reasons and marked as dangerous in our docs http://docs.python.org/2.7/library/os.html#os.tempnam -- nosy: +christian.heimes resolutio

[issue17879] corrupt download

2013-04-30 Thread Ezio Melotti
Ezio Melotti added the comment: OK, I'll close the issue then. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17879] corrupt download

2013-04-30 Thread Steffen Flemming
Steffen Flemming added the comment: yes on other host now its working. was confused by it was affecting two files. -- ___ Python tracker ___ _

[issue17879] corrupt download

2013-04-30 Thread Ezio Melotti
Ezio Melotti added the comment: Have you tried downloading it again? -- nosy: +benjamin.peterson, ezio.melotti ___ Python tracker ___

[issue17880] `tmpnam_r' is dangerous, better use `mkstemp'

2013-04-30 Thread Steffen Flemming
New submission from Steffen Flemming: /tmp/Python-2.7.3/./Modules/posixmodule.c:7432: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' -- components: Build messages: 188152 nosy: u14183 priority: normal severity: normal status: open title: `tmpnam_r' is dangerous, bette

[issue17879] corrupt download

2013-04-30 Thread Steffen Flemming
New submission from Steffen Flemming: http://www.python.org/ftp/python/2.7.4/Python-2.7.4.tgz http://www.python.org/ftp/python/2.7.4/Python-2.7.4.tar.bz2 at 30.04.2013 12:45 bzip2: Compressed file ends unexpectedly; -- components: Build messages: 188151 nosy: u14183 priority: normal seve

[issue17874] ProcessPoolExecutor in interactive shell doesn't work in Windows

2013-04-30 Thread Richard Oudkerk
Richard Oudkerk added the comment: Some sort of error is expected. On Windows any functions or classes used in a task sent the executor must be picklable/unpicklable. This means that they must be defined in an importable module rather than being defined in the interactive shell. On Unix, you

[issue17870] Python does not provide PyLong_FromIntMax_t() or PyLong_FromUintMax_t() function

2013-04-30 Thread STINNER Victor
STINNER Victor added the comment: > Or maybe even better would be PyLong_FromBytes(&myinteger, sizeof(myinteger)) > ? There is a private function: obj = _PyLong_FromByteArray((const unsigned char*)&myinteger, sizeof(myinteger), PY_LITTLE_ENDIAN, is_signed); Where PY_LITTLE_ENDIAN is 1 on lit

[issue17773] test_pydoc fails with the installed testsuite (2.7)

2013-04-30 Thread koobs
koobs added the comment: I am seeing a similar set of test failures buildbots for 2.7 that are relatively recent too: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%2Bclang%202.7/builds/479/steps/test/logs/stdio I cant account for test_html_doc failure but I have seen a

[issue17878] There is no way to get a list of available codecs

2013-04-30 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17878] There is no way to get a list of available codecs

2013-04-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +lemburg, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue17878] There is no way to get a list of available codecs

2013-04-30 Thread Paul Moore
New submission from Paul Moore: The codecs module allows the user to register additional codecs, but does not offer a means of getting a list of registered codecs. This is important, for example, in a tool to re-encode files. It is reasonable to expect that such a tool would offer a list of su

[issue17721] Help button on preference window doesn't work

2013-04-30 Thread Guilherme Simões
Guilherme Simões added the comment: Hi, Terry! I already signed the Contributor License Agreement Form. Attached is a new patch with the buttons commented out and a small comment explaining why I did that. I hope the patch is better now. -- Added file: http://bugs.python.org/file30078

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread Dmi Baranov
Changes by Dmi Baranov : -- nosy: +dmi.baranov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17877] Skip test_variable_tzname when the zoneinfo database is missing

2013-04-30 Thread Ezio Melotti
New submission from Ezio Melotti: If the Olson/zoneinfo/tz database is missing, test_variable_tzname fails: [1/1] test_email Warning -- sys.path was modified by test_email test test_email failed -- Traceback (most recent call last): File "/usr/local/lib/python3.3/test/support.py", line 1311, i

[issue17868] pprint long non-printable bytes as hexdump

2013-04-30 Thread anatoly techtonik
anatoly techtonik added the comment: Some issues: 1. the hex converting logic doesn't belong to base64 module - there is no chance a person without StackOverflow access can find it 2. i'd put issue17862 first as a dependency for this one, because proposed itertools.chunks() can be further opti

[issue17192] libffi-3.0.13 import

2013-04-30 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17843] Lib/test/testbz2_bigmem.bz2 trigger virus warnings

2013-04-30 Thread Nadeem Vawda
Nadeem Vawda added the comment: Benjamin, please cherry-pick this for 2.7.4 as well (changesets b7bfedc8ee18 and 529c4defbfd7). -- stage: needs patch -> commit review versions: +Python 2.7 ___ Python tracker _

[issue17870] Python does not provide PyLong_FromIntMax_t() or PyLong_FromUintMax_t() function

2013-04-30 Thread STINNER Victor
STINNER Victor added the comment: >> It is the same question than yours: is there a platform with an integer type >> wider than a pointer (intptr_t/void*)? > It's x86. sizeof(void*) == 4, sizeof(long long) == 8. Ah yes. So "SIZEOF_VOID_P <=" is not a good test. File position (off_t) size can

[issue10309] dlmalloc.c needs _GNU_SOURCE for mremap()

2013-04-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 663800e18fef by Gregory P. Smith in branch '3.2': This local change was lost during the fixing of issue17192 to update http://hg.python.org/cpython/rev/663800e18fef New changeset 7438d202e380 by Gregory P. Smith in branch '2.7': This local change wa

[issue11729] libffi assembler relocation check is not robust, fails with clang

2013-04-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a2e0c1bb1a9 by Gregory P. Smith in branch '3.2': * Fix issue 17192 for 3.2 - reapply the issue11729 patch that was undone http://hg.python.org/cpython/rev/7a2e0c1bb1a9 New changeset aa3371fa9773 by Gregory P. Smith in branch '3.3': * Fix PART of is

[issue17192] libffi-3.0.13 import

2013-04-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a2e0c1bb1a9 by Gregory P. Smith in branch '3.2': * Fix issue 17192 for 3.2 - reapply the issue11729 patch that was undone http://hg.python.org/cpython/rev/7a2e0c1bb1a9 New changeset aa3371fa9773 by Gregory P. Smith in branch '3.3': * Fix PART of is

[issue17192] libffi-3.0.13 import

2013-04-30 Thread koobs
koobs added the comment: Ready to confirm on buildbots when this lands Also, libffi-3.0.13 is installed on my buildbots if you want to use -custom to have a play, I can be pinged anytime on IRC if I can be of any assistance. koobs @ #python-dev --

[issue17852] Built-in module _io can loose data from buffered files at exit

2013-04-30 Thread STINNER Victor
STINNER Victor added the comment: > It's guaranteed for exit(), not _Exit()/_exit(). Oops ok, thanks. 2013/4/30 Charles-François Natali : > > Charles-François Natali added the comment: > >> Hum, POSIX (2004) is not so strict: >> "Whether open streams are flushed or closed, or temporary files ar

[issue17714] str.encode('base64') add trailing new line character. It is not documented.

2013-04-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: needs patch -> patch review type: -> enhancement ___ Python tracker ___ ___ P

[issue17192] libffi-3.0.13 import

2013-04-30 Thread Georg Brandl
Georg Brandl added the comment: OK, 3.2 block disabled, push away. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17876] Doc issue with threading.Event

2013-04-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue17192] libffi-3.0.13 import

2013-04-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: I've got this and all of the fixes necessary for 3.3, default and 2.7 in my local repositories. odd thing in the 3.2 patch: it is entirely unclear to me if the issue 10309 fix needs to be kept. i included it as it was missing from 3.2 after previous commit

[issue17272] request.full_url: unexpected results on assignment

2013-04-30 Thread Demian Brecht
Demian Brecht added the comment: Issue 8280 reports the error by way of urlopen(). In light of that, would it not make more sense to have the *Opener be responsible for determining which parts of the url should be used? i.e. request.py, line ~1255: r.url = req.get_full_url() might instead be

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-30 Thread Ezio Melotti
Ezio Melotti added the comment: I think all the lines involved in a multi-line expression should be reported. Take for example this simple code: x = [int(c, 16) for c in '0123456789ABCDEFG' if c.isdigit() or c.isupper()] With Python 2 the traceback is: Traceback (most recent cal

[issue17875] Set Intersection returns unexpected results

2013-04-30 Thread Mark Dickinson
Mark Dickinson added the comment: It appears that your list1 and list2 are not regular Python lists, but have type cobra.core.DictList (which inherits from list, but overrides the 'index' method). cobra is a 3rd party package, not maintained by the Python developers, so I'm afraid this isn't