473,320 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Patches review

Hello,

this time working up some of the patches with beards:

- #751943

Adds the display of the line number to cgitb stack traces even when
the source code is not available to cgitb. This makes sense in the
case that the source is lying around somewhere else. However, the
original patch generates a link to "file://?" on the occasion that
the source file name is not known. I have created a new patch
(#1144549) that fixes this, and also renames all local variables
"file" in cgitb to avoid builtin shadowing.

- #749830

Allows the mmap call on UNIX to be supplied a length argument of
0 to mmap the whole file (which is already implemented on Windows).
However, the patch doesn't apply on current CVS, so I made a new patch
(#1144555) that does. Recommend apply, unless this may cause problems
on some Unices which I don't know about.

- #547176

Allows the rlcompleter to complete on [] item access (constructs like
sim[0].<TAB> could then be completed). As comments in the patch point
out, this easily leads to execution of arbitrary code via __getitem__,
which is IMHO a too big side effect of completing (though IPython does
this). Recommend reject.

- #645894

Allows the use of resource.getrusage time values for profile.py, which
results in better timing resolution on FreeBSD. However, this may lead
to worse timing resolution on other OS, so perhaps the patch should be
changed to be restricted to this particular platform.

- #697613 -- bug #670311

This handles the problem that python -i exits on SystemExit exceptions
by introducting two new API functions. While it works for me, I am not
sure whether this is too much overhead for fixing a glitch no one else
complained about.

- #802188

This adds a specific error message for invalid tokens after a '\' used
as line continuation. While it may be helpful when the invalid token
is whitespace, Python usually shows the exact location of the invalid
token, so you can examine this line and find the error. On the other
hand, the patch is no big deal, so if a specific error message is
welcome, it may as well be applied.

Enough for today... and best of all: I have no patch which I want to
promote!

Reinhold
Jul 18 '05 #1
0 1091

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Kapish Kalda | last post by:
Hi ! I am making a tool to download the missing patches to update windows. The information about the missing patch and their respective url is retrevied using 'HFCHKNET.EXE'. My problem is i am...
3
by: Brett C. | last post by:
Anthony Baxter, our ever-diligent release manager, mentioned this past week that Python 2.3.5 will most likely come to fruition some time in January (this is not guaranteed date). This means that...
3
by: David Carmichael | last post by:
I am running Oracle Enterprise Edition 9.2.0.1 on Windows XP Professional on my home pc for learning purposes. I want to get familiar with Oracle Forms so I downloaded Forms 6i release 2 for...
9
by: Josh Mayfield | last post by:
Note: There is considerable background detail here, but I do have three questions, which are clearly marked and appear right before the sample code. I have a legitimate need to launch an EXE...
12
by: Ümit | last post by:
Microsoft Never sends security patches via e-mail. This exe file may be a virus or a trojan. "Eija Silvennoinen" <kpidxbg_erbm@ogqj.com> wrote in message...
1
by: krishna murthy | last post by:
Hi, Thank u very much for assisting us. My doubt is How to Implement the service pack ot patches in VB or VB.NET.for example I have 2 text boxes and 4 buttons add,sub,mul,div the textboxes...
0
by: AmerS | last post by:
hi, I have been trying to generate image patches for a training set but have not succeded yet. The only method i tried is cropping areas of the image and store the cropped images or patches as an...
0
by: Tony Toews [MVP] | last post by:
Folks To make a long story short Office 2000 security patches are *not* included in the Microsoft Update. Although you can find them in the rather unobtrusive Office Update. For an...
13
by: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= | last post by:
Within a few weeks, we will release Python 2.5.3. This will be the last bug fix release of Python 2.5, afterwards, future releases of 2.5 will only include security fixes, and no binaries (for...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.