[issue4815] idle 3.1a1 utf8

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: IDLE is right to save the file as UTF-8; the file is invalid Python 3.0 code. In Python 3.0, the source encoding *is* UTF-8; nothing else is allowed unless you have an encoding declaration. Perhaps IDLE should offer to convert it on opening. -- nosy:

[issue4794] garbage collector blocks and takes worst-case linear time wrt number of objects

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > OK cool, that's the development strategy we've already adopted. Is this > limitation of Python's garbage collector in relation to real-time > applications documented anywhere? Why do you ask? (this is OT for the bug tracker) It's not in the Python documentat

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: The patch is incorrect. Tkapp_Mainloop is supposed to work both as a module function and a method, and it tests for self to find out which case it is. Now, this test is apparently broken in 3.x, but that could be fixed, instead of ripping the module function ou

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

2009-01-02 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file12530/c++-patch-1.diff ___ Python tracker ___ ___ Python-bugs-list m

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

2009-01-02 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file12560/c++-patch-2.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2009-01-02 Thread Pavel Kosina
Pavel Kosina added the comment: I vote for fixing this too. This might be simplified/another example of above mentioned issues: # -*- coding: utf-8 -*- print ("ěščřžýáíé") in IDLE prints this: >>> ěščřžýáíé When running this script under python command line from another editor, I ge

[issue4815] idle 3.1a1 utf8

2009-01-02 Thread Pavel Kosina
New submission from Pavel Kosina : When you open file without encoding declaration, make changes and save, then IDLE changes without any question encodings to utf8. You can try it on attached file that is cp1250 now. It could be that at first saving we are asked to use *utf8 *current one. --

[issue4796] Decimal to receive from_float method

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: See attached patch for Py27. -- keywords: +patch Added file: http://bugs.python.org/file12558/decimal.diff ___ Python tracker ___ ___

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-01-02 Thread Brett Cannon
Brett Cannon added the comment: So explicitly converting to UTF-8 didn't work, or at least as simply as I had hoped. ___ Python tracker ___ ___

[issue4580] slicing of memoryviews when itemsize != 1 is wrong

2009-01-02 Thread Nick Coghlan
Nick Coghlan added the comment: Finally got around to looking at the most recent patch (issue4580-2.patch). It looks good to me. I still think something needs to change when it comes to item assignment for memoryviews with itemsize > 1, but that's not as urgent as fixing the rest of the slicing

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

2009-01-02 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Fri, Jan 2, 2009 at 10:54 AM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > Also note that by removing the extern "C" declarations, you not only > change the exported symbol names of functions, but also those of > exported gl

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: ebfe> Here is another patch, this time for the fallback-md5-module Please open a separated issue for each module, this issue is already too long and complex ;-) And it would be easier to fix other modules when patches for hashlib will be accepted ;-) ___

[issue4794] garbage collector blocks and takes worst-case linear time wrt number of objects

2009-01-02 Thread darrenr
darrenr added the comment: OK cool, that's the development strategy we've already adopted. Is this limitation of Python's garbage collector in relation to real-time applications documented anywhere? ___ Python tracker _

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Paolo 'Blaisorblade' Giarrusso
Paolo 'Blaisorblade' Giarrusso added the comment: > I'm not an expert in this kind of optimizations. Could we gain more speed by making the dispatcher table more dense? Python has less than 128 opcodes (len(opcode.opmap) == 113) so they can be squeezed in a smaller table. I naively assume a smal

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread ebfe
ebfe added the comment: Here is another patch, this time for the fallback-md5-module. I know that situations are rare where openssl is not present but threading is. However they might occur out there and the md5module needed some love anyway: - The MD5 class from the fallback module can now als

[issue3959] Add Google's ipaddr.py to the stdlib

2009-01-02 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Paolo 'Blaisorblade' Giarrusso
Paolo 'Blaisorblade' Giarrusso added the comment: About miscompilations: the current patch is a bit weird for GCC, because you keep both the switch and the computed goto. But actually, there is no case in which the switch is needed, and computed goto give less room to GCC's choices. So, can yo

