Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

fixedint

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fixedint - npm Package Compare versions

Comparing version
0.1.2
to
0.1.3
+3
-2
fixedint.egg-info/PKG-INFO

@@ -1,4 +0,4 @@

Metadata-Version: 1.0
Metadata-Version: 1.1
Name: fixedint
Version: 0.1.2
Version: 0.1.3
Summary: simple fixed-width integers

@@ -127,2 +127,3 @@ Home-page: https://github.com/nneonneo/fixedint

Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.4
Classifier: Programming Language :: Python :: 2.5

@@ -129,0 +130,0 @@ Classifier: Programming Language :: Python :: 2.6

# -*- coding: utf-8 -*-
import functools
import sys

@@ -400,3 +399,5 @@ from fixedint.compat import *

_mutable_unary = 'int float index'.split()
_mutable_unary = 'int float'.split()
if sys.version_info[:2] >= (2,5):
_mutable_unary += ['index']
if sys.version_info[:2] >= (2,6):

@@ -403,0 +404,0 @@ _mutable_unary += ['trunc']

+2
-1

@@ -128,3 +128,4 @@ import unittest

self.assertEqual(bool(x), True)
self.assertEqual(list(range(100))[x], 42)
if sys.version_info[:2] >= (2,5):
self.assertEqual(list(range(100))[x], 42)
if sys.version_info[:2] >= (2,6):

@@ -131,0 +132,0 @@ self.assertEqual(math.trunc(x), 42)

@@ -1,4 +0,4 @@

Metadata-Version: 1.0
Metadata-Version: 1.1
Name: fixedint
Version: 0.1.2
Version: 0.1.3
Summary: simple fixed-width integers

@@ -127,2 +127,3 @@ Home-page: https://github.com/nneonneo/fixedint

Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.4
Classifier: Programming Language :: Python :: 2.5

@@ -129,0 +130,0 @@ Classifier: Programming Language :: Python :: 2.6

@@ -0,0 +0,0 @@ [egg_info]

@@ -6,13 +6,14 @@ try:

with open('README.rst') as file:
desc = []
for line in file:
if line.strip() == '.. __CUT__':
break
desc.append(line)
long_description = ''.join(desc)
readme = open('README.rst')
desc = []
for line in readme:
if line.strip() == '.. __CUT__':
break
desc.append(line)
long_description = ''.join(desc)
readme.close()
setup(
name = 'fixedint',
version = '0.1.2',
version = '0.1.3',
author = 'Robert Xiao',

@@ -28,2 +29,3 @@ author_email = 'robert.bo.xiao@gmail.com',

"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.4",
"Programming Language :: Python :: 2.5",

@@ -30,0 +32,0 @@ "Programming Language :: Python :: 2.6",