[issue16588] gcc 4.7 unused-but-set warnings on Python/thread_pthread.h

2012-11-30 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Another patch proposal, not sure about which is cleaner. -- ___ Python tracker ___ ___ Python-bugs-

[issue16588] gcc 4.7 unused-but-set warnings on Python/thread_pthread.h

2012-11-30 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file28177/z2.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue16588] gcc 4.7 unused-but-set warnings on Python/thread_pthread.h

2012-11-30 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- title: gcc 4.7 ilegitimate unused-but-set warnings on Python/thread_pthread.h -> gcc 4.7 unused-but-set warnings on Python/thread_pthread.h ___ Python tracker __

[issue16588] gcc 4.7 ilegitimate unused-but-set warnings on Python/thread_pthread.h

2012-11-30 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- keywords: +patch Added file: http://bugs.python.org/file28176/z.diff ___ Python tracker ___ ___ Python

[issue16588] gcc 4.7 ilegitimate unused-but-set warnings on Python/thread_pthread.h

2012-11-30 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: The warning is legitimate. "error" is set to 0 at the beginning and it will be set to 1 if an error occurred (via CHECK_STATUS macro). But the variable "error" is never used in the function. So it is set, but never actually used in the function. The obvious

[issue16588] gcc 4.7 ilegitimate unused-but-set warnings on Python/thread_pthread.h

2012-11-30 Thread Bruno Dupuis
New submission from Bruno Dupuis: Looks like #10951, but for another version of gcc. I get these warnings: In file included from Python/thread.c:86:0: Python/thread_pthread.h: In function ‘PyThread_free_lock’: Python/thread_pthread.h:304:17: attention : variable ‘error’ set but not used [-W

[issue7976] warnings should provide a public API for accessing its option parsing code

2012-11-30 Thread Bruno Dupuis
Changes by Bruno Dupuis : Added file: http://bugs.python.org/file28175/warnings_opt_parse_API-7.patch ___ Python tracker ___ ___ Python-bugs-li

[issue16581] define "PEP editor" in PEP 1

2012-11-30 Thread Nick Coghlan
Nick Coghlan added the comment: +1 I wrote the stuff in PEP 1 about committers acting as editors, but agree the editor part itself also falls into the "currently unwritten, but should be written" category. -- ___ Python tracker

[issue7976] warnings should provide a public API for accessing its option parsing code

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: corrected, I changed the name of the function to parse_option, and I kept WarningsOptionParsingError as a name for the exception. These two sound good together. -- Added file: http://bugs.python.org/file28174/warnings_opt_parse_API-6.patch _

[issue16587] Py_Initialize breaks wprintf on Windows

2012-11-30 Thread Markus Kettunen
Markus Kettunen added the comment: If the standard streams are not used through Python, this hack can be used to work around the bug on C side: #ifdef WIN32 #include #endif ... Py_Initialize(); #ifdef WIN32 _setmode(stdin->_file, O_TEXT); _setmode(stdout->_file, O_TEXT); _setmode(stderr->_f

[issue16586] json library can't parse large (> 2^31) strings

2012-11-30 Thread Dustin Boswell
Dustin Boswell added the comment: I thought simplejson was a standard module for 2.6, and got renamed to json (replacing the older json module) in later versions. For instance, I get the same problem with 2.7 (no simplejson): python2.7 -c "import json; json.loads('[' + '''\"...\", ''' * 20

[issue16587] Py_Initialize breaks wprintf on Windows

2012-11-30 Thread Markus Kettunen
New submission from Markus Kettunen: In a C application on Windows, at least on MSVC 2010 and Windows 7, do this: wprintf(L"Test\n"); Py_Initialize(); wprintf(L"Test\n"); Output is: Test T e s t I was able to track the issue to fileio.c to the following code block by searching where wprintf

[issue7976] warnings should provide a public API for accessing its option parsing code

2012-11-30 Thread Éric Araujo
Éric Araujo added the comment: Thanks! Latest version looks good to me. David, Nick, do you want to have a look at the patch? -- ___ Python tracker ___