[issue4705] python3.0 -u: unbuffered stdout

2009-01-02 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12478/unbufferedstdout-3.patch ___ Python tracker ___ ___ Python-bugs-list

[issue4705] python3.0 -u: unbuffered stdout

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: > Instead of importing IO each time in create_stdio, > maybe you should just pass io.open to create_stdio create_stdio() uses io.open() but also io.TextIOWrapper. Since io module is already imported in initstdio(), I updated the patch to just pass the pointe

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Christian Heimes
Christian Heimes added the comment: > Alexandre Vassalotti added the comment: > The patch make a huge difference on 64-bit Linux. I get a 20% speed-up > and the lowest run time so far. That is quite impressive! I'm really, REALLY impressed by the speed up. Good work! I'm not an expert in this

[issue4791] retrlines('LIST') and dir hang at end of listing in ftplib (python3.0)

2009-01-02 Thread Christopher Mahan
Christopher Mahan added the comment: When running scritp with python 2.5.4, got this error. I'll remove the "timeout=2" and run again. see below. Traceback (most recent call last): File "C:\python_scripts\python3\candee_processor.py", line 3, in ftp = ftplib.FTP('ftp.edgecastcdn.net', us

[issue4791] retrlines('LIST') and dir hang at end of listing in ftplib (python3.0)

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: Christopher: Can you paste the full output with debuglevel=3 of Python 2.x (python2.5)? ___ Python tracker ___ _

[issue4791] retrlines('LIST') and dir hang at end of listing in ftplib (python3.0)

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: The traceback shows that the problem is not related to the socket created to retrieve the content of the directory listing, but the "main" socket (the one used for the whole ftp session) used by dir() command the retrieve the command answer code: Tracebac

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-01-02 Thread Brett Cannon
Brett Cannon added the comment: Here is what I have found out so far. Python/bltinmodule.c:builtin_compile takes in a PyObject and gets the char * representation of that object and passes it to Python/pythonrun.c:Py_CompileStringFlags. Unfortunately no other information is passed along in the ca

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Skip Montanaro
Changes by Skip Montanaro : Added file: http://bugs.python.org/file12555/ceval.i.threaded ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: > haypo, the patch will not compile when WITH_THREADS is not defined. Ooops, fixed (patch version 3). Added file: http://bugs.python.org/file12554/hashlibopenssl_small_lock-3.patch ___ Python tracker

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Skip Montanaro
Skip Montanaro added the comment: Alexandre's last comment reminded me I forgot to post the PPC assembler code. Next two files are the output as requested by Antoine. Added file: http://bugs.python.org/file12553/ceval.i.unthreaded ___ Python tracker

[issue4791] retrlines('LIST') and dir hang at end of listing in ftplib (python3.0)

2009-01-02 Thread Christopher Mahan
Christopher Mahan added the comment: Per Giampaolo's suggestion, I added the timeout. Program listing and output below: -begin listing import ftplib ftp = ftplib.FTP('ftp.edgecastcdn.net', user='theusername', passwd='thepassword', timeout=2) ftp.set_debuglevel(3) ftp.cwd('chrismahan-67

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: About HASHLIB_GIL_MINSIZE, I'm unable to mesure the overhead. I tried timeit with 8190 and 8200 but the results are *very* close. I'm running Linux, it's maybe different on other OS. ___ Python tracker

[issue4814] ftplib does not honour "timeout" parameter for active data connections

2009-01-02 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : When using the optional ftplib.FTP()'s timeout parameter which specifies a timeout in seconds for blocking operations like the connection attempt, it is applied on both FTP control and passive data channel (if any). It is not applied for active (PORT/EPR

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: One more thing, the patch causes the following warnings to be emited by GCC when USE_COMPUTED_GOTOS is undefined. Python/ceval.c: In function ‘PyEval_EvalFrameEx’: Python/ceval.c:2420: warning: label ‘_make_function’ defined but not used Python/ceval.c:

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: The patch make a huge difference on 64-bit Linux. I get a 20% speed-up and the lowest run time so far. That is quite impressive! At first glance, it seems the extra registers of the x86-64 architecture permit GCC to avoid spilling registers onto the stack

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread ebfe
ebfe added the comment: haypo, the patch will not compile when WITH_THREADS is not defined. The 'lock'-member in the object structure is not present without WITH_THREADS however the line 'if (self->lock == NULL && view.len >= HASHLIB_GIL_MINSIZE)' will always refer to it. __

