__pyfile when starting up Python

Bug #1273668 reported by David Reitter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Expired
Undecided
Unassigned

Bug Description

When starting Python 2.7.5 with M-x python, it runs three lines of commands that I hadn't seen prior to updating my python-mode.
(This is in Aquamacs 3.0 on a Mac, with the latest python-mode).

Bug, or unavoidable side-effect of python-mode interacting with the process?

Python 2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> __pyfile = open('''/var/folders/5b/_ksq8g_16sd_wn5drp_2852c0000gs/T/psss-temp.py''');exec(compile(__pyfile.read(), '''Fehlerdatei''', 'exec'));__pyfile.close()
>>> __pyfile = open('''/var/folders/5b/_ksq8g_16sd_wn5drp_2852c0000gs/T/psss-temp.py''');exec(compile(__pyfile.read(), '''Fehlerdatei''', 'exec'));__pyfile.close()
>>> __pyfile = open('''/var/folders/5b/_ksq8g_16sd_wn5drp_2852c0000gs/T/psss-temp.py''');exec(compile(__pyfile.read(), '''Fehlerdatei''', 'exec'));__pyfile.close()

Revision history for this message
Andreas Roehler (a-roehler) wrote : Re: [Bug 1273668] [NEW] __pyfile when starting up Python

Am 28.01.2014 13:53, schrieb David Reitter:
> Public bug reported:
>
> When starting Python 2.7.5 with M-x python, it runs three lines of commands that I hadn't seen prior to updating my python-mode.
> (This is in Aquamacs 3.0 on a Mac, with the latest python-mode).
>
> Bug, or unavoidable side-effect of python-mode interacting with the
> process?
>
>
> Python 2.7.5 (default, Aug 25 2013, 00:04:04)
> [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> __pyfile = open('''/var/folders/5b/_ksq8g_16sd_wn5drp_2852c0000gs/T/psss-temp.py''');exec(compile(__pyfile.read(), '''Fehlerdatei''', 'exec'));__pyfile.close()
>>>> __pyfile = open('''/var/folders/5b/_ksq8g_16sd_wn5drp_2852c0000gs/T/psss-temp.py''');exec(compile(__pyfile.read(), '''Fehlerdatei''', 'exec'));__pyfile.close()
>>>> __pyfile = open('''/var/folders/5b/_ksq8g_16sd_wn5drp_2852c0000gs/T/psss-temp.py''');exec(compile(__pyfile.read(), '''Fehlerdatei''', 'exec'));__pyfile.close()
>
> ** Affects: python-mode
> Importance: Undecided
> Status: New
>

That's certainly avoidable, IOW a bug.

Nonetheles, never seen this. Please tell me, where did you get latest python-mode.el from?

Revision history for this message
David Reitter (david-reitter) wrote :

On Jan 28, 2014, at 10:51 AM, Andreas Roehler <email address hidden> wrote:
>
> That's certainly avoidable, IOW a bug.
>
> Nonetheles, never seen this. Please tell me, where did you get latest
> python-mode.el from?

From launchpad. It's the version dated Sun Jan 19, lp:python-mode, should be revision 1380.

This is what I'm shipping with Aquamacs 3.0a.

- David

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
importance: Undecided → Medium
milestone: none → 6.1.4
Revision history for this message
Andreas Roehler (a-roehler) wrote :

Do you get this still with current trunk?

Changed in python-mode:
status: New → Incomplete
Changed in python-mode:
importance: Medium → Undecided
assignee: Andreas Roehler (a-roehler) → nobody
milestone: 6.2.0 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-mode.el because there has been no activity for 60 days.]

Changed in python-mode:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.