[issue1075356] exceeding obscure weakproxy bug

2012-11-30 Thread Bruno Dupuis
Changes by Bruno Dupuis : -- nosy: +bruno.dupuis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue7976] warnings should provide a public API for accessing its option parsing code

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: Changes made. I added the exception doc and some cosmetics -- Added file: http://bugs.python.org/file28173/warnings_opt_parse_API-5.patch ___ Python tracker __

[issue16586] json library can't parse large (> 2^31) strings

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ahem... I just noticed: import simplejson as json Dustin, this is not Python issue, this is simplejson issue. Can you reproduce the bug with standard json module? Try something like '[%*s]' % (2**32, ''), this should require less memory (especially on 3

[issue16586] json library can't parse large (> 2^31) strings

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue16009 has an effect on error messages. But this error message should not be. scan_once() returns a 32-bit overflowed index (994967285 == 330011 - 2**32). However all indices in Modules/_json.c are of type Py_ssize_t. -- ___

[issue16586] json library can't parse large (> 2^31) strings

2012-11-30 Thread Dustin Boswell
Dustin Boswell added the comment: Here's a slightly smaller/cleaner test case that only requires 12GB of ram to run: python -c "import simplejson as json; json.loads('[' + '''\"...\", ''' * 2 + '0]') " Traceback (most recent call last): File "", line 1, in File "/usr/lib/pymo

[issue16586] json library can't parse large (> 2^31) strings

2012-11-30 Thread Ezio Melotti
Ezio Melotti added the comment: Even if the json module can't handle these values, the error message can be improved. Serhiy, does you patch have any effect on the error message? -- nosy: +ezio.melotti type: crash -> behavior ___ Python tracker

[issue14621] Hash function is not randomized properly

2012-11-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 30.11.2012 22:27, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > >> try: >> mapping = {} >> mapping.max_collisions = 100 >> mapping.update(source) >> except CollisionLimitError: >> return 'no thank you' > > May be use

[issue16586] json library can't parse large (> 2^31) strings

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I saw nothing that could lead to a bug, except a few of the obsolete functions for work with size_t (for compatibility with versions <2.6). Here is a patch that gets rid of this outdated code. I don't have enough memory to check if this will help, but I thin

[issue7976] warnings should provide a public API for accessing its option parsing code

2012-11-30 Thread Éric Araujo
Éric Araujo added the comment: More comments in the review. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue16586] json library can't parse large (> 2^31) strings

2012-11-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue4805] Make python code compilable with a C++ compiler

2012-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue16586] json library can't parse large (> 2^31) strings

2012-11-30 Thread Dustin Boswell
New submission from Dustin Boswell: Here's a command-line that parses a json string containing a large array of short strings: python -c "import simplejson as json; json.loads('[' + '''\"asdfadf\", ''' * 1 + '\"asdfasf\"]') " That works, but if you increase the size a little bit (so t

[issue2897] include structmember.h in Python.h

2012-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue16568] allow constructors to be documented separately from class

2012-11-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue16566] Structure._anonymous_ should not allow strings

2012-11-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue2921] enable embedding: declare/#define only py* symbols in #includes

2012-11-30 Thread Bruno Dupuis
Changes by Bruno Dupuis : -- nosy: +bruno.dupuis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue16585] surrogateescape broken w/ multibytecodecs' encode

2012-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> docs@python components: +Documentation nosy: +docs@python stage: -> needs patch ___ Python tracker ___ ___

[issue14621] Hash function is not randomized properly

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > try: > mapping = {} > mapping.max_collisions = 100 > mapping.update(source) > except CollisionLimitError: > return 'no thank you' May be use a more general solution? try: with run_with_timeout(timeout=100, timer=collisions_count):

[issue14621] Hash function is not randomized properly

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Serhiy Storchaka: Yes, but it is still O(log n) worst case. Even in the > worst case rebalancing, you only need to walk up/down rotating/spliting > every node in your path. As the tree height is guaranteed to be x * log n > (x from 1 to 2, depending on the al

[issue6036] Clean up test_posixpath.py

2012-11-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 980b13df6ccd by Benjamin Peterson in branch '2.7': Remove redundant check for symlink. (closes #6036) http://hg.python.org/cpython/rev/980b13df6ccd -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected status:

[issue11797] 2to3 does not correct "reload"

2012-11-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch. Could you try to share could with fix_intern? Maybe by moving some things to fixer_utils. -- ___ Python tracker ___ __

[issue16585] surrogateescape broken w/ multibytecodecs' encode

2012-11-30 Thread Benjamin Peterson
Benjamin Peterson added the comment: Codecs should be fixed to accept bytes from the error handler and the definition in the docs loosened. Returning bytes seems to be useful. -- ___ Python tracker ___

[issue6036] Clean up test_posixpath.py

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: Mark, correct, this test doesn't exist in 3.X branches. I updated the patch for 2.7. It is trivial, so if someone may merge it, we could close this bug (please, before next SCM switch :-) ) -- nosy: +loewis Added file: http://bugs.python.org/file28170/6

[issue14621] Hash function is not randomized properly

2012-11-30 Thread René
René added the comment: Serhiy Storchaka: Yes, but it is still O(log n) worst case. Even in the worst case rebalancing, you only need to walk up/down rotating/spliting every node in your path. As the tree height is guaranteed to be x * log n (x from 1 to 2, depending on the algorithm), the reb

[issue14621] Hash function is not randomized properly

2012-11-30 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 30.11.2012 21:06, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > René, a balanced tree requires rebalancing on every (or almost every) item > for some special (sorted) data sequences. Sure, but that's still O(N*log N) for an attack

[issue14621] Hash function is not randomized properly

2012-11-30 Thread Michal Petrucha
Michal Petrucha added the comment: On Fri, Nov 30, 2012 at 08:06:32PM +, Serhiy Storchaka wrote: > René, a balanced tree requires rebalancing on every (or almost > every) item for some special (sorted) data sequences. That's perfectly true and it holds for most unsorted sequences as well --

[issue16585] surrogateescape broken w/ multibytecodecs' encode

2012-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Unicode nosy: +benjamin.peterson, ezio.melotti, haypo, lemburg, pitrou, serhiy.storchaka type: -> behavior versions: +Python 3.4 ___ Python tracker ___

[issue16585] surrogateescape broken w/ multibytecodecs' encode

2012-11-30 Thread Philip Jenvey
New submission from Philip Jenvey: surrogateescape claims to be "implemented by all standard Python codecs" http://docs.python.org/3/library/codecs.html#codec-base-classes However it fails w/ multibytecodecs on encode: Python 3.2.3+ (3.2:eb999002916c, Oct 26 2012, 16:11:03) [GCC 4.2.1 (Apple

[issue16581] define "PEP editor" in PEP 1

2012-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Nov 30, 2012, at 07:55 PM, Chris Jerdonek wrote: >Thanks for providing the info. To clarify, is membership in peps@ restricted >to editors? Yes. It may not be a perfect overlap, but that's the best we have, and should be the intent, IMHO. -- ___

[issue14621] Hash function is not randomized properly

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: René, a balanced tree requires rebalancing on every (or almost every) item for some special (sorted) data sequences. -- ___ Python tracker __

[issue14621] Hash function is not randomized properly

2012-11-30 Thread René
René added the comment: Serhiy Storchaka: I said a O(log n) data structure, so I was referring to balanced trees, like AVL, RBT or B+-tree. They are not vulnerable to sorted data. The downside is that they need the keys to provide robust comparison methods (like, if z < y < x, then z < x). C

[issue16582] Tkinter calls SystemExit with string

2012-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +gpolo versions: -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue16583] Tkinter nested SystemExit

2012-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +2to3 (2.x to 3.x conversion tool) nosy: +benjamin.peterson, gpolo versions: -Python 3.1 ___ Python tracker ___

[issue16581] define "PEP editor" in PEP 1

2012-11-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for providing the info. To clarify, is membership in peps@ restricted to editors? -- ___ Python tracker ___ ___

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: Thank you for the review, Guilherme. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue12891] Clean up traces of manifest template in packaging

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: Ok, thanks, Èric. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14621] Hash function is not randomized properly

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: However a tree data structure is vulnerable to sorted data. May be worth it to have the two hash functions (switchable by interpreter option or environment variable), strong for applications which can be attacked, and fast for applications which run in safe

[issue14621] Hash function is not randomized properly

2012-11-30 Thread Christian Heimes
Christian Heimes added the comment: No, Murmur3 *is* busted. Some clever people have found a way to perform a universal multicollision attack, that's a key independent attack. An attacker doesn't need to know the seed for an attack. Collision counting as not a solution for the issue, just a wo

[issue16581] define "PEP editor" in PEP 1

2012-11-30 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Nov 30, 2012, at 02:00 AM, Chris Jerdonek wrote: >In particular, PEP 1 should say whether editorship is an invitation-only >status and/or how one becomes a PEP editor. It would also be good if it said >(for transparency) how to go about seeing the current l

[issue16581] define "PEP editor" in PEP 1

2012-11-30 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +anthony_baxter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16349] Document whether it's safe to use bytes for struct format string

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, this is not r59687. I can't found from which revision in 59680-59695 it came. -- nosy: +christian.heimes ___ Python tracker ___ _

[issue16349] Document whether it's safe to use bytes for struct format string

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2 supports only str. Support for unicode objects has been added in r59687 (merged with other unrelated changes in changeset 13aabc23cf2e). Maybe Raymond can explain why the type for the Struct.format was chosen bytes, not unicode. -- componen

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2012-11-30 Thread Till Maas
Changes by Till Maas : -- keywords: +patch Added file: http://bugs.python.org/file28169/filecmp_exception.patch ___ Python tracker ___ ___

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2012-11-30 Thread Till Maas
New submission from Till Maas: If filecmp is used with files that the user is not allowed to read, it creates an IOError exception instead of returning the file's name as an file that could not compared. The documentation says: http://docs.python.org/2/library/filecmp.html Returns three lists

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > So specifying "text" and "textvariable" is the same for tk. Thanks for clarifying. -- ___ Python tracker ___ __

[issue16583] Tkinter nested SystemExit

2012-11-30 Thread Abraham Karplus
New submission from Abraham Karplus: When a callback function gets called from Tkinter and raises SystemExit (either directly or through sys.exit), a new SystemExit exception is raised with the original exception as its code field, such as SystemExit(SystemExit(),) This is due to a bug in Tkint

[issue14621] Hash function is not randomized properly

2012-11-30 Thread René
René added the comment: Christian Heimes: It has always been trivial to artificially generate collisions for fast hashes designed for hash tables, like MurmurHash. I wouldn't call Murmurhash3 "busted" because of that, as this was never a design goal. It is a known propriety of this type of has

[issue16582] Tkinter calls SystemExit with string

2012-11-30 Thread Abraham Karplus
New submission from Abraham Karplus: Exiting a Tkinter application normally results in printing '0' and exiting with error code 1. This is a result of Tkinter's _exit function, whose default argument for code is the string '0'. It then calls SystemExit with the code argument. However, accordin

[issue15727] PyType_FromSpecWithBases tp_new bugfix

2012-11-30 Thread Robin Schreiber
Robin Schreiber added the comment: Here is revised version of the patch. Martin von Löwis and I had discovered a way to reproduce problems with refactored modules, that occur without this patch. This is was several months ago, however I will try to give you a code sample! :-) -- keyw

[issue12891] Clean up traces of manifest template in packaging

2012-11-30 Thread Éric Araujo
Éric Araujo added the comment: Packaging is removed from the stdlib, and distutils2 (the backport for Python 2.5-3.3) shares its uncertain future. It would take too long to explain why that is here; I’m working on a blog post to do that and will give a link if you are interested. --

[issue16535] json encoder unable to handle decimal

2012-11-30 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue16490] "inspect.getargspec()" and "inspect.getcallargs()" don't work for builtins