[issue3959] Add Google's ipaddr.py to the stdlib

2009-01-02 Thread pmoody
pmoody added the comment: > That is not sufficient for inclusion to Python. We also want support > from the author (along with a promise to eventually give up the external > project). As Guido had mentioned in a previous message, this is along the lines of my thinking wrt ipaddr. Cheers, /pete

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Let's spell them out: _Infinity, _NegativeInfinity, _NaN, and _SignedInfinity. ___ Python tracker ___ ___

[issue3023] Problem with invalidly-encoded command-line arguments (Unix)

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: > By the password database, I mean /etc/passwd or replacements that > are accessible via getpwnam() and friends. Users are often > allowed to change things like the GECOS field, and can generally > stick any old junk in there, regardless of encoding. I started

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread ebfe
ebfe added the comment: I don't think so. The interface should stay simple - python has very few such magic knobs. People will optimize for their own box as you said - and that code will run worse on all the others... Besides, we've lived so long with single-threaded openssl. Let's make HASHLI

[issue4813] On OS-X the directories searched by setup.py for Tk are in the wrong order.

2009-01-02 Thread Mitchell Model
New submission from Mitchell Model : In function detect_tkinter_darwin of setup.py framework_dirs should be the reverse of what it is: first the user's library should be searched, then /Library, and finally /System/Library. If Tk 8.5 is installed in /Library or ~/Library make will otherwise f

[issue4705] python3.0 -u: unbuffered stdout

2009-01-02 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12477/unbufferedstdout-2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue4811] invalid reST markup in several documents

2009-01-02 Thread Gabriel Genellina
Gabriel Genellina added the comment: I did a search on the .html files using a regular expression, and manually filtered out the false positives. The expression used was this "::[^=]|:[a-zA-Z][a-zA-Z0-9]+|`|\.\.\s*\w +:" I'll try to come up with a useable tool.

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Mark Dickinson
Mark Dickinson added the comment: Fine. Will re-rename in the morning. Are _Inf, _negInf, _NaN and _Infsign okay as they are? ___ Python tracker ___ ___

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks. BTW, my preferred new names are _One _Zero and _NegativeOne. Names like dec_n1 are cryptic in places other than where they're defined. ___ Python tracker ___

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Mark Dickinson
Mark Dickinson added the comment: I assume you're referring to Dec_0 and friends? Fixed in the trunk in r68182. Leaving open until I get the chance to merge it to the other branches. -- resolution: -> fixed versions: -Python 2.7 ___ Python track

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Skip Montanaro
Skip Montanaro added the comment: Antoine> Ok, so the threaded version is actually faster by 20% on your Antoine> PPC, and slower by 5% on your Core 2 Duo. Thanks for doing the Antoine> measurements! Confirmed by pystone runs as well. Sorry for the earlier misdirection. Skip

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > OK, I think I'm misreading the output of pybench. Let me reset. Ignore > anything I've written previously on this topic. Instead, I will just > post the output of my pybench comparison runs and let more expert people > interpret as appropriate. The first f

[issue4804] Python on Windows disables all C runtime library assertions

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Can anyone point me at a test that failed in this case? See issue 1350409 (and subsequently #1167262 and #1311784). Python fails to start when assertions are turned on (haven't tested for VS 2008, though). If you were looking for a test case that fails spec

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: First: thanks for doing this. I've had a patch sitting in my own sandbox to release the GIL while hashing for a while but I hadn't finished testing it. It looks pretty similar to what you've done so lets go with the patch being developed in this issue. Rat

[issue1581476] Text search gives bad count if called from variable trace

2009-01-02 Thread Guilherme Polo
Guilherme Polo added the comment: Fixed the issue now. _tkinter.call needs to use the TCL_EVAL_GLOBAL flag since all the variables in Tkinter are global variables. Matthias: your issue about the pattern should be placed in a different issue. -- keywords: +patch versions: +Python 2.6, P

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mark, it looks like r59144 merely moved these around and that they existed beforehand. Can we go ahead and get them renamed? They are defeating the extensive efforts we've made to keep that namespace free of anything that isn't part of the documented spec.

[issue4812] Junk in the decimals namespace

2009-01-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : In r59144 , a bunch of internal-use constants were dumped in the main namespace. These all need to be prefixed with an underscore. They should be fixed right-away before people start using them. Since they are externally undocumented and since the inte

[issue4804] Python on Windows disables all C runtime library assertions

2009-01-02 Thread Mark Hammond
Mark Hammond added the comment: Can anyone point me at a test that failed in this case? A quick look over winsig.c shows no asserts. I didn't compare the vs2005 crt source though, so its highly likely I just missed it... On the broader point, it could be argued that if it is the apps responsi

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Moreover: do you think its good idea to change the file encoding at > opened and then saved file without any question when there is no > encoding declaration? See my previous comment: one issue at a time. This issue was about code that IDLE 3.0a5 cannot pars

[issue4566] 2.6.1 breaks many applications that embed Python on Windows

2009-01-02 Thread Mark Hammond
Mark Hammond added the comment: Uploading a corrected patch; some old docs I saw said DWORD, and I obviously neglected to fix every spot I used that, and I've changed 'Vista' to 'XP' in the patch comments. Added file: http://bugs.python.org/file12549/bug4566.patch _

[issue4566] 2.6.1 breaks many applications that embed Python on Windows

2009-01-02 Thread Mark Hammond
Changes by Mark Hammond : Removed file: http://bugs.python.org/file12537/bug4566.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3023] Problem with invalidly-encoded command-line arguments (Unix)

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > By the password database, I mean /etc/passwd or replacements that > are accessible via getpwnam() and friends. Please only discuss one issue at the time in the bug tracker. This issue is about "invalidly-encoded command-line arguments", not about the passwo

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Thank you. Not sure, what to do now, cause the putting down of IDLE is > fixed, but still within IDLE I get wrong output: In general, when a reported issue is closed, and you have a further issue, the right thing is to report this as a new issue, rather than

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: Well, if you're still using 3.0, it's not patched yet. :) -- nosy: +benjamin.peterson ___ Python tracker ___

[issue4705] python3.0 -u: unbuffered stdout

