Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tempstorage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
tempstorage
Commits
1e053836
Commit
1e053836
authored
Apr 03, 2016
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test with Python 3.3 to 3.5.
parent
79d3def3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
46 additions
and
21 deletions
+46
-21
.gitignore
.gitignore
+1
-0
.travis.yml
.travis.yml
+2
-1
CHANGES.txt
CHANGES.txt
+3
-3
buildout.cfg
buildout.cfg
+13
-1
setup.py
setup.py
+11
-12
src/tempstorage/TemporaryStorage.py
src/tempstorage/TemporaryStorage.py
+4
-4
tox.ini
tox.ini
+12
-0
No files found.
.gitignore
View file @
1e053836
...
...
@@ -10,4 +10,5 @@ develop-eggs
*.pyo
*.so
.installed.cfg
.tox
*.egg-info
.travis.yml
View file @
1e053836
...
...
@@ -2,8 +2,9 @@ language: python
sudo
:
false
python
:
-
2.7
-
3.2
-
3.3
-
3.4
-
3.5
install
:
-
python bootstrap.py
-
bin/buildout
...
...
CHANGES.txt
View file @
1e053836
Changelog
=========
2.1
3.0 - unreleased
----------------
---
3.0 - unreleased
----------------
- Python 3
compatibility
- Python 3
.3-3.5 compatibility.
2.12.2 - 2012-10-14
-------------------
...
...
buildout.cfg
View file @
1e053836
[buildout]
extends = https://raw.githubusercontent.com/zopefoundation/Zope/master/versions.cfg
develop = .
parts = test
parts = interpreter test tox
[versions]
tempstorage =
[interpreter]
recipe = zc.recipe.egg
interpreter = python
eggs = tempstorage
[test]
recipe = zc.recipe.testrunner
eggs = tempstorage
[tox]
recipe = zc.recipe.egg
eggs = tox
setup.py
View file @
1e053836
...
...
@@ -16,11 +16,11 @@
from
setuptools
import
setup
,
find_packages
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
open
(
"CHANGES.txt"
).
read
(
)
long_description
=
(
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
open
(
"CHANGES.txt"
).
read
()
)
setup
(
name
=
'tempstorage'
,
version
=
'2.13
.dev0'
,
version
=
'3.0
.dev0'
,
url
=
'http://pypi.python.org/pypi/tempstorage'
,
license
=
'ZPL 2.1'
,
description
=
'A RAM-based storage for ZODB'
,
...
...
@@ -28,15 +28,14 @@ setup(name='tempstorage',
author_email
=
'zope-dev@zope.org'
,
long_description
=
long_description
,
classifiers
=
[
"Programming Language :: Python"
,
"Programming Language :: Python :: 2"
,
"Programming Language :: Python :: 2.6"
,
"Programming Language :: Python :: 2.7"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3.2"
,
"Programming Language :: Python :: 3.3"
,
"Programming Language :: Python :: 3.4"
,
"Programming Language :: Python :: Implementation :: CPython"
,
"Programming Language :: Python"
,
"Programming Language :: Python :: 2"
,
"Programming Language :: Python :: 2.7"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3.3"
,
"Programming Language :: Python :: 3.4"
,
"Programming Language :: Python :: 3.5"
,
"Programming Language :: Python :: Implementation :: CPython"
,
],
packages
=
find_packages
(
'src'
),
package_dir
=
{
''
:
'src'
},
...
...
src/tempstorage/TemporaryStorage.py
View file @
1e053836
...
...
@@ -323,17 +323,17 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
try
:
del
referenceCount
[
oid
]
except
:
except
Exception
:
pass
try
:
del
self
.
_opickle
[
oid
]
except
:
except
Exception
:
pass
try
:
del
self
.
_index
[
oid
]
except
:
except
Exception
:
pass
# remove this object from the conflict cache if it exists there
...
...
@@ -361,7 +361,7 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
referenceCount
[
roid
]
=
rc
try
:
del
self
.
_oreferences
[
oid
]
except
:
except
Exception
:
pass
def
pack
(
self
,
t
,
referencesf
):
...
...
tox.ini
0 → 100644
View file @
1e053836
[tox]
envlist
=
py27,py33,py34,py35,pypy,pypy3
[testenv]
commands
=
zope-testrunner
--test-path
=
src --auto-color --auto-progress
deps
=
ZODB
zope.testing
zope.testrunner
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment