[issue14547] Python symlink to script behaves unexpectedly

2021-06-08 Thread ِAbdulrahman ِShawa

ِAbdulrahman ِShawa  added the comment:

hello guys 
I am facing problem with my sqlite3 database when i make changes it saves the 
changes for almost 13 hours and then retakes back all the changes that i made, 
i am using two threads in my code and i am not committing the data but i set 
the isolation mode to None,
i was using the same queries with mysql database with setting autocommit to on 
and it was working fine what could be the problem in your opinion?
we searched and ask a lot about this issue but nothing was helpful.

--
nosy: +free.abdo.sh
type: enhancement -> behavior
versions: +Python 3.6, Python 3.7, Python 3.8 -Python 2.7, Python 3.4, Python 
3.5
Added file: https://bugs.python.org/file50098/main.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14547] Python symlink to script behaves unexpectedly

2019-03-15 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14547] Python symlink to script behaves unexpectedly

2014-06-29 Thread Mark Lawrence

Mark Lawrence added the comment:

I've removed Tests from the components list as I don't think it belongs there.

--
components:  -Tests
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14547] Python symlink to script behaves unexpectedly

2012-04-13 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14547] Python symlink to script behaves unexpectedly

2012-04-11 Thread Nick Coghlan

Nick Coghlan  added the comment:

Specifically, we end up calling os.realpath() (or the C level equivalent) when 
initialising __main__.__file__ and sys.path[0].

Agreed this behaviour should be documented (and tested!) explicitly.

--
assignee:  -> docs@python
components: +Documentation, Tests
nosy: +docs@python
stage:  -> needs patch
type:  -> enhancement
versions: +Python 2.7, Python 3.2, Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14547] Python symlink to script behaves unexpectedly

2012-04-11 Thread R. David Murray

R. David Murray  added the comment:

The content of a symbolic symlink is a symbolic reference to another location 
in the file system.  If you had used a hard link it would certainly work as you 
expected.

The behavior with respect to symbolic links ought to be documented here:

  http://docs.python.org/using/cmdline.html

but doesn't seem to be.

--
nosy: +ncoghlan, r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14547] Python symlink to script behaves unexpectedly

2012-04-11 Thread Johannes Buchner

New submission from Johannes Buchner :

If I have a script 
foo/bar.py
  import baz

and create a symlink to it, called barhere.py
ln -s foo/bar.py barhere.py

when I run it, it behaves unexpectedly, specifically it behaves differently 
than if I had copied it here. It prefers to import baz from foo/baz, not from 
the current folder.

Apparently Python (2.7.2-r3) handles symlinks differently than just looking at 
the content (everything is a file philosophy in UNIX).

--
messages: 158039
nosy: j13r
priority: normal
severity: normal
status: open
title: Python symlink to script behaves unexpectedly

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com