2009-01-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: Instead of importing IO each time in create_stdio, maybe you should just pass io.open to create_stdio. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Pavel Kosina
Pavel Kosina added the comment: Moreover: do you think its good idea to change the file encoding at opened and then saved file without any question when there is no encoding declaration? :-( Users do not edit just python programs, they can edit also config files, text files, etc It could b

[issue4793] Glossary incorrectly describes a decorator as "merely syntactic sugar"

2009-01-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Based on my reading of the pydev discussion, the doc correctly describes the design intent. If there is any bug, it is in the optimization of skipping the apparently redundant first name binding. I presume the thinking was that since the decorator gets the fun

[issue1533] Bug in range() function for large values

2009-01-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2009-01-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list

[issue980098] Module to dynamically generate structseq objects

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree with Georg. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ _

[issue1402289] Allow mappings as globals (was: Fix dictionary subclass ...)

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Haven't had a chance to work on this one. Unassigning. -- assignee: rhettinger -> versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker _

[issue3023] Problem with invalidly-encoded command-line arguments (Unix)

2009-01-02 Thread David Watson
David Watson added the comment: @ Victor Stinner: Yes, the behaviour of those functions is as you describe - it's been changed since I filed this issue. I do consider it an improvement. By the password database, I mean /etc/passwd or replacements that are accessible via getpwnam() and friends.

[issue4608] urllib.request.urlopen does not return an iterable object

2009-01-02 Thread Senthil
Senthil added the comment: Jakub, I have attached a revision to the patch. You are right, when __iter__ returns self.fp (as in previous patch), the __next__ is superflous. But, I was thinking of __iter__ returning an instance of addbase, instead of self.fp and in that case __next__ was require

[issue4791] retrlines('LIST') and dir hang at end of listing in ftplib (python3.0)

2009-01-02 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm unable to reproduce the issue. Could you please repeat the test by using the "timeout" parameter as such? < ftp = ftplib.FTP('ftp.edgecastcdn.net', user='theusername', passwd='thepassword') > ftp = ftplib.FTP('ftp.edgecastcdn.net', user='theusername',

[issue4615] de-duping function in itertools

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Added recipes to the itertools docs: r68177 . -- resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue4791] retrlines('LIST') and dir hang at end of listing in ftplib (python3.0)

2009-01-02 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Pavel Kosina
Pavel Kosina added the comment: Thank you. Not sure, what to do now, cause the putting down of IDLE is fixed, but still within IDLE I get wrong output: x="ěščřžýáíé" print (x) >>> ěščřžýáíé when running this script under python command line form another editor, I get the output read

[issue1135] xview/yview of Tix.Grid is broken

2009-01-02 Thread Guilherme Polo
Guilherme Polo added the comment: I would actually prefer to move xview and yview method to classes like it was done in xview_yview.patch (I've done this on a personal branch some time ago too, but named them as XScroll, YScroll), we can see they are used in several places in Tkinter, Tix and ot

[issue4796] Decimal to receive from_float method

2009-01-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: > once you've converted your float to Decimal it's trivial > to round it to whatever precision you feel like, so #2 > seems unnecessary to me. Agree with Mark on how to control rounding. The DecimalWay(tm) is that used by Context.create_decimal(). A seco

[issue4051] UNICODE macro in cPickle conflicts with Windows define

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: Thanks for the patch. Committed as r68173. -- status: open -> closed ___ Python tracker ___ ___ Pyt

[issue4075] Use WCHAR variant of OutputDebugString

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: Thanks for the patch. Committed as r68172. -- status: open -> closed ___ Python tracker ___ ___ Pyt

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Skip Montanaro
Skip Montanaro added the comment: The next is the result of running on my MacBook Pro (Intel Core 2 Duo). Added file: http://bugs.python.org/file12546/pybench.sum.Intel ___ Python tracker __

[issue4753] Faster opcode dispatch on gcc

2009-01-02 Thread Skip Montanaro
Skip Montanaro added the comment: OK, I think I'm misreading the output of pybench. Let me reset. Ignore anything I've written previously on this topic. Instead, I will just post the output of my pybench comparison runs and let more expert people interpret as appropriate. The first file is t

[issue4811] invalid reST markup in several documents

2009-01-02 Thread Georg Brandl
Georg Brandl added the comment: Many thanks! Applied in r68171. Did you find those yourself, or with some sort of tool? -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue1482122] Shift+Backspace exhibits odd behavior

2009-01-02 Thread Guilherme Polo
Guilherme Polo added the comment: Just for future reference it is now on http://tkinter.unpy.net/wiki/Linux_Shift-Backspace ___ Python tracker ___ _

[issue4614] Document PyModule_Create()

2009-01-02 Thread Georg Brandl
Georg Brandl added the comment: Attaching a doc patch -- Martin, could you please confirm that I didn't write nonsense? -- assignee: -> loewis keywords: +patch Added file: http://bugs.python.org/file12544/new-module-apis.diff ___ Python tracker

[issue2827] IDLE 3.0a5 cannot handle UTF-8

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: This is now fixed in r68022. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue4811] invalid reST markup in several documents

2009-01-02 Thread Gabriel Genellina
New submission from Gabriel Genellina : Several documents contain invalid reST markup that "leaks" into the html output (missing ``, incorrect indentation, etc.) This patch fixes the obvious ones. -- assignee: georg.brandl components: Documentation files: invalid-doc-markup.diff keyword

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Georg Brandl
Georg Brandl added the comment: OK, moved the old methods below the new properties in r68170. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue1482122] Shift+Backspace exhibits odd behavior