2012-11-30 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Larry, Ping... :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue10589] I/O ABC docs should specify which methods have implementations

2012-11-30 Thread Andrew Svetlov
Andrew Svetlov added the comment: Updated the patch. Is it ok now? -- nosy: +asvetlov Added file: http://bugs.python.org/file28166/issue10589.diff ___ Python tracker ___

[issue14174] argparse.REMAINDER fails to parse remainder correctly

2012-11-30 Thread Michael Edwards
Michael Edwards added the comment: I'm attaching my own bug repro script for Eric. Is this sufficient? I can demonstrate the entire resulting Namespace, but the problem is that argparse doesn't even produce a Namespace. The cases I show simply fail. -- nosy: +Michael.Edwards Added file

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2012-11-30 Thread Guilherme Polo
Guilherme Polo added the comment: Calm down for a moment. This is just incorrect usage of Entry. There is no "text" parameter documented for this class (see its docstring, for a quick reference on that). Also, there is a lot of Tkinter documentation, the official one at can be found at http:/

[issue6036] Clean up test_posixpath.py

2012-11-30 Thread Bruno Dupuis
Changes by Bruno Dupuis : -- nosy: +bruno.dupuis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2012-11-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Tkinter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2012-11-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I confirm this. The bug appears sporadically on 3.x. When the entry displays text, self.entry1['textvariable'] is 'PY_VAR0'. When it does not, self.entry1['textvariable'] is '0' (actually the value of "text" parameter). The bug is due to the fact that optio

[issue16235] Add python-config.sh for use during cross compilation.

2012-11-30 Thread Ray Donnelly
Ray Donnelly added the comment: New patch attached: LIBPL changed to a more direct AC_SUBST and PLATINCDIR used for --includes and --cflags. -- Added file: http://bugs.python.org/file28164/-add-python-config-sh.patch ___ Python tracker

[issue14892] 'import readline' hangs when launching with '&' on BSD and OS X

2012-11-30 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list maili

[issue777588] asyncore is broken for windows if connection is refused

2012-11-30 Thread Marc Schlaich
Marc Schlaich added the comment: This issue is not fixed. Another workaround would be the `win32select` function from twisted: http://twistedmatrix.com/trac/browser/trunk/twisted/internet/selectreactor.py#L23 -- nosy: +schlamar ___ Python tracker <

[issue16472] Distutils+mingw links agains msvcr90, while python27.dll is linked agains msvcrt

2012-11-30 Thread Václav Šmilauer
Václav Šmilauer added the comment: I was having a compiled module consistently crash at import time when linking against msvcr90, and being imported fine when linked against msvcrt. I will try to investigate further with mingw folks. -- ___ Python t

[issue10259] Entry text not set if all of 'Font', 'Foreground' and 'Justify' are set

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: I updated the script to 3k. Now the behaviour is very odd : Python 2.7: works only if `justify="right"` is commented out. Python 3.3: Shroedinger-like behaviour (sometimes dead, sometimes alive, nobody knows before we check) whith `justify="right"` Looks like s

[issue12891] Clean up traces of manifest template in packaging

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: Sounds easy even though there's quite a bit of lines to impact. I may do it, I just need a go. Tarek? Éric? anyone? -- nosy: +bruno.dupuis versions: -3rd party ___ Python tracker

[issue6835] doctest problem with decorated function when decorator is defined in separate file

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: it's a duplicate of #1108 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue6835] doctest problem with decorated function when decorator is defined in separate file

2012-11-30 Thread Bruno Dupuis
Bruno Dupuis added the comment: updated the test to 3k (requires sh and Python2.{6,7} as python2). It works. Anyone to close? -- nosy: +ezio.melotti, michael.foord Added file: http://bugs.python.org/file28162/mytest3k.sh ___ Python tracker

[issue16349] Document whether it's safe to use bytes for struct format string

2012-11-30 Thread Thomas Kluyver
Thomas Kluyver added the comment: I'm happy to put together a docs patch, but I don't have any indication of the right answer (is it a safe feature to use, or an implementation detail?) Is there another venue where I should raise the question? -- __