2009-01-02 Thread Guilherme Polo
Guilherme Polo added the comment: I'm closing this as won't fix but let me tell what you can do to solve the problem yourself (this may be added somewhere else then, like in the tkinter wiki). First, check the keysym you get when pressing Shift-BackSpace: import Tkinter def show_key(event):

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Corey Goldberg
Corey Goldberg added the comment: yes if the new style was listed first, and the old style was below and marked as "Old API", it would help with some confusion (like I ran into). ___ Python tracker _

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Corey Goldberg
Corey Goldberg added the comment: Just took another look. The doc is correct and already shows name and daemon properties. it was just confusing at first since where it says "Old API for name", it links to the new style API and you jump to that section. perhaps it could be stated more clearly

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Georg Brandl
Georg Brandl added the comment: Hmm, I do see docs for name and daemon, directly below the respective getter/setter entries. For more clarity, I can only offer moving the getter/setter entries below the property entries. ___ Python tracker

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Corey Goldberg
Corey Goldberg added the comment: sorry for the confusion. The doc might actually be correct, but it seems ambiguous and confusing with respect to the name and daemon properties. if you look here: http://docs.python.org/dev/py3k/library/threading.html scroll down to where it says: Thread.ge

[issue4808] doc issue for threading module (name/daemon properties)

2009-01-02 Thread Georg Brandl
Georg Brandl added the comment: I don't understand -- both name and daemon are already documented on their own. ___ Python tracker ___ ___ Pyth

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12541/hashlibopenssl_small_lock.patch ___ Python tracker ___ ___ Python-bu

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: Update small lock patch: replace all tabs by spaces! I forget a change between Python trunk and my patch: there is also the error message for Unicode object. Before: >>> import hashlib; hashlib.md5("abc") TypeError: object supporting the buffer API requi

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12459/hashopenssl_threads-2.diff ___ Python tracker ___ ___ Python-bugs-li

[issue4751] Patch for better thread support in hashlib

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: New implementation of finer lock grain in _hashlibopenssl: only create the lock at the first update with more than 8 KB bytes. Object creation/deallocation is faster if we hash less than 8 KB. Changes between hashopenssl_threads-4.diff and my new patch: fix t

[issue4472] Is shared lib building broken on trunk for Mac OS X?

2009-01-02 Thread Roumen Petrov
Roumen Petrov added the comment: 10x cygwin is now not impacted. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue4809] 2.5.4 release missing from python.org/downloads

2009-01-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: webmas...@python.org is better. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bug

[issue4804] Python on Windows disables all C runtime library assertions

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > We've had this discussion before, you know, 2006. > MS is asserting on preconditions that are undefined by the standard. > As such, they are not in violation. I remember, and you were already wrong back then :-) MS asserts (in winsig.c) that the signal numb

[issue1717] Get rid of more refercenes to __cmp__

2009-01-02 Thread Georg Brandl
Georg Brandl added the comment: Doc/extending/newtypes.rst I'll fix this one after the patch has landed. Misc/cheatsheet This needs a general overhaul. Misc/python-mode.el I think this should be removed from the distribution; it's maintained externally. Parser/spark.py # (I don't k

[issue4809] 2.5.4 release missing from python.org/downloads

2009-01-02 Thread Georg Brandl
Georg Brandl added the comment: Normally this bug tracker isn't meant for website problems (mail to pydot...@python.org instead), but since this is minor, I've fixed it right now. Thanks! -- resolution: -> fixed status: open -> closed ___ Python tra

[issue4614] Document PyModule_Create()

2009-01-02 Thread Martin v. Löwis
Martin v. Löwis added the comment: > It would be really nice if there were some notes on use of the tracker. I think Brett has a vision here; you might ping him what the status of that is. ___ Python tracker __

[issue4738] Patch to make zlib-objects better support threads

2009-01-02 Thread STINNER Victor
STINNER Victor added the comment: @pitrou: You added "Also, the GIL is now released when computing the CRC of a large buffer." in the NEWS. The GIL released for crc32 but also for adler32. ___ Python tracker _

[issue4738] Patch to make zlib-objects better support threads

2009-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Checked in r68165. Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

  1   2   >